:root {
  --bg: #0F0A1F;
  --surface: #1A1433;
  --text: #F5F3FF;
  --muted: #C4B5FD;
  --primary: #8B5CF6;
  --secondary: #22C55E;
  --accent: #F59E0B;
  --border: rgba(245,243,255,0.12);
  --neo: neo;
  --vibrant: vibrant;
  --colorful: colorful;
  --modern: modern;
  --ui-keywords: gradient, vibrant, neo, mesh gradient, colorful, modern;
  --mesh-gradient: radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.35), transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(245, 158, 11, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(34, 197, 94, 0.16), transparent 45%);
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", "Trebuchet MS", sans-serif;
  --max-w: 1200px;
  --offer-bg-deep: #0d1117;
  --offer-surface: #161b22;
  --offer-surface-elevated: #1c2330;
  --offer-border: #30363d;
  --offer-accent: #d4a853;
  --offer-accent-soft: rgba(212, 168, 83, 0.15);
  --offer-text: #e6edf3;
  --offer-text-muted: #8b949e;
  --offer-cta: #b8860b;
  --offer-cta-hover: #c9a227;
  --offer-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--mesh-gradient),
    linear-gradient(165deg, #0F0A1F 0%, #1A0F35 42%, #0F0A1F 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  overflow-x: hidden;
}

body.neo.vibrant.colorful.modern {
  --glow-neo: 0 0 40px rgba(139, 92, 246, 0.35);
}

body.age-locked {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 60%, rgba(139, 92, 246, 0.12), transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(34, 197, 94, 0.08), transparent 35%);
  mix-blend-mode: screen;
}

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

.offer-card-logo img {
  max-width: none;
  height: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

main {
  flex: 1 0 auto;
}

.disclosure {
  margin: 6px auto;
  max-width: fit-content;
  padding: 6px 20px;
  border: 1px solid var(--muted);
  border-radius: 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  background: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-lockup:hover {
  color: var(--text);
  transform: scale(1.05);
  transition: transform 0.15s ease;
}

.brand-lockup img {
  width: 40px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: scale(1.05);
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(245, 158, 11, 0.2));
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-drawer {
  display: none;
}

.site-footer {
  margin-top: auto;
  background:
    linear-gradient(0deg, rgba(26, 20, 51, 0.95), rgba(15, 10, 31, 0.92)),
    radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.2), transparent 60%);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 36px;
  height: 38px;
  object-fit: contain;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
}

.footer-badges img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 16px 0 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-risk {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 70ch;
}

.footer-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-at-disclosure {
  font-size: 11px;
  color: rgba(196, 181, 253, 0.75);
  line-height: 1.5;
  margin: 18px 0 14px;
  max-width: 85ch;
}

.footer-company {
  font-size: 0.8rem;
  color: rgba(196, 181, 253, 0.65);
  margin-top: 8px;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 70ch;
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), #6D28D9 45%, var(--accent));
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.45);
  transition: background-position 0.35s ease, transform 0.15s ease, box-shadow 0.25s ease;
  background-size: 160% 160%;
}

.btn-gradient:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.55), 0 0 24px rgba(245, 158, 11, 0.25);
  color: var(--text);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(26, 20, 51, 0.8);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--text);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 10, 31, 0.88);
  backdrop-filter: blur(10px);
}

.age-gate.is-active {
  display: flex;
}

.age-gate-box {
  width: min(440px, 100%);
  padding: 28px 24px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.25), transparent 50%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-neo, 0 0 40px rgba(139, 92, 246, 0.25));
  text-align: center;
}

.age-gate-box h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.age-gate-box p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9990;
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(26, 20, 51, 0.98), rgba(15, 10, 31, 0.98));
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.cookie-banner.is-active {
  display: block;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.is-hidden {
  display: none !important;
}

.page-hero {
  position: relative;
  padding: 48px 24px 40px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.22), rgba(15, 10, 31, 0.4) 55%, rgba(34, 197, 94, 0.12));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.15), transparent 50%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 60ch;
  font-weight: 500;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.legal-wrap h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 18px;
}

.legal-wrap h2 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
  color: var(--accent);
}

.legal-wrap h3 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.legal-wrap ul {
  padding-left: 1.2rem;
  margin-bottom: 16px;
}

.legal-wrap a {
  color: var(--secondary);
}

