/* ═══════════════════════════════════════════
   BP999 — Premium Design System
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-void: #020617;
  --bg-base: #0a1628;
  --bg-surface: #0f172a;
  --bg-elevated: #1e293b;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(96, 165, 250, 0.18);
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-deep: #1d4ed8;
  --accent-navy: #1e3a8a;
  --accent-sky: #0ea5e9;
  --accent-gold: #fbbf24;
  --accent-emerald: #34d399;
  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #1d4ed8 100%);
  --gradient-gold: linear-gradient(135deg, #fde68a, #f59e0b);
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #0ea5e9 100%);
  --text-primary: #f8fafc;
  --text-secondary: rgba(248, 250, 252, 0.55);
  --text-tertiary: rgba(248, 250, 252, 0.32);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-glow-cyan: 0 0 40px rgba(59, 130, 246, 0.2);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --header-h: 60px;
  --nav-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --app-w: 430px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Syne', var(--font);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg-void);
  color: var(--text-primary);
  min-height: 100dvh;
  overflow: hidden;
  line-height: 1.5;
}

body.drawer-open { overflow: hidden; }

/* ── Ambient background ── */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-1 {
  width: 320px; height: 320px;
  background: #1e3a8a;
  top: -80px; left: -60px;
}

.orb-2 {
  width: 280px; height: 280px;
  background: #1d4ed8;
  bottom: 10%; right: -80px;
  animation-delay: -6s;
}

.orb-3 {
  width: 200px; height: 200px;
  background: #0284c7;
  top: 40%; left: 30%;
  opacity: 0.3;
  animation-delay: -12s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.95); }
}

/* ── App shell ── */
.app-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: var(--app-w);
  margin: 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

@media (min-width: 460px) {
  body { padding: 12px 0; }
  .app-shell {
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
    min-height: calc(100dvh - 24px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-lg), var(--shadow-glow-cyan);
  }
}

/* ── Top promo strip (dismissible) ── */
.promo-strip {
  flex-shrink: 0;
  max-height: 56px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
}

.promo-strip.is-closing {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.promo-strip.is-closing .promo-strip-inner {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
}

.promo-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: rgba(2, 8, 23, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.35s ease, border-color 0.3s;
}

.promo-strip-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: var(--text-tertiary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.promo-strip-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.promo-strip-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(29, 78, 216, 0.25));
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-strip-icon img {
  width: 30px;
  height: auto;
  object-fit: contain;
}

.promo-strip-text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-strip-download {
  flex-shrink: 0;
  padding: 7px 14px;
  border: none;
  border-radius: 100px;
  background: linear-gradient(90deg, #38bdf8, #3b82f6);
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.promo-strip-download:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.45);
}

/* ── Header ── */
.top-header {
  position: relative;
  flex-shrink: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 0 10px;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  filter: drop-shadow(0 2px 14px rgba(56, 189, 248, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 16px rgba(56, 189, 248, 0.5));
}

/* Login / Register — B9 style, blue theme */
.header-auth {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-user.is-hidden { display: none; }
.header-auth.is-hidden { display: none; }

.btn-login {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--accent-cyan);
  background: transparent;
  color: var(--accent-cyan);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-login:hover {
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.register-wrap {
  position: relative;
}

.btn-register {
  padding: 7px 14px;
  border-radius: 10px;
  border: none;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.45);
  transition: transform 0.2s, box-shadow 0.25s;
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.age-badge {
  position: absolute;
  top: -7px;
  right: -5px;
  padding: 2px 5px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  pointer-events: none;
}

.icon-btn--lang {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-color: transparent;
  background: transparent;
  color: var(--text-secondary);
}

.icon-btn--lang:hover {
  color: var(--accent-cyan);
  background: rgba(59, 130, 246, 0.08);
}

.drawer-brand {
  padding: 8px 12px 4px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.drawer-logo {
  height: 110px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(56, 189, 248, 0.35));
}

.header-right { display: none; }

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.icon-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.icon-btn--sm { width: 36px; height: 36px; font-size: 14px; }
.icon-btn--ghost { background: transparent; }

.notif-dot {
  position: absolute;
  top: 10px; right: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-sky);
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 8px var(--accent-sky);
}

.wallet-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 100px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.06));
  cursor: pointer;
  transition: all 0.25s;
}

.wallet-chip:hover {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.15);
}

.wallet-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #422006;
}

