/* ============================================================
   22bet Casino CZ — styles.css
   Primary CTA: #2CB154 · Secondary bg: #054248 · Footer bg: #fff
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; }

:root {
  --bg: #054248;
  --bg-2: #0a4f56;
  --bg-3: #073c42;
  --surface: #0c5b64;
  --surface-2: #0e646e;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text: #e8f4f5;
  --text-dim: #9fb7ba;
  --text-muted: #7d9699;
  --white: #ffffff;
  --cta: #2CB154;
  --cta-hover: #34c864;
  --cta-dark: #1d8c42;
  --accent: #ef5b5b;
  --accent-hover: #f56a6a;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.2);
  --shadow-md: 0 10px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 18px 40px rgba(0,0,0,0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --maxw: 1320px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; overflow-wrap: anywhere; word-break: break-word; }
strong { font-weight: 700; color: #fff; }
em { font-style: italic; color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: var(--shadow-sm);
  user-select: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--primary {
  background: linear-gradient(180deg, var(--cta-hover), var(--cta));
  color: #06351a;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 6px 0 var(--cta-dark), 0 10px 24px rgba(44,177,84,0.35);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #3ed26d, #2CB154);
  box-shadow: 0 4px 0 var(--cta-dark), 0 14px 28px rgba(44,177,84,0.45);
  color: #06351a;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

.btn--accent {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent));
  color: #fff;
  box-shadow: 0 6px 0 #b33c3c, 0 10px 22px rgba(239,91,91,0.35);
}
.btn--accent:hover { background: linear-gradient(180deg, #f77575, var(--accent)); }

.btn--xs { min-height: 36px; padding: 8px 14px; font-size: .82rem; border-radius: 8px; box-shadow: var(--shadow-sm); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--xl { min-height: 60px; padding: 16px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.logo img { height: 38px; width: auto; }
.logo--footer img { height: 44px; }

.main-nav { flex: 1; min-width: 0; }
.main-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  padding: 6px;
}
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a {
  display: inline-block;
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--text);
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.main-nav li.is-active a,
.main-nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

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

.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.burger span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: block;
  padding: 16px 20px 22px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.mobile-menu ul { display: grid; gap: 10px; }
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  font-weight: 700;
}
.mobile-menu .btn { padding: 14px 18px; }

/* ---------- Promo bar ---------- */
.promo-bar {
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.promo-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  min-height: 64px;
}
.promo-label {
  font-weight: 900;
  letter-spacing: .1em;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 8px;
}
.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.marquee span {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 30s linear infinite;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .9rem;
  color: var(--text-dim);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  min-width: 0;
  max-width: 220px;
  flex-shrink: 1;
}
.search input {
  background: transparent; border: 0; outline: none;
  color: #fff; padding: 8px 0;
  min-width: 0; width: 100%;
  font-size: .9rem;
}
.search input::placeholder { color: var(--text-muted); }
.search-icon {
  color: var(--cta);
  background: rgba(44,177,84,0.15);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- Layout with sidebar ---------- */
.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 40px;
}

.sidebar {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 10px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  min-width: 0;
}
.sidebar-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  background: rgba(0,0,0,0.2);
  border-radius: 999px;
  margin-bottom: 10px;
}
.sidebar-tabs .tab {
  text-align: center;
  padding: 10px 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: background .2s ease, color .2s ease;
}
.sidebar-tabs .tab.is-active {
  background: var(--bg-3);
  color: #fff;
}
.sidebar-tabs .tab--live.is-active,
.sidebar-tabs .tab--live:hover {
  background: var(--cta);
  color: #fff;
}

.sidebar-list { display: grid; gap: 2px; }
.sidebar-list a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dim);
  transition: background .15s ease, color .15s ease;
}
.sidebar-list a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.sidebar-list .ic {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--cta);
  font-size: 1rem;
}

/* ---------- Main sections ---------- */
.main { min-width: 0; display: grid; gap: 40px; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 18px;
}
.section-head h2 { margin: 0; }
.link-more {
  color: var(--cta);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}
