:root {
  color-scheme: light;
  --bg: #f9f9fc;
  --surface: #ffffff;
  --surface-low: #f3f3f6;
  --surface-mid: #e8e8ea;
  --text: #1a1c1e;
  --muted: #5f6372;
  --hint: #5f6372;
  --outline: #c4c5d6;
  --border: #c4c5d6;
  --card: #ffffff;
  --card-hover: #f3f3f6;
  --primary: #159947;
  --primary-dark: #0f7a39;
  --secondary: #10b981;
  --tertiary: #b25f00;
  --green: #159947;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(20, 30, 70, 0.08);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1020;
  --surface: #151b2e;
  --surface-low: #101629;
  --surface-mid: #202842;
  --text: #f6f7fb;
  --muted: #aab2c5;
  --hint: #aab2c5;
  --outline: #303a58;
  --border: #303a58;
  --card: #151b2e;
  --card-hover: #202842;
  --primary: #4ade80;
  --primary-dark: #22c55e;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding-bottom: 92px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body > * {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.material-symbols-outlined {
  display: inline-flex;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 64px;
  padding: 0 20px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-bottom: 1px solid rgba(196, 197, 214, 0.62);
  backdrop-filter: blur(16px);
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-trigger {
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.menu-trigger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 52px;
  height: 30px;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #eef0ff;
  color: #f59e0b;
  cursor: pointer;
  transition: background 0.2s ease;
}

.theme-toggle .material-symbols-outlined {
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 10px rgba(20, 30, 70, 0.14);
  font-size: 1rem;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
  transition: transform 0.2s ease, color 0.2s ease;
}

:root[data-theme="dark"] .theme-toggle {
  background: #24304d;
  color: #f8fafc;
}

:root[data-theme="dark"] .theme-toggle .material-symbols-outlined {
  transform: translateX(22px);
  background: #111827;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
}

.topbar > .brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.brand .material-symbols-outlined {
  font-size: 2rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  font-weight: 800;
}

.desktop-nav a {
  color: var(--muted);
  padding: 22px 2px 18px;
  border-bottom: 2px solid transparent;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-pill {
  display: none;
  align-items: center;
  gap: 6px;
  min-width: 190px;
  padding: 8px 12px;
  background: var(--surface-low);
  border-radius: 999px;
  color: var(--muted);
}

.search-pill input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.btn,
.text-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.small {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.btn-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(21, 153, 71, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-soft {
  color: var(--primary);
  background: rgba(21, 153, 71, 0.1);
}

.btn-inverse {
  color: var(--primary);
  background: white;
}

.icon-button,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px 20px 40px;
  overflow-x: clip;
}

.home-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  box-shadow: var(--shadow);
}

.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-link {
  display: block;
  width: 100%;
  height: 100%;
}

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.04));
}

.game-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.75));
}

.quick-actions {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin: -18px auto 18px;
  padding: 20px 18px 14px;
  background: var(--surface);
  border: 0;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(20, 30, 70, 0.08);
}

.quick-actions::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  right: 18px;
  height: 18px;
  background: radial-gradient(46px 26px at 50% -2px, transparent 70%, var(--surface) 72%);
  pointer-events: none;
}

.quick-actions a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 0;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
}

.quick-actions .material-symbols-outlined,
.quick-brand-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.quick-actions .material-symbols-outlined {
  font-size: 1.1rem;
  color: white;
  background: var(--primary);
}

.quick-brand-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.quick-brand-whatsapp {
  background: rgba(37, 211, 102, 0.16);
}

.quick-brand-instagram {
  background: rgba(228, 64, 95, 0.16);
}

.quick-brand-facebook {
  background: rgba(24, 119, 242, 0.16);
}

.quick-brand-youtube {
  background: rgba(255, 0, 0, 0.14);
}

.section-block {
  padding: 40px 0;
}

.section-block + .section-block {
  padding-top: 16px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.section-heading a {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pack-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(196, 197, 214, 0.6);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pack-card img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
}

.pack-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.pack-card strong {
  font-size: 1.05rem;
}

.pack-card a {
  display: inline-flex;
  justify-content: center;
  padding: 9px 12px;
  color: var(--primary);
  background: rgba(21, 153, 71, 0.1);
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.82rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 112px));
  gap: 10px;
}

.game-tile {
  position: relative;
  min-height: 152px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: #111;
}

