/* ============================================================
   fs-casino.info.pl – "Bold Modern" Dark Theme
   Design concept: Deep space-dark background, vibrant gradient
   hero, punchy red CTA buttons, electric blue accents,
   bold typography, card-forward bonus-focused layout.
   Author: fs-casino.info.pl | Last update: 2026-04-16
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Core: bold red + vivid blue */
  --red:         #e00000;
  --red-hover:   #ff2020;
  --red-glow:    rgba(224,0,0,0.4);

  /* Electric blue */
  --blue:        #0050ff;
  --blue-light:  #3372ff;
  --blue-dark:   #0038cc;
  --blue-glow:   rgba(0,80,255,0.3);

  /* Accent yellow/orange for bonus badges */
  --amber:       #ff9900;
  --amber-light: #ffb840;
  --amber-dark:  rgba(255,153,0,0.15);

  /* Backgrounds – deep near-black with slight purple tint */
  --bg-page:     #080810;
  --bg-card:     #0f1020;
  --bg-nested:   #171830;
  --bg-header:   #06060e;
  --bg-footer:   #040408;

  /* Text */
  --text:        #d4d8f0;
  --text-muted:  #7880a0;
  --text-head:   #ffffff;
  --text-link:   #3372ff;

  /* Borders */
  --border:      #1e2040;
  --border-blue: rgba(0,80,255,0.4);

  /* Spacing */
  --sp-xs: 0.375rem;
  --sp-sm: 0.75rem;
  --sp-md: 1.25rem;
  --sp-lg: 2rem;
  --sp-xl: 3.5rem;

  /* Font stack – bold, modern sans-serif */
  --font-base: 'Segoe UI', system-ui, Arial, sans-serif;

  /* Radii */
  --r-sm:  3px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  28px;

  /* Transitions */
  --tr: 0.2s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Prevent any element from causing a horizontal scrollbar */
  overflow-x: hidden;
}
body {
  font-family: var(--font-base);
  font-size: clamp(0.9rem, 1.5vw + 0.4rem, 1.05rem);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  /* Clamp the body to the viewport width on all breakpoints */
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

/* ── Skip Link ── */
.skip-link {
  position: absolute; top: -50px; left: 0; z-index: 9999;
  background: var(--blue); color: #fff; font-weight: 700;
  padding: 0.6rem 1.2rem; border-radius: 0 0 var(--r-md) 0;
  transition: top var(--tr);
}
.skip-link:focus { top: 0; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Global overflow guard ──
   Ensures no text block, card, or image spills beyond the viewport width.
   Applied broadly so every section is protected without per-element rules. */
.container,
.hero-content,
.article-content,
.bonus-cards,
.inline-cta,
.alert-box,
.policy-content,
.stats-bar {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ══════════════════════════════════════
   HEADER – gradient accent line top
══════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
}
/* Bold gradient line at very top */
.site-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--red));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { 0% { background-position: 0 0; } 100% { background-position: 200% 0; } }

.header-inner {
  display: flex; align-items: center; gap: 1rem;
  height: 64px; max-width: 1200px;
  margin: 0 auto; padding: 0 1.25rem;
}
.site-logo { flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; }
.site-nav {
  display: flex; gap: 1.5rem;
  margin-left: auto; align-items: center;
}
.site-nav a {
  color: var(--text-muted); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: color var(--tr);
}
.site-nav a:hover { color: var(--blue-light); text-decoration: none; }
.btn-header { margin-left: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: space-around;
  width: 32px; height: 26px; background: none; border: none;
  cursor: pointer; padding: 0; margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; background: var(--blue-light); border-radius: 2px; transition: var(--tr); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ── Mobile Nav ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,8,0.8); backdrop-filter: blur(4px);
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(300px, 90vw);
  background: var(--bg-card);
  border-left: 2px solid var(--border-blue);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.mobile-nav-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 1.4rem; cursor: pointer; align-self: flex-end; transition: color var(--tr);
}
.mobile-nav-close:hover { color: var(--blue-light); }
.mobile-nav-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav-links a {
  display: block; padding: 0.65rem 1rem;
  color: var(--text); font-weight: 600;
  border-radius: var(--r-md); transition: background var(--tr), color var(--tr);
}
.mobile-nav-links a:hover { background: var(--bg-nested); color: var(--blue-light); text-decoration: none; }