.wallet-amt {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

/* ── Drawer ── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.drawer-overlay.open { opacity: 1; visibility: visible; }

.side-drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(300px, 88vw);
  height: 100dvh;
  z-index: 101;
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(32px) saturate(1.5);
  border-right: 1px solid var(--border-glow);
  padding: 20px 16px;
  transform: translateX(-105%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.side-drawer.open { transform: translateX(0); }

.drawer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.drawer-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.45);
  object-fit: cover;
}

.drawer-name { font-size: 15px; font-weight: 700; }
.drawer-vip { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.drawer-vip span { color: var(--accent-gold); font-weight: 700; }

.drawer-profile .icon-btn { margin-left: auto; flex-shrink: 0; }

.nav-list { list-style: none; flex: 1; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  transition: all 0.25s;
  border: 1px solid transparent;
}

.nav-link:hover { color: var(--text-primary); background: var(--bg-glass); }

.nav-link.active {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.nav-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.nav-link.active .nav-icon {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--accent-cyan);
}

.nav-icon svg { width: 18px; height: 18px; }

.drawer-promo {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.2), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── Main ── */
.main-content {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: calc(var(--safe-b) + 16px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-content::-webkit-scrollbar {
  display: none;
}

.page { display: none; }
.page.active { display: block; animation: page-in 0.4s cubic-bezier(0.23, 1, 0.32, 1); }

@keyframes page-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero Carousel ── */
.hero-carousel {
  margin: 16px 18px 0;
}

.hero-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
  padding: 0 8px;
  max-height: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-dots::-webkit-scrollbar { display: none; }

.hero-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

/* ── Home announcement ticker ── */
.home-announce {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 18px 0;
}

.home-announce-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.22), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(96, 165, 250, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.home-announce-speaker {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--accent-emerald);
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.45));
}

.home-announce-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-announce-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: home-announce-scroll 32s linear infinite;
}

.home-announce-track:hover {
  animation-play-state: paused;
}

.home-announce-item {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(248, 250, 252, 0.9);
}

