/* ======================================================
   Casino Claude — casinoclaude.live
   Theme: deep navy-violet canvas, hot-pink energy,
   condensed poster headings. Built mobile-first.
   ====================================================== */

/* Twemoji flag images inside headings */
h1 img.emoji,
h2 img.emoji,
.flag-emoji img.emoji {
  display: inline-block;
  height: 0.9em;
  width: auto;
  vertical-align: -0.12em;
  margin: 0 0.06em;
}

:root {
  --bg-0: #0b0713;
  --bg-1: #120c20;
  --bg-2: #1a1130;
  --bg-3: #241640;

  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.085);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #f7f5ff;
  --text-muted: #c3bdd6;
  --text-dim: #8a83a6;

  /* Signature hot-pink + violet */
  --pink: #ff2e88;
  --pink-2: #ff64a6;
  --pink-deep: #d4176d;
  --purple: #8b3dff;
  --purple-2: #b57bff;
  --pink-glow: rgba(255, 46, 136, 0.42);
  --purple-glow: rgba(139, 61, 255, 0.35);

  /* keep gold token as a subtle legacy alias mapped to pink so any
     stray references still look on-brand */
  --gold: #ff2e88;
  --gold-2: #ff64a6;
  --gold-glow: rgba(255, 46, 136, 0.42);
  --accent: #8b3dff;
  --accent-2: #b57bff;

  --success: #2fd39b;
  --danger: #ff5a78;

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

  --shadow-1: 0 10px 34px rgba(0, 0, 0, 0.5);
  --shadow-2: 0 24px 70px rgba(0, 0, 0, 0.6);
  --shadow-pink: 0 12px 34px var(--pink-glow);

  --max-w: 1180px;

  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Oswald', 'DM Sans', sans-serif;
  --font-display: 'Anton', 'Oswald', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  background-image:
    radial-gradient(1100px 640px at 8% -10%, rgba(139, 61, 255, 0.22), transparent 60%),
    radial-gradient(1000px 560px at 108% 4%, rgba(255, 46, 136, 0.18), transparent 58%),
    radial-gradient(900px 620px at 50% 118%, rgba(139, 61, 255, 0.12), 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 22px; }

/* ====================== HEADER ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 7, 19, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 24px;
  color: var(--text);
  flex-shrink: 0;
  text-transform: uppercase;
}
.logo img {
  height: 42px;
  width: 42px;
  display: block;
  transition: transform 0.3s ease;
}
.logo:hover img { transform: rotate(-8deg) scale(1.06); }
.logo .logo-text { line-height: 1; white-space: nowrap; }
.logo .logo-text .accent { color: var(--pink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a,
.nav .dropdown-trigger {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
}
.nav a:hover,
.nav a.active { color: var(--text); background: var(--surface-hover); }
.nav a.active { color: var(--pink); }

/* Dropdown */
.nav .has-dropdown { position: relative; }
.nav .dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); }
.nav .dropdown-trigger::after {
  content: "▾"; font-size: 10px; margin-top: 2px; transition: transform 0.2s ease;
}
.nav .has-dropdown.open .dropdown-trigger { color: var(--text); background: var(--surface-hover); }
.nav .has-dropdown.open .dropdown-trigger::after { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav .has-dropdown:hover .dropdown-trigger { color: var(--text); background: var(--surface-hover); }
}
.nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: rgba(18, 12, 32, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  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; }
}
.nav .dropdown-menu a {
  padding: 10px 14px; border-radius: 10px; font-size: 14px; text-transform: none;
  letter-spacing: 0; font-family: var(--font-body); white-space: nowrap; color: var(--text-muted);
  display: flex; align-items: center; gap: 9px;
}
.nav .dropdown-menu a:hover { color: var(--text); background: var(--surface-hover); }
.nav .dropdown-menu a.active { color: var(--pink); background: rgba(255, 46, 136, 0.1); }
.nav .dropdown-menu .flag-ico { font-size: 17px; line-height: 1; }
.flag-ico-img { width: 20px; height: 20px; border-radius: 4px; display: inline-block; vertical-align: -5px; flex: 0 0 auto; }
.flag-inline { height: 0.72em; width: 0.72em; border-radius: 3px; display: inline-block; vertical-align: -0.04em; margin: 0 0.12em; box-shadow: 0 2px 6px rgba(0,0,0,0.35); }
.footer-grid li .flag-ico-img { width: 18px; height: 18px; vertical-align: -4px; margin-right: 4px; }

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

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

