/* ======================================================
   Pooky — Global Stylesheet (2026 redesign)
   Midnight Casino theme · neon violet/cyan accent
   Mobile-first · dark UI · glass surfaces
   ====================================================== */

/* Twemoji images inside h1 — runtime replacement of flag emoji characters */
h1 img.emoji {
  display: inline-block;
  height: 0.85em;
  width: auto;
  vertical-align: middle;
  margin-left: 0.15em;
}

:root {
  /* Surfaces — deep midnight */
  --bg-0: #070a13;
  --bg-1: #0b0f1c;
  --bg-2: #101527;
  --bg-3: #161d33;
  --surface: #101527;
  --surface-2: #161d33;
  --surface-3: #1c2542;
  --surface-hover: #1a2240;
  --border: rgba(148, 163, 216, 0.14);
  --border-strong: rgba(148, 163, 216, 0.28);

  /* Text */
  --text: #eef1fb;
  --text-muted: #a9b3d0;
  --text-dim: #6f7a9c;

  /* Primary accent (neon violet) */
  --accent: #8b7cff;
  --accent-2: #7c5cff;
  --accent-3: #b3a6ff;
  --accent-soft: rgba(139, 124, 255, 0.13);
  --accent-glow: rgba(124, 92, 255, 0.45);

  /* Secondary accent (cyan) */
  --cyan: #3fd8f0;
  --cyan-soft: rgba(63, 216, 240, 0.12);

  /* Legacy aliases -> violet */
  --gold: #8b7cff;
  --gold-2: #7c5cff;
  --gold-glow: rgba(124, 92, 255, 0.4);

  /* Amber reserved for star ratings */
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);

  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.12);
  --danger: #fb7185;
  --danger-soft: rgba(251, 113, 133, 0.12);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-1: 0 2px 10px rgba(2, 4, 12, 0.45);
  --shadow-2: 0 18px 50px rgba(2, 4, 12, 0.6);
  --shadow-accent: 0 8px 26px rgba(124, 92, 255, 0.38);

  --max-w: 1160px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  color-scheme: dark;
}

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient neon glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(900px 560px at 10% -8%, rgba(124, 92, 255, 0.16), transparent 62%),
    radial-gradient(820px 520px at 104% 2%, rgba(63, 216, 240, 0.10), transparent 60%),
    radial-gradient(700px 700px at 50% 115%, rgba(124, 92, 255, 0.07), transparent 65%);
}

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

::selection { background: rgba(124, 92, 255, 0.4); color: #fff; }

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .container { padding: 0 16px; } }

/* Custom scrollbar (desktop polish) */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--bg-0); }
  ::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 999px; border: 3px solid var(--bg-0); }
  ::-webkit-scrollbar-thumb:hover { background: #2a355c; }
}

/* ====================== HEADER ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.72);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}
@media (max-width: 980px) {
  .site-header .container { padding-left: 20px; padding-right: 20px; }
  .header-inner { padding: 10px 0; }
}
@media (max-width: 480px) {
  .site-header .container { padding-left: 16px; padding-right: 16px; }
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--text);
  flex-shrink: 0;
}
.logo img {
  height: 52px;
  width: auto;
  max-width: 260px;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(124, 92, 255, 0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover img { transform: scale(1.04); filter: drop-shadow(0 4px 18px rgba(124, 92, 255, 0.45)); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--cyan));
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-accent);
}
.logo-mark span { font-size: 18px; }
.logo-text .accent { color: var(--accent); }
@media (max-width: 980px) { .logo img { height: 46px; } }
@media (max-width: 480px) { .logo img { height: 40px; max-width: 180px; } }

.nav { display: flex; align-items: center; gap: 4px; }

/* Dropdown menus */
.nav .has-dropdown { position: relative; }
.nav .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav .flag { font-size: 15px; margin: 0; filter: none; line-height: 1; align-self: center; }
.nav .dropdown-trigger::after {
  content: "▾";
  font-size: 10px;
  margin-top: 1px;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.nav .has-dropdown.open .dropdown-trigger { color: var(--accent-3); background: var(--accent-soft); }
.nav .has-dropdown.open .dropdown-trigger::after { transform: rotate(180deg); }
.nav .has-dropdown.is-current .dropdown-trigger { color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .nav .has-dropdown:hover .dropdown-trigger { color: var(--accent-3); background: var(--accent-soft); }
}
.nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-2);
  z-index: 50;
  animation: dropdownIn 0.18s ease;
}
.nav .has-dropdown.open .dropdown-menu { display: flex; }
@media (hover: hover) and (pointer: fine) {
  .nav .has-dropdown:hover .dropdown-menu { display: flex; }
  /* Invisible bridge over the gap so the menu stays open while the cursor
     travels from the trigger down to the dropdown items. */
  .nav .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 12px;
  }
}
.nav .dropdown-menu a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-muted);
  transition: all 0.18s ease;
}
.nav .dropdown-menu a:hover { color: var(--text); background: var(--surface-3); }
.nav .dropdown-menu a.active { color: var(--accent-3); background: var(--accent-soft); font-weight: 600; }

