/* =============================================
   TAJ777 - Premium Design System
   Style: Dark Glassmorphism + Gold Accents
   Mobile-First | Sports Betting & Casino
   ============================================= */

/* --------------------
   CSS Custom Properties (Tokens)
   -------------------- */
:root {
  /* Brand Colors */
  --c-primary:       #f59e0b;   /* Gold */
  --c-primary-dark:  #d97706;
  --c-primary-glow:  rgba(245,158,11,0.25);
  --c-red:           #ef4444;   /* Live / Accent Red */
  --c-red-dark:      #dc2626;
  --c-blue:          #3b82f6;   /* Info */
  --c-green:         #22c55e;   /* Success / Win odds */
  --c-purple:        #8b5cf6;

  /* Background / Surface */
  --bg-base:         #050914;
  --bg-surface:      #0a1428;
  --bg-surface-2:    #101e36;
  --bg-card:         #111d35;
  --bg-glass:        rgba(255,255,255,0.04);
  --bg-glass-hover:  rgba(255,255,255,0.08);

  /* Borders */
  --border-subtle:   rgba(255,255,255,0.07);
  --border-glow:     rgba(245,158,11,0.3);

  /* Text */
  --text-primary:    #f1f5f9;
  --text-secondary:  #cbd5e1;
  --text-muted:      #94a3b8;
  --text-gold:       #f59e0b;

  /* Typography */
  --font-heading:    'Poppins', sans-serif;
  --font-body:       'Inter', sans-serif;

  /* Spacing (8dp rhythm) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px;
  --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;

  /* Shadows */
  --shadow-card:   0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow:   0 0 24px rgba(245,158,11,0.2);
  --shadow-red:    0 0 20px rgba(239,68,68,0.25);

  /* Transitions */
  --t-fast: 150ms ease-out;
  --t-mid:  250ms ease-out;
  --t-slow: 350ms ease-out;

  /* Layout */
  --nav-h: 70px;
  --max-w: 1280px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* --------------------
   Utility Classes
   -------------------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-4); }

@media (min-width: 768px)  { .container { padding: 0 var(--sp-6); } }
@media (min-width: 1024px) { .container { padding: 0 var(--sp-8); } }

.section-pad  { padding: var(--sp-16) 0; }
.section-pad-sm { padding: var(--sp-10) 0; }
.text-center  { text-align: center; }
.text-gold    { color: var(--c-primary); }
.text-red     { color: var(--c-red); }
.text-green   { color: var(--c-green); }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--c-primary) 0%, #fbbf24 50%, var(--c-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------
   Buttons
   -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--t-mid);
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #000;
  box-shadow: 0 4px 16px var(--c-primary-glow);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(245,158,11,0.4); transform: translateY(-1px); }

.btn-secondary {
  background: var(--c-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-secondary:hover { background: var(--c-red-dark); transform: translateY(-1px); }

.btn-ghost {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: #000; }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* --------------------
   Section Headings
   -------------------- */
.section-label {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
}
.section-label::before, .section-label::after {
  content: '';
  height: 1px;
  width: 24px;
  background: var(--c-primary);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* --------------------
   Cards (Glass)
   -------------------- */
.card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--border-glow);
  border-color: var(--border-glow);
}

/* --------------------
   Navbar
   -------------------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(5,9,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-mid), box-shadow var(--t-mid);
}
.navbar.scrolled {
  background: rgba(5,9,20,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-4);
}

.nav-logo { flex-shrink: 0; }
.logo-img  { height: 44px; width: auto; object-fit: contain; }

.nav-menu {
  display: none;
  flex: 1;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  min-height: 44px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}
.nav-link.active { color: var(--c-primary); }

.live-dot {
  color: var(--c-red);
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--sp-2) 0;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-mid);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu li a {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 10px 16px;
  min-height: 44px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--t-fast), background var(--t-fast);
}
.dropdown-menu li a:hover { color: var(--c-primary); background: var(--bg-glass); }
.nav-arrow { font-size: 0.7rem; transition: transform var(--t-fast); }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.nav-actions {
  display: none;
  align-items: center;
  gap: var(--sp-3);
  margin-left: auto;
}

/* Hamburger */
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  padding: var(--sp-2);
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .nav-menu   { display: flex; }
  .nav-actions { display: flex; }
}

/* Mobile menu open state */
.nav-menu.open {
  display: flex; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,9,20,0.98);
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-4);
  gap: var(--sp-2);
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.nav-menu.open .nav-actions-mobile {
  display: flex; gap: var(--sp-3); margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-subtle);
}
.nav-menu.open .dropdown-menu {
  position: static; opacity: 1; visibility: visible;
  transform: none; box-shadow: none;
  background: var(--bg-glass);
  margin-top: var(--sp-2);
  border-radius: var(--r-md);
}