@media (max-width: 900px) {
  .logo img { height: 38px; width: 38px; }
  .logo { font-size: 21px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 12px;
    gap: 2px;
    background: rgba(11, 7, 19, 0.98);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a, .nav .dropdown-trigger { padding: 13px 14px; border-radius: 12px; width: 100%; text-align: left; justify-content: space-between; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav .has-dropdown { width: 100%; }
  .nav .dropdown-menu {
    position: static; width: 100%; min-width: 0; margin: 4px 0 6px 10px;
    padding: 4px 0 4px 8px; box-shadow: none; background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none; border: none;
    border-left: 2px solid var(--pink); border-radius: 0; animation: none;
  }
  .nav .has-dropdown .dropdown-menu { display: none; }
  .nav .has-dropdown.open .dropdown-menu { display: flex; }
  .nav .dropdown-menu a { white-space: normal; padding: 11px 12px; }
}

/* ====================== MARKET SUB-NAV ====================== */
.market-subnav {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.market-subnav .subnav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.market-subnav .subnav-scroll::-webkit-scrollbar { height: 6px; }
.market-subnav .subnav-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.market-subnav a {
  flex: 0 0 auto;
  padding: 8px 15px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.market-subnav a:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-hover); }
.market-subnav a.active { color: #fff; background: linear-gradient(135deg, var(--pink), var(--pink-deep)); border-color: transparent; box-shadow: 0 4px 14px var(--pink-glow); }
@media (max-width: 600px) { .market-subnav .subnav-scroll { padding: 10px 0; } }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 40px var(--pink-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--pink); }
.btn-block { width: 100%; }

/* ====================== HERO ====================== */
.hero {
  position: relative;
  padding: 72px 0 44px;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.98;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease both;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--pink) 20%, var(--purple-2) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  max-width: 730px;
  margin: 0 auto 30px;
  animation: fadeUp 0.8s 0.08s ease both;
}
.hero .eyebrow, .eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap; text-align: center; line-height: 1.35; max-width: 100%;
  padding: 7px 16px; border-radius: 22px;
  background: rgba(255, 46, 136, 0.1);
  border: 1px solid rgba(255, 46, 136, 0.3);
  color: var(--pink-2);
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both;
}
@media (max-width: 560px) {
  .hero .eyebrow, .eyebrow { font-size: 11px; letter-spacing: 0.05em; padding: 8px 15px; gap: 7px; }
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 4px rgba(47, 211, 155, 0.16);
  animation: pulse 1.8s infinite;
}

/* Floating background blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; pointer-events: none; z-index: -1; }
.blob.a { width: 440px; height: 440px; background: var(--purple); top: -150px; left: -140px; animation: floatA 14s ease-in-out infinite; }
.blob.b { width: 380px; height: 380px; background: var(--pink); top: 10px; right: -130px; animation: floatB 16s ease-in-out infinite; }

/* ====================== HOMEPAGE FLAG GRID ====================== */
.flag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 34px 0 8px;
}
.flag-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 18px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.7s ease both;
}
.flag-tile::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(240px 150px at 50% -10%, rgba(255,46,136,0.22), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.flag-tile:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.flag-tile:hover::before { opacity: 1; }
.flag-tile .flag-emoji {
  font-size: 62px; line-height: 1;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.5));
  transition: transform 0.35s ease;
}
.flag-tile:hover .flag-emoji { transform: scale(1.08) rotate(-3deg); }
.flag-tile .flag-img {
  width: 74px; height: 74px; border-radius: 12px;
  object-fit: cover; display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform 0.35s ease;
}
.flag-tile:hover .flag-img { transform: scale(1.08) rotate(-3deg); }
.flag-tile .country-name {
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--text);
}
.flag-tile .go {
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-2);
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease;
}
.flag-tile:hover .go { gap: 10px; }