/* Market switcher — flags-only dropdown appended at the end of each market's nav */
.nav .has-dropdown.market-switcher .dropdown-trigger { padding: 9px 12px; }
.nav .has-dropdown.market-switcher .dropdown-trigger .flag { font-size: 17px; }
.nav .has-dropdown.market-switcher .dropdown-menu {
  left: auto;
  right: 0;
  min-width: 0;
  width: max-content;
  max-width: 168px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
}
.nav .has-dropdown.market-switcher .dropdown-menu a {
  padding: 8px 10px;
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav > a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav > a:hover { color: var(--accent-3); background: var(--accent-soft); }
.nav > a.active { color: var(--accent-3); background: var(--accent-soft); }

/* Hamburger — animated to X when open */
.menu-toggle {
  display: none;
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.menu-toggle:hover { background: var(--surface-3); border-color: rgba(139, 124, 255, 0.5); }
.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.menu-toggle::before { top: 15px; }
.menu-toggle span   { top: 21px; }
.menu-toggle::after { top: 27px; }
.menu-toggle.is-open::before { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span    { opacity: 0; }
.menu-toggle.is-open::after  { top: 21px; transform: rotate(-45deg); }

/* Dim backdrop behind the open mobile drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 5, 12, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

body.menu-open { overflow: hidden; }
/* Keep the header (and its X toggle) above the open drawer so the menu can
   always be closed — the drawer slides in underneath the sticky header. */
body.menu-open .site-header { z-index: 130; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 86vw);
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 84px 18px 24px;
    gap: 2px;
    background: var(--bg-2);
    border-left: 1px solid var(--border-strong);
    box-shadow: -24px 0 60px rgba(2, 4, 12, 0.6);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.24, 1), visibility 0s 0.32s;
  }
  .nav.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.24, 1), visibility 0s 0s;
  }
  .nav > a { padding: 13px 14px; border-radius: 12px; font-size: 15.5px; }

  .nav .has-dropdown { width: 100%; display: block; }
  .nav .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 12px;
    display: flex;
    font-size: 15.5px;
  }
  .nav .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 2px 0 6px 14px;
    padding: 4px 0 6px 10px;
    box-shadow: none;
    background: transparent;
    border: none;
    border-left: 2px solid rgba(139, 124, 255, 0.3);
    border-radius: 0;
    flex-direction: column;
    animation: none;
  }
  .nav .dropdown-menu a { display: block; width: 100%; white-space: normal; padding: 11px 12px; font-size: 14.5px; }
  .nav .has-dropdown .dropdown-menu { display: none; }
  .nav .has-dropdown.open .dropdown-menu { display: flex; }

  .nav .has-dropdown.market-switcher .dropdown-menu {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    max-width: none;
    margin: 2px 0 6px 0;
    padding: 8px 0 8px 10px;
  }
  .nav .has-dropdown.market-switcher .dropdown-menu a { display: inline-flex; width: auto; padding: 10px 12px; font-size: 21px; }
}

/* ====================== HERO (homepage) ====================== */
.hero {
  position: relative;
  padding: 84px 0 60px;
  text-align: center;
  overflow: hidden;
}
@media (max-width: 980px) { .hero { padding: 52px 0 44px; } }
@media (max-width: 560px) { .hero { padding: 40px 0 32px; } }

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 18px;
  background: linear-gradient(100deg, #ffffff 20%, var(--accent-3) 55%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: fadeUp 0.8s ease both;
}
.hero p.subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 124, 255, 0.3);
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  animation: fadeUp 0.7s ease both;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  animation: pulse 1.8s infinite;
}