.game-tile img {
  width: 100%;
  height: 100%;
  min-height: 152px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-tile:hover img {
  transform: scale(1.06);
}

.game-tile strong {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  color: white;
  font-size: 0.75rem;
  line-height: 1.1;
}

.game-tile .status {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 3px 7px;
  color: white;
  background: var(--tertiary);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.game-tile:not(.muted) .status {
  background: var(--green);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 12px;
}

.benefit-grid div {
  padding: 16px 14px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.benefit-grid .material-symbols-outlined {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  align-items: center;
  justify-content: center;
  color: white;
  background: #10b956;
  border-radius: 10px;
  font-size: 1.25rem;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
}

.benefit-grid strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.92rem;
  line-height: 1.15;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.benefit-grid div:nth-child(2) .material-symbols-outlined {
  color: white;
  background: #3467f6;
}

.benefit-grid div:nth-child(3) .material-symbols-outlined {
  color: white;
  background: #f58a00;
}

.benefit-grid div:nth-child(4) .material-symbols-outlined {
  color: white;
  background: #8f16f4;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.breadcrumbs strong {
  color: var(--primary);
}

.breadcrumbs .material-symbols-outlined {
  font-size: 1rem;
}

.topup-layout {
  display: grid;
  gap: 24px;
}

.product-side,
.order-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.poster-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  box-shadow: var(--shadow);
}

.poster-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.poster-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.88));
}

.poster-card > div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: white;
}

.poster-card span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--primary);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.poster-card h1 {
  margin: 12px 0 0;
  font-size: 2rem;
  line-height: 1;
}

.poster-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.help-card,
.form-panel,
.summary-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(196, 197, 214, 0.55);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.help-card .material-symbols-outlined {
  color: var(--primary);
}

.help-card h2,
.help-card p {
  margin: 0;
}

.help-card h2 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.help-card p,
.hint {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.form-panel {
  display: block;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  font-weight: 800;
}

.step-title h2 {
  margin: 0;
  font-size: 1.15rem;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-grid label,
.field-label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.input-grid input,
.input-icon input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--outline);
  border-radius: 14px;
  outline: 0;
  background: var(--bg);
  color: var(--text);
}

.input-grid input:focus,
.input-icon input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 153, 71, 0.12);
}

.denom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.denom-groups {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--outline);
}

.denom-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}

.denom-group .material-symbols-outlined {
  font-size: 1.15rem;
}

.denom-group.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 153, 71, 0.18);
}

.denom-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 136px;
  padding: 16px 12px;
  border: 2px solid rgba(196, 197, 214, 0.5);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.denom-card:hover,
.denom-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 18px rgba(21, 153, 71, 0.18);
}

.denom-card:active {
  transform: scale(0.98);
}

.denom-card .material-symbols-outlined {
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(21, 153, 71, 0.1);
  border-radius: 50%;
}

.denom-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.denom-card strong,
.denom-card small {
  text-align: center;
}

.denom-card small {
  color: var(--muted);
  font-weight: 800;
}

.denom-card em {
  position: absolute;
  top: -9px;
  right: -7px;
  padding: 4px 9px;
  color: white;
  background: var(--tertiary);
  border-radius: 999px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.purchase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  color: white;
  background: var(--primary);
  box-shadow: 0 18px 36px rgba(21, 153, 71, 0.24);
}

.purchase-bar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.purchase-bar strong {
  display: block;
  margin-top: 4px;
  font-size: 1.8rem;
}

.checkout-shell {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 24px 20px 120px;
  overflow-x: clip;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.stepper div {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 62px;
  color: var(--muted);
  opacity: 0.55;
  font-size: 0.72rem;
  font-weight: 800;
}

.stepper div.active {
  color: var(--primary);
  opacity: 1;
}

.stepper i {
  flex: 1;
  height: 1px;
  background: var(--outline);
}

.checkout-section {
  margin-bottom: 22px;
}

.checkout-section h1,
.checkout-section h2 {
  margin: 0 0 10px 4px;
  padding-left: 10px;
  border-left: 4px solid var(--primary);
  font-size: 1.05rem;
}

.summary-card {
  display: grid;
}

.summary-product {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
}

.summary-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.summary-product span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.summary-product b,
.total strong {
  color: var(--primary);
}

.price-lines {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-mid);
}

