/* =============================================================================
   CryptoCasinoHouse — Crypto Casino Affiliate Site
   Design system: dark theme, amber/gold accent, glassmorphism
   Inspired by best UX of casino.org, askgamblers, 99bitcoins, casinosblockchain
   ============================================================================= */

/* === CSS Custom Properties === */
:root {
  /* Background layers */
  --bg-0: #0a0d14;             /* deepest */
  --bg-1: #0f1320;             /* page bg */
  --bg-2: #161b2c;             /* card bg */
  --bg-3: #1d233a;             /* card hover */
  --bg-4: #252c47;             /* elevated */

  /* Borders & dividers */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text-primary: #f1f4fb;
  --text-secondary: #b3bbd0;
  --text-tertiary: #9ba8c4;  /* WCAG AA: 4.8:1 on bg-1 #0f1320 */
  --text-muted: #8a92a8;     /* WCAG AA: 3.5:1 (decorative use only) */

  /* Brand — amber/gold accent (winning + crypto signal, unique vs competitor blue/green) */
  --accent: #ffb020;
  --accent-hover: #ffc04d;
  --accent-glow: rgba(255, 176, 32, 0.25);
  --accent-soft: rgba(255, 176, 32, 0.12);

  /* Semantic */
  --success: #22d77c;
  --success-glow: rgba(34, 215, 124, 0.2);
  --success-soft: rgba(34, 215, 124, 0.12);
  --warning: #ff9540;
  --danger: #ff5470;
  --info: #5b8def;

  /* CTA — green for "Visit Casino" (industry standard high-converter) */
  --cta: #16c172;
  --cta-hover: #1ed889;
  --cta-glow: rgba(22, 193, 114, 0.35);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 32px var(--accent-glow);

  /* Spacing */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --header-h: 68px;
  --transition: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-1);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  line-height: 1.18;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 3.6vw + 0.5rem, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.2vw + 0.4rem, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.4vw + 0.4rem, 1.6rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; color: var(--text-secondary); }

/* === Layout === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
}
.header-row {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  min-height: var(--header-h);
}
@media (min-width: 768px) { .header-row { padding: 0.75rem 2rem; } }

.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 800; font-size: 1.1rem;
  color: var(--text-primary); letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c1a 100%);
  color: #1a1a1a; font-size: 1.2rem; font-weight: 900;
  box-shadow: 0 4px 16px rgba(255, 176, 32, 0.35);
}
.brand:hover { color: var(--text-primary); }

.primary-nav { flex: 1; display: none; }
@media (min-width: 1024px) { .primary-nav { display: block; } }
.primary-nav > ul {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  color: var(--text-secondary);
  font-weight: 500; font-size: 0.92rem;
  border-radius: var(--r-sm);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-2); }
.nav-link.has-dropdown::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 0.25rem;
  transition: transform var(--transition);
}
.nav-item:hover .nav-link.has-dropdown::after { transform: rotate(225deg) translateY(2px); }

/* Mega-menu */
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 880px; max-width: 1040px; width: max-content;
  background: var(--bg-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-lg);
  margin-top: 6px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transition-delay: 0.15s; /* slight close delay → hover doesn't drop when moving mouse down */
  display: grid; grid-template-columns: 1fr 1fr 1fr 260px; gap: 1.5rem;
}
/* Invisible hover-bridge — fills the 6px margin gap so cursor doesn't lose :hover */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
  background: transparent;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition-delay: 0s; /* open immediately, close with delay */
}
.mega-col h4 {
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}
.mega-col ul li { margin-bottom: 0.35rem; }
.mega-col a {
  display: block; padding: 0.4rem 0.5rem;
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  border-radius: var(--r-xs);
  transition: all var(--transition);
}
.mega-col a:hover,
.mega-col a:focus-visible { color: var(--text-primary); background: var(--bg-3); }
.mega-featured {
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 100%);
  border: 1px solid var(--accent-soft);
  border-radius: var(--r-md);
  padding: 1rem;
  display: flex; flex-direction: column;
}
.mega-featured-tag {
  display: inline-block; align-self: flex-start;
  padding: 0.2rem 0.55rem;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--r-xs);
  margin-bottom: 0.5rem;
}
.mega-featured h5 { font-size: 0.98rem; color: var(--text-primary); margin: 0 0 0.4rem; line-height: 1.3; }
.mega-featured p { font-size: 0.82rem; margin: 0 0 0.7rem; color: var(--text-secondary); line-height: 1.45; flex: 1; }
.mega-featured a { color: var(--accent); font-size: 0.85rem; font-weight: 600; padding: 0; }
.mega-featured a:hover { text-decoration: underline; }