/* ══════════════════════════════════════
   BUTTONS (.btn-primary / .btn-secondary only)
══════════════════════════════════════ */
.btn-primary,
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 1rem 2.4rem; border-radius: var(--r-sm);
  font-weight: 800; font-size: 1rem; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer; border: 2px solid transparent;
  transition: background var(--tr), box-shadow var(--tr), transform 0.1s;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary:active,
.btn-secondary:active { transform: scale(0.96); }

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
  box-shadow: 0 6px 24px var(--red-glow);
}

.btn-secondary {
  background: transparent; color: var(--blue-light);
  border-color: var(--blue-light);
}
.btn-secondary:hover { background: var(--blue-glow); }

/* ══════════════════════════════════════
   BREADCRUMBS
══════════════════════════════════════ */
.breadcrumbs {
  background: var(--bg-nested);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0; font-size: 0.82rem;
}
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li:not(:last-child)::after { content: '›'; color: var(--blue-light); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--blue-light); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════
   HERO – gradient + left-aligned CTA
══════════════════════════════════════ */
.hero {
  position: relative;
  /* overflow:hidden clips the banner image; hidden-x stops any child spill */
  overflow: hidden;
  /* Fixed height range so the banner never collapses or grows on any screen */
  height: clamp(460px, 62vh, 680px);
  min-height: clamp(460px, 62vh, 680px);
  display: flex; align-items: center;
  /* Content pushed to the left side, aligned with the page container */
  justify-content: flex-start;
  padding: 0 max(1.25rem, calc((100% - 1200px) / 2 + 1.25rem));
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/Banner/freepik_ultradetailed-3d-render-b_2797286111.png') center / cover no-repeat;
}
/* Multi-layer gradient overlay – stronger on the left so text is legible */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,8,16,0.92) 0%, rgba(8,8,16,0.65) 55%, rgba(8,8,16,0.15) 100%);
}
/* Animated blue line at bottom */
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--red), var(--blue), transparent);
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}

/* Semi-transparent content block – left-aligned */
.hero-content {
  position: relative; z-index: 1;
  text-align: left; padding: 2.5rem 2.5rem;
  max-width: 620px;
  background: rgba(6,6,14,0.78);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
}
.hero-content h1 {
  font-size: clamp(1.5rem, 3.5vw + 0.8rem, 2.5rem);
  font-weight: 900;
  color: var(--text-head);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
/* Blue gradient text accent */
.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-light), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; }
.hero-bonus {
  /* Use flex so the badge hugs its text, but allow it to wrap at narrow widths */
  display: inline-flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap;
  background: var(--amber-dark);
  border: 2px solid var(--amber);
  color: var(--amber-light);
  font-size: 1.1rem; font-weight: 800;
  padding: 0.5rem 1.5rem; border-radius: var(--r-xl);
  margin-bottom: 1.5rem;
  /* Prevent the badge from ever overflowing its parent */
  max-width: 100%;
  word-break: break-word;
}
/* Buttons left-aligned */
.hero-buttons { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

/* ══════════════════════════════════════
   BONUS STATS BAR (below hero)
══════════════════════════════════════ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar-inner {
  display: flex; justify-content: space-around; align-items: center;
  padding: 1rem 0; flex-wrap: wrap; gap: 1rem;
}
.stat-item { text-align: center; padding: 0 1.25rem; }
.stat-value { font-size: 1.4rem; font-weight: 900; color: var(--blue-light); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ══════════════════════════════════════
   POPULAR SLOTS
══════════════════════════════════════ */
.slots-section { padding: var(--sp-xl) 0; border-bottom: 1px solid var(--border); }
.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 2rem);
  font-weight: 900; color: var(--text-head);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
/* Bold blue underline */
.section-title::after {
  content: '';
  display: block; width: 50px; height: 4px;
  background: var(--blue); border-radius: 2px;
  margin: 0.5rem auto 0;
}
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 2.5rem; }
/* 6-column desktop grid */
.slots-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.65rem;
}
.slot-item { position: relative; overflow: hidden; border-radius: 12px; }
.slot-item a { position: relative; display: block; }
.slot-item img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.slot-item:hover img { transform: scale(1.07); box-shadow: 0 0 0 3px var(--blue-light), 0 8px 20px var(--blue-glow); }
.slot-item .slot-play-btn {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--tr);
}
.slot-item:hover .slot-play-btn { opacity: 1; }
.slots-cta { text-align: center; margin-top: 2rem; }