.price-lines p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: var(--muted);
}

.price-lines .total {
  align-items: center;
  color: var(--text);
  font-weight: 800;
}

.price-lines .total strong {
  font-size: 1.35rem;
}

.input-icon {
  position: relative;
  display: block;
}

.input-icon .material-symbols-outlined {
  position: absolute;
  top: 13px;
  left: 14px;
  color: var(--muted);
}

.input-icon input {
  padding-left: 48px;
}

.payment-list {
  display: grid;
  gap: 12px;
}

.payment-option {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 16px 52px 16px 16px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  right: 18px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.payment-option:has(input:checked) {
  border-color: var(--primary);
  background: rgba(21, 153, 71, 0.05);
}

.payment-option .material-symbols-outlined {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--surface-mid);
  border-radius: 12px;
}

.payment-option small {
  color: var(--muted);
  font-weight: 700;
}

.security-note {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-low);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.security-note p {
  margin: 0;
}

.checkout-button {
  width: 100%;
  margin-top: 18px;
}

.order-status-view {
  max-width: 720px;
  margin: 32px auto;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid rgba(196, 197, 214, 0.45);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.order-status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(21, 153, 71, 0.1);
  color: var(--primary);
}

.order-status-icon.success {
  background: rgba(21, 153, 71, 0.12);
  color: #159947;
}

.order-status-icon.warning {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.order-status-icon.error {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.order-status-icon .material-symbols-outlined {
  font-size: 38px;
}

.order-status-eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.order-status-view h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.order-status-view > p:not(.order-status-eyebrow) {
  max-width: 520px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.order-status-steps {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 8px;
  margin: 28px 0;
}

.order-status-steps div {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 18px;
  border: 1px solid var(--outline);
  background: var(--surface-low);
  color: var(--muted);
  padding: 12px;
}

.order-status-steps div.done {
  border-color: rgba(21, 153, 71, 0.22);
  background: rgba(21, 153, 71, 0.08);
  color: #159947;
}

.order-status-steps div.active {
  border-color: rgba(21, 153, 71, 0.36);
  background: rgba(21, 153, 71, 0.1);
  color: var(--primary);
}

.order-status-steps i {
  height: 2px;
  background: var(--outline);
}

.order-status-steps strong {
  color: var(--text);
  font-size: 0.9rem;
}

.order-status-steps small {
  font-weight: 800;
}

.order-status-details {
  display: grid;
  gap: 10px;
  margin: 0 auto 24px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-low);
  border: 1px solid var(--outline);
  text-align: left;
}

.order-status-details p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-status-details strong {
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}

.order-status-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .page-shell,
  .checkout-shell {
    width: 100%;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .topup-layout,
  .product-side,
  .order-side,
  .form-panel,
  .summary-card,
  .help-card,
  .checkout-section,
  .order-status-view,
  .empty-cart-view {
    min-width: 0;
    max-width: 100%;
  }

  .poster-card {
    min-height: 320px;
    border-radius: 20px;
  }

  .poster-card img {
    min-height: 320px;
  }

  .benefit-grid,
  .catalog-pack-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .game-tile {
    min-height: 148px;
    border-radius: 13px;
  }

  .game-tile img {
    min-height: 148px;
  }

  .game-tile strong {
    left: 7px;
    right: 7px;
    bottom: 8px;
    font-size: 0.64rem;
    line-height: 1.05;
  }

  .game-tile .status {
    top: 6px;
    right: 6px;
    padding: 2px 5px;
    font-size: 0.5rem;
  }

  .catalog-pack-wide {
    grid-column: auto;
  }

  .denom-card,
  .payment-option,
  .summary-product,
  .purchase-bar {
    min-width: 0;
  }

  .denom-card {
    overflow: hidden;
  }

  .denom-card em {
    top: 8px;
    right: 8px;
  }

  .order-status-view {
    padding: 24px 16px;
  }

  .order-status-steps {
    grid-template-columns: 1fr;
  }

  .order-status-steps i {
    width: 2px;
    height: 18px;
    justify-self: center;
  }
}

.site-footer {
  padding: 36px 20px 112px;
  background: var(--surface-low);
  border-top: 1px solid var(--outline);
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.footer-grid.compact {
  width: min(960px, 100%);
}

.footer-grid p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-grid h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-grid a:not(.brand) {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 197, 214, 0.6);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  justify-content: space-around;
  gap: 2px;
  padding: 4px 8px 8px;
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(196, 197, 214, 0.72);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 24px rgba(20, 30, 70, 0.08);
  backdrop-filter: blur(16px);
}

:root[data-theme="dark"] .bottom-nav {
  background: rgba(18, 24, 42, 0.92);
  border-top-color: rgba(74, 222, 128, 0.18);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.38);
}

.bottom-nav a {
  display: grid;
  min-width: 50px;
  justify-items: center;
  gap: 0;
  padding: 4px 6px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
}

.bottom-nav a.active {
  color: var(--primary);
  background: rgba(21, 153, 71, 0.1);
}

:root[data-theme="dark"] .bottom-nav a {
  color: #c6cee1;
}

:root[data-theme="dark"] .bottom-nav a.active {
  color: #ffffff;
  background: rgba(74, 222, 128, 0.16);
}

.bottom-nav a.fab {
  padding: 0;
  color: inherit;
  background: transparent;
  box-shadow: 0 12px 26px rgba(20, 30, 70, 0.18);
  transform: translateY(-24px);
}

.bottom-nav a.fab img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--bg);
}