@keyframes home-announce-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-announce-wa {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(34, 197, 94, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.home-announce-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.home-announce-hot {
  position: absolute;
  top: -5px;
  right: -4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f87171, #dc2626);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-announce-track {
    animation: none;
  }
}

.hero-slide.theme-pk-green .hero-bg {
  background: linear-gradient(135deg, #065f46 0%, #1d4ed8 50%, #0f172a 100%);
}

.hero-slide.theme-live-girl .hero-bg {
  background: linear-gradient(135deg, #831843 0%, #4c1d95 35%, #1e3a8a 100%);
}

.hero-slide.theme-live-girl .hero-content { max-width: 52%; }

.hero-slide.theme-rose .hero-bg {
  background: linear-gradient(135deg, #be185d 0%, #7c3aed 45%, #1e40af 100%);
}

.hero-slide.theme-rose .hero-content { max-width: 52%; }

.hero-visual--host {
  width: 130px;
  height: 100%;
  top: 0;
  right: 0;
  transform: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-host-glow {
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.35), transparent 70%);
  filter: blur(8px);
}

.hero-host {
  position: relative;
  z-index: 2;
  height: 128px;
  width: auto;
  max-width: 110px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px 12px 0 0;
  mask-image: linear-gradient(to top, transparent 0%, black 18%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 18%);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-host.is-loaded {
  opacity: 1;
}

.hero-live-tag {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(239, 68, 68, 0.9);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
  animation: live-pulse-tag 1.5s infinite;
}

@keyframes live-pulse-tag {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-slide.theme-blue .hero-bg { background: var(--gradient-hero); }

.hero-slide.theme-cyan .hero-bg {
  background: linear-gradient(135deg, #0c4a6e 0%, #2563eb 50%, #1e3a8a 100%);
}

.hero-slide.theme-gold .hero-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #0369a1 100%);
}

.hero-slide.theme-gold .hero-cta {
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #1e3a8a;
}

.hero-slide.theme-sport .hero-bg {
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 45%, #0f172a 100%);
}

/* ── Hero Banner slide ── */
.hero-banner {
  margin: 0;
  padding: 22px 22px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 148px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(0, 0, 0, 0.3), transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  animation: hero-shine 5s ease-in-out infinite;
}

@keyframes hero-shine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.hero-content { position: relative; z-index: 2; max-width: 58%; }

.hero-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  font-weight: 500;
}

.hero-cta {
  margin-top: 14px;
  padding: 9px 18px;
  border: none;
  border-radius: 100px;
  background: #fff;
  color: #1e3a8a;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}

.hero-cta:active { transform: scale(0.96); }

.hero-visual {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  z-index: 1;
}

.hero-gem {
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 52px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  animation: float-gem 4s ease-in-out infinite;
}

.hero-coin {
  position: absolute;
  font-size: 22px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-coin.c1 { left: 0; top: 0; animation: float-gem 3s ease-in-out infinite 0.5s; }
.hero-coin.c2 { right: 0; bottom: 10px; font-size: 18px; animation: float-gem 3.5s ease-in-out infinite 1s; }

@keyframes float-gem {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Section head ── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
}

.section-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-link {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.games-scroll-wrap { padding: 0 18px; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.scroll-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 18px 0 8px;
}

.scroll-dot {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.scroll-dot.active {
  width: 28px;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.45);
}

/* ── B9-style bottom nav (BP999 theme) ── */
.nav-dock--b9 {
  flex-shrink: 0;
  position: relative;
  z-index: 50;
  background: rgba(6, 12, 24, 0.98);
  border-top: 1px solid rgba(96, 165, 250, 0.14);
  padding-bottom: var(--safe-b);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.bottom-nav--b9 {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  min-height: var(--nav-h);
  padding: 4px 6px 8px;
}

.b9-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  padding: 4px 2px 2px;
  border: none;
  background: none;
  color: rgba(148, 163, 184, 0.85);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

.b9-nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: rgba(148, 163, 184, 0.9);
  transition: color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.b9-nav-icon svg {
  width: 24px;
  height: 24px;
}

.b9-nav-icon--home svg {
  width: 26px;
  height: 26px;
}

.b9-nav-label {
  line-height: 1.1;
  white-space: nowrap;
}

.b9-nav-item.active {
  color: var(--accent-cyan);
}

.b9-nav-item.active .b9-nav-icon {
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.55));
}

.b9-nav-item.active .b9-nav-icon--home {
  color: #fff;
  background: var(--gradient-brand);
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.45);
  filter: none;
}

.b9-nav-item.active .b9-nav-icon--home svg {
  width: 18px;
  height: 18px;
}

.b9-nav-hub {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  margin: -20px 2px 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background:
    radial-gradient(circle at 35% 30%, rgba(125, 211, 252, 0.35), transparent 52%),
    var(--gradient-brand);
  box-shadow:
    0 10px 28px rgba(29, 78, 216, 0.55),
    0 0 0 3px rgba(2, 6, 23, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.b9-nav-hub:hover {
  transform: scale(1.04);
}

.b9-nav-hub-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.b9-hub-avatar {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.b9-hub-avatar--1 {
  width: 22px;
  height: 22px;
  left: 10px;
  top: 16px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.b9-hub-avatar--2 {
  width: 26px;
  height: 26px;
  right: 8px;
  top: 12px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
}

.b9-hub-arrow {
  position: absolute;
  right: 6px;
  bottom: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.45);
}

.b9-hub-arrow svg {
  margin-left: 1px;
}

.b9-nav-icon--wallet::after {
  content: "Rs";
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: currentColor;
  pointer-events: none;
}

/* ── Chat ── */
.chat-page {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-h) - var(--nav-h) - var(--safe-b) - 30px);
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  font-size: 9px;
  font-weight: 800;
  color: var(--accent-emerald);
  letter-spacing: 0.08em;
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0); }
}

.chat-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.avatar-strip {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.avatar-strip img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.4);
  flex-shrink: 0;
  object-fit: cover;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
}

.msg.in {
  align-self: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 6px;
}

.msg.out {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(29, 78, 216, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom-right-radius: 6px;
}

.msg .sender {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.chat-compose {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 22, 40, 0.92);
}

.chat-compose input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.chat-compose input::placeholder { color: var(--text-tertiary); }

.chat-compose input:focus {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.send-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-brand);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
}

/* ── Rewards / Profile ── */
.page-head {
  padding: 24px 18px 8px;
}

.page-head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-head p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.glass-card {
  margin: 12px 18px;
  padding: 6px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 14px 0 8px;
}

.referral-card {
  padding: 4px 0 12px;
}

.referral-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.45;
}

.referral-code-row,
.referral-link-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.referral-code-row code {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-size: 14px;
  font-weight: 700;
}

.referral-link-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-secondary);
  font-size: 12px;
}

.referral-copy-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.referral-stats div {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.referral-stats span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.referral-stats small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reward-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.reward-row:last-child { border-bottom: none; }

.reward-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.reward-info span {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
  display: block;
}

.btn-gold {
  padding: 8px 18px;
  border: none;
  border-radius: 100px;
  background: var(--gradient-gold);
  color: #422006;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.progress-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.progress-tag--alt {
  color: var(--accent-sky);
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
}

.profile-hero {
  text-align: center;
  padding: 32px 18px 20px;
}

.profile-ring {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  padding: 3px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.25);
}