/* --------------------
   Hero Section
   -------------------- */
.hero {
  min-height: 100dvh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,158,11,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(59,130,246,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(139,92,246,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #050914 0%, #070d1f 50%, #050914 100%);
}

.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: var(--sp-16) 0;
  width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 6px 16px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.6s ease-out;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--c-red);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  max-width: 560px;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-pills {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  animation: fadeInUp 0.7s ease-out 0.3s both;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.hero-pill i { color: var(--c-primary); font-size: 0.75rem; }

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  animation: fadeInUp 0.7s ease-out 0.4s both;
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  margin-top: var(--sp-10);
  padding-top: var(--sp-10);
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.7s ease-out 0.5s both;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Floating cards on hero */
.hero-visual {
  position: relative;
  display: none;
}
@media (min-width: 1024px) { .hero-visual { display: block; } }

.hero-float-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* --------------------
   Feature Cards Grid
   -------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  padding: var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-dark));
  opacity: 0;
  transition: opacity var(--t-mid);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 60px; height: 60px;
  margin: 0 auto var(--sp-4);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.feature-card p { font-size: 0.85rem; color: var(--text-secondary); }
.feature-card .card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.82rem;
  color: var(--c-primary);
  font-weight: 600;
  margin-top: var(--sp-3);
  transition: gap var(--t-fast);
}
.feature-card:hover .card-link { gap: 8px; }

/* --------------------
   Highlights Row
   -------------------- */
.highlights {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.highlight-item {
  padding: var(--sp-8) var(--sp-4);
  border-right: 1px solid var(--border-subtle);
  transition: background var(--t-fast);
}
.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: var(--bg-glass); }
.highlight-icon {
  font-size: 2rem;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
}
.highlight-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.highlight-item p { font-size: 0.85rem; color: var(--text-secondary); }

/* --------------------
   Match Cards (Odds UI)
   -------------------- */
.matches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) { .matches-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .matches-grid { grid-template-columns: repeat(3, 1fr); } }

.match-card {
  padding: var(--sp-5);
  position: relative;
}
.match-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--sp-4);
}
.match-sport-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.match-live-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.match-live-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--c-red);
  border-radius: 50%;
  animation: pulse-dot 1s infinite;
}

.match-teams {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.match-team {
  flex: 1; text-align: center;
}
.match-team-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}
.match-team-short {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.match-vs {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  padding: 4px 8px;
  background: var(--bg-glass);
  border-radius: var(--r-sm);
  letter-spacing: 1px;
}

.match-odds {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-2);
}
.odds-btn {
  padding: 10px var(--sp-2);
  border-radius: var(--r-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: var(--font-heading);
  touch-action: manipulation;
  min-height: 44px;
}
.odds-btn:hover {
  background: rgba(245,158,11,0.1);
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.odds-btn:active { transform: scale(0.97); }
.odds-label { font-size: 0.7rem; color: var(--text-muted); }
.odds-value { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.odds-btn.draw { background: var(--bg-glass); }

.match-time { font-size: 0.78rem; color: var(--text-muted); margin-top: var(--sp-3); text-align: center; }

/* --------------------
   Promo Banner
   -------------------- */
.promo-banner {
  background: linear-gradient(135deg, rgba(245,158,11,0.15) 0%, rgba(217,119,6,0.08) 100%);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 50%);
  animation: rotate-slow 20s linear infinite;
}
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.promo-banner-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
}
.promo-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: var(--sp-3);
}
.promo-banner p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--sp-6);
}

