/* ==========================================================================
   FinPlay Pro — Midnight Royal & Champagne Gold Official Website Stylesheet
   ========================================================================== */

:root {
  --bg-deep: #04090c;
  --bg-surface: #091319;
  --bg-card: rgba(12, 25, 33, 0.78);
  --bg-card-solid: #0c1921;
  --bg-elevated: rgba(18, 37, 48, 0.86);

  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-deep: #047857;
  --gold: #f5c451;
  --gold-bright: #fde68a;
  --gold-deep: #c98a1c;
  --cyan: #38bdf8;
  --rose: #fb7185;
  --violet: #a78bfa;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-gold: rgba(245, 196, 81, 0.34);
  --border-emerald: rgba(16, 185, 129, 0.35);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-card: 0 22px 50px -20px rgba(0, 0, 0, 0.72);
  --shadow-gold: 0 12px 34px -8px rgba(245, 196, 81, 0.42);
  --shadow-emerald: 0 12px 34px -8px rgba(16, 185, 129, 0.4);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse 80% 55% at 12% -5%, rgba(16, 185, 129, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(245, 196, 81, 0.12), transparent 58%),
    radial-gradient(ellipse 65% 45% at 50% 96%, rgba(16, 185, 129, 0.1), transparent 60%),
    var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Ambient Particle Canvas & Orbs ---------- */
#bg-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 460px;
  height: 460px;
  background: rgba(16, 185, 129, 0.14);
  top: -120px;
  left: -140px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(245, 196, 81, 0.11);
  bottom: 10%;
  right: -140px;
  animation-delay: -7s;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(45px, 35px) scale(1.12); }
}