/* Decorative hero background — faint playing-card suit watermark (♠ ♥ ♦ ♣)
   tiled as inline SVGs in two offset layers so the scatter feels organic,
   faded out with a radial mask. */
.blob { display: none; }
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Ctext x='28' y='58' font-size='40' fill='rgba(139,124,255,0.10)' transform='rotate(-12 28 58)'%3E%E2%99%A0%3C/text%3E%3Ctext x='150' y='100' font-size='34' fill='rgba(63,216,240,0.09)' transform='rotate(10 150 100)'%3E%E2%99%A5%3C/text%3E%3Ctext x='70' y='180' font-size='38' fill='rgba(139,124,255,0.08)' transform='rotate(14 70 180)'%3E%E2%99%A6%3C/text%3E%3Ctext x='176' y='32' font-size='30' fill='rgba(63,216,240,0.08)' transform='rotate(-8 176 32)'%3E%E2%99%A3%3C/text%3E%3C/svg%3E");
  background-size: 220px 220px;
  -webkit-mask-image: radial-gradient(ellipse 72% 75% at 50% 22%, #000 26%, transparent 72%);
          mask-image: radial-gradient(ellipse 72% 75% at 50% 22%, #000 26%, transparent 72%);
}
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Ctext x='120' y='70' font-size='30' fill='rgba(63,216,240,0.07)' transform='rotate(16 120 70)'%3E%E2%99%A3%3C/text%3E%3Ctext x='210' y='190' font-size='36' fill='rgba(139,124,255,0.08)' transform='rotate(-14 210 190)'%3E%E2%99%A0%3C/text%3E%3Ctext x='40' y='230' font-size='28' fill='rgba(63,216,240,0.06)' transform='rotate(9 40 230)'%3E%E2%99%A5%3C/text%3E%3C/svg%3E");
  background-size: 280px 280px;
  background-position: 130px 70px;
  -webkit-mask-image: radial-gradient(ellipse 68% 70% at 50% 26%, #000 30%, transparent 70%);
          mask-image: radial-gradient(ellipse 68% 70% at 50% 26%, #000 30%, transparent 70%);
}

/* ====================== COUNTRY GRID ====================== */
.countries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
@media (max-width: 900px) { .countries { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .countries { grid-template-columns: 1fr; gap: 12px; } }

.country-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  animation: fadeUp 0.9s ease both;
}
.country-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 50% -20%, rgba(124, 92, 255, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.country-card:nth-child(1) { animation-delay: 0.1s; }
.country-card:nth-child(2) { animation-delay: 0.18s; }
.country-card:nth-child(3) { animation-delay: 0.26s; }
.country-card:nth-child(4) { animation-delay: 0.34s; }
.country-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 124, 255, 0.5);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(139, 124, 255, 0.15);
}
.country-card:hover::before { opacity: 1; }

.flag {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 16px rgba(2, 4, 12, 0.6));
  transition: transform 0.4s ease;
}
.country-card:hover .flag { transform: scale(1.08) rotate(-3deg); }
@media (max-width: 560px) { .flag { font-size: 48px; } }

.country-name { font-size: 1.22rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.country-cta {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--accent-3);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}
.country-card:hover .country-cta { gap: 10px; }

/* Homepage country cards: market subpage links */
.country-card .country-name { display: block; color: var(--text); text-decoration: none; transition: color 0.2s ease; }
.country-card .country-name:hover { color: var(--accent-3); }
.country-card .market-links {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.country-card .market-links li { margin: 0; }
.country-card .market-links a {
  display: inline-block;
  font-size: 12px; font-weight: 600; line-height: 1.35;
  color: var(--text-muted);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
  transition: all 0.2s ease;
}
.country-card .market-links a::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform 0.2s ease; }
.country-card .market-links a:hover { color: var(--accent-3); border-color: rgba(139, 124, 255, 0.55); background: var(--accent-soft); }
.country-card .market-links a:hover::after { transform: translateX(3px); }
@media (max-width: 560px) {
  .country-card .market-links { flex-direction: column; flex-wrap: nowrap; align-items: stretch; width: 100%; gap: 8px; margin-top: 16px; }
  .country-card .market-links li { width: 100%; }
  .country-card .market-links a { display: block; width: 100%; font-size: 15px; padding: 12px 16px; border-radius: 14px; text-align: center; }
}

