/* ============================================================
   TopUp.game — Main Stylesheet
   ============================================================ */

/* 1. DESIGN TOKENS */
:root {
  --bg-primary: #0d0d14;
  --bg-secondary: #12121f;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1e1e36;
  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --accent-light: #a78bfa;
  --accent-gold: #f59e0b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --border: #1e2033;
  --border-light: #2d2f50;
  --success: #10b981;
  --error: #ef4444;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.5);
  --shadow-accent: 0 0 24px rgba(124,58,237,.25);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  --container-max: 1280px;
  --container-pad: 1.5rem;
  --section-gap: 5rem;

  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: .2s ease;
  --transition-slow: .35s ease;
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-base);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.375rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p { color: var(--text-secondary); line-height: 1.7; }

/* 4. LAYOUT */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.section { padding: var(--section-gap) 0; }
.section--sm { padding: 3rem 0; }
.section--xs { padding: 2rem 0; }

/* 5. HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,20,.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 1rem;
}
.header__logo {
  display: flex; align-items: center; gap: .625rem;
  font-size: 1.25rem; font-weight: 800; flex-shrink: 0;
}
.header__logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
}
.header__logo span {
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.header__nav { display: flex; align-items: center; gap: .25rem; }
.header__nav a {
  padding: .4rem .875rem; font-size: .9rem; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--r-full);
  transition: color var(--transition), background var(--transition);
}
.header__nav a:hover, .header__nav a.active {
  color: var(--text-primary); background: rgba(255,255,255,.07);
}
.header__right { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.header__menu-btn {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; border-radius: var(--r-xs); cursor: pointer;
}
.header__menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--text-secondary); border-radius: 2px; transition: var(--transition);
}

/* 6. LOCALE SWITCHER */
.locale-switcher { position: relative; }
.locale-btn {
  display: flex; align-items: center; gap: .5rem;
  padding: .4rem .75rem;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-full); font-size: .85rem; font-weight: 500;
  color: var(--text-secondary); transition: all var(--transition); cursor: pointer;
}
.locale-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.locale-btn .chevron { font-size: .7rem; transition: transform var(--transition); }
.locale-btn.open .chevron { transform: rotate(180deg); }
.locale-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  overflow: hidden; opacity: 0; transform: translateY(-8px);
  pointer-events: none; transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
}
.locale-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.locale-option {
  display: flex; align-items: center; gap: .75rem;
  padding: .625rem 1rem; font-size: .875rem; cursor: pointer;
  transition: background var(--transition);
}
.locale-option:hover { background: rgba(255,255,255,.06); }
.locale-option.active { background: rgba(124,58,237,.15); color: var(--accent-light); }
.locale-option .locale-name { font-weight: 500; }
.locale-option .locale-currency { margin-left: auto; font-size: .75rem; color: var(--text-muted); }

/* 7. HERO */
.hero {
  position: relative; padding: 5rem 0 4rem; overflow: hidden; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--r-full); font-size: .8rem; font-weight: 600;
  color: var(--accent-light); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 1.5rem;
}
.hero__title { margin-bottom: 1.25rem; }
.hero__title .gradient {
  background: linear-gradient(135deg, #fff 30%, var(--accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle {
  font-size: 1.125rem; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero__badges {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem;
}
.hero__badge { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--text-secondary); }
.hero__badge-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

/* 8. SECTION HEADERS */
.section-header { margin-bottom: 2.5rem; }
.section-header--center { text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-light); margin-bottom: .5rem;
}
.section-title { margin-bottom: .75rem; }
.section-desc { color: var(--text-secondary); max-width: 600px; }
.section-header--center .section-desc { margin: 0 auto; }