main, header, footer {
  position: relative;
  z-index: 2;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 9, 12, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(4, 9, 12, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 0 22px rgba(245, 196, 81, 0.3);
  object-fit: cover;
  transition: transform var(--transition);
}

.brand:hover .brand-logo {
  transform: rotate(-4deg) scale(1.06);
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 15%, var(--gold) 65%, var(--emerald-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--emerald-bright);
  font-weight: 600;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  background: rgba(245, 196, 81, 0.1);
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-toggle:hover {
  background: rgba(245, 196, 81, 0.22);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
}

/* ---------- Premium Animated Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.42) 50%, transparent 80%);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.btn:hover::after {
  left: 155%;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, #fde68a 0%, #f5c451 48%, #d99316 100%);
  color: #061310;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 42px -6px rgba(245, 196, 81, 0.62);
}

.btn-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #059669 100%);
  color: #031510;
  box-shadow: var(--shadow-emerald);
}

.btn-emerald:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px -6px rgba(16, 185, 129, 0.6);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.btn-telegram {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 55%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px -8px rgba(14, 165, 233, 0.55);
}

.btn-telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -6px rgba(56, 189, 248, 0.72);
}

.btn-sm {
  padding: 9px 17px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.02rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #052e16;
  box-shadow: 0 0 0 0 rgba(5, 46, 22, 0.7);
  animation: pulseRing 1.8s infinite;
}

.pulse-dot-emerald {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.75);
  animation: pulseRingGreen 1.9s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(5, 46, 22, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(5, 46, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 46, 22, 0); }
}

@keyframes pulseRingGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.75); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 64px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.13);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-bright);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.7vw, 3.85rem);
  font-weight: 900;
  line-height: 1.09;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(125deg, #fef08a 5%, #f5c451 45%, #34d399 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 26px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.apk-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.apk-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
}

/* ---------- Hero 3D Phone Mockup ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.32), rgba(16, 185, 129, 0.22), transparent 70%);
  filter: blur(42px);
  animation: pulseGlow 4.5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { transform: scale(0.95); opacity: 0.75; }
  to { transform: scale(1.12); opacity: 1; }
}

.phone-frame {
  position: relative;
  width: 318px;
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(245, 196, 81, 0.55), rgba(16, 185, 129, 0.35), rgba(15, 23, 42, 0.95));
  box-shadow: 0 34px 70px -18px rgba(0, 0, 0, 0.85);
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.7deg); }
}

.phone-screen {
  background: #061015;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 10px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.22), transparent);
}

.phone-brand-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.phone-brand-mini img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.phone-stage {
  position: relative;
  height: 196px;
  overflow: hidden;
  margin: 0 10px;
  border-radius: 18px;
  border: 1px solid var(--border-gold);
}

.phone-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.55s ease, transform 0.75s ease;
}

.phone-stage-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 12px 10px;
  background: linear-gradient(0deg, rgba(4, 9, 12, 0.95), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.phone-stage-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.phone-stage-tag {
  font-size: 0.66rem;
  font-weight: 800;
  color: #051510;
  background: var(--gold);
  padding: 3px 8px;
  border-radius: 99px;
}

.phone-wallet-card {
  margin: 12px 10px;
  padding: 13px;
  border-radius: 16px;
  background: linear-gradient(135deg, #042f2e, #065f46);
  border: 1px solid rgba(245, 196, 81, 0.45);
}

.phone-wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #a7f3d0;
}

.phone-wallet-amount {
  font-size: 1.38rem;
  font-weight: 900;
  color: #ffffff;
  margin: 2px 0 8px;
}

.phone-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.phone-chip {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 4px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: #f8fafc;
}

.phone-footer-bar {
  display: flex;
  justify-content: space-around;
  padding: 10px 8px 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.phone-footer-bar .active-tab {
  color: var(--gold);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(9, 19, 25, 0.9);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  animation: badgeBob 4.8s ease-in-out infinite;
}

.floating-badge.b1 {
  top: 28px;
  left: -26px;
}

.floating-badge.b2 {
  bottom: 42px;
  right: -24px;
  border-color: var(--border-emerald);
  animation-delay: -2.2s;
}

@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  margin: 26px 0 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(130deg, var(--gold-bright), var(--gold), var(--emerald-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Section Headings ---------- */
section {
  padding: 76px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(245, 196, 81, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ---------- Game Filter Bar & Serial 9-Game Showcase ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--border-gold);
  color: var(--text-primary);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--gold), #d99316);
  color: #071310;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: 0 28px 60px -18px rgba(245, 196, 81, 0.25);
}

.game-card.hidden {
  display: none;
}

.game-shot-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
  background: #061015;
}

.game-shot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-card:hover .game-shot-wrap img {
  transform: scale(1.07);
}

.shot-hud-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.serial-badge {
  padding: 5px 11px;
  border-radius: 10px;
  background: rgba(4, 9, 12, 0.84);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.category-badge {
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.88);
  color: #031510;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shot-hud-bottom {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(0deg, rgba(4, 9, 12, 0.94) 10%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #d1fae5;
  background: rgba(6, 78, 59, 0.7);
  border: 1px solid rgba(52, 211, 153, 0.45);
  padding: 4px 9px;
  border-radius: 99px;
}

.zoom-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.62);
  padding: 4px 9px;
  border-radius: 99px;
  border: 1px solid rgba(245, 196, 81, 0.35);
}

.game-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.game-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
}

.game-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
}

.mode-pill.voice {
  background: rgba(56, 189, 248, 0.13);
  border-color: rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}

.mode-pill.tourney {
  background: rgba(245, 196, 81, 0.13);
  border-color: rgba(245, 196, 81, 0.38);
  color: var(--gold-bright);
}

.mode-pill.online {
  background: rgba(16, 185, 129, 0.13);
  border-color: rgba(16, 185, 129, 0.38);
  color: #6ee7b7;
}

.game-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.players-meta {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 700;
}

/* ---------- Game Capabilities Matrix Strip ---------- */
.modes-banner {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.36), rgba(12, 25, 33, 0.92), rgba(180, 120, 20, 0.16));
  border: 1px solid var(--border-gold);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mode-highlight {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mode-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(245, 196, 81, 0.14);
  border: 1px solid var(--border-gold);
}

