:root {
  --bg: #08111f;
  --bg-soft: #0f1f35;
  --panel: rgba(11, 24, 44, 0.86);
  --panel-strong: #102544;
  --surface: #152e53;
  --surface-soft: #1c3d6d;
  --text: #eef4ff;
  --muted: #b6c4dd;
  --line: rgba(184, 204, 235, 0.18);
  --accent: #67d4b0;
  --accent-strong: #34c79a;
  --accent-soft: rgba(103, 212, 176, 0.14);
  --gold: #ffcc70;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 204, 112, 0.08), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(103, 212, 176, 0.11), transparent 28%),
    linear-gradient(180deg, #07101b 0%, #0a1526 46%, #07101b 100%);
  min-height: 100vh;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section,
.page-hero,
.hero {
  position: relative;
}

.section {
  padding: 4.75rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.56), rgba(7, 16, 27, 0.42));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.page-hero h1,
.hero h1 {
  margin: 0.75rem 0 1rem;
  line-height: 1.05;
}

.section-heading p,
.hero p,
.page-hero p,
.content-stack p,
.policy p,
.content-card p,
.callout p,
.warning-card p,
.game-card p,
.info-card p,
.stat-card p {
  color: var(--muted);
  line-height: 1.7;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 22, 0.92);
  backdrop-filter: blur(14px);
}

.topbar__inner,
.site-header__inner,
.footer__top,
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__inner {
  min-height: 2.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.topbar__inner strong {
  color: var(--text);
}

.topbar__links,
.header-nav__list,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.text-link {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 16, 27, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: 5.3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  width: 2.65rem;
  height: 2.65rem;
}

.brand small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.header-nav__list a,
.footer-nav a {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-nav__list a:hover,
.header-nav__list a.is-active,
.footer-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #052018;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero {
  padding: 5.8rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 27, 0.7) 0%, rgba(7, 16, 27, 0.32) 48%, rgba(7, 16, 27, 0.84) 100%),
    url("../images/hero-bg.svg") center/cover no-repeat;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: 3rem;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103, 212, 176, 0.18), transparent 72%);
  pointer-events: none;
}

.hero__shell,
.split,
.footer__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 2rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.hero__intro {
  max-width: 760px;
}

.hero__intro p {
  max-width: 650px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__summary {
  display: grid;
  gap: 1rem;
}

.hero__summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero__summary-card {
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 25, 45, 0.88), rgba(7, 16, 27, 0.92));
  box-shadow: var(--shadow);
}

.hero__summary-card--feature {
  padding: 1.6rem;
  background: linear-gradient(135deg, rgba(19, 58, 107, 0.96), rgba(10, 24, 43, 0.96));
}

.hero__summary-card h2 {
  margin: 0.55rem 0 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.hero__summary-card p {
  margin: 0.4rem 0 0;
}

.hero__kicker,
.hero__stat {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__actions,
.age-gate__actions,
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero__checks,
.support-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__checks li,
.support-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
}

.hero__checks li::before,
.support-list li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(103, 212, 176, 0.12);
}

.info-card,
.game-card,
.content-card,
.policy-block,
.casino-card,
.regulator-card,
.faq-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 26, 46, 0.9), rgba(10, 19, 33, 0.92));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card,
.game-card,
.content-card,
.policy-block {
  padding: 1.55rem;
}

.feature-grid,
.game-grid,
.content-grid,
.policy,
.regulator-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid,
.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.casino-list,
.faq-list {
  display: grid;
  gap: 1rem;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

.insight-stack,
.game-showcase,
.trust-band {
  display: grid;
  gap: 1rem;
}

.info-card--numbered {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.info-card__number,
.game-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 204, 112, 0.12);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.editorial-note {
  padding: 1.6rem;
  border-radius: 30px;
  border: 1px solid rgba(103, 212, 176, 0.24);
  background: linear-gradient(180deg, rgba(13, 33, 54, 0.95), rgba(8, 17, 31, 0.98));
  box-shadow: var(--shadow);
}

.editorial-note h3 {
  margin: 0.75rem 0 0.65rem;
}

.editorial-note p {
  color: var(--muted);
  line-height: 1.7;
}

.game-showcase {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-card h3 {
  margin-top: 1rem;
}

.trust-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-card {
  padding: 1.7rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 26, 46, 0.92), rgba(8, 17, 31, 0.96));
  box-shadow: var(--shadow);
}

.trust-card h3 {
  margin: 0.8rem 0;
}

.trust-card p {
  color: var(--muted);
  line-height: 1.7;
}

.trust-card--warning {
  border-color: rgba(255, 204, 112, 0.24);
}

.trust-card--disclosure {
  border-color: rgba(103, 212, 176, 0.22);
}

.casino-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 212, 176, 0.45);
  background: rgba(15, 31, 53, 0.98);
}

.casino-card__icon,
.regulator-card__icon {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 20px;
  overflow: hidden;
}

.casino-card__body {
  display: grid;
  gap: 0.55rem;
}

.casino-card__header,
.casino-card__meta,
.casino-card__footer,
.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.casino-card__header h3,
.regulator-card h3,
.content-card h2,
.policy-block h2,
.game-card h3,
.info-card h3,
.editorial-note h3,
.trust-card h3 {
  margin: 0;
}

.tag,
.score-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.score-pill {
  background: rgba(255, 204, 112, 0.14);
  color: var(--gold);
}

.casino-card__body p,
.regulator-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.casino-card__footer span {
  color: var(--muted);
  font-size: 0.94rem;
}

.casino-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--accent);
}

.casino-card__arrow {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.regulator-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.regulator-card {
  padding: 1.5rem;
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.faq-item {
  padding: 1.2rem 1.35rem;
}

.regulator-card__icon {
  display: block;
  width: 100%;
  height: auto;
  min-height: 5.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.regulator-card__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding-right: 2rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.15rem;
  font-size: 1.4rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.9rem;
}

.page-hero {
  padding: 5rem 0 2.2rem;
}

.page-hero--compact {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(103, 212, 176, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(21, 58, 107, 0.24), transparent);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.footer {
  padding: 3rem 0 1.6rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 11, 22, 0.97);
}

.footer__top {
  align-items: start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.footer__bottom {
  min-height: 3.5rem;
  padding-top: 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer__copy {
  max-width: 620px;
}

.footer__legal {
  justify-content: flex-end;
}

.cookie-banner,
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.age-gate {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 8, 16, 0.82);
  backdrop-filter: blur(10px);
}

.age-gate__panel {
  width: min(100%, 520px);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 37, 68, 0.98), rgba(8, 17, 31, 0.98));
  box-shadow: var(--shadow);
}

.cookie-banner {
  top: auto;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner__content {
  width: min(calc(100% - 2rem), 1040px);
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 17, 31, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: auto;
  box-shadow: var(--shadow);
}

.cookie-banner__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero__shell,
  .split,
  .split--reverse,
  .footer__top,
  .insight-layout,
  .game-showcase,
  .trust-band,
  .regulator-grid,
  .feature-grid,
  .content-grid,
  .policy,
  .hero__summary-grid,
  .casino-card {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    min-height: 4.7rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 17, 31, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.2s ease;
  }

  .header-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .casino-card {
    padding: 1.25rem;
  }

  .casino-card__arrow {
    display: none;
  }

  .footer__legal {
    justify-content: flex-start;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 5rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .topbar__inner,
  .site-header__inner,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .brand {
    font-size: 1rem;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