/* --------------------
   Game Cards
   -------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 640px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }

.game-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.game-card-img {
  aspect-ratio: 3/4;
  background: var(--bg-surface-2);
  position: relative;
  overflow: hidden;
}
.game-card-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  transition: transform var(--t-slow);
}
.game-card:hover .game-card-img-inner { transform: scale(1.08); }
.game-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,9,20,0.95) 0%, rgba(5,9,20,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-4);
  opacity: 0;
  transition: opacity var(--t-mid);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-body { padding: var(--sp-3) var(--sp-4); background: var(--bg-card); }
.game-card-title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; }
.game-card-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.game-type-badge {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-hot   { background: rgba(239,68,68,0.8); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.badge-new   { background: rgba(34,197,94,0.8); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.badge-live  { background: rgba(239,68,68,0.9); color: #fff; animation: pulse-bg 2s infinite; }
@keyframes pulse-bg {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* --------------------
   Blog Cards
   -------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card { overflow: hidden; }
.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--bg-surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  transition: transform var(--t-slow);
}
.blog-card:hover .blog-card-img { transform: scale(1.03); }
.blog-card-body { padding: var(--sp-5); }
.blog-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(245,158,11,0.1);
  color: var(--c-primary);
  border: 1px solid rgba(245,158,11,0.2);
  margin-bottom: var(--sp-3);
}
.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  line-height: 1.4;
}
.blog-card p { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--sp-4); }
.blog-meta {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-subtle);
}
.read-more {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--c-primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap var(--t-fast);
}
.read-more:hover { gap: 8px; }

/* --------------------
   Bonus Cards
   -------------------- */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 640px) { .bonus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bonus-grid { grid-template-columns: repeat(3, 1fr); } }

.bonus-card {
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.bonus-card::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--bonus-color, rgba(245,158,11,0.06));
  transition: transform var(--t-slow);
}
.bonus-card:hover::after { transform: scale(1.5); }

.bonus-icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--bonus-bg, rgba(245,158,11,0.12));
  border: 1px solid var(--bonus-border, rgba(245,158,11,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  position: relative; z-index: 1;
}
.bonus-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bonus-text, var(--c-primary));
  line-height: 1;
  margin-bottom: var(--sp-2);
  position: relative; z-index: 1;
}
.bonus-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  position: relative; z-index: 1;
}
.bonus-card p { font-size: 0.87rem; color: var(--text-secondary); margin-bottom: var(--sp-5); position: relative; z-index: 1; }
.bonus-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
  position: relative; z-index: 1;
}

/* --------------------
   CTA Section
   -------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-2) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  text-align: center;
}
@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}
.cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--sp-2);
}
.cta-text p { color: var(--text-secondary); font-size: 0.95rem; }
.cta-actions { display: flex; gap: var(--sp-3); flex-shrink: 0; flex-wrap: wrap; }

/* --------------------
   Page Hero (inner pages)
   -------------------- */
.page-hero {
  padding: calc(var(--nav-h) + var(--sp-12)) 0 var(--sp-12);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245,158,11,0.08) 0%, transparent 60%),
    var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: var(--sp-4);
}
.page-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
  justify-content: center;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb i { font-size: 0.6rem; }

/* --------------------
   Category Tabs
   -------------------- */
.sport-tabs {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  padding: var(--sp-6) 0;
}
.sport-tab {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
  min-height: 44px;
  touch-action: manipulation;
}
.sport-tab:hover { color: var(--text-primary); border-color: var(--c-primary); }
.sport-tab.active { background: var(--c-primary); color: #000; border-color: var(--c-primary); }

/* --------------------
   Live Casino Cards
   -------------------- */
.live-card {
  padding: var(--sp-5);
  border-left: 2px solid var(--c-red);
}
.live-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: var(--sp-4);
}
.live-dealer-info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}
.live-dealer-info p { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }
.live-player-count {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.live-player-count i { color: var(--c-green); font-size: 0.6rem; }
.live-screen {
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  background: var(--bg-surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
  position: relative;
  overflow: hidden;
}
.live-screen-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,9,20,0.8), transparent);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-3);
}
.table-count { font-size: 0.8rem; color: var(--text-secondary); }
.min-bet { font-size: 0.75rem; color: var(--text-muted); }