:root[data-theme="dark"] .bottom-nav a.fab {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.46);
}

:root[data-theme="dark"] .bottom-nav a.fab img {
  border-color: #12182a;
}

.bottom-nav a.fab.active {
  color: inherit;
  background: transparent;
}

@media (max-width: 430px) {
  .topbar {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 52px;
    gap: 10px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .topbar > .brand {
    position: static;
    transform: none;
    justify-self: center;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2rem;
  }

  .topbar-actions {
    justify-self: end;
    gap: 8px;
  }

  .btn.small {
    padding: 0 12px;
  }

  .pack-grid {
    grid-template-columns: 1fr;
  }

  .game-grid {
    gap: 7px;
  }

  .game-tile {
    min-height: 136px;
    border-radius: 12px;
  }

  .game-tile img {
    min-height: 136px;
  }

  .game-tile strong {
    font-size: 0.58rem;
  }

  .game-tile .status {
    font-size: 0.46rem;
  }

  .input-grid,
  .summary-product {
    grid-template-columns: 1fr;
  }

  .summary-product b {
    text-align: left;
  }

  .purchase-bar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .topbar > .brand {
    position: static;
    transform: none;
  }

  .desktop-nav,
  .search-pill {
    display: flex;
  }

  .page-shell {
    padding-top: 32px;
  }

  .home-hero {
    width: min(100%, 880px);
    margin: 0 auto;
  }

  .quick-actions {
    max-width: 880px;
    margin: 0 auto 18px;
  }

  .pack-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(6, minmax(0, 150px));
    gap: 14px;
  }

  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .topup-layout {
    grid-template-columns: 360px 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-grid.compact {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .site-footer {
    padding-bottom: 34px;
  }

  .bottom-nav {
    display: none;
  }
}

@media (max-width: 719px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* ===== ADMIN PANEL ===== */
.admin-login-card {
  max-width: 420px;
  margin: 60px auto;
  padding: 40px 32px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.admin-login-card > .material-symbols-outlined {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.admin-login-card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.admin-login-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.login-form {
  text-align: left;
}

.login-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

.login-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 153, 71, 0.12);
}

.login-form .btn {
  width: 100%;
}

.login-hint {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-header h1 {
  margin: 0 0 4px;
  font-size: 1.6rem;
}

.admin-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--surface-low);
  border-radius: 16px;
  overflow-x: auto;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-tab:hover {
  color: var(--text);
  background: rgba(21, 153, 71, 0.08);
}

.admin-tab.active {
  color: white;
  background: var(--primary);
  box-shadow: 0 6px 18px rgba(21, 153, 71, 0.28);
}

.admin-tab .material-symbols-outlined {
  font-size: 1.2rem;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-panel h2 {
  margin: 0;
  font-size: 1.1rem;
}

.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-subtabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: -4px 0 16px;
}

.product-subtab {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
}

.product-subtab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 153, 71, 0.18);
}

.catalog-pack-form {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: var(--surface);
}

.catalog-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
}

.catalog-pack-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalog-pack-grid input,
.catalog-pack-grid select {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  outline: none;
}

.catalog-pack-grid input:focus,
.catalog-pack-grid select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 153, 71, 0.12);
}