/* Secondary nav — quick filter pills */
.secondary-nav {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.secondary-nav-row {
  display: flex; flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
  -webkit-overflow-scrolling: touch;
}
.secondary-nav-row::-webkit-scrollbar { height: 4px; }
.secondary-nav-row::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 2px; }
.quick-pill {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-3);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.8rem; font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
}
.quick-pill:hover,
.quick-pill:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-primary);
}
.quick-pill-danger { border-color: rgba(255,90,90,0.35); color: #ffb3b3; }
.quick-pill-danger:hover,
.quick-pill-danger:focus-visible {
  background: rgba(255,90,90,0.12);
  border-color: var(--danger, #ff5a5a);
  color: #ffd4d4;
}

.header-meta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.search-btn, .lang-btn, .user-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--bg-2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.search-btn:hover, .lang-btn:hover, .user-btn:hover {
  background: var(--bg-3); color: var(--text-primary); border-color: var(--border-medium);
}
.lang-btn { width: auto; padding: 0 0.75rem; font-size: 0.82rem; font-weight: 600; gap: 0.3rem; }
.lang-switcher { position: relative; }
.lang-menu {
  display: none;
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--bg-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  padding: 0.4rem;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  z-index: 110;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-xs);
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.lang-menu a:hover { background: var(--bg-3); color: var(--text-primary); }
.lang-flag { font-size: 1.1rem; }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--bg-2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform var(--transition);
}
@media (max-width: 1023px) { .nav-toggle { display: inline-flex; } }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.92rem;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
  line-height: 1;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c1a 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
  color: #0a0d14;
}
.btn-cta {
  background: linear-gradient(135deg, var(--cta) 0%, #0fa860 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--cta-glow);
  padding: 1rem 1.8rem;
  font-size: 0.98rem; font-weight: 700;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--cta-glow);
  color: #fff;
}
.btn-secondary {
  background: var(--bg-2);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}
.btn-secondary:hover {
  background: var(--bg-3);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost {
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }

/* === Hero === */
.hero {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(91, 141, 239, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 5rem 0 3.5rem; } }
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 176, 32, 0.25);
  border-radius: var(--r-pill);
  color: var(--accent);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}
.hero h1 {
  margin-bottom: 0.6em;
  background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw + 0.3rem, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 0 2rem;
}
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem; font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat span { font-size: 0.85rem; color: var(--text-tertiary); }

