/* ============================================
   1WIN Azerbaijan Landing — style.css
   ============================================ */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-dark: #050d1f;
  --blue-mid: #0a1930;
  --blue-card: #0e2245;
  --blue-border: #1a3566;
  --blue-accent: #1e54cc;
  --blue-light: #2d7aff;
  --blue-glow: #4a9eff;
  --green: #00c853;
  --green-dark: #00a846;
  --gold: #ffd700;
  --white: #ffffff;
  --text-muted: #8fa3c8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 40, 0.55);
  --header-h-desk: 72px;
  --header-h-mob: 116px; /* logo row + auth bar */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--blue-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn:active {
  transform: scale(0.96);
}

/* Shine sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transition: left 0.4s;
}
.btn:hover::after {
  left: 125%;
}

/* Login — blue */
.btn-login {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
  color: #fff;
  box-shadow: 0 4px 18px rgba(30, 84, 204, 0.5);
}
.btn-login:hover {
  box-shadow: 0 6px 24px rgba(30, 84, 204, 0.75);
  transform: translateY(-1px);
}

/* Register — green */
.btn-register {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 200, 83, 0.45);
}
.btn-register:hover {
  box-shadow: 0 6px 24px rgba(0, 200, 83, 0.7);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 18px;
  font-size: 0.82rem;
}
.btn-xs {
  padding: 5px 13px;
  font-size: 0.78rem;
}
.btn-lg {
  padding: 15px 36px;
  font-size: 1.1rem;
}

.btn-app {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--blue-border);
  color: #fff;
  font-weight: 600;
}
.btn-app:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 13, 31, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blue-border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav */
.desktop-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.desktop-nav a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition:
    color 0.2s,
    background 0.2s;
}
.desktop-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Desktop auth */
.desktop-auth {
  display: flex;
  gap: 10px;
  margin-left: 16px;
}

/* ===== MOBILE AUTH BAR ===== */
.mobile-auth-bar {
  display: none; /* shown only on mobile — see media query */
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px 10px;
  background: rgba(5, 13, 31, 0.97);
  border-top: 1px solid var(--blue-border);
}

.btn-mobile-auth {
  flex: 1;
  max-width: 200px;
  justify-content: center;
  font-size: 1rem;
  padding: 12px 18px;
  border-radius: 50px;
}

/* Hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue-mid);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}
.mobile-menu.open {
  max-height: 400px;
  padding: 8px 0 12px;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  font-weight: 500;
  color: #cbd7ef;
  transition:
    background 0.2s,
    color 0.2s;
}
.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.mobile-menu a i {
  width: 18px;
  color: var(--blue-glow);
}

/* ============================================================
   QUICK NAV STRIP
   ============================================================ */
.quick-nav {
  background: var(--blue-mid);
  border-bottom: 1px solid var(--blue-border);
  overflow-x: auto;
  scrollbar-width: none;
  /* pushed below fixed header — adjusted in JS for mobile */
  margin-top: 64px;
}
.quick-nav::-webkit-scrollbar {
  display: none;
}
.quick-nav-inner {
  display: flex;
  gap: 4px;
  padding: 10px 20px;
  width: max-content;
  min-width: 100%;
  justify-content: center;
}
.quick-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  color: #a0b8de;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.quick-nav a:hover {
  background: var(--blue-accent);
  color: #fff;
}
.quick-nav a i {
  font-size: 0.85rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 80px 0;
}
.section-dark {
  background: var(--blue-mid);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--blue-light),
    var(--blue-glow),
    #a78bfa
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 30% 40%,
      rgba(45, 122, 255, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 70%,
      rgba(10, 25, 48, 0.9) 0%,
      var(--blue-dark) 70%
    );
  padding: 100px 20px 60px;
  gap: 60px;
  flex-wrap: wrap;
}