/* --------------------
   Blog Single Page
   -------------------- */
.blog-content { max-width: 780px; margin: 0 auto; }
.blog-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: var(--sp-8) 0 var(--sp-4);
  color: var(--text-primary);
}
.blog-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: var(--sp-6) 0 var(--sp-3);
  color: var(--text-primary);
}
.blog-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}
.blog-content ul { margin: var(--sp-4) 0 var(--sp-5) var(--sp-6); }
.blog-content ul li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--sp-2);
  position: relative;
}
.blog-content ul li::before {
  content: '▸';
  position: absolute; left: -20px;
  color: var(--c-primary);
}
.blog-inline-cta {
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.05));
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin: var(--sp-8) 0;
  display: flex; flex-direction: column; gap: var(--sp-3);
  align-items: flex-start;
}
@media (min-width: 640px) {
  .blog-inline-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
.blog-inline-cta p { margin: 0; color: var(--text-primary); font-weight: 600; }

/* --------------------
   Forms
   -------------------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  max-width: 480px;
  margin: 0 auto;
}
.form-group { margin-bottom: var(--sp-5); }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}
.form-group label .required { color: var(--c-red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-glow);
}
.form-control:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: var(--sp-2); }

/* --------------------
   Footer
   -------------------- */
.site-footer { border-top: 1px solid var(--border-subtle); background: var(--bg-surface); }

.footer-promo-strip {
  background: linear-gradient(90deg, rgba(245,158,11,0.08) 0%, rgba(245,158,11,0.04) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-5) 0;
}
.footer-promo-items {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-6);
}
.fp-item {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.fp-item i { color: var(--c-primary); font-size: 1rem; }

.footer-body { padding: var(--sp-12) 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }

.footer-logo { height: 48px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: var(--sp-5); }
.footer-socials { display: flex; gap: var(--sp-3); }
.footer-socials a {
  width: 44px; height: 44px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}
.footer-socials a:hover { color: var(--c-primary); border-color: var(--c-primary); }

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}
.footer-col ul li { margin-bottom: var(--sp-3); }
.footer-col ul li a {
  display: inline-block;
  padding: 6px 0;
  min-height: 44px;
  display: flex; align-items: center;
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--c-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-6) 0;
  background: var(--bg-base);
}
.footer-bottom-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-4); text-align: center;
}
@media (min-width: 1024px) {
  .footer-bottom-inner { flex-direction: row; text-align: left; justify-content: space-between; }
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 440px;
}
.disclaimer i { color: var(--c-primary); margin-right: 4px; }
.age-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(239,68,68,0.15);
  border: 2px solid var(--c-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.age-badge span { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 900; color: var(--c-red); }

/* --------------------
   Scroll to Top
   -------------------- */
.scroll-top {
  position: fixed; bottom: var(--sp-6); right: var(--sp-6);
  width: 44px; height: 44px;
  background: var(--c-primary);
  color: #000;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all var(--t-mid);
  z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-2px); }

/* --------------------
   Section Divider
   -------------------- */
.section-divider { height: 1px; background: var(--border-subtle); margin: 0; }

/* --------------------
   Ticker / Live Ticker
   -------------------- */
.live-ticker {
  background: rgba(239,68,68,0.08);
  border-bottom: 1px solid rgba(239,68,68,0.15);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 var(--sp-4) 0 var(--sp-6);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative; z-index: 1;
}
.ticker-track {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  padding: 0 var(--sp-8);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: var(--sp-2);
  flex-shrink: 0;
}
.ticker-item i { color: var(--c-primary); font-size: 0.7rem; }
.ticker-divider { color: var(--border-subtle); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------
   Animations
   -------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fade-up { animation: fadeInUp 0.6s ease-out both; }

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }

/* --------------------
   Reduced Motion
   -------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------
   Responsive Helpers
   -------------------- */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 1024px) { .hero-two-col { grid-template-columns: 1fr 1fr; } }

/* --------------------
   Scrollbar Styling
   -------------------- */
::-webkit-scrollbar { width: 6px; background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-primary); }

/* --------------------
   Focus Styles (Accessibility)
   -------------------- */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip Link */
