/* =========================================================
   JackWinners - "Winner's Marquee" Theme
   Ink-navy scoreboard palette, jackpot green + neon coral accents,
   condensed display type, ticket-stub cards.
   ========================================================= */

:root {
  --bg: #f7fbff;
  --bg-elevated: #ffffff;
  --purple-900: #e0f2fe;
  --purple-700: #bae6fd;
  --purple-500: #0ea5e9;
  --gold: #0ea5e9;
  --gold-light: #0284c7;
  --gold-dark: #0369a1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-gold: rgba(14, 165, 233, 0.28);
  --card-bg: linear-gradient(160deg, #ffffff 0%, #f0f9ff 100%);
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --shadow-gold: 0 10px 30px rgba(14, 165, 233, 0.12);
  --font-heading: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 .5em;
  color: var(--text-main);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

.section { padding: 70px 0; }
.section-label {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.section-subtitle { color: var(--text-muted); max-width: 640px; margin-bottom: 40px; }

/* ---------------------------------------------------------
   Buttons — "arcade press" style: flat fill, thick bottom edge,
   presses down on hover instead of floating up.
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn-gold {
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 4px 0 var(--gold-dark);
}
.btn-gold:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-dark); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-gold);
  color: var(--gold-light);
  box-shadow: 0 4px 0 rgba(14,165,233,0.12);
}
.btn-outline:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(14,165,233,0.12); background: rgba(14,165,233,0.07); }
.btn-sm { padding: 9px 16px; font-size: 11px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo::before {
  content: "♠";
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 20px;
}
.logo span { color: var(--gold); font-family: var(--font-mono); }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-main);
  opacity: .75;
  transition: opacity .2s ease, color .2s ease;
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--gold-light); }
.main-nav a.active { border-bottom: 2px solid var(--gold); }

.header-right { display: flex; align-items: center; gap: 14px; }

.selector {
  position: relative;
}
.selector-btn {
  background: #f0f9ff;
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.selector-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  min-width: 170px;
  padding: 8px;
  display: none;
  box-shadow: 0 14px 40px rgba(15,23,42,0.12);
}
.selector.open .selector-dropdown { display: block; }
.selector-dropdown a, .selector-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  text-align: left;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
}
.selector-dropdown a:hover, .selector-dropdown button:hover { background: #e0f2fe; color: var(--gold-light); }

.auth-buttons { display: flex; align-items: center; gap: 10px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: .3s;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(14,165,233,0.14), transparent 55%),
    radial-gradient(circle at 5% 85%, rgba(14,165,233,0.08), transparent 45%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 50px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--text-main);
}
.hero h1 .accent { color: var(--gold); }
.hero p { color: var(--text-muted); font-size: 17px; max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg { width: 90%; height: 90%; }

/* ---------------------------------------------------------
   Live Wins Ticker (signature element)
   --------------------------------------------------------- */
.wins-ticker {
  background: var(--gold);
  border-top: 1px solid rgba(15,23,42,0.08);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  overflow: hidden;
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
}
.wins-ticker-label {
  flex-shrink: 0;
  background: #0284c7;
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}
.wins-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.wins-ticker-item {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wins-ticker-item .dot { opacity: .6; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .wins-ticker-track { animation: none; overflow-x: auto; }
}

/* ---------------------------------------------------------
   Hero Slider (admin-managed, replaces default hero when slides exist)
   --------------------------------------------------------- */
.hero-slider {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: var(--bg);
}
.hero-slider-track { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,5,5,0.92) 10%, rgba(5,5,5,0.55) 55%, rgba(5,5,5,0.25) 100%);
  display: flex;
  align-items: center;
}
.hero-slide-content { max-width: 560px; }
.hero-slide-content h1 {
  font-size: clamp(30px, 4.5vw, 50px);
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 14px;
}
.hero-slide-content p { color: #475569; font-size: 17px; margin-bottom: 26px; max-width: 460px; }

.hero-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.hero-slider-arrow.prev { left: 20px; }
.hero-slider-arrow.next { right: 20px; }
.hero-slider-arrow:hover { background: rgba(14,165,233,0.15); }

.hero-slider-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer; padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.hero-dot.active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 768px) {
  .hero-slider { height: 380px; }
  .hero-slide-overlay { background: linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.92) 75%); align-items: flex-end; padding-bottom: 40px; }
  .hero-slide-content { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-slider { height: 340px; }
  .hero-slider-arrow { width: 36px; height: 36px; font-size: 20px; }
}

/* ---------------------------------------------------------
   Trust bar
   --------------------------------------------------------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.trust-item { text-align: center; }
.trust-item .icon { font-size: 30px; color: var(--gold); margin-bottom: 10px; }
.trust-item strong { display: block; font-size: 15px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .5px; }

/* ---------------------------------------------------------
   Category cards — left accent bar, sharp corners
   --------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--card-bg);
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.category-card .icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border: 1px solid var(--border-gold);
  font-size: 22px;
  margin-bottom: 18px;
}
.category-card h3 { font-family: var(--font-heading); font-size: 17px; text-transform: uppercase; margin-bottom: 8px; }
.category-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }

/* ---------------------------------------------------------
   Offer cards — "winning ticket" stub style
   --------------------------------------------------------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.offer-card {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.offer-card::before {
  content: "";
  position: absolute;
  top: -1px; bottom: -1px; left: -1px; right: -1px;
  border-radius: var(--radius-md);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.offer-card .badges { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.badge-geo {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  color: var(--gold-light); text-transform: uppercase;
}
.badge-category {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 700; color: var(--text-muted);
  border: 1px solid #dbeafe; border-radius: var(--radius-sm);
  padding: 3px 9px;
}
.offer-logo {
  width: 100%; height: 88px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #e0f2fe, #f8fdff);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 14px;
  overflow: hidden;
}
.offer-logo img { width: 100%; height: 100%; object-fit: cover; }
.offer-rating { font-family: var(--font-mono); color: var(--gold); font-size: 14px; margin-bottom: 6px; letter-spacing: 1px; }
.offer-rating .num { color: var(--text-muted); font-size: 12px; margin-left: 4px; }
.offer-card h3 { font-size: 16px; margin-bottom: 8px; }
.offer-card .desc { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; flex-grow: 1; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.offer-tag {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700; letter-spacing: .3px;
  color: var(--purple-500);
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.28);
  padding: 4px 9px; border-radius: var(--radius-sm);
  text-transform: uppercase;
}
/* Perforated "ticket stub" divider before the CTA */
.offer-card .stub-divider {
  position: relative;
  height: 1px;
  border-top: 1px dashed #cbd5e1;
  margin: 4px 0 14px;
}
.offer-card .stub-divider::before,
.offer-card .stub-divider::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
}
.offer-card .stub-divider::before { left: -20px; }
.offer-card .stub-divider::after { right: -20px; }
.offer-card .terms { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ---------------------------------------------------------
   Grids: responsive columns
   --------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background: #f8fbff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 14px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }
.faq-item.open .faq-question { color: var(--gold-light); }

/* ---------------------------------------------------------
   Promo banner
   --------------------------------------------------------- */
.promo-banner {
  background: linear-gradient(120deg, #e0f2fe, #bae6fd);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* ---------------------------------------------------------
   Blog cards
   --------------------------------------------------------- */
.blog-card {
  background: var(--card-bg);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: var(--border-gold); }
.blog-card .thumb {
  height: 180px;
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-weight: 700;
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.blog-card h3 { font-size: 17px; margin-bottom: 8px; }
.blog-card p { color: var(--text-muted); font-size: 13.5px; }

/* ---------------------------------------------------------
   Responsible gambling notice
   --------------------------------------------------------- */
.rg-notice {
  background: rgba(14,165,233,0.07);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.rg-notice strong { color: var(--gold-light); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-gold);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h4 { font-family: var(--font-mono); font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12.5px;
}
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold-light);
}

/* ---------------------------------------------------------
   Page header (used on inner pages)
   --------------------------------------------------------- */
.page-header {
  padding: 60px 0 30px;
  background: radial-gradient(circle at 50% 0%, rgba(56,189,248,0.18), transparent 60%);
  text-align: center;
}
.filter-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  align-items: center;
}
.filter-bar input, .filter-bar select {
  background: var(--bg-elevated);
  border: 1px solid #dbeafe;
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
}

/* ---------------------------------------------------------
   Shared form primitives (used by public forms + admin panel)
   --------------------------------------------------------- */
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-main); }
.form-group .hint { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }
.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid #dbeafe;
  color: var(--text-main);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
}
.form-control:focus { outline: none; border-color: var(--gold); }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { cursor: pointer; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 18px; font-family: var(--font-body); }
.alert-success { background: rgba(14,165,233,0.10); color: var(--gold); border: 1px solid rgba(14,165,233,0.28); }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid rgba(14,165,233,0.28); }