/* Particles canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Ccircle cx='100' cy='100' r='1.5' fill='%232d7aff' opacity='.5'/%3E%3Ccircle cx='300' cy='200' r='1' fill='%234a9eff' opacity='.4'/%3E%3Ccircle cx='500' cy='80' r='2' fill='%232d7aff' opacity='.3'/%3E%3Ccircle cx='700' cy='300' r='1.5' fill='%234a9eff' opacity='.5'/%3E%3Ccircle cx='200' cy='450' r='1' fill='%232d7aff' opacity='.3'/%3E%3Ccircle cx='600' cy='500' r='2' fill='%234a9eff' opacity='.4'/%3E%3C/svg%3E");
  animation: drift 20s linear infinite;
}
@keyframes drift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-60px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 122, 255, 0.2);
  border: 1px solid var(--blue-accent);
  color: var(--blue-glow);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-sub strong {
  color: var(--gold);
}

/* Jackpot */
.jackpot-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin-bottom: 28px;
}
.jackpot-label {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
}
.jackpot-count {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn-hero-main {
  font-size: 1.1rem;
  padding: 14px 32px;
}
.btn-hero-secondary {
  font-size: 1.05rem;
  padding: 13px 28px;
}

/* Trust badges */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.trust-row i {
  color: var(--blue-glow);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slot machine */
.slot-machine {
  background: linear-gradient(145deg, var(--blue-card), var(--blue-mid));
  border: 2px solid var(--blue-border);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow:
    0 0 60px rgba(45, 122, 255, 0.25),
    var(--shadow);
  width: 240px;
}
.slot-reels {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 16px;
}
.reel {
  width: 66px;
  height: 70px;
  background: var(--blue-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-border);
  user-select: none;
}
.reel.spin {
  animation: reelSpin 0.3s ease-in-out;
}
@keyframes reelSpin {
  0% {
    transform: translateY(-10px);
    opacity: 0.4;
  }
  60% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.slot-line {
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), var(--green));
  border-radius: 2px;
}

/* Floating cards */
.floating-card {
  position: absolute;
  background: rgba(14, 34, 69, 0.92);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.card-win {
  bottom: -10px;
  left: -30px;
  color: var(--green);
  animation: floatY 3s ease-in-out infinite;
}
.card-win i {
  color: var(--gold);
}
.card-online {
  top: -10px;
  right: -40px;
  color: var(--blue-glow);
  animation: floatY 3.5s ease-in-out infinite reverse;
}
.card-online i {
  color: var(--green);
  font-size: 0.6rem;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================================
   BONUS CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.bonus-card {
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.bonus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.bonus-welcome::before {
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-glow));
}
.bonus-cashback::before {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
}
.bonus-ref::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.bonus-vip::before {
  background: linear-gradient(90deg, var(--gold), #ffaa00);
}

.bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 40, 0.6);
}

.bonus-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(45, 122, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--blue-glow);
}
.bonus-welcome .bonus-icon {
  color: var(--blue-glow);
  background: rgba(45, 122, 255, 0.15);
}
.bonus-cashback .bonus-icon {
  color: var(--green);
  background: rgba(0, 200, 83, 0.12);
}
.bonus-ref .bonus-icon {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
}
.bonus-vip .bonus-icon {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
}

.bonus-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.bonus-amount {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.bonus-welcome .bonus-amount {
  color: var(--blue-glow);
}
.bonus-cashback .bonus-amount {
  color: var(--green);
}
.bonus-ref .bonus-amount {
  color: #a78bfa;
}
.bonus-vip .bonus-amount {
  color: var(--gold);
}
.bonus-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.bonus-card p strong {
  color: #fff;
}

/* ============================================================
   GAMES GRID
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid var(--blue-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--blue-accent);
  color: #fff;
  border-color: var(--blue-accent);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.game-card {
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 40, 0.6);
}
.game-card.hidden {
  display: none;
}

.game-thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.game-lucky {
  background: linear-gradient(135deg, #1a1060, #3b0d8a);
}
.game-aviator {
  background: linear-gradient(135deg, #7f0000, #c62828);
}
.game-gates {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
}
.game-sweet {
  background: linear-gradient(135deg, #c0392b, #8e44ad);
}
.game-roulette {
  background: linear-gradient(135deg, #145a32, #1abc9c);
}
.game-bj {
  background: linear-gradient(135deg, #2c3e50, #3498db);
}

.game-info {
  padding: 12px 14px;
}
.game-info h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.game-rtp {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
}

/* ============================================================
   SPORTS
   ============================================================ */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.sport-card {
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}
.sport-card:hover {
  border-color: var(--blue-accent);
  transform: translateY(-4px);
}
.sport-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--blue-glow);
}
.sport-card span {
  font-size: 0.88rem;
  font-weight: 600;
}

