/* ======================================================
   CasinoClaude — Global Stylesheet
   Clean Light theme · indigo accent · soft modern UI
   ====================================================== */

/* 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 */
  --bg-0: #ffffff;
  --bg-1: #f7f8fc;
  --bg-2: #eef1f8;
  --bg-3: #e7ebf5;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --surface-hover: #f0f2fa;
  --border: #e6e9f2;
  --border-strong: #d4d9e6;

  /* Text */
  --text: #0f172a;
  --text-muted: #55607a;
  --text-dim: #8b93a7;

  /* Primary accent (indigo) — mapped onto legacy --gold vars so all
     accented components adopt indigo without touching markup */
  --accent: #4f46e5;
  --accent-2: #6366f1;
  --accent-3: #818cf8;
  --accent-soft: #eef0fe;
  --accent-glow: rgba(79, 70, 229, 0.28);

  --gold: #4f46e5;        /* legacy alias -> indigo */
  --gold-2: #6366f1;      /* legacy alias -> indigo */
  --gold-glow: rgba(79, 70, 229, 0.25);

  /* Amber reserved for star ratings only */
  --amber: #f59e0b;
  --amber-soft: #fff5e0;

  --success: #10b981;
  --success-soft: #e6f7f1;
  --danger: #ef4444;
  --danger-soft: #fdeaea;

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

  --shadow-1: 0 4px 18px rgba(24, 33, 77, 0.07);
  --shadow-2: 0 18px 48px rgba(24, 33, 77, 0.12);
  --shadow-accent: 0 10px 26px rgba(79, 70, 229, 0.28);

  --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%;
}

body {
  font-family: var(--font);
  background: var(--bg-1);
  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;
  background-image:
    radial-gradient(900px 520px at 8% -10%, rgba(99, 102, 241, 0.10), transparent 60%),
    radial-gradient(760px 480px at 108% 4%, rgba(129, 140, 248, 0.10), transparent 60%);
  background-attachment: fixed;
}

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

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

/* ====================== HEADER ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}
@media (max-width: 980px) {
  .site-header .container { padding-left: 24px; padding-right: 24px; }
  .header-inner { padding: 12px 0; }
}
@media (max-width: 480px) {
  .site-header .container { padding-left: 18px; padding-right: 18px; }
  .header-inner { padding: 10px 0; }
}
.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: 60px;
  width: auto;
  max-width: 300px;
  display: block;
  transition: transform 0.3s ease;
}
.logo:hover img { transform: scale(1.03); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  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: 52px; } }
@media (max-width: 480px) { .logo img { height: 46px; max-width: 190px; } }

.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 13px;
  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); 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); background: var(--accent-soft); }
}
.nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border);
  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 8px 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-hover); }
.nav .dropdown-menu a.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

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

.nav > a {
  padding: 9px 13px;
  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); background: var(--accent-soft); }
.nav > a.active { color: var(--accent); background: var(--accent-soft); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
}

@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 14px;
    gap: 2px;
    background: #ffffff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-2);
    max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a { padding: 12px 14px; border-radius: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav .has-dropdown { width: 100%; display: block; }
  .nav .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    display: flex;
  }
  .nav .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 2px 0 6px 14px;
    padding: 4px 0 6px 8px;
    box-shadow: none;
    background: transparent;
    border: none;
    border-left: 2px solid var(--border-strong);
    border-radius: 0;
    flex-direction: column;
    animation: none;
  }
  .nav .dropdown-menu a { display: block; width: 100%; white-space: normal; padding: 10px 12px; }
  .nav .has-dropdown .dropdown-menu { display: none; }
  .nav .has-dropdown.open .dropdown-menu { display: flex; }
}

/* ====================== HERO (homepage) ====================== */
.hero {
  position: relative;
  padding: 76px 0 56px;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 18px;
  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 36px;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(79, 70, 229, 0.16);
  color: var(--accent);
  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(16, 185, 129, 0.16);
  animation: pulse 1.8s infinite;
}

/* Decorative hero background — subtle dot grid (replaces floating blobs) */
.blob { display: none; }
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(79, 70, 229, 0.14) 1.3px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 68% 70% at 50% 28%, #000 32%, transparent 72%);
          mask-image: radial-gradient(ellipse 68% 70% at 50% 28%, #000 32%, transparent 72%);
}

/* ====================== COUNTRY GRID ====================== */
.countries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.country-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 22px 26px;
  background: 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: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(-6px);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: var(--shadow-2);
}
.flag {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 6px 14px rgba(24, 33, 77, 0.18));
  transition: transform 0.4s ease;
}
.country-card:hover .flag { transform: scale(1.08) rotate(-3deg); }
.country-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.country-cta {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}
.country-card:hover .country-cta { gap: 10px; }
@media (max-width: 900px) { .countries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .countries { grid-template-columns: 1fr; gap: 14px; } .flag { font-size: 50px; } }