.mode-highlight h4 {
  font-size: 0.98rem;
  font-weight: 800;
}

.mode-highlight p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ---------- Esports & Dual Wallet Section ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.glass-panel {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color var(--transition), transform var(--transition);
}

.glass-panel:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.esports-banner-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border-gold);
}

.wallet-buckets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.bucket-row {
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bucket-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-emerald);
}

.bucket-row h4 {
  font-size: 0.96rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.bucket-row p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-chip {
  padding: 6px 13px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(245, 196, 81, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
}

/* ---------- Full App Facilities Bento Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-emerald);
  box-shadow: 0 22px 46px -18px rgba(16, 185, 129, 0.25);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(245, 196, 81, 0.16));
  border: 1px solid var(--border-emerald);
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.feature-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.feature-list li {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: "✦";
  color: var(--gold);
  font-size: 0.72rem;
}

/* ---------- Install Steps & Download CTA Banner ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.step-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, var(--gold), #d99316);
  color: #061310;
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.download-hero-box {
  position: relative;
  border-radius: 30px;
  padding: 44px 36px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(16, 185, 129, 0.28), transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(245, 196, 81, 0.24), transparent 55%),
    var(--bg-card-solid);
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.download-hero-box h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.download-hero-box p {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 26px;
}

.download-url-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--emerald-bright);
}

.copy-mini-btn {
  background: rgba(245, 196, 81, 0.18);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  border-radius: 99px;
  padding: 4px 11px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.copy-mini-btn:hover {
  background: var(--gold);
  color: #061310;
}

/* ---------- Customer Support (@jim151) ---------- */
.support-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(9, 19, 25, 0.94), rgba(16, 185, 129, 0.14));
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-card);
}

.support-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--border-gold);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-chevron {
  font-size: 1.15rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 22px 18px;
}

/* ---------- Lightbox Screenshot Viewer ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 6, 9, 0.92);
  backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-box {
  position: relative;
  width: 100%;
  max-width: 920px;
  border-radius: 26px;
  background: var(--bg-card-solid);
  border: 1.5px solid var(--border-gold);
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.85);
}

.lightbox-img-wrap {
  position: relative;
  background: #04090c;
  max-height: 62vh;
  overflow: hidden;
}

.lightbox-img-wrap img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 9, 12, 0.78);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
}

.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { top: 50%; left: 14px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 14px; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--gold);
  color: #061310;
  border-color: var(--gold);
}

.lightbox-info {
  padding: 20px 24px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ---------- Floating Telegram FAB & Toast ---------- */
.floating-tg {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 14px 36px rgba(14, 165, 233, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fabPulse 3s ease-in-out infinite;
}

.floating-tg:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 44px rgba(56, 189, 248, 0.75);
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(14, 165, 233, 0.5); }
  50% { box-shadow: 0 14px 44px rgba(56, 189, 248, 0.85); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(90px);
  background: rgba(6, 78, 59, 0.96);
  border: 1px solid var(--emerald-bright);
  color: #ecfdf5;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 42px 0 92px;
  background: rgba(2, 6, 9, 0.85);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta-row, .apk-meta-strip { justify-content: center; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .modes-banner { grid-template-columns: repeat(2, 1fr); }
  .split-grid, .support-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(4, 9, 12, 0.97);
    border-bottom: 1px solid var(--border-gold);
    padding: 16px 22px 22px;
  }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-download-btn { display: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .games-grid, .features-grid, .steps-grid, .modes-banner { grid-template-columns: 1fr; }
  .floating-badge.b1 { left: -6px; top: 10px; }
  .floating-badge.b2 { right: -6px; bottom: 16px; }
  .download-hero-box { padding: 30px 20px; }
  .support-card { padding: 24px 20px; }
}