@media (max-width: 860px) { .flag-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 560px) {
  .flag-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flag-tile { padding: 24px 12px 20px; }
  .flag-tile .flag-emoji { font-size: 50px; }
  .flag-tile .flag-img { width: 60px; height: 60px; }
}

/* legacy homepage country cards fallback (if used) */
.countries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.country-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 28px 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center; transition: transform .3s ease, border-color .3s ease;
}
.country-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.country-card .flag { font-size: 56px; line-height: 1; }
.country-card .country-name { font-family: var(--font-head); text-transform: uppercase; font-weight: 600; }
@media (max-width: 860px) { .countries { grid-template-columns: repeat(2, 1fr); } }

/* ====================== PAGE HERO ====================== */
.page-hero { padding: 48px 0 26px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.2vw, 3.2rem);
  font-weight: 400; letter-spacing: 0.005em; line-height: 1.04;
  color: #fff; text-transform: uppercase; margin-bottom: 14px;
  animation: fadeUp 0.6s ease both;
}
.page-hero .lead {
  max-width: 830px; margin: 0 auto; color: var(--text-muted);
  font-size: 1.06rem; animation: fadeUp 0.7s 0.08s ease both;
}
.breadcrumbs {
  display: flex; gap: 8px; align-items: center; font-size: 13px;
  color: var(--text-dim); margin-bottom: 16px; justify-content: center; flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--pink); }
.breadcrumbs .sep { opacity: 0.4; }
@media (max-width: 840px) { .page-hero { padding: 26px 0 18px; } }

.list-heading {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  line-height: 1.15; margin: 20px 0 22px; text-align: center; color: #fff;
}
.list-heading .accent { color: var(--pink); }

/* ====================== CASINO LIST ====================== */
.casino-list { display: grid; gap: 18px; margin: 28px 0 48px; }
.casino-card {
  display: grid;
  grid-template-columns: 190px 1.4fr 1fr 1fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  animation: fadeUp 0.6s ease both;
}
.casino-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--pink), var(--purple)); opacity: 0; transition: opacity 0.3s ease;
}
.casino-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.casino-card:hover::after { opacity: 1; }
.casino-card.is-top { border-color: rgba(255, 46, 136, 0.4); background: linear-gradient(180deg, rgba(255,46,136,0.09), rgba(255,255,255,0.02)); }
.casino-card.is-top::after { opacity: 1; }

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

.casino-thumb {
  width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; position: relative;
  background: #171226; border: 1px solid var(--border-strong); display: grid; place-items: center; padding: 10px;
}
.casino-thumb .new-flag {
  position: absolute; top: 5px; right: 5px; z-index: 3;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff;
  font-family: var(--font-head); font-size: 8px; font-weight: 700; letter-spacing: 0.04em; line-height: 1;
  text-transform: uppercase; padding: 2px 5px; border-radius: 5px; box-shadow: 0 2px 7px var(--pink-glow);
}
.casino-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.5s ease; }
.casino-card:hover .casino-thumb img { transform: scale(1.05); }

.casino-info h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 4px; }
.rating {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 46, 136, 0.14);
  color: var(--pink-2); padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.casino-features { list-style: none; display: flex; flex-direction: column; gap: 6px; 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: 700; flex-shrink: 0; }

.casino-bonus { display: flex; flex-direction: column; align-items: flex-start; }
.bonus-label { font-family: var(--font-head); font-size: 11.5px; color: var(--pink-2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.bonus-amount { font-size: 1.05rem; font-weight: 700; 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: #ececf4; border-radius: 4px; opacity: 0.92; }
.casino-cta .review-link { font-size: 13px; color: var(--text-muted); border-bottom: 1px dashed var(--border-strong); padding: 2px 0; transition: color .2s, border-color .2s; }
.casino-cta .review-link:hover { color: var(--pink); border-bottom-color: var(--pink); }

@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 130px 1fr;
    grid-template-areas: "thumb info" "bonus bonus" "cta cta";
    gap: 14px;
  }
  .casino-thumb { grid-area: thumb; aspect-ratio: 16/9; }
  .casino-info { grid-area: info; }
  .casino-bonus { grid-area: bonus; }
  .casino-cta { grid-area: cta; margin-top: 14px; }
}
@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/9; margin-bottom: 8px; }
  .casino-info { display: contents; }
  .casino-info h3 { grid-area: name; font-size: 1.12rem; margin: 0; }
  .casino-info .rating, .casino-info .rating-row { 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: 18px; align-items: center; text-align: center; }
  .casino-cta { grid-area: cta; margin-top: 18px; }
  .btn { font-size: 16px; padding: 15px 24px; }
  .rank-badge { width: 26px; height: 26px; font-size: 12px; top: 10px; left: 10px; }
}