.catalog-pack-wide {
  grid-column: span 2;
}

.catalog-pack-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.catalog-pack-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.filter-select {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 0.84rem;
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 153, 71, 0.12);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--outline);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.admin-table th {
  position: sticky;
  top: 0;
  padding: 14px 16px;
  text-align: left;
  background: var(--surface-low);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--outline);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(196, 197, 214, 0.35);
  vertical-align: top;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table tbody tr:hover {
  background: rgba(21, 153, 71, 0.03);
}

.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 32px 16px !important;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.success,
.status-badge.delivered {
  color: #159947;
  background: rgba(21, 153, 71, 0.12);
}

.status-badge.pending {
  color: #b25f00;
  background: rgba(178, 95, 0, 0.12);
}

.status-badge.failed {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.12);
}

.status-badge.processing {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
}

.var-id {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-low);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
}

.product-icon-cell {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.banner-preview-cell {
  width: 150px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.price-edit-cell {
  display: inline-grid;
  grid-template-columns: auto minmax(92px, 120px) auto;
  align-items: center;
  gap: 8px;
}

.icon-edit-cell {
  display: inline-grid;
  grid-template-columns: 30px minmax(120px, 180px) auto auto;
  align-items: center;
  gap: 8px;
}

.icon-edit-cell .material-symbols-outlined,
.pack-icon-preview {
  width: 24px;
  height: 24px;
}

.icon-edit-cell .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.2rem;
}

.pack-icon-preview {
  object-fit: contain;
  border-radius: 6px;
}

.price-input,
.pack-icon-input {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-weight: 800;
}

.price-input:focus,
.pack-icon-input:focus {
  border-color: var(--primary);
  outline: none;
}

.save-price-btn,
.save-icon-btn,
.upload-icon-btn,
.edit-home-card-btn,
.remove-home-card-btn,
.edit-home-banner-btn,
.remove-home-banner-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 153, 71, 0.1);
  color: var(--primary);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.upload-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 153, 71, 0.1);
  color: var(--primary);
}

.upload-icon-btn input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.save-price-btn:disabled,
.save-icon-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.edit-home-card-btn,
.edit-home-banner-btn {
  background: rgba(21, 153, 71, 0.1);
  color: var(--primary);
}

.remove-home-card-btn,
.remove-home-banner-btn {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.content-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.content-tools[hidden] {
  display: none;
}

.content-tools h3 {
  margin: 0;
  font-size: 1rem;
}

.content-table-wrap {
  box-shadow: none;
}

.remove-pack-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.remove-pack-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

/* Execute order form */
.execute-form {
  max-width: 560px;
  margin-top: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-row input,
.form-row select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 153, 71, 0.12);
}

.form-row input[readonly] {
  color: var(--muted);
  cursor: not-allowed;
}

.exec-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  font-size: 0.85rem;
}

.exec-result.success {
  background: rgba(21, 153, 71, 0.1);
  border: 1px solid rgba(21, 153, 71, 0.3);
  color: #159947;
}

.exec-result.error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #dc2626;
}

.exec-result pre {
  margin: 8px 0 0;
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-all;
}

.json-preview {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.72rem;
  cursor: pointer;
}