.profile-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-base);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

.profile-id {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.vip-pill {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 18px 8px;
}

.stat-card {
  text-align: center;
  padding: 18px 8px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.stat-val {
  font-size: 18px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  background: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.menu-row:last-child { border-bottom: none; }
.menu-row span { color: var(--text-tertiary); }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-sheet {
  width: 100%;
  max-width: var(--app-w);
  background: var(--bg-surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 12px 24px 32px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  border-top: 1px solid var(--border-glow);
}

.modal-overlay.open .modal-sheet { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(96, 165, 250, 0.35);
  transform: scale(1.05);
}

.modal-sheet--auth {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #0c1220;
  border-top: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 -24px 60px rgba(29, 78, 216, 0.22);
}

.modal-sheet--login-b9 {
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close--banner {
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ── Login banner (B9 style, blue theme) ── */
.auth-banner {
  position: relative;
  height: 165px;
  background: #0a1628;
  overflow: hidden;
}

.auth-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(12, 18, 32, 0.45) 70%, #0c1220 100%);
  pointer-events: none;
  z-index: 1;
}

.auth-banner-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.auth-banner-tag {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(37, 99, 235, 0.45);
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.auth-body .auth-note {
  margin: 2px 0 14px;
  text-align: center;
}

.auth-body {
  padding: 18px 20px 28px;
  background: linear-gradient(180deg, #111827 0%, #0c1220 100%);
}

.auth-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.field-phone {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.field-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex-shrink: 0;
  color: rgba(148, 163, 184, 0.75);
}

.field-phone-code {
  flex-shrink: 0;
  padding-right: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 10px;
}

.field-input--phone {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 14px 12px 14px 0 !important;
  min-width: 0;
}

.field-wrap--pass .field-input--pass {
  padding-right: 48px;
}

.field-toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: rgba(148, 163, 184, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.field-toggle-pass:hover {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.is-hidden { display: none !important; }

.auth-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin: 4px 0 16px;
}

.auth-link-btn {
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.2s;
}

.auth-link-btn:hover {
  color: var(--accent-cyan);
}

.auth-link-btn--accent {
  color: var(--accent-cyan);
  font-weight: 700;
}

.auth-link-btn--accent:hover {
  color: #7dd3fc;
}

.btn-confirm {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, #38bdf8 0%, #3b82f6 50%, #2563eb 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.55);
}

.btn-confirm:active {
  transform: scale(0.98);
}

.auth-switch {
  text-align: center;
  margin: 18px 0 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-google:hover:not(:disabled) {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(30, 41, 59, 0.95);
}

.btn-google:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gsi-slot {
  min-height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
}

.gsi-slot > div,
.gsi-slot iframe {
  width: 100% !important;
  margin: 0 auto;
}

.auth-social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  padding-bottom: 4px;
}

.auth-social-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 41, 59, 0.9);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.auth-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.auth-social-btn--wa {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.auth-social-btn--ig {
  background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6);
}

.auth-social-btn--yt {
  background: #dc2626;
}

.auth-social-btn--support {
  background: linear-gradient(135deg, #d4a574, #b8956a);
  color: #3b2314;
}

.auth-social-hot {
  position: absolute;
  top: -6px;
  right: -4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.field-wrap {
  position: relative;
  margin-bottom: 12px;
}

.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(148, 163, 184, 0.7);
  pointer-events: none;
  display: flex;
}

.field-wrap .field-input {
  padding-left: 44px;
}

.auth-form--login .field-input {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(96, 165, 250, 0.14);
}

.auth-form--login .field-input:focus {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.auth-form--login .field-input.is-error {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.auth-error {
  margin: 4px 0 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.btn-confirm.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.field-wrap:focus-within .field-icon {
  color: var(--accent-cyan);
}

.field-phone:focus-within {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.modal-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 20px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 6px 0 20px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.amount-btn {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.amount-btn:hover,
.amount-btn.selected {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.12);
}

.btn-primary {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.4);
}

.btn-ghost {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: none;
  background: none;
  color: var(--text-tertiary);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Auth forms ── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 8px;
}

.field-label:first-child { margin-top: 0; }

.field-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field-input::placeholder { color: var(--text-tertiary); }

.field-input:focus {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-form .btn-primary { margin-top: 16px; }

.auth-note {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 4px;
  line-height: 1.4;
}