.live-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: var(--radius);
  padding: 18px 24px;
  flex-wrap: wrap;
}
.live-banner i {
  color: var(--green);
  font-size: 1.2rem;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.live-banner strong {
  font-size: 1.05rem;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.feature-item {
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.25s;
}
.feature-item:hover {
  transform: translateY(-4px);
}
.feature-item > i {
  font-size: 2rem;
  color: var(--blue-glow);
  margin-bottom: 14px;
  display: block;
}
.feature-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   APP SECTION
   ============================================================ */
.app-container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.app-text {
  flex: 1;
  min-width: 280px;
}
.app-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}
.app-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}
.app-features i {
  color: var(--green);
}
.app-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-mockup {
  display: flex;
  justify-content: center;
  flex: 1;
  min-width: 220px;
}
.phone-mock {
  width: 220px;
  height: 420px;
  background: linear-gradient(145deg, var(--blue-card), var(--blue-mid));
  border-radius: 36px;
  border: 2px solid var(--blue-border);
  padding: 30px 20px;
  box-shadow:
    0 0 50px rgba(45, 122, 255, 0.2),
    var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-screen {
  text-align: center;
  width: 100%;
}
.phone-logo img {
  height: 36px;
  margin: 0 auto 24px;
}
.phone-balance {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}
.phone-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.phone-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ============================================================
   PAYMENTS
   ============================================================ */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.pay-item {
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.pay-item:hover {
  border-color: var(--blue-accent);
  transform: translateY(-3px);
}
.pay-item i {
  font-size: 1.8rem;
  color: var(--blue-glow);
}
.pay-item .fa-cc-visa {
  color: #1a1fe8;
}
.pay-item .fa-cc-mastercard {
  color: #eb001b;
}
.pay-item .fa-bitcoin {
  color: #f7931a;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #061428 0%, #0f2d6b 50%, #061428 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(45, 122, 255, 0.15) 0%,
    transparent 70%
  );
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}
.cta-content p strong {
  color: var(--gold);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.cd-box {
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  min-width: 70px;
}
.cd-box span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-glow);
  line-height: 1;
}
.cd-box small {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.cd-sep {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-glow);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-mid);
  border-top: 1px solid var(--blue-border);
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 14px 0 18px;
  max-width: 280px;
}
.footer-logo {
  height: 38px;
  margin-bottom: 4px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition:
    background 0.2s,
    color 0.2s;
}
.social-links a:hover {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
}
.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: #fff;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--blue-border);
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.age-badge {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.4);
  color: #ff6b6b;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-sticky-cta {
  display: none; /* shown only mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 16px 14px;
  background: linear-gradient(to top, rgba(5, 13, 31, 1) 60%, transparent);
}
.btn-sticky-full {
  display: flex;
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(0, 200, 83, 0.5);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET ≤ 900px
   ============================================================ */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .desktop-auth {
    display: none;
  }
  .burger {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤ 600px
   ============================================================ */
@media (max-width: 600px) {
  /* ---- HEADER ---- */
  .header-inner {
    height: 56px;
  }

  /* ===== KEY FIX: Show mobile auth bar ===== */
  .mobile-auth-bar {
    display: flex !important;
  }

  /* Quick-nav sits below header (56px logo row + ~52px auth bar) */
  .quick-nav {
    margin-top: 108px;
  }

  /* ---- HERO ---- */
  .hero {
    flex-direction: column;
    padding: 130px 16px 100px; /* top padding = header height */
    gap: 30px;
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .trust-row {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  } /* show slot machine above text on mobile */
  .slot-machine {
    width: 290px;
  }
  .slot-reels {
    font-size: 2.4rem;
  }
  .reel {
    width: 56px;
    height: 58px;
  }
  .floating-card {
    font-size: 0.75rem;
  }
  .card-win {
    bottom: -6px;
    left: -10px;
  }
  .card-online {
    top: -6px;
    right: -10px;
  }

  /* ---- Mobile sticky CTA ---- */
  .mobile-sticky-cta {
    display: block;
  }

  /* ---- Cards ---- */
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .games-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sports-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ---- App ---- */
  .app-container {
    flex-direction: column;
    text-align: center;
  }
  .app-features {
    align-items: center;
  }
  .app-btns {
    justify-content: center;
  }
  .phone-mock {
    width: 180px;
    height: 340px;
  }

  /* ---- Footer ---- */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* ---- Live banner ---- */
  .live-banner {
    flex-direction: column;
    text-align: center;
  }

  /* ---- Section spacing ---- */
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 30px;
  }
}

/* Extra small */
@media (max-width: 380px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .sports-grid {
    grid-template-columns: 1fr 1fr;
  }
}
