:root {
  --bg: #0f172a; /* slate-900 */
  --bg-soft: #111827; /* gray-900 */
  --surface: #0b1220; /* near-black */
  --muted: #9ca3af; /* gray-400 */
  --text: #e5e7eb; /* gray-200 */
  --text-weak: #cbd5e1; /* slate-300 */
  --brand: #06b6d4; /* cyan-500 */
  --brand-strong: #0891b2; /* cyan-600 */
  --accent: #f59e0b; /* amber-500 */
  --accent-strong: #d97706; /* amber-600 */
  --success: #22c55e; /* green-500 */
  --warning: #fbbf24; /* amber-400 */
  --danger: #ef4444; /* red-500 */
  --ring: #22d3ee; /* cyan-400 */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

/* Typography (Google Fonts loaded via <link> in HTML head) */

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

html,
body {
  height: 100%;
}

body {
  font-family: Lato, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

/* Layout shell */
.site {
  position: relative;
  min-height: 100dvh;
}

.site--no-scroll {
  overflow: hidden;
}

.header {
  position: relative;
  z-index: 20;
}

.header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.brand {
  display: inline-flex;
  height: 48px;
  width: 214px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hero */
.hero {
  position: relative;
  padding: 24px clamp(16px, 4vw, 48px) 28px;
  max-width: 1280px;
  margin: 24px auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.6),
    rgba(8, 145, 178, 0.1)
  );
  outline: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__img {
  position: absolute;
  left: 50%;
  top: 250px;
  transform: translateX(-50%);
  width: min(38vw, 520px);
  opacity: 0.35;
  filter: saturate(0.9) hue-rotate(10deg);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.hero__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--warning);
  text-shadow: 0 6px 24px rgba(251, 191, 36, 0.25);
}

.hero__subtitle {
  font-size: clamp(14px, 2.4vw, 18px);
  color: var(--text-weak);
}

/* Featured row */
.featured {
  position: relative;
  z-index: 2;
}

.featured__row {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
  padding: 32px 16px 0;
  max-width: 1220px;
  margin: 0 auto;
}

.card {
  position: relative;
  flex: 1 1 380px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.7),
    rgba(11, 18, 32, 0.9)
  );
  outline: 1px solid rgba(8, 145, 178, 0.4);
  box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.15), var(--shadow);
  padding: 24px 28px 20px;
}

.card__badge {
  position: absolute;
  top: -12px;
  left: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: #0b0a04;
  padding: 4px 16px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.card__logo {
  width: 112px;
  height: 76px;
}

.card__rating {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.card__rating-value {
  font-size: 30px;
  font-weight: 900;
}

.card__rating-crown {
  width: 32px;
  height: 32px;
  opacity: 0.85;
  filter: hue-rotate(-20deg) saturate(1.2);
}

.card__desc {
  min-height: 56px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text);
}

.card__actions {
  width: 100%;
  display: grid;
  place-items: center;
}

.btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  height: 60px;
  border-radius: 16px;
  border: 1px solid var(--ring);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: 200ms ease-out;
  overflow: hidden;
}

.btn-outline:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.25),
    inset 0 0 40px rgba(6, 182, 212, 0.08);
}

/* Grid of more cards */
.grid {
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px 16px 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr 120px;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    0deg,
    rgba(17, 24, 39, 0.8),
    rgba(11, 18, 32, 0.9)
  );
  outline: 1px solid rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow);
}

.tile__logo {
  width: 120px;
  height: 82px;
}

.tile__desc {
  color: var(--text-weak);
}

.tile .btn-outline {
  max-width: 240px;
  height: 56px;
}

/* Partners ribbon */
.partners {
  padding: 48px 0 72px;
}

.partners__bar {
  background: linear-gradient(
    90deg,
    rgba(2, 132, 199, 0.12),
    rgba(6, 182, 212, 0.12)
  );
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  justify-content: center;
  align-items: center;
  padding: 20px 24px;
}

.partners__bar img {
  height: 48px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: var(--surface);
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  width: calc(100% - 32px);
  padding-top: 48px;
}

.footer__brand {
  height: 56px;
  width: 56px;
  margin-bottom: 10px;
}