/* === Casino Card === */
.casino-list {
  display: grid; gap: 1.25rem;
  margin: 2rem 0;
}
.casino-card {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.casino-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.casino-card.top-pick {
  border-color: rgba(255, 176, 32, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.2), 0 8px 32px rgba(255, 176, 32, 0.08);
}
.casino-card.top-pick::before {
  content: "★ EDITOR'S TOP PICK";
  position: absolute; top: 0; left: 0;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c1a 100%);
  color: #1a1a1a;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em;
  border-bottom-right-radius: var(--r-md);
  z-index: 5;
}
.casino-card-inner {
  display: grid; gap: 1.5rem;
  padding: 1.5rem;
}
@media (min-width: 880px) {
  .casino-card-inner {
    grid-template-columns: 240px 1fr 220px;
    align-items: center;
    padding: 2rem;
  }
}
.casino-brand-block {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.casino-rank-badge {
  display: inline-grid; place-items: center;
  min-width: 28px; height: 28px; padding: 0 0.6rem;
  background: var(--bg-3); border: 1px solid var(--border-medium);
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-size: 0.78rem; font-weight: 700;
}
.casino-logo {
  width: 92px; height: 92px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  display: grid; place-items: center;
  font-weight: 800; color: var(--accent);
  font-size: 1.5rem;
  border: 1px solid var(--border-medium);
  letter-spacing: -0.02em;
}
.casino-name {
  font-size: 1.15rem; font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
.casino-rating {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  color: var(--accent);
  font-size: 0.82rem; font-weight: 700;
}
.casino-rating-stars { color: var(--accent); letter-spacing: 0.05em; }

.casino-body { display: flex; flex-direction: column; gap: 0.8rem; }
.bonus-headline {
  font-size: 1.05rem; font-weight: 700;
  color: var(--success);
  display: flex; align-items: center; gap: 0.4rem;
}
.bonus-headline::before {
  content: "🎁";
  font-size: 1rem;
}
.bonus-wagering {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}
.casino-features {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 0.3rem;
}
.feature-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  background: var(--bg-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-size: 0.75rem; font-weight: 500;
}
.feature-pill.featured { background: var(--success-soft); color: var(--success); border-color: rgba(34, 215, 124, 0.2); }
.coin-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 0.2rem;
}
.coin-tag {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.6rem;
  background: rgba(91, 141, 239, 0.12);
  border: 1px solid rgba(91, 141, 239, 0.18);
  border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 600;
  color: #8fb3ff;
  letter-spacing: 0.02em;
}
.coin-tag.stable {
  background: var(--success-soft);
  border-color: rgba(34, 215, 124, 0.18);
  color: var(--success);
}

.casino-cta {
  display: flex; flex-direction: column; gap: 0.6rem;
  align-items: stretch;
}
.casino-cta .btn { width: 100%; }
.casino-cta .quick-stats {
  display: flex; justify-content: space-around;
  padding: 0.5rem;
  background: var(--bg-3);
  border-radius: var(--r-sm);
  font-size: 0.72rem; color: var(--text-tertiary);
}
.quick-stat strong { display: block; color: var(--text-primary); font-size: 0.85rem; }

/* Card expandable "More Info" — cryptocasinos.com pattern */
.casino-more-toggle {
  display: block; width: 100%;
  padding: 0.7rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.casino-more-toggle:hover { background: var(--bg-3); color: var(--text-primary); }
.casino-more-content {
  display: none;
  padding: 1.5rem;
  background: var(--bg-1);
  border-top: 1px solid var(--border-subtle);
}
.casino-more-content.open { display: block; }
.more-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem;
  margin-bottom: 1.2rem;
}
.more-item label {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.more-item strong { color: var(--text-primary); font-size: 0.92rem; }
.why-we-chose {
  padding: 1rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  margin-top: 1rem;
}
.why-we-chose h5 { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.4rem; }
.why-we-chose p { color: var(--text-secondary); margin: 0; font-size: 0.9rem; }

/* === Review Page === */
.review-hero {
  padding: 2rem 0 1.5rem;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  border-bottom: 1px solid var(--border-subtle);
}
.breadcrumb {
  font-size: 0.82rem; color: var(--text-tertiary);
  margin-bottom: 1rem;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb-sep { color: var(--text-muted); }

.review-header {
  display: grid; gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
@media (min-width: 880px) {
  .review-header { grid-template-columns: 140px 1fr 240px; gap: 2rem; }
}
.review-logo {
  width: 140px; height: 140px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  display: grid; place-items: center;
  font-weight: 800; color: var(--accent); font-size: 2.2rem;
  border: 1px solid var(--border-medium);
}
.review-title h1 {
  margin-bottom: 0.4em;
}
.review-meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.rating-stack {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin: 0.5rem 0 1rem;
}
.rating-pill-lg {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--success-soft) 0%, transparent 100%);
  border: 1px solid rgba(34, 215, 124, 0.25);
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  color: var(--success);
  font-weight: 700; font-size: 1.05rem;
}
.rating-pill-lg.player {
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 100%);
  border-color: rgba(255, 176, 32, 0.25);
  color: var(--accent);
}
.rating-pill-lg .rating-label { font-size: 0.72rem; opacity: 0.7; }

.review-cta-block {
  display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--bg-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-lg);
  padding: 1rem;
}
.review-cta-block .btn-cta { padding: 1.1rem 1.5rem; font-size: 1.05rem; }
.review-cta-extra { font-size: 0.78rem; color: var(--text-tertiary); text-align: center; }