/* 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); }
.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-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  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); border-color: rgba(79, 70, 229, 0.45); 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;
  font-size: 13px; color: var(--text-dim);
  margin-bottom: 18px; justify-content: center;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: 0.5; }
@media (max-width: 980px) { .page-hero { padding: 26px 0 20px; } }

/* 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;
  gap: 22px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px 22px 30px;
  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::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  border-radius: 5px 0 0 5px;
  opacity: 0.85;
}
.casino-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: var(--shadow-2);
}
.casino-card.is-top {
  border-color: rgba(79, 70, 229, 0.4);
  background: linear-gradient(180deg, #fbfbff, #ffffff);
}

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

.casino-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #262c3d;
  border: 1px solid #2f3547;
  display: grid;
  place-items: center;
  padding: 10px;
}
.casino-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.casino-card:hover .casino-thumb img { transform: scale(1.04); }

.casino-info h3 { 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; }
.rating {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amber-soft);
  color: #b45309;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 10px;
}
.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; }

.casino-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; color: var(--text); overflow-wrap: anywhere; word-break: break-word; }

.casino-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 var(--border); border-radius: 5px; padding: 2px 3px; }
.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); border-bottom-color: var(--accent); }

.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(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79, 70, 229, 0.36); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--surface); color: var(--accent); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: var(--accent-soft); border-color: rgba(79,70,229,0.35); }
.btn-block { width: 100%; }

@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 130px 1fr;
    grid-template-areas: "thumb info" "bonus bonus" "cta cta";
    gap: 14px; padding: 20px 20px 20px 24px;
  }
  .casino-thumb { grid-area: thumb; aspect-ratio: 16 / 10; }
  .casino-info { grid-area: info; }
  .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 16px 16px 20px; 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; }
}

/* ====================== 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), var(--accent-3));
  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); border-bottom: 1px solid rgba(79, 70, 229, 0.3); transition: border-color 0.2s; }
.content a:hover { border-color: var(--accent); }
.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;
  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); 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-2); }
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: 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(79,70,229,0.35); box-shadow: var(--shadow-2); }
.feat-card.is-hot { background: linear-gradient(180deg, var(--accent-soft), #ffffff); border-color: rgba(79, 70, 229, 0.4); }
.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 var(--border);
  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(79, 70, 229, 0.22);
  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(239, 68, 68, 0.25); }
.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); border: 1px solid var(--border-strong);
  font-size: 13px; color: var(--text-muted); font-weight: 600;
}

.welcome-card {
  background: linear-gradient(180deg, var(--accent-soft), #ffffff);
  border: 1px solid rgba(79, 70, 229, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px; margin: 30px 0 40px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-1);
}
.welcome-card .eyebrow-label { display: inline-block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); 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: 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-radius: var(--radius); }
.score-overall .num { font-size: 3rem; font-weight: 800; color: var(--accent); 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-2); border-radius: 999px; overflow: hidden; margin: 2px 0; }
.score-item .bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-3), var(--accent)); 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: 22px; 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(16, 185, 129, 0.3); background: var(--success-soft); }
.pros-cons .cons { border-color: rgba(239, 68, 68, 0.28); 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: 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), var(--accent-3)); 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: 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(79,70,229,0.35); 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); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 12px 14px; color: var(--text);
  font-family: inherit; font-size: 15px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.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); }
.contact-form button[type="submit"] { align-self: flex-start; }
@media (max-width: 600px) { .contact-form .form-grid-2 { grid-template-columns: 1fr; } }

/* ====================== FOOTER ====================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 50px 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:hover { color: var(--accent); }
.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); padding: 5px 12px; 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(16, 185, 129, 0.16); } 50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.04); } }
@keyframes floatA { 0% { transform: translate(0,0) scale(1);} 50% { transform: translate(120px,140px) scale(1.1);} 100% { transform: translate(0,0) scale(1);} }
@keyframes floatB { 0% { transform: translate(0,0) scale(1);} 50% { transform: translate(-140px,160px) scale(1.12);} 100% { transform: translate(0,0) scale(1);} }

/* 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); 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: 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); font-weight: 800; font-size: 30px; letter-spacing: 0.02em; border-color: rgba(79,70,229,0.25); }
.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); 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(79,70,229,0.25); color: var(--accent); }
.author-email-btn:hover { background: #fff; transform: translateY(-1px); }
@media (max-width: 560px) { .author-name-row { justify-content: center; } }

@media (max-width: 480px) { .casino-bonus { align-items: center; text-align: 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; }

/* Rating fill bar (0–10 score) */
.rating-bar {
  flex: 1 1 100%;
  width: 100%;
  max-width: 210px;
  height: 11px;
  border-radius: 999px;
  background: #dde2ee;
  box-shadow: inset 0 1px 2px rgba(24, 33, 77, 0.08);
  overflow: hidden;
  margin: 6px 0 2px;
}
.rating-bar > span {
  display: block;
  height: 100%;
  width: var(--val, 0%);
  background: linear-gradient(90deg, var(--accent-3), var(--accent));
  border-radius: 999px;
}
/* Fill-on-scroll animation (progressive enhancement).
   Without JS the bar shows full (var(--val)). When JS adds .js to <html>,
   the bar starts empty and the transition runs only on .is-filled, so
   in-view bars animate reliably too (no competing full->0 transition). */
html.js .rating-bar > span { width: 0; }
html.js .rating-bar.is-filled > span {
  width: var(--val, 0%);
  transition: width 1.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  html.js .rating-bar.is-filled > span { transition: none; }
}
.new-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--success), #34d399); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(16,185,129,0.28); }

/* FAQ accordion */
.faq-accordion { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
details.faq-item { background: 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 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); 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; }