.footer__text {
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer__links {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.footer__links a,
.footer__text a,
.cookie a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(34, 211, 238, 0.6);
  transition: color 160ms ease-in-out, text-decoration-color 160ms ease-in-out;
}
.footer__links a:hover,
.footer__text a:hover,
.cookie a:hover {
  color: var(--ring);
  text-decoration-color: rgba(34, 211, 238, 0.9);
}

.footer__copy {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  padding: 20px 0 32px;
}

/* Cookie banner */
.cookie {
  position: fixed;
  right: 16px;
  left: 16px;
  bottom: 20px;
  z-index: 50;
  width: min(520px, calc(100% - 32px));
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(6, 182, 212, 0.4);
  background: var(--surface); /* solid dark for readability */
  box-shadow: var(--shadow);
}

.cookie--show {
  display: flex;
}

.cookie__title {
  font-weight: 800;
}

.cookie__actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.btn--ghost {
  color: var(--brand);
  border-color: rgba(6, 182, 212, 0.55);
  background: transparent;
}

.btn--primary {
  color: #062024;
  background: linear-gradient(90deg, var(--brand), var(--ring));
}

/* Age gate (shared) */
.age-gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(
      1200px 800px at 50% -20%,
      rgba(6, 182, 212, 0.18),
      transparent 60%
    ),
    rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 60;
}

.age-gate--open {
  display: grid;
  place-items: center;
}

.age-gate__panel {
  width: min(420px, calc(100% - 32px));
  border-radius: var(--radius-md);
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: linear-gradient(
    0deg,
    rgba(2, 6, 23, 0.9),
    rgba(8, 145, 178, 0.15)
  );
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}

.age-gate__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.age-gate__title span {
  font-weight: 900;
}

.age-gate__buttons {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

/* Responsive */
@media (max-width: 1100px) {
  .featured__row {
    flex-wrap: wrap;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .header__inner {
    height: 68px;
  }
  .brand {
    height: 40px;
    width: 176px;
  }
  .hero__img {
    width: 130px;
    right: 16px;
    opacity: 1;
    filter: unset;
    left: unset;
    transform: unset;
    top: 80px;
  }
  .hero {
    margin: 0 16px;
    padding: 12px;
    min-height: 192px;
  }
  .hero__title {
    font-size: 20px;
  }
  .hero__content {
    gap: 8px;
  }
  .hero__subtitle {
    font-size: 12px;
  }
  .card {
    gap: 8px;
    padding: 12px;
    max-width: 100%;
  }
}

/* Mobile: make tiles look like cards */
@media (max-width: 800px) {
  .grid {
    gap: 20px;
    padding: 28px 16px 40px;
  }
  .tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(
      180deg,
      rgba(17, 24, 39, 0.7),
      rgba(11, 18, 32, 0.9)
    );
    outline: 1px solid rgba(8, 145, 178, 0.4);
    box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.15), var(--shadow);
  }
  .tile__logo {
    width: 112px;
    height: 76px;
  }
  .tile__desc {
    min-height: 56px;
    text-align: center;
    color: var(--text);
  }
  .tile .btn-outline {
    max-width: 280px;
    width: 100%;
    height: 60px;
  }
  .hero__content {
    max-width: calc(100% - 140px);
    text-align: left;
  }
}

/* Content pages: semantic aliases for legacy section classes */
.section-wrap {
  padding: 32px 0;
}
.section-card {
  padding: 28px 32px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    90deg,
    rgba(2, 132, 199, 0.08),
    rgba(6, 182, 212, 0.08)
  );
  backdrop-filter: blur(12px);
  max-width: 1312px;
  width: calc(100% - 32px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  outline: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: var(--shadow);
}
.section-card h1 {
  color: var(--warning);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.18);
  font-size: 32px;
  font-weight: 800;
}
.section-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-block h4 {
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}
.section-block p,
.section-block ul li {
  color: var(--text-weak);
  font-size: 16px;
  line-height: 24px;
}
.section-block ul {
  padding-left: 20px;
  list-style: disc;
}
.section-block li {
  margin: 4px 0;
}
.section-card a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section-card a:hover {
  color: var(--ring);
}

@media (max-width: 800px) {
  .section-card {
    padding: 16px;
    gap: 16px;
  }
  .section-card h1 {
    font-size: 22px;
  }
  .section-block p,
  .section-block ul li {
    font-size: 14px;
    line-height: 20px;
  }
}