.review-quickfacts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem 1.2rem;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 768px) { .review-quickfacts { grid-template-columns: repeat(4, 1fr); } }
.quickfact label {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.quickfact strong { color: var(--text-primary); font-weight: 600; font-size: 0.92rem; }

/* Author byline — 99bitcoins pattern */
.author-block {
  display: flex; gap: 0.8rem; align-items: center;
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c1a 100%);
  display: grid; place-items: center;
  color: #1a1a1a; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.author-info { flex: 1; line-height: 1.4; }
.author-name { color: var(--text-primary); font-weight: 600; font-size: 0.92rem; }
.author-name a { color: inherit; }
.author-role { color: var(--text-tertiary); font-size: 0.78rem; }
.author-meta {
  font-size: 0.75rem; color: var(--text-tertiary);
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 0.2rem;
}
.author-meta strong { color: var(--text-secondary); }

/* === Sticky CTA Bar === */
.sticky-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(15, 19, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-medium);
  padding: 0.7rem 1rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.sticky-cta-bar.show { transform: translateY(0); }
.sticky-cta-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
}
.sticky-cta-logo {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  display: grid; place-items: center;
  font-weight: 800; color: var(--accent);
  flex-shrink: 0;
}
.sticky-cta-text { flex: 1; min-width: 0; }
.sticky-cta-text strong { color: var(--text-primary); font-size: 0.92rem; display: block; }
.sticky-cta-text span { color: var(--success); font-size: 0.78rem; font-weight: 600; }
.sticky-cta-bar .btn-cta { padding: 0.7rem 1.3rem; font-size: 0.88rem; flex-shrink: 0; }

/* === Sections === */
.section { padding: 3rem 0; }
.section-tight { padding: 1.5rem 0; }
.section-title {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.section-title h2 { margin: 0; }
.section-title-link { color: var(--accent); font-size: 0.92rem; font-weight: 600; }

/* === Bonus Banner === */
.bonus-banner-big {
  background: linear-gradient(135deg, rgba(22, 193, 114, 0.12) 0%, rgba(255, 176, 32, 0.08) 100%);
  border: 1px solid rgba(34, 215, 124, 0.25);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: grid; gap: 1.2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .bonus-banner-big { grid-template-columns: 1fr auto; padding: 2rem 2.5rem; }
}
.bonus-banner-big h3 {
  margin: 0 0 0.3em;
  color: var(--success);
  font-size: 1.5rem;
}
.bonus-banner-big p { color: var(--text-secondary); margin: 0; font-size: 0.98rem; }
.bonus-banner-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 0.6rem;
  font-size: 0.82rem; color: var(--text-tertiary);
}
.bonus-banner-meta strong { color: var(--text-secondary); }
.bonus-banner-cta { display: flex; flex-direction: column; gap: 0.5rem; min-width: 220px; }
.bonus-code {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--bg-2);
  border: 1px dashed var(--accent);
  border-radius: var(--r-sm);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  color: var(--accent); font-weight: 700; font-size: 0.92rem;
}