/* ====================== CONTENT ====================== */
.content { padding: 26px 0 72px; }
.content section { margin-bottom: 50px; }

.content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase;
  margin: 0 0 18px; line-height: 1.15; position: relative; padding-bottom: 13px; color: #fff;
}
.content h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--purple)); border-radius: 4px;
}
.content h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; margin: 26px 0 10px; color: var(--text); }
.content h4 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; margin: 20px 0 8px; color: var(--text); }
.content p { margin-bottom: 14px; color: var(--text-muted); }
.content strong { color: var(--text); font-weight: 700; }
.content a { color: var(--pink-2); border-bottom: 1px solid rgba(255, 100, 166, 0.35); transition: border-color 0.2s, color 0.2s; }
.content a:hover { color: var(--pink); border-color: var(--pink); }

.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(--pink); }

.prose-img { border-radius: var(--radius); border: 1px solid var(--border); margin: 8px 0 22px; overflow: hidden; }
.prose-img img { width: 100%; height: auto; display: block; }
.prose-img figcaption { font-size: 13px; color: var(--text-dim); padding: 10px 14px; background: rgba(255,255,255,0.02); }

/* ====================== TABLES ====================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); margin: 20px 0 28px; background: rgba(255,255,255,0.025); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table thead { background: linear-gradient(90deg, rgba(255,46,136,0.14), rgba(139,61,255,0.1)); }
table th {
  text-align: left; padding: 14px 16px; font-family: var(--font-head); font-weight: 600; color: #fff;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--border-strong);
}
table td { padding: 13px 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: rgba(255,46,136,0.05); }
table td:first-child, table th:first-child { padding-left: 20px; }
table td strong { color: var(--text); }
/* Mobile: keep the table at a readable width and let the wrapper scroll left/right,
   so words are never broken mid-character. */
.table-wrap { scrollbar-width: thin; }
@media (max-width: 600px) {
  table { min-width: 560px; font-size: 13px; }
  table th { font-size: 11.5px; letter-spacing: 0.03em; padding: 12px 14px; }
  table td { padding: 12px 14px; }
}

/* ====================== FEATURED CARDS ====================== */
.featured-cards { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; margin: 30px 0 48px; }
.feat-card {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)); border: 1px solid var(--border);
  overflow: hidden; transition: transform 0.32s ease, border-color 0.3s ease, box-shadow 0.3s ease; animation: fadeUp 0.6s ease both;
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.feat-card.is-hot { background: linear-gradient(180deg, rgba(255,46,136,0.12), rgba(139,61,255,0.05)); border-color: rgba(255,46,136,0.4); }
.feat-flame { position: absolute; top: 14px; right: 14px; font-size: 22px; animation: pulse 2.2s infinite; }
.feat-thumb { width: 88px; height: 88px; border-radius: 20px; background: linear-gradient(135deg, #fff, #e8e8f0); display: grid; place-items: center; padding: 10px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.feat-thumb img { width: 100%; height: 100%; object-fit: contain; }
.feat-card h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; margin: 0 0 14px; letter-spacing: 0.01em; line-height: 1.2; }
.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 image */
.review-banner { margin: 6px 0 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-3); position: relative; }
.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 var(--border-strong); background: linear-gradient(180deg, rgba(255,46,136,0.07), rgba(255,46,136,0.02)); border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; position: relative; }
.callout.is-warning { background: linear-gradient(180deg, rgba(255,90,120,0.08), rgba(255,90,120,0.02)); border-color: rgba(255,90,120,0.28); }
.callout.is-info { background: linear-gradient(180deg, rgba(139,61,255,0.09), rgba(139,61,255,0.02)); border-color: rgba(139,61,255,0.3); }
.callout h3, .callout h4 { font-family: var(--font-head); margin: 0 0 8px; font-size: 1.08rem; color: var(--text); font-weight: 600; padding-bottom: 0; }
.callout h3::after { display: none; }
.callout p:last-child { margin-bottom: 0; }