.panel {
  background: var(--card-bg);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

/* ---------------------------------------------------------
   Auth pages (Sign Up / Login) — split membership-card layout
   --------------------------------------------------------- */
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  max-width: 940px;
  margin: 50px auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.auth-visual {
  background:
    radial-gradient(circle at 20% 15%, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(14,165,233,0.10), transparent 50%),
    linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-visual .suit-mark { font-size: 34px; color: var(--gold); margin-bottom: 18px; }
.auth-visual h2 { font-size: 24px; text-transform: uppercase; margin-bottom: 14px; line-height: 1.2; }
.auth-visual p.lead { color: var(--text-muted); font-size: 14.5px; margin-bottom: 28px; }

.benefit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--text-main); }
.benefit-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(14,165,233,0.10);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

.auth-form-panel {
  background: var(--bg-elevated);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form-panel h1 { font-size: 24px; text-transform: uppercase; margin-bottom: 8px; }
.auth-form-panel .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 26px; }

.input-group { position: relative; }
.input-group .form-control { padding-left: 40px; }
.input-group .field-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 15px; pointer-events: none;
}
.input-group .toggle-visibility {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-muted);
  font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase;
  cursor: pointer; letter-spacing: .5px; padding: 4px 6px;
}
.input-group .toggle-visibility:hover { color: var(--gold-light); }

.field-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; font-family: var(--font-mono); }
.field-hint.match-ok { color: var(--gold); }
.field-hint.match-bad { color: var(--purple-500); }

.auth-divider { text-align: center; color: var(--text-muted); font-size: 12px; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: rgba(14,165,233,0.10);
}
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }

@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; margin: 0; border-radius: 0; border: none; }
  .auth-visual { padding: 34px 26px; }
  .auth-form-panel { padding: 34px 26px; }
}

/* ---------------------------------------------------------
   Responsive breakpoints
   --------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; order: -1; }
  .offer-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .header-right .selector-btn span.label { display: none; }
  .auth-buttons { display: none; }
}

@media (max-width: 576px) {
  .offer-grid, .grid-4, .grid-3, .grid-2, .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .promo-banner { padding: 30px; text-align: center; justify-content: center; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.98);
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
}
.mobile-nav-close { align-self: flex-end; background: none; border: none; color: var(--gold); font-size: 28px; cursor: pointer; }