.skip-link {
  position: absolute; top: -100%;
  left: var(--sp-4);
  background: var(--c-primary);
  color: #000;
  padding: var(--sp-2) var(--sp-4);
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: var(--sp-4); }

/* =============================================
   FORMS & AUTH PAGES
   ============================================= */

/* --------------------
   Form Card (login / register wrapper)
   -------------------- */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), 0 0 60px rgba(245,158,11,0.05);
}
@media (min-width: 768px) {
  .form-card { padding: var(--sp-10); }
}

/* --------------------
   Form Group
   -------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-5);
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.required { color: var(--c-red); font-size: 0.9rem; }

/* --------------------
   Form Controls
   -------------------- */
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface-2);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.93rem;
  outline: none;
  transition: border-color var(--t-mid), box-shadow var(--t-mid), background var(--t-mid);
  min-height: 48px;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-glow);
  background: rgba(245,158,11,0.03);
}
.form-control:valid:not(:placeholder-shown) {
  border-color: rgba(34,197,94,0.4);
}
.form-control.error { border-color: var(--c-red) !important; }

/* Textarea */
textarea.form-control { resize: vertical; min-height: 120px; }

/* Select */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: var(--sp-1);
}
.form-error {
  font-size: 0.76rem;
  color: var(--c-red);
  margin-top: var(--sp-1);
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-success {
  font-size: 0.76rem;
  color: var(--c-green);
  margin-top: var(--sp-1);
}

/* Two-column register grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 540px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* --------------------
   Password strength indicator
   -------------------- */
.pwd-strength {
  display: flex;
  gap: 4px;
  margin-top: var(--sp-2);
}
.pwd-strength-bar {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--border-subtle);
  transition: background var(--t-mid);
}
.pwd-strength-bar.weak   { background: var(--c-red); }
.pwd-strength-bar.medium { background: #f59e0b; }
.pwd-strength-bar.strong { background: var(--c-green); }

/* --------------------
   Badges
   -------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-primary   { background: rgba(245,158,11,0.15);  color: var(--c-primary); border: 1px solid rgba(245,158,11,0.25); }
.badge-red       { background: rgba(239,68,68,0.15);   color: var(--c-red);     border: 1px solid rgba(239,68,68,0.25); }
.badge-green     { background: rgba(34,197,94,0.15);   color: var(--c-green);   border: 1px solid rgba(34,197,94,0.25); }
.badge-blue      { background: rgba(59,130,246,0.15);  color: var(--c-blue);    border: 1px solid rgba(59,130,246,0.25); }
.badge-purple    { background: rgba(139,92,246,0.15);  color: var(--c-purple);  border: 1px solid rgba(139,92,246,0.25); }
.badge-secondary { background: var(--bg-glass);        color: var(--text-secondary); border: 1px solid var(--border-subtle); }
.badge-live {
  background: rgba(239,68,68,0.15);
  color: var(--c-red);
  border: 1px solid rgba(239,68,68,0.25);
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* --------------------
   Colour CSS utilities
   -------------------- */
.c-primary { color: var(--c-primary); }
.c-red     { color: var(--c-red);     }
.c-green   { color: var(--c-green);   }
.c-blue    { color: var(--c-blue);    }
.c-purple  { color: var(--c-purple);  }

/* --------------------
   Register two-column layout
   -------------------- */
.register-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .register-grid { grid-template-columns: 1fr 1fr; }
  .register-grid .hide-mobile { display: flex; flex-direction: column; }
}

/* --------------------
   404 / Error page
   -------------------- */
.error-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-10) var(--sp-4);
}
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-primary), #fbbf24, var(--c-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  display: block;
}

/* --------------------
   Toast / notification
   -------------------- */
.toast-container {
  position: fixed;
  top: calc(var(--nav-h) + var(--sp-4));
  right: var(--sp-4);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  pointer-events: none;
}
.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.88rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
  pointer-events: auto;
  animation: toast-in 0.3s ease-out both;
  max-width: 320px;
}
.toast.success { border-left-color: var(--c-green); }
.toast.error   { border-left-color: var(--c-red);   }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0);    }
}

/* --------------------
   Spinner (loading state)
   -------------------- */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-primary .spinner { border-top-color: #000; border-color: rgba(0,0,0,0.2); }