.json-preview:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .catalog-pack-grid {
    grid-template-columns: 1fr;
  }

  .catalog-pack-wide {
    grid-column: auto;
  }

  .catalog-pack-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-tabs {
    gap: 4px;
    padding: 4px;
  }

  .admin-tab {
    padding: 10px 14px;
    font-size: 0.76rem;
    gap: 4px;
  }

  .admin-tab .material-symbols-outlined {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== USER LOGIN & PROFILE DASHBOARD ===== */
.user-login-card {
  max-width: 440px;
  margin: 40px auto 60px;
  padding: 40px 32px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-login-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(20, 30, 70, 0.12);
}

:root[data-theme="dark"] .user-login-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.user-login-card > .material-symbols-outlined {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  background: rgba(21, 153, 71, 0.08);
  padding: 16px;
  border-radius: 50%;
}

.user-login-card h1 {
  margin: 0 0 8px;
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.user-login-card > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Divider styles */
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 20px;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: var(--outline);
  opacity: 0.45;
}

.login-divider span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Premium Google Button */
.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  background: #ffffff;
  border: 1px solid var(--outline);
  border-radius: 14px;
  color: #1a1c1e;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.google-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.google-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.google-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

:root[data-theme="dark"] .google-btn {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .google-btn:hover {
  background: #334155;
  border-color: #475569;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

/* Profile / Dashboard state */
.profile-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(21, 153, 71, 0.25);
  text-transform: uppercase;
}

.profile-info-grid {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  text-align: left;
}

.profile-info-card {
  padding: 14px 18px;
  background: var(--surface-low);
  border: 1px solid var(--outline);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease;
}

.profile-info-card:hover {
  border-color: var(--primary);
}

.profile-info-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-info-card strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  word-break: break-all;
}

.profile-actions {
  display: grid;
  gap: 12px;
}

.profile-actions .btn {
  width: 100%;
}

/* Dashboard & Admin shared styles */
.wuru-admin-nav-link {
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: border-color 0.2s;
}
.wuru-admin-nav-link:hover {
  border-bottom-color: var(--border);
}
.wuru-admin-nav-link-active {
  border-bottom-color: var(--primary) !important;
}

.wuru-admin-status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.wuru-admin-status-pill[data-state="success"] {
  background: rgba(21, 153, 71, 0.12);
  color: #159947;
}
.wuru-admin-status-pill[data-state="error"] {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}
.wuru-admin-status-pill[data-state="pending"] {
  background: rgba(247, 147, 26, 0.12);
  color: #f7931a;
}

.wuru-admin-muted {
  display: block;
  font-size: 0.72rem;
  color: var(--hint);
  margin-top: 2px;
}

[data-dashboard-status][data-state="success"] { background: rgba(21, 153, 71, 0.08); color: #159947; }
[data-dashboard-status][data-state="error"] { background: rgba(220, 38, 38, 0.08); color: #dc2626; }
[data-dashboard-status][data-state="info"] { background: rgba(21, 153, 71, 0.08); color: var(--primary); }

/* Login mode switcher */
[data-auth-switch].active {
  background: var(--card) !important;
  color: var(--text) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
[data-auth-switch]:not(.active) {
  background: transparent !important;
  color: var(--hint) !important;
}



/* Nav drawer open state */
body.nav-drawer-open {
  overflow: hidden;
}

.ryuk-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(8, 12, 24, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ryuk-menu-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.ryuk-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 89;
  width: min(340px, calc(100vw - 32px));
  height: 100dvh;
  padding: 18px;
  background: var(--surface);
  border-right: 1px solid var(--outline);
  box-shadow: none;
  pointer-events: none;
  transform: translateX(-104%);
  transition: transform 0.24s ease;
}

.ryuk-menu-drawer.open {
  box-shadow: 24px 0 60px rgba(7, 12, 28, 0.22);
  pointer-events: auto;
  transform: translateX(0);
}

.ryuk-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--outline);
}

.ryuk-menu-head strong {
  display: block;
  color: var(--primary);
  font-size: 1.05rem;
}

.ryuk-menu-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.ryuk-menu-close {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-low);
  color: var(--text);
  cursor: pointer;
}

.ryuk-menu-links {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.ryuk-menu-links a {
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--outline);
  border-radius: 16px;
  background: var(--surface-low);
  color: var(--text);
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
}

.brand-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.brand-icon-whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}

.brand-icon-instagram {
  color: #e4405f;
  background: rgba(228, 64, 95, 0.12);
}

.brand-icon-facebook {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.12);
}

.brand-icon-youtube {
  color: #ff0000;
  background: rgba(255, 0, 0, 0.1);
}

.ryuk-menu-links a > .material-symbols-outlined:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.ryuk-menu-links strong {
  font-size: 0.9rem;
}

/* Remove from Cart button styling */
.remove-cart-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s ease;
}

.remove-cart-btn:hover {
  color: #dc2626;
}

.remove-cart-btn .material-symbols-outlined {
  font-size: 0.95rem;
}

/* Premium Purchase Actions & Glassmorphic Outline Button */
.purchase-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-inverse-outline {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-inverse-outline:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: white;
}

@media (max-width: 430px) {
  .purchase-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
}

/* Premium Toast Notification */
.ryuk-toast {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(21, 153, 71, 0.92);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 12px 36px rgba(21, 153, 71, 0.38);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.ryuk-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ryuk-toast .material-symbols-outlined {
  font-size: 1.15rem;
}