/* ====================== PAGE LAYOUT ====================== */
.page-hero {
  padding: 52px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 16px;
  animation: fadeUp 0.7s ease both;
}
.page-hero .lead {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.06rem;
  animation: fadeUp 0.8s 0.1s ease both;
}
.breadcrumbs {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dim);
  margin-bottom: 18px; justify-content: center;
}
.breadcrumbs a:hover { color: var(--accent-3); }
.breadcrumbs .sep { opacity: 0.5; }
@media (max-width: 980px) { .page-hero { padding: 28px 0 22px; } }

/* Section heading */
.list-heading {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 18px 0 22px;
  text-align: center;
  color: var(--text);
}

/* ====================== CASINO LIST ====================== */
.casino-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 48px;
}
.casino-card {
  display: grid;
  grid-template-columns: 190px 1.4fr 1fr 1fr;
  grid-template-areas:
    "thumb features bonus cta"
    "name features bonus cta"
    "rating features bonus cta";
  column-gap: 22px;
  row-gap: 4px;
  align-items: start;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  animation: fadeUp 0.7s ease both;
}
.casino-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 124, 255, 0.5);
  box-shadow: var(--shadow-2), 0 0 24px rgba(124, 92, 255, 0.12);
}
.casino-card.is-top {
  border-color: rgba(139, 124, 255, 0.55);
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  box-shadow: var(--shadow-2), 0 0 32px rgba(124, 92, 255, 0.16);
}

.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px; height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-accent);
  z-index: 2;
}

.casino-thumb {
  grid-area: thumb;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #080b14;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 10px;
  margin-bottom: 8px;
}
.casino-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.casino-card:hover .casino-thumb img { transform: scale(1.05); }
/* Logo wrapped in an affiliate link — anchor fills the thumb so the img keeps contain-fit */
.casino-thumb a { display: block; width: 100%; height: 100%; }

.casino-info { display: contents; }
.casino-info h3 { grid-area: name; font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.01em; }
.casino-info h3 .new-badge { vertical-align: middle; margin-left: 8px; position: relative; top: -2px; }
.casino-info .rating-row { grid-area: rating; }
.rating {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amber-soft);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: var(--amber);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 10px;
}
.casino-info .casino-features { grid-area: features; }
.casino-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 7px;
  font-size: 14px; color: var(--text-muted);
}
.casino-features li { display: flex; gap: 8px; align-items: flex-start; }
.casino-features li::before { content: "✓"; color: var(--success); font-weight: 800; flex-shrink: 0; }

/* Desktop only (tablet/phone breakpoints below define their own stacked layout) */
@media (min-width: 901px) {
  .casino-bonus, .casino-cta, .casino-info .casino-features { align-self: center; }
}