/* === Pros / Cons (Hits / Misses) === */
.hits-misses {
  display: grid; gap: 1.5rem;
  margin: 2rem 0;
}
@media (min-width: 768px) { .hits-misses { grid-template-columns: 1fr 1fr; } }
.hm-block {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.hm-block h3 {
  font-size: 1.1rem; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.hm-block.hits h3 { color: var(--success); }
.hm-block.misses h3 { color: var(--danger); }
.hm-block ul li {
  padding: 0.4rem 0 0.4rem 1.7rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.hm-block.hits li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.45rem;
  color: var(--success); font-weight: 700;
  width: 1.2rem; height: 1.2rem;
  display: inline-grid; place-items: center;
  background: var(--success-soft); border-radius: 50%;
  font-size: 0.7rem;
}
.hm-block.misses li::before {
  content: "✗";
  position: absolute; left: 0; top: 0.45rem;
  color: var(--danger); font-weight: 700;
  width: 1.2rem; height: 1.2rem;
  display: inline-grid; place-items: center;
  background: rgba(255, 84, 112, 0.12); border-radius: 50%;
  font-size: 0.7rem;
}

/* === Sub-scores === */
.subscores {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem;
  margin: 2rem 0;
}
.subscore {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 1rem;
}
.subscore-label {
  font-size: 0.75rem; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.subscore-value {
  font-size: 1.4rem; font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.subscore-value small { font-size: 0.78rem; color: var(--text-tertiary); font-weight: 500; }
.subscore-bar {
  height: 6px; border-radius: 3px;
  background: var(--bg-3);
  overflow: hidden;
}
.subscore-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success) 0%, var(--accent) 100%);
  border-radius: 3px;
}

/* === Info Grid === */
.info-grid {
  display: grid; gap: 1rem; margin: 1.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.info-card {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 1.2rem;
  transition: all var(--transition);
}
.info-card:hover { border-color: var(--border-medium); }
.info-card h4 {
  font-size: 0.72rem; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.5rem; font-weight: 600;
}
.info-value {
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.info-extra { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.3rem; }

/* === Prose === */
.prose { max-width: 760px; }
.prose p { font-size: 1rem; color: var(--text-secondary); }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.4rem; list-style: disc; color: var(--text-secondary); }
.prose ul li { margin-bottom: 0.45rem; }
.prose strong { color: var(--text-primary); }

/* === Trust Strip === */
.trust-strip {
  display: flex; flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1rem 0;
  align-items: center;
  justify-content: center;
}
.trust-badge {
  display: inline-grid; place-items: center;
  padding: 0.5rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  font-size: 0.74rem; font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* === RG Block === */
.rg-block {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-top: 1px solid rgba(255, 149, 64, 0.15);
  padding: 1.5rem 0;
  font-size: 0.88rem;
}
.rg-row {
  display: grid; gap: 1rem;
  align-items: center;
}
@media (min-width: 768px) { .rg-row { grid-template-columns: auto 1fr auto; } }
.rg-icon { font-size: 1.5rem; color: var(--warning); }
.rg-text strong { color: var(--warning); display: block; margin-bottom: 0.2rem; font-size: 0.95rem; }
.rg-text p { color: var(--text-secondary); margin: 0; font-size: 0.85rem; }
.rg-helplines {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem;
}
.rg-helplines a { color: var(--accent); font-weight: 500; }

/* === Footer === */
.site-footer {
  background: var(--bg-0);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid; gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }
.footer-col h4 { font-size: 1rem; margin-bottom: 0.8rem; color: var(--text-primary); }
.footer-col h5 {
  font-size: 0.78rem; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.9rem; font-weight: 700;
}
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.88rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-tagline { font-size: 0.9rem; color: var(--text-tertiary); margin-bottom: 0.6rem; }
.footer-disclosure { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.copyright { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* === Coin Tags / Dashboard === */
.dash-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem; margin: 2rem 0;
}
.dash-coin {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  transition: all var(--transition);
}
.dash-coin:hover { border-color: var(--border-medium); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.dash-coin-header {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1rem;
}
.dash-coin-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  display: grid; place-items: center;
  color: var(--accent); font-weight: 800; font-size: 0.9rem;
  border: 1px solid var(--border-medium);
}
.dash-coin-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.dash-coin-ticker { font-size: 0.78rem; color: var(--text-tertiary); }
.crypto-score {
  display: flex; align-items: baseline; gap: 0.3rem;
  margin: 0.5rem 0 0.7rem;
}
.crypto-score-value {
  font-size: 1.6rem; font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.crypto-score-max { font-size: 0.85rem; color: var(--text-tertiary); }
.crypto-score-tier {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.2rem 0.6rem;
  background: var(--accent-soft);
  border-radius: var(--r-xs);
  color: var(--accent);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.dash-coin-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem;
  font-size: 0.78rem;
}
.dash-stat label { color: var(--text-tertiary); }
.dash-stat strong { color: var(--text-secondary); display: block; font-size: 0.9rem; }

/* === Cookie Banner === */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 95;
  background: rgba(10, 13, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-medium);
  padding: 1rem;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid; gap: 1rem;
  align-items: center;
}
@media (min-width: 768px) { .cookie-banner-inner { grid-template-columns: 1fr auto; } }
.cookie-banner-text strong { display: block; color: var(--text-primary); margin-bottom: 0.3rem; font-size: 0.95rem; }
.cookie-banner-text p { color: var(--text-secondary); margin: 0; font-size: 0.85rem; line-height: 1.5; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner-actions .btn { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* === Reading meta === */
.reading-meta {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  font-size: 0.82rem; color: var(--text-tertiary);
}
.reading-meta strong { color: var(--text-secondary); }

/* === Utility === */
.text-muted { color: var(--text-tertiary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.flex { display: flex; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.text-center { text-align: center; }

/* === Tabbed Details === */
.review-tabs {
  display: flex; gap: 0.3rem;
  background: var(--bg-2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 0.3rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.review-tab {
  flex: 1; min-width: 100px;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  font-size: 0.88rem; font-weight: 600;
  text-align: center; white-space: nowrap;
  cursor: pointer; transition: all var(--transition);
  background: transparent; border: 0;
}
.review-tab.active {
  background: var(--bg-3);
  color: var(--accent);
}
.review-tab:hover:not(.active) { color: var(--text-primary); }
.review-tab-content { display: none; }
.review-tab-content.active { display: block; }

/* === FAQ Accordion === */
.faq-list { margin: 1.5rem 0; }
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--text-primary); font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  font-size: 1.4rem; color: var(--accent);
  transition: transform var(--transition);
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { margin-top: 0.8rem; color: var(--text-secondary); font-size: 0.95rem; }

/* === Skip-to-main accessibility link (WCAG 2.4.1) === */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg-1);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease-out;
}
.skip-to-main:focus,
.skip-to-main:focus-visible {
  top: 0;
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

/* === Visually-hidden helper for screen-reader-only labels === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Mobile overflow safeguard (audit 2026-05-17) === */
html, body { overflow-x: hidden; max-width: 100vw; }

/* === Mobile (≤480px) header compression === */
@media (max-width: 480px) {
  .header-row { gap: 0.4rem; }
  /* Hide "EN ▾" text on smallest screens, keep flag icon only */
  .lang-btn { padding: 0 0.4rem; }
  .lang-btn-label { display: none; }
  /* Make review-tabs horizontally scrollable on mobile */
  .review-tabs {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .review-tab {
    min-width: 90px;
    scroll-snap-align: start;
  }
}

/* === Reading progress bar === */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 80%, #fff) 100%);
  z-index: 9998;
  transition: width 0.05s linear;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(255,176,32,0.3);
}

/* === Filter pill aria-pressed styling === */
.feature-pill[aria-pressed="true"],
.feature-pill.featured {
  background: var(--accent);
  color: var(--bg-1);
  font-weight: 700;
  border-color: var(--accent);
}

/* === MOBILE NAV: hide mega-menu, scroll lock, iOS safe area, touch targets === */

/* === Mobile nav (<1024px): mega-menu becomes inline accordion === */
@media (max-width: 1023px) {
  /* By default mega-menu still hidden until mobile-open is set */
  .primary-nav:not(.mobile-open) .mega-menu { display: none !important; }
  .nav-link.has-dropdown::after { display: none; }

  /* Container: fill viewport below header — explicit height because top+bottom doesn't auto-size on all browsers */
  .primary-nav.mobile-open {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important; right: 0 !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    width: 100% !important;
    flex: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-1) !important;
    padding: 1rem 1.25rem 2rem !important;
    border-top: 1px solid var(--border-medium) !important;
    z-index: 95 !important;
  }
  .primary-nav.mobile-open ul {
    display: flex !important; flex-direction: column;
    gap: 0.15rem; align-items: stretch;
    width: 100%;
  }
  .primary-nav.mobile-open .nav-item { position: static; }
  .primary-nav.mobile-open .nav-link {
    padding: 0.85rem 1rem; min-height: 44px;
    border-radius: 6px; font-size: 0.98rem; font-weight: 600;
    display: flex; align-items: center;
    color: var(--text-primary); background: var(--bg-2);
    border: 1px solid var(--border-subtle);
  }
  .primary-nav.mobile-open .nav-link:hover,
  .primary-nav.mobile-open .nav-link:focus-visible { background: var(--bg-3); }

  /* Mega-menu expanded inline under each item — always open in mobile view */
  .primary-nav.mobile-open .mega-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    min-width: 0; max-width: none; width: auto;
    background: transparent;
    border: none; box-shadow: none;
    margin: 0.25rem 0 0.5rem;
    padding: 0.3rem 0.5rem 0.6rem 0.75rem;
    border-left: 2px solid var(--accent-soft);
    border-radius: 0;
    transition: none;
  }
  .primary-nav.mobile-open .mega-menu::before { display: none; }
  .primary-nav.mobile-open .mega-col { margin-bottom: 0.5rem; }
  .primary-nav.mobile-open .mega-col h4 {
    font-size: 0.68rem;
    color: var(--text-tertiary);
    margin: 0.7rem 0 0.35rem;
  }
  .primary-nav.mobile-open .mega-col a {
    padding: 0.5rem 0.6rem;
    font-size: 0.88rem;
    min-height: 40px;
    display: flex; align-items: center;
  }
  .primary-nav.mobile-open .mega-featured {
    margin-top: 0.7rem; padding: 0.8rem;
    background: var(--bg-2);
    border: 1px solid var(--border-subtle);
  }
  .primary-nav.mobile-open .mega-featured h5 { font-size: 0.92rem; }
  .primary-nav.mobile-open .mega-featured p { font-size: 0.78rem; margin-bottom: 0.5rem; }

  /* Secondary nav on mobile: horizontal scroll strip */
  .secondary-nav-row { padding: 0.5rem 0.75rem; gap: 0.4rem; }
  .quick-pill { padding: 0.3rem 0.65rem; font-size: 0.75rem; }
}
@media (max-width: 640px) {
  .secondary-nav { display: none; }
}

/* Scroll lock when mobile nav open */
body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

/* iOS safe-area-inset for sticky / fixed elements */
@supports (padding: max(0px)) {
  .site-header { padding-top: env(safe-area-inset-top, 0); padding-left: max(0.75rem, env(safe-area-inset-left)); padding-right: max(0.75rem, env(safe-area-inset-right)); }
  .sticky-cta-bar { padding-bottom: env(safe-area-inset-bottom, 0); }
  .cookie-banner { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
}

/* Mobile language menu (<640px) — centered popup not overflow */
@media (max-width: 640px) {
  .lang-menu {
    right: 0;
    left: auto;
    min-width: calc(100vw - 2rem);
    max-width: 320px;
  }
}

/* Touch target sizing — WCAG 2.5.5 (Level AAA) min 44px square + 8px gap */
@media (max-width: 768px) {
  .btn, .feature-pill, .nav-toggle, .lang-btn, .casino-more-toggle, button.cookie-accept, button.cookie-decline {
    min-height: 44px;
  }
  .review-cta-block { display: flex; flex-direction: column; gap: 0.6rem; }
  .review-cta-block .btn { width: 100%; min-height: 48px; }
}

/* Mobile casino card layout improvements */
@media (max-width: 640px) {
  .casino-card-inner { padding: 1rem; gap: 0.8rem; }
  .casino-logo, .casino-logo-svg { width: 72px !important; height: 72px !important; }
  .casino-features { gap: 0.4rem; }
  .feature-pill { font-size: 0.78rem; padding: 0.3rem 0.6rem; }
}

/* Cookie banner mobile readability */
@media (max-width: 480px) {
  .cookie-banner-inner { padding: 1rem; }
  .cookie-banner-text { font-size: 0.92rem; }
  .cookie-banner-text p { font-size: 0.85rem; line-height: 1.4; }
  .cookie-banner-actions { gap: 0.6rem; }
}


/* === WCAG: prefers-reduced-motion support === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === WCAG: focus-visible на all interactive elements === */
.btn:focus-visible,
.feature-pill:focus-visible,
.nav-toggle:focus-visible,
.search-btn:focus-visible,
.lang-btn:focus-visible,
.casino-more-toggle:focus-visible,
button.cookie-accept:focus-visible,
button.cookie-decline:focus-visible,
.review-tab:focus-visible,
.nav-link:focus-visible,
.lang-menu a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.2);
}

/* === Casino name truncation (prevents grid breaking on long brand names) === */
.casino-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === 100dvh fix for Android Chrome URL bar collapse === */
@supports (height: 100dvh) {
  .sticky-cta-bar { bottom: 0; max-height: 100dvh; }
}

/* === Underline links in prose for accessibility === */
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 176, 32, 0.4);
}
.prose a:hover {
  text-decoration-color: var(--accent);
}