/* ══════════════════════════════════════
   BLUE DIVIDER
══════════════════════════════════════ */
.section-divider {
  display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0;
}
.section-divider::before, .section-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-blue));
}
.section-divider::after { background: linear-gradient(90deg, var(--border-blue), transparent); }
.section-divider span { color: var(--blue-light); font-size: 1.2rem; }

/* ══════════════════════════════════════
   MAIN CONTENT (full-width – no sidebar)
══════════════════════════════════════ */
.main-content { padding: var(--sp-xl) 0; }

/* Bonus cards grid */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; margin: 1.5rem 0;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color var(--tr), transform 0.2s;
}
.bonus-card:hover { border-color: var(--blue-light); transform: translateY(-3px); }
.bonus-card .bc-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.bonus-card h3 { font-size: 1rem; font-weight: 800; color: var(--text-head); margin-bottom: 0.3rem; }
.bonus-card .bc-value { font-size: 1.3rem; font-weight: 900; color: var(--amber-light); margin-bottom: 0.4rem; }
.bonus-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Article text styles */
.article-content h2 {
  font-size: clamp(1.2rem, 2vw + 0.4rem, 1.6rem);
  font-weight: 900; color: var(--text-head);
  margin: 2.5rem 0 0.75rem;
  padding-left: 1rem;
  border-left: 4px solid var(--blue);
  letter-spacing: -0.01em;
}
.article-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue-light); margin: 1.75rem 0 0.5rem; }
.article-content h4 { font-size: 0.95rem; color: var(--text); margin: 1.2rem 0 0.4rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin-bottom: 1rem; }
.article-content li { margin-bottom: 0.4rem; }
.article-content strong { color: var(--text-head); }

/* Alert / highlight box */
.alert-box {
  background: rgba(0,80,255,0.08);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem; margin: 1.5rem 0;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.alert-box .ab-icon { font-size: 1.3rem; flex-shrink: 0; }
.alert-box p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.alert-box strong { color: var(--blue-light); }

/* CTA inline block */
.inline-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center; margin: 2rem 0;
}
.inline-cta .cta-title { font-size: 1.25rem; font-weight: 900; color: var(--text-head); margin-bottom: 0.3rem; }
.inline-cta .cta-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.inline-cta .cta-badge {
  display: inline-block;
  background: var(--amber-dark); border: 1px solid var(--amber);
  color: var(--amber-light); font-size: 0.85rem; font-weight: 700;
  padding: 0.25rem 0.8rem; border-radius: var(--r-xl);
  margin-bottom: 1rem;
}

/* Table */
.table-scroll-hint { display: none; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.4rem; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead th {
  background: var(--bg-nested); color: var(--blue-light);
  padding: 0.75rem 1rem; text-align: left;
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 2px solid var(--border-blue);
}
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--tr); }
tbody tr:hover { background: var(--bg-nested); }
tbody td { padding: 0.75rem 1rem; vertical-align: top; }
tbody td:first-child { color: var(--blue-light); font-weight: 700; }
.bonus-badge {
  display: inline-block;
  background: var(--amber-dark); color: var(--amber-light);
  font-size: 0.8rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: var(--r-sm);
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-section { padding: var(--sp-xl) 0; border-top: 1px solid var(--border); }
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--tr);
}
details.faq-item[open] { border-color: var(--blue-light); }
details.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700; font-size: 0.97rem;
  color: var(--text-head); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
details.faq-item summary::after { content: '+'; color: var(--blue-light); font-size: 1.3rem; }
details.faq-item[open] summary::after { content: '−'; }
details.faq-item p { padding: 0 1.25rem 1.25rem; color: var(--text-muted); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.site-footer::before {
  content: ''; display: block; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--red));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  margin-bottom: 3rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 42px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); max-width: 280px; }
.footer-col h4 {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue-light);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a { font-size: 0.84rem; color: var(--text-muted); transition: color var(--tr); }
.footer-col a:hover { color: var(--blue-light); }

.footer-payments { margin-bottom: 2rem; }
.footer-payments h4 {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  text-align: center; margin-bottom: 1rem;
}
.pay-logos { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.pay-logos img {
  height: 26px; width: auto; object-fit: contain;
  filter: grayscale(60%) brightness(0.75); transition: filter var(--tr);
}
.pay-logos img:hover { filter: grayscale(0%) brightness(1); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-muted);
}
.footer-legal-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-legal-links a { color: var(--text-muted); transition: color var(--tr); }
.footer-legal-links a:hover { color: var(--blue-light); }
.age-badge {
  background: var(--red); color: #fff;
  font-weight: 900; font-size: 0.75rem;
  padding: 0.2rem 0.55rem; border-radius: var(--r-sm);
}