.casino-bonus { grid-area: bonus; display: flex; flex-direction: column; align-items: flex-start; }
.bonus-label { font-size: 11.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px; font-weight: 700; }
.bonus-amount {
  font-size: 1.05rem; font-weight: 800; line-height: 1.3;
  overflow-wrap: anywhere; word-break: break-word;
  background: linear-gradient(100deg, var(--accent-3), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.casino-cta { grid-area: cta; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.payment-icons { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.payment-icons img { height: 26px; width: auto; background: #fff; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; padding: 2px 4px; }
.casino-cta .review-link {
  font-size: 13px; color: var(--text-muted);
  border-bottom: 1px dashed var(--border-strong);
  padding: 2px 0; transition: all 0.2s ease;
}
.casino-cta .review-link:hover { color: var(--accent-3); border-bottom-color: var(--accent-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800; font-size: 16px; letter-spacing: 0.01em;
  cursor: pointer; border: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: center; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent-2) 10%, var(--accent) 55%, var(--cyan) 130%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(124, 92, 255, 0.5); }
.btn-primary:hover::after { left: 130%; }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--surface-3);
  color: var(--accent-3);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--accent-soft); border-color: rgba(139, 124, 255, 0.55); }
.btn-block { width: 100%; }

@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 130px 1fr;
    grid-template-areas: "thumb features" "name features" "rating features" "bonus bonus" "cta cta";
    column-gap: 14px; row-gap: 4px; padding: 20px; align-items: start;
  }
  .casino-thumb { grid-area: thumb; aspect-ratio: 16 / 10; margin-bottom: 8px; }
  .casino-info { display: contents; }
  .casino-info h3 { grid-area: name; }
  .casino-info .rating-row { grid-area: rating; }
  .casino-info .casino-features { grid-area: features; }
  .casino-bonus { grid-area: bonus; }
  .casino-cta { grid-area: cta; margin-top: 16px; }
}
@media (max-width: 480px) {
  .casino-card {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "thumb features" "name features" "rating features" "bonus bonus" "cta cta";
    padding: 16px; column-gap: 14px; row-gap: 4px; align-items: start;
  }
  .casino-thumb { grid-area: thumb; aspect-ratio: 16 / 10; margin-bottom: 8px; }
  .casino-info { display: contents; }
  .casino-info .rating-row { grid-area: rating; margin: 0; justify-self: start; width: 100%; }
  .casino-info h3 { grid-area: name; font-size: 1.12rem; margin: 0; }
  .casino-info .rating { grid-area: rating; margin: 0; justify-self: start; }
  .casino-info .casino-features { grid-area: features; align-self: start; }
  .casino-bonus { grid-area: bonus; margin-top: 20px; }
  .casino-cta { grid-area: cta; margin-top: 20px; }
  .btn { font-size: 17px; padding: 15px 26px; }
  .rank-badge { width: 26px; height: 26px; font-size: 12px; top: 10px; left: 10px; }
  .casino-bonus { align-items: center; text-align: center; }
}

/* ====================== CONTENT ====================== */
.content { padding: 26px 0 72px; }
.content section { margin-bottom: 52px; }
.content h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 18px; line-height: 1.2;
  position: relative; padding-bottom: 12px;
}
.content h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--cyan));
  border-radius: 4px;
}
.content h3 { font-size: 1.25rem; font-weight: 800; margin: 26px 0 10px; color: var(--text); letter-spacing: -0.01em; }
.content p { margin-bottom: 14px; color: var(--text-muted); }
.content p + p { margin-top: -2px; }
.content strong { color: var(--text); font-weight: 700; }
.content a { color: var(--accent-3); border-bottom: 1px solid rgba(139, 124, 255, 0.35); transition: border-color 0.2s; }
.content a:hover { border-color: var(--accent-3); }
.content ul, .content ol { margin: 8px 0 18px; padding-left: 22px; color: var(--text-muted); }
.content ul li, .content ol li { margin-bottom: 6px; }
.content ul li::marker { color: var(--accent); }

/* ====================== TABLES ====================== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 20px 0 28px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 600px; }
table thead { background: var(--accent-soft); }
table th {
  text-align: left; padding: 14px 16px; font-weight: 800;
  color: var(--accent-3); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-strong);
}
table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
table tr:last-child td { border-bottom: none; }
table tbody tr { transition: background 0.2s ease; }
table tbody tr:hover { background: var(--surface-hover); }
table td:first-child, table th:first-child { padding-left: 20px; }

/* ====================== FEATURED CARDS ====================== */
.featured-cards { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; margin: 30px 0 50px; }
.feat-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1); overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.7s ease both;
}
.feat-card:hover { transform: translateY(-4px); border-color: rgba(139, 124, 255, 0.5); box-shadow: var(--shadow-2); }
.feat-card.is-hot {
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border-color: rgba(139, 124, 255, 0.55);
  box-shadow: var(--shadow-2), 0 0 32px rgba(124, 92, 255, 0.14);
}
.feat-flame { position: absolute; top: 14px; right: 14px; font-size: 22px; animation: pulse 2.2s infinite; }
.feat-thumb {
  width: 84px; height: 84px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid; place-items: center; padding: 10px; margin-bottom: 16px;
  box-shadow: var(--shadow-1);
}
.feat-thumb img { width: 100%; height: 100%; object-fit: contain; }
.feat-card h3 { font-size: 1.18rem; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.01em; line-height: 1.25; }
.feat-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--text-muted); }
.feat-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.feat-list li .ico { font-size: 16px; line-height: 1.2; flex-shrink: 0; }
.feat-card .btn { margin-top: auto; }
@media (max-width: 900px) { .featured-cards { grid-template-columns: 1fr; } }

