/* ============================================================
   STAKE CASINO DENMARK – assets/styles.css
   ============================================================ */

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

html, body {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

:root {
  --primary: #395565;
  --primary-dark: #2a3f4e;
  --accent: #1675E1;
  --accent-hover: #1260c0;
  --bg-deep: #121F27;
  --bg-dark: #1B2E39;
  --bg-card: #1e3340;
  --bg-card2: #233c4b;
  --white: #ffffff;
  --text-main: #e8edf2;
  --text-muted: #8ea8bb;
  --text-dim: #5c7a8a;
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(22,117,225,0.3);
  --gold: #f5c842;
  --gold-dim: #c9a330;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-btn: 0 4px 18px rgba(22,117,225,0.45), 0 1px 4px rgba(0,0,0,0.4);
  --shadow-btn-hover: 0 8px 28px rgba(22,117,225,0.65), 0 2px 8px rgba(0,0,0,0.5);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.5);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1240px;
  --header-h: 70px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #1260c0 100%);
  color: var(--white);
  box-shadow: var(--shadow-btn);
  border: 2px solid transparent;
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-btn-hover);
  background: linear-gradient(135deg, #1a80f5 0%, var(--accent) 100%);
}
.btn--primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(22,117,225,0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}
.btn--ghost:active { transform: translateY(0); }

.btn--lg { font-size: 1.08rem; padding: 15px 36px; min-height: 52px; }
.btn--sm { font-size: 0.88rem; padding: 10px 20px; min-height: 40px; border-radius: var(--radius-sm); }

/* ---------- SECTION COMMONS ---------- */
.section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 52px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22,117,225,0.12);
  border: 1px solid rgba(22,117,225,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- MEDIA WRAPPERS ---------- */
.media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  max-width: 100%;
}

.media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.media:hover img { transform: scale(1.02); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 31, 39, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 38px; width: auto; max-width: 160px; object-fit: contain; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
}
.header-nav::-webkit-scrollbar { display: none; }

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
  overflow: hidden;
}
.mobile-nav.open { display: flex; }

.mobile-nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.mobile-nav-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mobile-nav-actions .btn { flex: 1; min-width: 120px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--bg-deep);
  padding: 0 0 80px;
}

.hero-banner-link { display: block; width: 100%; }
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 520px;
  background: var(--bg-card);
}
.hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-deep) 100%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  padding-top: 40px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(245,200,66,0.18), rgba(245,200,66,0.05));
  border: 1px solid rgba(245,200,66,0.35);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--gold) 0%, #f5a623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-social-label { font-size: 0.88rem; color: var(--text-dim); }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.2); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  max-width: 680px;
  margin: 0 auto;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 120px;
  padding: 8px 16px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages { background: var(--bg-dark); }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow);
}
.advantage-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.advantage-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ============================================================
   BONUSES / PROMO
   ============================================================ */
.bonuses { background: var(--bg-deep); }

.bonus-hero-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 8px 40px rgba(22,117,225,0.12);
}
.bonus-hero-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-decoration: none;
  color: inherit;
}

.bonus-hero-media {
  border-radius: 0;
  border: none;
  overflow: hidden;
}
.bonus-hero-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.bonus-hero-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.bonus-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,200,66,0.12);
  border: 1px solid rgba(245,200,66,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  align-self: flex-start;
}
.bonus-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bonus-hero-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.bonus-features { display: flex; flex-direction: column; gap: 8px; }
.bonus-features li { font-size: 0.9rem; color: var(--text-main); overflow-wrap: anywhere; }

.promos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow);
}
.promo-icon { font-size: 2rem; }
.promo-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  overflow-wrap: anywhere;
}
.promo-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
  flex: 1;
}
.promo-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
}

/* ============================================================
   HOW TO START
   ============================================================ */
.howto { background: var(--bg-dark); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(22,117,225,0.25);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.howto-cta { text-align: center; }

/* ============================================================
   SPORTS
   ============================================================ */
.sports { background: var(--bg-deep); }

.sports-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.sports-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.sports-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.sports-list { display: flex; flex-wrap: wrap; gap: 8px; }

.sport-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.sport-tag:hover { background: rgba(22,117,225,0.15); border-color: var(--accent); color: var(--white); }

.sports-media-link { display: block; min-width: 0; }
.sports-media { max-height: 440px; }
.sports-img { max-height: 440px; object-fit: contain; }

/* ============================================================
   CASINO
   ============================================================ */
.casino { background: var(--bg-dark); }

.casino-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.casino-media-link { display: block; min-width: 0; }
.casino-media { max-height: 440px; }
.casino-img { max-height: 440px; object-fit: contain; }

.casino-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.casino-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.casino-cats { display: flex; flex-wrap: wrap; gap: 8px; }

.casino-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.casino-cat:hover { background: rgba(22,117,225,0.15); border-color: var(--accent); color: var(--white); }

/* ============================================================
   MOBILE SECTION
   ============================================================ */
.mobile-section { background: var(--bg-deep); }

.mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.mobile-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.mobile-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow);
}
.mobile-icon { font-size: 2rem; margin-bottom: 14px; }
.mobile-feature h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.mobile-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.mobile-cta { text-align: center; }