/* Badge row */
.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: 7px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); font-family: var(--font-head); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }

/* Welcome bonus card */
.welcome-card { background: linear-gradient(180deg, rgba(255,46,136,0.14), rgba(139,61,255,0.05)); border: 1px solid rgba(255,46,136,0.4); border-radius: var(--radius-lg); padding: 28px; margin: 30px 0 40px; text-align: center; position: relative; overflow: hidden; }
.welcome-card .eyebrow-label { display: inline-block; font-family: var(--font-head); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pink-2); font-weight: 600; margin-bottom: 12px; }
.welcome-card h2 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 10px; padding-bottom: 0; font-weight: 700; text-transform: uppercase; color: #fff; }
.welcome-card h2::after { display: none; }
.welcome-card .terms { font-size: 13.5px; color: var(--text-muted); margin: 12px auto 22px; max-width: 640px; }

/* Score dashboard */
.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; }
.score-overall { text-align: center; padding: 18px 14px; background: rgba(255,46,136,0.1); border-radius: var(--radius); }
.score-overall .num { font-family: var(--font-display); font-size: 3.2rem; background: linear-gradient(180deg, var(--pink), var(--purple-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.score-overall .max { color: var(--text-dim); font-size: 14px; margin-top: 6px; }
.score-overall .stars { color: var(--pink); 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: rgba(255,255,255,0.07); border-radius: 999px; overflow: hidden; margin: 2px 0; }
.score-item .bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: 999px; }
.score-item .val { font-size: 14.5px; font-weight: 700; color: var(--text); }
@media (max-width: 720px) { .score-dashboard { grid-template-columns: 1fr; } }

/* Pros / cons */
.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; }
.pros-cons .pros { border-color: rgba(47,211,155,0.28); background: linear-gradient(180deg, rgba(47,211,155,0.06), rgba(47,211,155,0.01)); }
.pros-cons .cons { border-color: rgba(255,90,120,0.28); background: linear-gradient(180deg, rgba(255,90,120,0.06), rgba(255,90,120,0.01)); }
.pros-cons h3 { font-family: var(--font-head); margin: 0 0 12px; font-size: 1.1rem; padding-bottom: 0; text-transform: uppercase; letter-spacing: 0.02em; }
.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); }
.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; } }

/* Steps */
.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; }
.step-box .step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.step-box h3 { font-family: var(--font-head); font-size: 1.05rem; margin: 0 0 8px; padding-bottom: 0; text-transform: uppercase; letter-spacing: 0.02em; }
.step-box h3::after { display: none; }
.step-box p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* Feature mini-cards */
.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; transition: border-color .25s ease, transform .25s ease; }
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-card .ico { font-size: 26px; margin-bottom: 10px; display: block; }
.feature-card h3 { font-family: var(--font-head); font-size: 1.02rem; margin: 0 0 6px; padding-bottom: 0; text-transform: uppercase; letter-spacing: 0.02em; }
.feature-card h3::after { display: none; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ====================== 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-family: var(--font-head); font-size: 13px; font-weight: 500; color: var(--text); letter-spacing: 0.03em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 13px 15px; color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .2s, background .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--pink); background: var(--surface-hover); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.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; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.contact-form .form-check input[type="checkbox"] { width: auto; margin-top: 3px; accent-color: var(--pink); }
.contact-form button[type="submit"] { align-self: flex-start; }
@media (max-width: 600px) { .contact-form .form-grid-2 { grid-template-columns: 1fr; } }