/* Review banner */
.review-banner { margin: 6px 0 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); position: relative; box-shadow: var(--shadow-1); }
.review-banner img { width: 100%; height: auto; display: block; transition: transform 0.7s ease; }
.review-banner:hover img { transform: scale(1.03); }

/* Callouts */
.callout {
  border: 1px solid rgba(139, 124, 255, 0.3);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 24px; margin: 22px 0; position: relative;
}
.callout.is-warning { background: var(--danger-soft); border-color: rgba(251, 113, 133, 0.32); }
.callout h4, .callout h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--text); font-weight: 800; padding-bottom: 0; }
.callout h3::after { display: none; }
.callout p { color: var(--text-muted); }

/* ====================== REVIEW PAGE ELEMENTS ====================== */
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 8px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  font-size: 13px; color: var(--text-muted); font-weight: 600;
}

.welcome-card {
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border: 1px solid rgba(139, 124, 255, 0.45);
  border-radius: var(--radius-lg);
  padding: 30px 26px; margin: 30px 0 40px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-2), 0 0 40px rgba(124, 92, 255, 0.12);
}
.welcome-card::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 220px at 50% -30%, rgba(124, 92, 255, 0.22), transparent 70%);
}
.welcome-card .eyebrow-label { display: inline-block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-3); font-weight: 800; margin-bottom: 12px; }
.welcome-card h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin: 0 0 10px; padding-bottom: 0; font-weight: 800; color: var(--text); }
.welcome-card h2::after { display: none; }
.welcome-card .terms { font-size: 13.5px; color: var(--text-muted); margin: 12px auto 22px; max-width: 640px; }
.welcome-card .btn { font-size: 16.5px; padding: 14px 28px; }

.score-dashboard {
  display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 28px; margin: 18px 0 38px; box-shadow: var(--shadow-1);
}
.score-overall { text-align: center; padding: 18px 14px; background: var(--accent-soft); border: 1px solid rgba(139, 124, 255, 0.25); border-radius: var(--radius); }
.score-overall .num { font-size: 3rem; font-weight: 800; color: var(--accent-3); line-height: 1; }
.score-overall .max { color: var(--text-dim); font-size: 14px; margin-top: 6px; }
.score-overall .stars { color: var(--amber); margin-top: 8px; letter-spacing: 2px; }
.score-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.score-item { display: flex; flex-direction: column; gap: 6px; }
.score-item .label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.score-item .bar { height: 6px; background: var(--bg-3); border-radius: 999px; overflow: hidden; margin: 2px 0; }
.score-item .bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--cyan)); border-radius: 999px; }
.score-item .val { font-size: 14.5px; font-weight: 800; color: var(--text); }
@media (max-width: 720px) { .score-dashboard { grid-template-columns: 1fr; } .score-overall { padding: 14px; } .score-overall .num { font-size: 2.4rem; } }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 30px; }
.pros-cons > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-1); }
.pros-cons .pros { border-color: rgba(52, 211, 153, 0.3); background: var(--success-soft); }
.pros-cons .cons { border-color: rgba(251, 113, 133, 0.3); background: var(--danger-soft); }
.pros-cons h3 { margin: 0 0 12px; font-size: 1.05rem; padding-bottom: 0; }
.pros-cons h3::after { display: none; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; color: var(--text); border-bottom: 1px dashed var(--border-strong); }
.pros-cons li:last-child { border-bottom: none; }
.pros-cons .pros li::before { content: "✓"; color: var(--success); font-weight: 800; flex-shrink: 0; }
.pros-cons .cons li::before { content: "—"; color: var(--danger); font-weight: 800; flex-shrink: 0; }
@media (max-width: 720px) { .pros-cons { grid-template-columns: 1fr; } }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0 32px; }
.step-box { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: relative; box-shadow: var(--shadow-1); }
.step-box .step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--accent-2), var(--cyan)); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.step-box h3 { font-size: 1rem; margin: 0 0 8px; padding-bottom: 0; }
.step-box h3::after { display: none; }
.step-box p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 20px 0 30px; }
.feature-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-1); transition: border-color 0.25s ease, transform 0.25s ease; }
.feature-card:hover { border-color: rgba(139, 124, 255, 0.5); transform: translateY(-2px); }
.feature-card .ico { font-size: 24px; margin-bottom: 10px; display: block; }
.feature-card h3 { font-size: 1rem; margin: 0 0 6px; padding-bottom: 0; }
.feature-card h3::after { display: none; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ====================== CONTACT FORM ====================== */
.contact-form { max-width: 720px; margin: 16px 0 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-row { display: flex; flex-direction: column; gap: 6px; }
.contact-form .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 13px 14px; color: var(--text);
  font-family: inherit; font-size: 16px; /* >=16px prevents iOS auto-zoom */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .form-check label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }
.contact-form .form-check input[type="checkbox"] { width: auto; margin-top: 3px; accent-color: var(--accent-2); }
.contact-form button[type="submit"] { align-self: flex-start; }
@media (max-width: 600px) {
  .contact-form .form-grid-2 { grid-template-columns: 1fr; }
  .contact-form button[type="submit"] { align-self: stretch; }
}

/* ====================== FOOTER ====================== */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 52px 0 30px;
  margin-top: 40px;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; margin-bottom: 36px; }