/* ============================================================
   PAYMENTS
   ============================================================ */
.payments { background: var(--bg-dark); }

.payments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow);
}
.payment-icon {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
  font-family: var(--font-display);
}
.payment-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.payment-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.payments-cta { text-align: center; }

/* ============================================================
   SUPPORT
   ============================================================ */
.support { background: var(--bg-deep); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow);
}
.support-icon { font-size: 2rem; }
.support-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  overflow-wrap: anywhere;
}
.support-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  overflow-wrap: anywhere;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-dark); }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--border-glow); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-question:hover { color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { background: var(--bg-deep); }

.final-cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.final-cta-media-link { display: block; min-width: 0; }
.final-cta-media { max-height: 440px; }
.final-cta-img { max-height: 440px; object-fit: contain; }

.final-cta-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.final-cta-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.22);
  padding: 5px 14px;
  border-radius: 100px;
  align-self: flex-start;
}
.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.final-cta-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gold);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.final-cta-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.final-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.final-cta-disclaimer { font-size: 0.78rem; color: var(--text-dim); overflow-wrap: anywhere; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { min-width: 0; }
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.footer-social-link:hover { color: var(--white); background: rgba(22,117,225,0.15); border-color: var(--accent); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color 0.2s;
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.footer-legal { flex: 1; min-width: 0; }
.footer-legal p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-legal a { color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

.footer-age {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.age-badge, .gamble-badge {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.age-badge { background: #c0392b; color: #fff; }
.gamble-badge { background: var(--bg-card2); color: var(--text-muted); border: 1px solid var(--border); }

/* ============================================================
   EXIT POPUP
   ============================================================ */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(6px);
}
.exit-popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.exit-popup {
  background: var(--bg-dark);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  transform: scale(0.9);
  transition: transform 0.3s;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.exit-popup-overlay.active .exit-popup { transform: scale(1); }

.exit-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.exit-popup-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.exit-popup-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.22);
  padding: 5px 14px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 20px;
}
.exit-popup-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.exit-popup-bonus {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.exit-popup-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.exit-popup .btn { width: 100%; margin-bottom: 12px; }
.exit-popup-dismiss {
  font-size: 0.82rem;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.exit-popup-dismiss:hover { color: var(--text-muted); }

/* ============================================================
   CATFISH BAR
   ============================================================ */
.catfish-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: linear-gradient(90deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  border-top: 1px solid var(--border-glow);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.catfish-bar.hidden { transform: translateY(110%); }

.catfish-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
  overflow: hidden;
}
.catfish-text {
  flex: 1;
  font-size: clamp(0.78rem, 1.8vw, 0.92rem);
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.catfish-text strong { color: var(--gold); }
.catfish-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.catfish-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ============================================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .burger-btn { display: flex; }
  .header-actions .btn--ghost,
  .header-actions .btn--primary { display: none; }

  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .bonus-hero-link { grid-template-columns: 1fr; }
  .bonus-hero-media { max-height: 260px; }
  .bonus-hero-img { max-height: 260px; }
  .bonus-hero-content { padding: 28px 24px; }

  .sports-layout,
  .casino-layout,
  .final-cta .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sports-media, .casino-media, .final-cta-media { max-height: 320px; }
  .payments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }

  .advantages-grid,
  .mobile-grid,
  .support-grid { grid-template-columns: 1fr; }

  .steps-grid,
  .promos-grid,
  .payments-grid { grid-template-columns: 1fr; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  .hero-stats { flex-direction: column; gap: 8px; }
  .stat-divider { width: 60px; height: 1px; }
  .stat-item { padding: 6px 0; }

  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .exit-popup { padding: 32px 22px; }
  .exit-popup-title { font-size: 1.5rem; }

  .final-cta-btns { flex-direction: column; }
  .final-cta-btns .btn { width: 100%; }

  .catfish-inner { padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom, 10px)); gap: 10px; }
  .catfish-text { font-size: 0.75rem; }
  .catfish-bar .btn--sm { font-size: 0.78rem; padding: 8px 12px; min-height: 36px; }
}

/* ============================================================
   RESPONSIVE – SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.45rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .logo-img { height: 30px; }
  .footer-logo { height: 30px; }
  .hero-social { flex-direction: column; }
  .mobile-nav-actions { flex-direction: column; }
  .mobile-nav-actions .btn { width: 100%; }
}

/* ============================================================
   RESPONSIVE – VERY SMALL (max 360px)
   ============================================================ */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .hero-banner-img { max-height: 200px; }
  .section { padding: 44px 0; }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- SELECTION ---------- */
::selection { background: rgba(22,117,225,0.35); color: var(--white); }