.link-more:hover { color: var(--cta-hover); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, rgba(44,177,84,0.08), transparent 60%), var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
}
.hero-banner {
  display: block;
  background: #062d32;
  max-height: 340px;
  overflow: hidden;
}
.hero-banner img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}
.hero-content {
  padding: 28px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(44,177,84,0.15);
  color: var(--cta-hover);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-bonus {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-terms { color: var(--text-dim); font-size: .85rem; margin: 0; }

/* ---------- Games ---------- */
.games { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pill:hover { background: rgba(255,255,255,0.09); color: #fff; }
.pill.is-active { background: var(--cta); color: #fff; border-color: var(--cta); }

.jackpot-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(239,91,91,0.1), rgba(44,177,84,0.1));
  border: 1px solid var(--line-strong);
}
.jackpot-label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  font-size: .82rem;
  color: var(--text-dim);
}
.jackpot-value {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 14px rgba(239,91,91,0.4);
  flex: 1;
  min-width: 0;
}

.grid { display: grid; gap: 14px; }
.grid--games { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .grid--games { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 780px) { .grid--games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid--games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--cta); box-shadow: var(--shadow-md); }

.media {
  position: relative;
  overflow: hidden;
  background: #04272c;
  border-bottom: 1px solid var(--line);
}
.media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .25s ease;
}
.card:hover .media img { transform: scale(1.05); }

.game-meta { padding: 10px 12px 4px; }
.game-title { font-size: .95rem; margin: 0 0 2px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-provider { margin: 0; font-size: .76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.game-actions {
  display: flex; gap: 6px; padding: 10px 12px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.card:hover .game-actions,
.card:focus-within .game-actions { opacity: 1; transform: translateY(0); }

.badge {
  position: absolute; top: 8px; left: 8px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 900;
  font-size: .68rem;
  letter-spacing: .08em;
  color: #fff;
}
.badge--hot { background: var(--accent); box-shadow: 0 2px 8px rgba(239,91,91,0.45); }
.badge--new { background: var(--cta); box-shadow: 0 2px 8px rgba(44,177,84,0.45); }

.load-more { text-align: center; margin-top: 22px; }
.load-more .btn { min-width: 220px; }

/* ---------- Live casino ---------- */
.grid--live { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .grid--live { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid--live { grid-template-columns: 1fr; } }

.live-tile { flex-direction: column; }
.live-tile .media img { aspect-ratio: 16/10; }
.live-dot {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--accent);
  color: #fff;
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .1em;
  z-index: 2;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,91,91,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(239,91,91,0); }
}
.live-meta { padding: 14px 16px 18px; }
.live-meta h3 { margin: 0 0 4px; font-size: 1.05rem; }
.live-sub { margin: 0 0 10px; color: var(--text-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.live-stats { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--text-dim); }
.live-stats li {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 8px;
}
.live-stats strong { color: #fff; font-weight: 700; }
.flag { margin-right: 4px; }

/* ---------- Promos ---------- */
.grid--promos {
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-auto-rows: 1fr;
}
@media (max-width: 1100px) { .grid--promos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .promo--lead { grid-column: span 2; } }
@media (max-width: 640px) { .grid--promos { grid-template-columns: 1fr; } .promo--lead { grid-column: span 1; } }

.promo {
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
}
.promo:hover { border-color: var(--cta); }
.media--promo { background: #062d32; }
.media--promo img { aspect-ratio: 16 / 9; object-fit: cover; }
.promo--lead .media--promo img { aspect-ratio: 16/10; }
.promo-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-tag {
  align-self: flex-start;
  background: rgba(44,177,84,0.15);
  color: var(--cta-hover);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.promo h3 { margin: 2px 0 4px; }
.promo p { margin: 0; color: var(--text-dim); font-size: .92rem; }
.promo-list { display: grid; gap: 6px; margin-top: 4px; }
.promo-list li {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: .86rem;
  padding: 6px 10px;
  background: rgba(0,0,0,0.18);
  border-radius: 8px;
}
.promo .btn { margin-top: auto; align-self: flex-start; }

.vip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(44,177,84,0.12), rgba(239,91,91,0.08));
}
@media (max-width: 820px) { .vip { grid-template-columns: 1fr; } }
.vip-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.vip-tiers { display: flex; gap: 8px; flex-wrap: wrap; }
.vip-tiers li {
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
}
.media--vip { overflow: hidden; min-height: 220px; background: #062d32; }
.media--vip img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }

/* ---------- Providers & SEO text ---------- */
.providers { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.provider-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 980px) { .provider-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .provider-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.provider {
  display: grid; place-items: center;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  height: 72px;
  padding: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.provider:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.provider img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.seo-text { color: var(--text-dim); }
.seo-text h2 { color: #fff; margin-bottom: .6em; }
.seo-text h3 {
  color: #fff;
  margin-top: 1.4em;
  padding-left: 12px;
  border-left: 3px solid var(--cta);
}
.seo-text p { margin: 0 0 1em; line-height: 1.7; }
.seo-text .lead { font-size: 1.05rem; color: var(--text); }
.seo-text ul { margin: .4em 0 1.2em; display: grid; gap: 8px; }
.seo-text ul li {
  position: relative;
  padding: 6px 6px 6px 26px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  line-height: 1.55;
}
.seo-text ul li::before {
  content: "▸";
  position: absolute; left: 10px; top: 6px;
  color: var(--cta);
  font-weight: 900;
}

/* ---------- About ---------- */
.about { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-intro .lead { font-size: 1.06rem; color: var(--text); }
.about-intro p { color: var(--text-dim); line-height: 1.7; margin-bottom: 1em; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform .18s ease, border-color .2s ease;
}
.trust-card:hover { transform: translateY(-4px); border-color: var(--cta); }
.media--trust { background: #062d32; }
.media--trust img { aspect-ratio: 16/9; object-fit: cover; }
.trust-card h4 { margin: 14px 16px 4px; color: #fff; }
.trust-card p { margin: 0 16px 16px; color: var(--text-dim); font-size: .9rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat {
  text-align: center;
  padding: 20px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat strong {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--cta-hover);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat span { font-size: .84rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--cta); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255,255,255,0.03); }
.faq-ic {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(44,177,84,0.15);
  color: var(--cta-hover);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] .faq-ic {
  transform: rotate(45deg);
  background: var(--cta);
  color: #fff;
}
.faq-body {
  padding: 0 22px 22px;
  color: var(--text-dim);
  line-height: 1.7;
}
.faq-body h4 {
  color: #fff;
  margin: 18px 0 8px;
  font-size: 1rem;
  letter-spacing: 0;
}
.faq-body p { margin: 0 0 .9em; }
.faq-body ul, .faq-body ol {
  margin: 8px 0 14px;
  padding-left: 22px;
  display: grid; gap: 6px;
}
.faq-body ul { list-style: disc; }
.faq-body ol { list-style: decimal; }
.faq-body li { padding-left: 4px; line-height: 1.6; }
.faq-body li::marker { color: var(--cta); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  color: #1a1a1a;
  padding: 44px 0 28px;
  margin-top: 40px;
  border-top: 4px solid var(--bg);
}
.site-footer a { color: #4a4a4a; transition: color .15s ease; }
.site-footer a:hover { color: var(--bg); }
.footer-brand { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.logo--footer { max-width: 180px; }
.logo--footer img { height: 42px; }
.footer-tagline { color: #4a4a4a; max-width: 720px; font-size: .95rem; margin: 0; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e6e6e6;
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-cols h4 {
  color: var(--bg);
  margin: 0 0 12px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg);
  display: inline-block;
}
.footer-cols ul { display: grid; gap: 8px; margin-bottom: 22px; }
.footer-cols a { font-size: .92rem; }

.footer-pay {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid #e6e6e6;
}
.footer-pay span {
  padding: 8px 14px;
  background: #f4f4f4;
  color: #555;
  border-radius: 8px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
}

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding-top: 22px;
  font-size: .88rem;
  color: #666;
}
.footer-bottom p { margin: 0; }
.age {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: .95rem;
  flex-shrink: 0;
}
.copy { width: 100%; color: #888; font-size: .82rem; margin-top: 4px; }

/* ---------- Catfish ---------- */
.catfish {
  position: fixed;
  left: 50%; bottom: 12px;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 980px;
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom);
}
.catfish-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--bg-2), var(--bg));
  border: 1px solid var(--cta);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.catfish-text {
  flex: 1;
  min-width: 0;
  font-size: .92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catfish-text strong { color: var(--cta-hover); }
.catfish-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 1.2rem; line-height: 1;
  flex-shrink: 0;
  transition: background .15s ease;
}
.catfish-close:hover { background: rgba(255,255,255,0.18); }

/* ---------- Exit popup ---------- */
.exit-popup {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center;
  padding: 16px;
}
.exit-popup[hidden],
.catfish[hidden],
.mobile-menu[hidden] { display: none !important; }
.exit-backdrop {
  position: absolute; inset: 0;
  background: rgba(3,24,28,0.78);
  backdrop-filter: blur(4px);
}
.exit-modal {
  position: relative;
  width: 100%; max-width: 460px;
  background: var(--bg-2);
  border: 1px solid var(--cta);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.exit-close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 1.3rem; line-height: 1;
}
.exit-close:hover { background: rgba(255,255,255,0.18); }
.exit-media {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 18px;
  max-height: 160px;
}
.exit-media img { width: 100%; max-height: 160px; object-fit: cover; }
.exit-modal h3 { font-size: 1.25rem; color: #fff; margin: 0 0 10px; }
.exit-bonus {
  font-size: 1.2rem; font-weight: 900; color: var(--cta-hover);
  margin: 0 0 10px;
}
.exit-sub { color: var(--text-dim); font-size: .95rem; margin: 0 0 18px; }
.exit-terms { color: var(--text-muted); font-size: .78rem; margin: 14px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .sidebar-list {
    grid-auto-flow: column;
    grid-auto-columns: 160px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .sidebar-list a { padding: 8px 10px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-cta .btn--ghost { display: none; }
}

@media (max-width: 780px) {
  .header-cta .btn { min-height: 40px; padding: 8px 14px; font-size: .82rem; }
  .promo-inner { flex-wrap: wrap; gap: 10px; min-height: 0; padding: 10px 16px; }
  .promo-label { font-size: .85rem; }
  .search { order: 3; max-width: 100%; width: 100%; }
  .marquee { flex-basis: 100%; order: 4; }
  .hero-content { padding: 22px 18px; }
  .hero-banner { max-height: 220px; }
  .hero-banner img { max-height: 220px; }
  .jackpot-row { padding: 14px; }
  .games, .providers, .about, .faq { padding: 18px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }
  .btn { width: 100%; max-width: 360px; }
  .btn--xs, .load-more .btn, .game-actions .btn, .pill, .link-more { width: auto; }
  .game-actions { opacity: 1; transform: none; }
  .vip-body { padding: 20px; }
  .trust-card { padding-bottom: 4px; }
  .footer-brand { align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .logo img { height: 32px; }
  .layout { gap: 20px; padding-top: 20px; }
  .main { gap: 28px; }
  .sidebar { padding: 10px; }
  .jackpot-row { flex-direction: column; align-items: stretch; text-align: center; }
  .jackpot-value { text-align: center; }
  .promo-body h3 { font-size: 1.05rem; }
  .catfish-text { white-space: normal; font-size: .85rem; line-height: 1.35; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Safety: long words in tables & cells */
table { width: 100%; table-layout: fixed; }
th, td { overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }

/* Focus styles */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--cta-hover);
  outline-offset: 2px;
  border-radius: 4px;
}