.footer-grid > div { flex: 1 1 160px; min-width: 150px; }
.footer-grid > div:first-child { flex: 2 1 260px; max-width: 420px; }
.footer-grid h4, .footer-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 14px; font-weight: 800; padding-bottom: 0; }
.footer-grid h3::after { display: none; }
.footer-grid p, .footer-grid li { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.footer-grid ul { list-style: none; }
.footer-grid a { transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--accent-3); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); }
.responsible-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--border-strong); padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: 12.5px; color: var(--text-muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ====================== ANIMATIONS ====================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); } 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.05); } }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* Hero lead "read more" toggle */
.lead-clamp:not(.is-expanded) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-more-btn { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 0; background: none; border: 0; color: var(--accent-3); font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.read-more-btn::after { content: "\25BE"; font-size: 0.8em; transition: transform 0.2s ease; }
.read-more-btn.is-open::after { transform: rotate(180deg); }
.read-more-btn:hover { text-decoration: underline; }

/* Author box */
.author-box { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 8px 0; box-shadow: var(--shadow-1); }
.author-box .author-avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--border-strong); }
.author-box div.author-avatar { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-3); font-weight: 800; font-size: 30px; letter-spacing: 0.02em; border-color: rgba(139, 124, 255, 0.3); }
.author-box .author-eyebrow { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.author-box .author-name { margin: 0; font-size: 20px; color: var(--text); }
.author-box .author-role { display: block; font-size: 14px; color: var(--accent-3); margin: 2px 0 10px; font-weight: 700; }
.author-box .author-bio { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 560px) { .author-box { flex-direction: column; align-items: center; text-align: center; } }
.author-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.author-email-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(139, 124, 255, 0.3); color: var(--accent-3); transition: transform 0.2s ease, background 0.2s ease; }
.author-email-btn:hover { background: var(--surface-3); transform: translateY(-1px); }
@media (max-width: 560px) { .author-name-row { justify-content: center; } }

/* Rating row + new badge */
.rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.rating-row .rating { margin-bottom: 0; }

.new-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #10b981, var(--success)); color: #04120c; font-weight: 800; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(52, 211, 153, 0.35); }

/* FAQ accordion */
.faq-accordion { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
details.faq-item { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: border-color .25s ease; }
details.faq-item:hover { border-color: var(--border-strong); }
details.faq-item[open] { border-color: rgba(139, 124, 255, 0.4); }
details.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; font-weight: 700; font-size: 16px; color: var(--text); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; flex: 0 0 auto; font-size: 22px; line-height: 1; color: var(--accent-3); transition: transform .25s ease; }
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-answer { padding: 0 18px 18px; color: var(--text-muted); line-height: 1.65; }
details.faq-item .faq-answer p { margin: 0 0 10px; }
details.faq-item .faq-answer p:last-child { margin-bottom: 0; }