.contact-form {
  margin-top: 28px;
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.18), rgba(26, 20, 51, 0.9));
  border: 1px solid var(--border);
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(15, 10, 31, 0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: #FCA5A5;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 1.2em;
}

.contact-success {
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.12);
  color: var(--text);
}

.redirect-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.redirect-card {
  width: min(480px, 100%);
  text-align: center;
  padding: 36px 28px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.2), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.redirect-card h1 {
  font-size: 1.4rem;
  margin: 16px 0 10px;
}

.redirect-card p {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.ad-flag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 4px 10px;
  border-radius: 999px;
}

.spinner {
  width: 42px;
  height: 42px;
  margin: 18px auto 0;
  border-radius: 50%;
  border: 3px solid rgba(245, 243, 255, 0.15);
  border-top-color: var(--primary);
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-wrap {
  text-align: center;
  padding: 80px 24px;
}

.error-wrap h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.error-wrap p {
  color: var(--muted);
  margin-bottom: 24px;
}

.mesh-gradient {
  background-image: var(--mesh-gradient);
}

.gradient-shadow {
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35), 0 4px 16px rgba(245, 158, 11, 0.15);
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.decor-clip {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

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

  .nav-drawer {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 48px 24px;
    background: rgba(15, 10, 31, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-drawer a {
    color: var(--text);
    font-size: 1.45rem;
    font-weight: 800;
    padding: 8px 16px;
  }

  .nav-drawer-close {
    position: absolute;
    top: 18px;
    right: 18px;
  }
}

@media (max-width: 480px) {
  .decor-img {
    max-width: 100%;
    max-height: 200px;
    width: 100%;
    object-fit: contain;
  }

  .decor-clip {
    max-width: 100%;
    overflow: hidden;
  }

  .disclosure {
    max-width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
  }
}

.topic-shell {
  padding-bottom: 64px;
}

.topic-split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
  align-items: start;
}

.topic-prose h2 {
  font-size: 1.35rem;
  margin: 28px 0 10px;
  color: var(--accent);
}

.topic-prose h3 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
}

.topic-prose p {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}

.topic-prose ul {
  padding-left: 1.2rem;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 500;
}

.topic-prose li {
  margin-bottom: 8px;
}

.topic-rail {
  position: sticky;
  top: 88px;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.22), rgba(26, 20, 51, 0.92));
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.25);
}

.topic-rail h2 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.topic-rail ol {
  padding-left: 1.1rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.topic-rail li {
  margin-bottom: 8px;
}

.topic-columns {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.topic-columns .span-2 {
  grid-column: 1 / -1;
}

.topic-pull {
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: 14px;
  border-left: 4px solid var(--secondary);
  background: rgba(34, 197, 94, 0.1);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.topic-stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto 8px;
  padding: 0 24px;
}

.topic-stat-band div {
  text-align: center;
  padding: 18px 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.16), rgba(26, 20, 51, 0.85));
  border: 1px solid var(--border);
}

.topic-stat-band strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.topic-stat-band span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

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

.topic-mosaic-band .decor-clip {
  border-radius: 16px;
  overflow: hidden;
  max-width: 500px;
  background:
    linear-gradient(120deg, rgba(139, 92, 246, 0.25), transparent),
    var(--surface);
  border: 1px solid var(--border);
}

.topic-image-rail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
  align-items: start;
}

.topic-image-rail .visual {
  min-height: 220px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  max-height: 320px;
}

.topic-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.92rem;
}

.topic-table th,
.topic-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  color: var(--muted);
  font-weight: 500;
}

.topic-table th {
  color: var(--text);
  background: rgba(139, 92, 246, 0.15);
  font-weight: 800;
}

@media (max-width: 800px) {
  .topic-split,
  .topic-columns,
  .topic-image-rail,
  .topic-stat-band {
    grid-template-columns: 1fr;
  }

  .topic-rail {
    position: static;
  }

  .topic-image-rail .visual {
    min-height: 160px;
    max-height: 200px;
    max-width: 100%;
    background-size: cover;
  }

  .topic-mosaic-band,
  .topic-mosaic-band .decor-clip {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .topic-split,
  .topic-columns,
  .topic-image-rail {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topic-mosaic-band {
    padding-left: 0;
    padding-right: 0;
  }

  .decor-img {
    max-width: 100%;
    max-height: 180px;
    width: 100%;
    object-fit: contain;
  }
}