/* ══════════════════════════════════════
   GAMBLING WARNING
══════════════════════════════════════ */
.gambling-warning {
  background: rgba(4,4,8,0.97);
  border-top: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.78rem; color: var(--text-muted); text-align: center;
}

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
#back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
  width: 42px; height: 42px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity var(--tr), transform var(--tr);
  box-shadow: 0 4px 18px var(--blue-glow);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); background: var(--blue-dark); }

/* ══════════════════════════════════════
   POLICY PAGES
══════════════════════════════════════ */
.policy-page { padding: 3rem 0 4rem; }
.policy-content {
  max-width: 820px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
}
.policy-content h1 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.1rem);
  font-weight: 900; color: var(--text-head);
  margin-bottom: 0.4rem;
}
.policy-content h1::after {
  content: ''; display: block; width: 50px; height: 4px;
  background: var(--blue); border-radius: 2px; margin-top: 0.6rem;
}
.policy-content h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--blue-light);
  margin: 2rem 0 0.6rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--blue);
}
.policy-content h3 { font-size: 1rem; color: var(--text-head); margin: 1.25rem 0 0.4rem; }
.policy-content p, .policy-content li { color: var(--text-muted); margin-bottom: 0.75rem; }
.policy-content a { color: var(--blue-light); }
.policy-content a:hover { color: var(--text-link); }
.policy-toc {
  background: var(--bg-nested);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.policy-toc h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-light); margin-bottom: 0.75rem; }
.policy-toc ol { padding-left: 1.25rem; }
.policy-toc li { margin-bottom: 0.3rem; }
.policy-toc a { color: var(--text-muted); font-size: 0.9rem; }
.policy-toc a:hover { color: var(--blue-light); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }

  /* Hero: use vertical padding so the content block stays inside the fixed height.
     align-items:flex-start + padding-top lets the card sit near the top of the banner
     rather than being clipped when it's taller than the remaining space.        */
  .hero {
    padding: 2rem 1rem;
    align-items: flex-start;
    /* Maintain the same visual height on mobile */
    height: clamp(420px, 70vw, 520px);
    min-height: clamp(420px, 70vw, 520px);
  }
  .hero-content {
    padding: 1.5rem 1.25rem;
    /* Fill the available width minus the hero's horizontal padding */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* Allow buttons to stack without stretching past container */
  .hero-buttons { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    text-align: center;
    white-space: normal;  /* allow button text to wrap on very narrow screens */
  }

  /* Stats bar: 2-column symmetric grid, last item spans full width centered */
  .stats-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0;
    padding: 1rem 0.75rem;
  }
  .stat-item { padding: 0.5rem 0.75rem; border-right: 1px solid var(--border); }
  .stat-item:nth-child(2n) { border-right: none; }
  /* 5th item spans both columns and centers itself */
  .stat-item:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
  }
  .stat-value { font-size: 1.2rem; }

  /* Slots: horizontal scroll */
  .slots-grid {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.5rem; padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--blue) transparent;
  }
  .slot-item { flex: 0 0 130px; scroll-snap-align: start; }
  .slot-item img { width: 130px; height: 130px; aspect-ratio: unset; }

  .bonus-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .policy-content { padding: 1.5rem; }
}

@media (max-width: 480px) {
  /* Banner: keep a consistent defined height on the smallest screens */
  .hero {
    height: 420px;
    min-height: 420px;
    padding: 1.5rem 0.75rem;
  }
  .hero-content h1 { font-size: 1.3rem; }
  .hero-tagline { font-size: 0.88rem; }
  .hero-bonus { font-size: 0.9rem; padding: 0.4rem 1rem; }
  /* Smaller padding on large buttons so they fit the mobile viewport */
  .btn-primary,
  .btn-secondary { padding: 0.75rem 1.25rem; font-size: 0.88rem; white-space: normal; }
  .bonus-cards { grid-template-columns: 1fr; }
  .stats-bar-inner { gap: 0.5rem 0; padding: 0.75rem 0.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .mobile-nav, #back-to-top, .hero-buttons { display: none; }
}