/* 9. GAME CARDS */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.game-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  cursor: pointer; display: block;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.game-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-light);
}
.game-card__banner-placeholder {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.game-card__body { padding: .875rem 1rem 1rem; }
.game-card__title { font-size: .925rem; font-weight: 700; margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card__meta { font-size: .775rem; color: var(--text-muted); }
.game-card__badge {
  position: absolute; top: .625rem; left: .625rem;
  padding: .2rem .5rem; border-radius: var(--r-xs);
  font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff;
  background: var(--accent);
}
.game-card__badge--hot { background: #ef4444; }
.game-card__badge--new { background: #10b981; }

/* Game card gradient themes */
.game-card--genshin .game-card__banner-placeholder { background: linear-gradient(135deg, #1a2a4a, #2d4a7a, #3a6fa8); }
.game-card--ml      .game-card__banner-placeholder { background: linear-gradient(135deg, #1a0a2e, #3d1278, #5b1fb0); }
.game-card--ff      .game-card__banner-placeholder { background: linear-gradient(135deg, #1a0800, #6b1500, #c02600); }
.game-card--pubg    .game-card__banner-placeholder { background: linear-gradient(135deg, #0a0b0d, #1e2025, #2e3020); }
.game-card--valorant .game-card__banner-placeholder { background: linear-gradient(135deg, #0f0c0c, #2a0808, #1f0c12); }
.game-card--honkai  .game-card__banner-placeholder { background: linear-gradient(135deg, #0d1520, #1a2d4a, #0a3a6e); }

/* 10. GAME HERO BANNER */
.game-hero { position: relative; height: 280px; overflow: hidden; display: flex; align-items: flex-end; }
.game-hero__bg-placeholder { position: absolute; inset: 0; }
.game-hero--genshin  .game-hero__bg-placeholder { background: linear-gradient(135deg, #0d1b35, #1a3a6b, #2b5ba8); }
.game-hero--ml       .game-hero__bg-placeholder { background: linear-gradient(135deg, #0a0015, #1e0040, #4a0099); }
.game-hero--ff       .game-hero__bg-placeholder { background: linear-gradient(135deg, #100500, #3d1200, #7a2500); }
.game-hero--pubg     .game-hero__bg-placeholder { background: linear-gradient(135deg, #0a0b0d, #1a1c20, #333820); }
.game-hero--valorant .game-hero__bg-placeholder { background: linear-gradient(135deg, #0f0c0c, #1a0808, #380810); }
.game-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,20,1) 0%, rgba(13,13,20,.4) 50%, rgba(13,13,20,.1) 100%);
}
.game-hero__content {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; gap: 1.25rem;
  padding-bottom: 2rem; width: 100%;
}
.game-hero__logo-placeholder {
  width: 80px; height: 80px; border-radius: var(--r-md);
  border: 2px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center; font-size: 2.25rem;
  flex-shrink: 0;
}
.game-hero__info { flex: 1; min-width: 0; }
.game-hero__title { font-size: clamp(1.25rem, 3vw, 1.875rem); font-weight: 800; margin-bottom: .375rem; }
.game-hero__tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.game-hero__tag {
  padding: .2rem .625rem; border-radius: var(--r-full); font-size: .725rem; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: var(--text-secondary);
}
.game-hero__tag--official { background: rgba(16,185,129,.15); border-color: rgba(16,185,129,.4); color: #10b981; }
.game-hero__tag--instant  { background: rgba(124,58,237,.15); border-color: rgba(124,58,237,.4); color: var(--accent-light); }

/* 11. TOPUP FORM */
.topup-wrapper { padding: 3rem 0 5rem; }
.topup-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.topup-main { min-width: 0; }

/* Progress step indicator */
.topup-steps {
  display: flex; margin-bottom: 2rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.topup-step-indicator {
  flex: 1; display: flex; align-items: center; gap: .625rem;
  padding: .875rem 1rem; position: relative; transition: background var(--transition);
}
.topup-step-indicator:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 60%; background: var(--border-light);
}
.topup-step-indicator.active { background: rgba(124,58,237,.1); }
.topup-step-indicator.done  { background: rgba(16,185,129,.06); }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border-light); color: var(--text-muted);
  font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all var(--transition);
}
.topup-step-indicator.active .step-num { background: var(--accent); color: #fff; }
.topup-step-indicator.done  .step-num { background: var(--success); color: #fff; }
.step-label { font-size: .78rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topup-step-indicator.active .step-label { color: var(--text-primary); }
.topup-step-indicator.done  .step-label { color: var(--success); }

/* Form blocks */
.form-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem; margin-bottom: 1.25rem;
}
.form-block__title {
  font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .625rem;
}
.form-block__title-num {
  width: 24px; height: 24px; background: var(--accent); border-radius: 50%;
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff;
}

/* Inputs */
.input-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.input-group:last-child { margin-bottom: 0; }
.input-label { font-size: .825rem; font-weight: 600; color: var(--text-secondary); }
.input-field {
  width: 100%; padding: .75rem 1rem;
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: var(--r-md); font-size: .9rem; color: var(--text-primary);
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.input-field::placeholder { color: var(--text-muted); }
.input-field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.input-hint { font-size: .775rem; color: var(--text-muted); }
.select-field {
  width: 100%; padding: .75rem 2.5rem .75rem 1rem;
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: var(--r-md); font-size: .9rem; color: var(--text-primary);
  outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  transition: border-color var(--transition); cursor: pointer;
}
.select-field:focus { border-color: var(--accent); }
.select-field option { background: var(--bg-card); }

/* 12. PACKAGE GRID */
.package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .875rem; }
.package-card {
  position: relative; background: var(--bg-secondary);
  border: 2px solid var(--border-light); border-radius: var(--r-md);
  padding: 1rem .75rem; text-align: center; cursor: pointer;
  transition: all var(--transition); user-select: none;
}
.package-card:hover {
  border-color: rgba(124,58,237,.5); background: rgba(124,58,237,.06); transform: translateY(-2px);
}
.package-card.selected {
  border-color: var(--accent); background: rgba(124,58,237,.12);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-accent);
}
.package-card__badge {
  position: absolute; top: -1px; right: -1px;
  padding: .2rem .5rem; border-radius: 0 var(--r-md) 0 var(--r-sm);
  font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--accent-gold); color: #000;
}
.package-card__badge--hot { background: #ef4444; color: #fff; }
.package-card__icon { font-size: 1.5rem; margin-bottom: .375rem; }
.package-card__amount { font-size: 1rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; margin-bottom: .25rem; }
.package-card__bonus { font-size: .7rem; font-weight: 600; color: var(--success); margin-bottom: .375rem; }
.package-card__price { font-size: .825rem; font-weight: 700; color: var(--text-secondary); }
.package-card.selected .package-card__price { color: var(--accent-light); }

/* 13. PAYMENT METHODS */
.payment-group { margin-bottom: 1.5rem; }
.payment-group:last-child { margin-bottom: 0; }
.payment-group__title {
  font-size: .775rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); margin-bottom: .75rem;
}
.payment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .75rem; }
.payment-card {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: .875rem .75rem;
  background: var(--bg-secondary); border: 2px solid var(--border-light);
  border-radius: var(--r-md); cursor: pointer; transition: all var(--transition); user-select: none;
}
.payment-card:hover { border-color: rgba(124,58,237,.4); background: rgba(124,58,237,.05); }
.payment-card.selected { border-color: var(--accent); background: rgba(124,58,237,.1); }
.payment-card__logo-placeholder { font-size: 1.5rem; height: 28px; display: flex; align-items: center; justify-content: center; }
.payment-card__name { font-size: .72rem; font-weight: 600; color: var(--text-secondary); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }

/* 14. ORDER SIDEBAR */
.order-sidebar { position: sticky; top: 80px; }
.order-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.order-card__header { padding: 1.25rem 1.5rem; background: rgba(124,58,237,.08); border-bottom: 1px solid var(--border); }
.order-card__header h3 { font-size: 1rem; font-weight: 700; }
.order-card__body { padding: 1.25rem 1.5rem; }
.order-row { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; padding: .625rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; }
.order-row:last-child { border-bottom: none; }
.order-row__label { color: var(--text-muted); flex-shrink: 0; }
.order-row__value { font-weight: 600; text-align: right; color: var(--text-primary); }
.order-row--total .order-row__label { font-weight: 700; color: var(--text-secondary); font-size: .925rem; }
.order-row--total .order-row__value { color: var(--accent-light); font-size: 1.125rem; font-weight: 800; }
.order-card__footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .75rem; }

/* 15. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem 1.5rem; border-radius: var(--r-md);
  font-size: .9rem; font-weight: 600; transition: all var(--transition); cursor: pointer; white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; border: none; }
.btn-primary:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn-secondary { background: rgba(255,255,255,.06); color: var(--text-secondary); border: 1px solid var(--border-light); }
.btn-secondary:hover:not(:disabled) { background: rgba(255,255,255,.1); color: var(--text-primary); }
.btn-lg { padding: .875rem 2rem; font-size: 1rem; border-radius: var(--r-lg); }
.btn-pay {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
  border: none; font-size: 1rem; font-weight: 700; padding: 1rem;
  border-radius: var(--r-lg); width: 100%;
  transition: all var(--transition); box-shadow: 0 4px 16px rgba(124,58,237,.3);
}
.btn-pay:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,.4); }
.btn-pay:active { transform: translateY(0); }
.btn-pay:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* 16. TRUST BADGES */
.trust-badges { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: .75rem; }
.trust-badge { display: flex; align-items: center; gap: .25rem; font-size: .75rem; color: var(--text-muted); }

/* 17. HOW-TO STEPS */
.how-to-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.how-to-step {
  display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); position: relative;
}
.how-to-step__icon {
  width: 48px; height: 48px; background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.how-to-step__num { position: absolute; top: 1rem; right: 1rem; font-size: 2.5rem; font-weight: 900; color: rgba(124,58,237,.1); line-height: 1; }
.how-to-step__title { font-size: .95rem; font-weight: 700; }
.how-to-step__desc { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* 18. FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature-card {
  padding: 1.75rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card__desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* 19. SEO ARTICLE */
.seo-article { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.seo-article__content { max-width: 800px; margin: 0 auto; }
.seo-article h2 { font-size: 1.375rem; margin-bottom: 1rem; margin-top: 2rem; }
.seo-article h2:first-child { margin-top: 0; }
.seo-article h3 { font-size: 1.125rem; margin-bottom: .75rem; margin-top: 1.5rem; }
.seo-article p { margin-bottom: 1rem; font-size: .925rem; color: var(--text-secondary); line-height: 1.75; }
.seo-article ul, .seo-article ol { margin-bottom: 1rem; padding-left: 1.25rem; list-style: disc; }
.seo-article ol { list-style: decimal; }
.seo-article li { font-size: .925rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: .375rem; }

/* 20. FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.125rem 1.25rem; font-size: .9rem; font-weight: 600; color: var(--text-primary);
  cursor: pointer; text-align: left; transition: background var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,.03); }
.faq-question.open { background: rgba(124,58,237,.06); }
.faq-chevron { font-size: .7rem; color: var(--text-muted); transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.25rem 1.125rem; }
.faq-answer p { font-size: .875rem; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* 21. BREADCRUMB */
.breadcrumb { display: flex; align-items: center; gap: .5rem; padding: 1rem 0; font-size: .825rem; color: var(--text-muted); border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb .sep { color: var(--border-light); }
.breadcrumb .current { color: var(--text-secondary); }

/* 22. FOOTER */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__tagline { font-size: .875rem; color: var(--text-muted); margin: .75rem 0 1.5rem; line-height: 1.6; }
.footer__social { display: flex; gap: .625rem; }
.footer__social-link {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; color: var(--text-secondary); transition: all var(--transition);
}
.footer__social-link:hover { background: rgba(124,58,237,.15); border-color: rgba(124,58,237,.3); color: var(--accent-light); }
.footer__col-title { font-size: .825rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-primary); margin-bottom: 1.125rem; }
.footer__links { display: flex; flex-direction: column; gap: .625rem; }
.footer__links a { font-size: .875rem; color: var(--text-muted); transition: color var(--transition); }
.footer__links a:hover { color: var(--text-secondary); }
.footer__bottom { padding-top: 2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__copyright { font-size: .825rem; color: var(--text-muted); }
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal a { font-size: .825rem; color: var(--text-muted); transition: color var(--transition); }
.footer__legal a:hover { color: var(--text-secondary); }
.footer__payments { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.footer__payment-icon { font-size: 1.375rem; opacity: .6; }

/* 23. PROMO / NOTICE */
.promo-banner {
  background: linear-gradient(135deg, rgba(124,58,237,.15), rgba(79,70,229,.15));
  border: 1px solid rgba(124,58,237,.25); border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
}
.promo-banner__icon { font-size: 1.5rem; flex-shrink: 0; }
.promo-banner__title { font-size: .9rem; font-weight: 700; margin-bottom: .125rem; }
.promo-banner__desc { font-size: .8rem; color: var(--text-muted); }
.notice { display: flex; align-items: flex-start; gap: .75rem; padding: .875rem 1rem; border-radius: var(--r-md); font-size: .825rem; line-height: 1.5; }
.notice--info    { background: rgba(79,70,229,.1);  border: 1px solid rgba(79,70,229,.2);  color: var(--text-secondary); }
.notice--success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); color: #10b981; }
.notice--warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.2); color: #f59e0b; }

/* 24. STATS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.stat-card { text-align: center; padding: 2rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); }
.stat-card__num { font-size: 2.25rem; font-weight: 900; color: var(--accent-light); line-height: 1; margin-bottom: .375rem; }
.stat-card__label { font-size: .875rem; color: var(--text-muted); }

/* 25. ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(124,58,237,.3); } 50% { box-shadow: 0 0 0 8px rgba(124,58,237,0); } }
.animate-in { animation: fadeIn .3s ease forwards; }
.pulse { animation: pulse-glow 2s infinite; }

/* 26. RESPONSIVE */
@media (max-width: 1024px) {
  .topup-layout { grid-template-columns: 1fr; }
  .order-sidebar { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-gap: 3rem; --container-pad: 1rem; }
  .header__nav {
    display: none; position: fixed;
    inset: 64px 0 0 0; background: rgba(13,13,20,.97);
    padding: 1.5rem; flex-direction: column; gap: .25rem; z-index: 99;
  }
  .header__nav.mobile-open { display: flex; }
  .header__nav a { padding: .75rem 1rem; font-size: 1rem; border-radius: var(--r-md); }
  .header__menu-btn { display: flex; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-grid { grid-template-columns: repeat(3, 1fr); }
  .game-hero { height: 200px; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .how-to-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .topup-steps { overflow-x: auto; }
  .step-label { display: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .how-to-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* 27. UTILITIES */
.text-gradient { background: linear-gradient(135deg, #fff 30%, var(--accent-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-accent  { color: var(--accent-light); }
.text-gold    { color: var(--accent-gold); }
.text-success { color: var(--success); }
.text-muted   { color: var(--text-muted); }
.text-sm  { font-size: .875rem; }
.text-xs  { font-size: .75rem; }
.font-bold   { font-weight: 700; }
.font-medium { font-weight: 500; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2 { gap: .5rem; }  .gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }   .gap-6 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }
.mt-2 { margin-top: .5rem; }  .mt-4 { margin-top: 1rem; }  .mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