/* ====================== BLOG ====================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0 50px; }
.blog-card { display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; animation: fadeUp 0.6s ease both; }
.blog-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.blog-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .tag { display: inline-block; align-self: flex-start; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-2); background: rgba(255,46,136,0.12); border: 1px solid rgba(255,46,136,0.25); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.blog-card h3 { font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; line-height: 1.25; margin: 0 0 10px; color: var(--text); letter-spacing: 0.005em; }
.blog-card p { font-size: 14.5px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.55; }
.blog-card .meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-dim); }
.blog-card .meta .read { color: var(--pink-2); font-weight: 600; margin-left: auto; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.article { max-width: 800px; margin: 0 auto; }
.article-hero { padding: 40px 0 10px; }
.article-hero .tag { display: inline-block; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-2); background: rgba(255,46,136,0.12); border: 1px solid rgba(255,46,136,0.25); padding: 5px 13px; border-radius: 999px; margin-bottom: 16px; }
.article-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.1rem); text-transform: uppercase; line-height: 1.05; color: #fff; margin-bottom: 14px; font-weight: 400; }
.article-hero .article-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-dim); flex-wrap: wrap; }
.article-hero .article-meta img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin: 22px 0 30px; }
.article-cover img { width: 100%; height: auto; display: block; }
.article-body p { font-size: 1.06rem; color: var(--text-muted); margin-bottom: 18px; }
.article-body h2 { margin-top: 34px; }
.article-body h3 { margin-top: 24px; }
.article-body img { border-radius: var(--radius); border: 1px solid var(--border); margin: 8px 0 22px; }

/* ====================== 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; }
.author-box .author-avatar { width: 96px; height: 96px; border-radius: 20px; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--border-strong); }
.author-box .author-eyebrow { display: block; font-family: var(--font-head); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.author-box .author-name { font-family: var(--font-head); margin: 0; font-size: 22px; color: var(--text); letter-spacing: 0.01em; }
.author-box .author-role { display: block; font-size: 14px; color: var(--pink-2); margin: 2px 0 10px; font-weight: 600; }
.author-box .author-bio { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.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: 600; padding: 6px 14px; border-radius: 999px; background: var(--surface-hover); border: 1px solid var(--border-strong); color: var(--pink-2); text-decoration: none; }
.author-email-btn:hover { background: var(--surface); border-color: var(--pink); transform: translateY(-1px); }
@media (max-width: 560px) { .author-box { flex-direction: column; align-items: center; text-align: center; } .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, var(--pink), var(--pink-deep)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 4px 14px var(--pink-glow); }

/* FAQ */
.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; 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-family: var(--font-head); font-weight: 500; font-size: 16px; letter-spacing: 0.01em; color: var(--text); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; line-height: 1; color: var(--pink); 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; }

/* ====================== FOOTER ====================== */
.site-footer { background: linear-gradient(180deg, transparent, rgba(0,0,0,0.45)); border-top: 1px solid var(--border); padding: 50px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer-grid h3, .footer-grid h4 { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 14px; font-weight: 600; 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(--pink); }
.footer-grid .logo img { height: 38px; width: 38px; }
.footer-grid .logo { font-size: 20px; }
.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); border: 1px solid var(--border); padding: 6px 13px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
/* Tighten vertical spacing before the footer on mobile */
@media (max-width: 600px) {
  .content { padding-bottom: 20px; }
  .content section { margin-bottom: 30px; }
  .content section:last-child { margin-bottom: 8px; }
  .hero { padding-bottom: 22px; }
  .site-footer { margin-top: 4px; padding-top: 34px; }
}

/* ====================== 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(47,211,155,0.16); } 50% { box-shadow: 0 0 0 8px rgba(47,211,155,0.04); } }
@keyframes floatA { 0%{transform:translate(0,0) scale(1);} 50%{transform:translate(180px,150px) scale(1.12);} 100%{transform:translate(0,0) scale(1);} }
@keyframes floatB { 0%{transform:translate(0,0) scale(1);} 50%{transform:translate(-170px,180px) scale(1.14);} 100%{transform:translate(0,0) scale(1);} }

.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; }
  .reveal { opacity: 1; transform: none; }
}

/* Read-more clamp */
.lead-clamp:not(.is-expanded) { display: -webkit-box; -webkit-line-clamp: 3; -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(--pink-2); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em; text-transform: uppercase; 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; }
