/* ---------- Base ---------- */
:root {
  --bg: #0b0a1a;
  --bg-2: #0f0e22;
  --ink: #e9e8ff;
  --ink-d: #c7c5ff;
  --muted: #a7a4d6;
  --brand: #6a38ff;
  --brand-2: #a86bff;
  --ok: #58c28f;
  --warn: #e5a14a;
  --card: #171633;
  --card-2: #1f1d45;
  --border: rgba(255, 255, 255, .12);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --radius: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.5 ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  font-size: .8rem;
  margin: .25rem 0 1rem;
}

.section {
  padding: 72px 0;
}

.section-lead {
  color: var(--ink-d);
  max-width: 62ch;
}

.inline-link {
  color: var(--brand);
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: .2s;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn.small {
  padding: 8px 14px;
  font-size: .9rem;
}

.reg-btn {
  text-align: center;
}

.sr-only {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only-img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(120%) blur(6px);
  background: rgba(15, 14, 34, .6);
  z-index: 40;
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.logo img {
  height: 32px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, .06);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

/* Hero */
.gradient {
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(168, 107, 255, .25), transparent 60%),
    radial-gradient(1400px 800px at -10% -20%, rgba(106, 56, 255, .35), transparent 50%);
}

.hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--border)
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  margin: .25rem 0 1rem;
}

.hero h1 span {
  color: #fff;
  text-shadow: 0 0 24px rgba(168, 107, 255, .35)
}

.hero .sub {
  color: var(--ink-d);
  max-width: 60ch;
  margin: 0 auto 1.25rem;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 12px 0 20px;
}

.trust-badges {
  list-style: none;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 16px 0 0;
}

.trust-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
}

.trust-badges img {
  width: 18px;
  height: 18px;
}

.hero-bottom-note {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin-top: 16px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: .2rem 0 6px;
}

.card p {
  color: var(--ink-d);
}

.card-link {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  color: #fff;
}

/* Steps */
.gradient-soft {
  background: radial-gradient(1200px 700px at 30% -20%, rgba(106, 56, 255, .14), transparent 60%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.step {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 800;
}

/* Licensing */
.license-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}

.info-wrap {
  grid-template-columns: 0.4fr .9fr;
}

.bullet-list {
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: var(--ink-d);
}

.license-card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.kv {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kv li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding: 8px 0;
}

.kv li span:first-child {
  color: var(--muted);
}

.kv a {
  color: #fff;
  text-decoration: none;
}

.mini-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
}

/* CTA */
.cta {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-inner {
  text-align: center;
}

.app-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}

.app-links a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
}

/* Wellbeing */
.wellbeing {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: start;
}

.commitment {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.commitment h3 {
  margin-top: 0;
}

.commitment ul {
  margin: 0 0 10px 18px;
  color: var(--ink-d);
}

/* Footer */
.site-footer {
  background: #0a0a16;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 20px;
  padding: 36px 0;
}

.footer-logo {
  height: 30px;
}

.footer-col a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  margin: 6px 0;
}

.footer-col a:hover {
  text-decoration: underline;
}

.hours {
  color: var(--muted);
  margin: 6px 0 12px;
}

.regulatory {
  text-align: center;
  color: var(--muted);
  padding: 12px 0 32px;
}

/* Age Gate Overlay (visible until accepted) */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 8, 22, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

#age-consent:checked~.age-gate-overlay {
  display: none;
}

.age-box {
  max-width: 560px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.age-18 {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 800;
}

.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 12px 0;
}

/* Cookie Banner (visible until accepted) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f0e22;
  border-top: 1px solid var(--border);
  z-index: 50;
}

#cookie-consent:checked~.cookie-banner {
  display: none;
}

.cookie-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.cookie-inner p {
  margin: 0;
  color: var(--ink-d);
}

.cookie-inner a {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 55;
  padding: 20px;
}

.modal:target {
  display: flex;
}

.modal-card {
  width: min(520px, 100%);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.auth-form input {
  background: #0b0a1a;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.auth-form label.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}

.check input {
  margin-top: 4px;
}

.helper {
  color: var(--ink-d);
  margin: 4px 0 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .license-wrap,
  .wellbeing,
  .info-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  /* compact nav for demo */
}

@media (max-width: 560px) {

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-row,
  .app-links {
    gap: 8px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Articles */
.articles-grid .article-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: transform .2s;
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-2px);
}

.article-thumb {
  margin: 0;
}

.article-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-bottom: 1px solid var(--border);
}

.article-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.article-title {
  margin: .2rem 0 6px;
  color: #6a38ff;
}

.article-excerpt {
  color: var(--ink-d);
  margin: 0;
}

.article-meta {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 8px;
}


/* ---------- Epic Atmospheric Base ---------- */
:root {
    --bg: #0a0511;
    --bg-2: #12081f;
    --ink: #f0efff;
    --ink-d: #d4d1ff;
    --muted: #b8b4e8;
    --brand: #7c3eff;
    --brand-2: #c470ff;
    --ok: #4dde7a;
    --warn: #ff8c42;
    --card: #1a0d2e;
    --card-2: #2a1745;
    --border: rgba(196, 112, 255, .15);
    --shadow: 0 20px 60px rgba(124, 62, 255, .2), 0 5px 20px rgba(0, 0, 0, .4);
    --radius: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background:
            radial-gradient(ellipse at top, rgba(124, 62, 255, 0.1) 0%, transparent 50%),
            radial-gradient(ellipse at bottom right, rgba(196, 112, 255, 0.08) 0%, transparent 60%),
            var(--bg);
    font: 16px/1.6 ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background-attachment: fixed;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--brand-2);
    font-weight: 800;
    font-size: .85rem;
    margin: .25rem 0 1.2rem;
    text-shadow: 0 0 20px rgba(196, 112, 255, .4);
}

.section {
    padding: 96px 0;
}

.section-lead {
    color: var(--ink-d);
    max-width: 65ch;
    font-size: 1.1rem;
}

.inline-link {
    color: var(--brand-2);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: #fff;
    text-shadow: 0 0 12px var(--brand-2);
    text-decoration: none;
}

.inline-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    transition: width 0.3s ease;
}

.inline-link:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2), #ff6b9d);
    color: #fff;
    box-shadow:
            0 0 30px rgba(124, 62, 255, .4),
            0 8px 32px rgba(0, 0, 0, .3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow:
            0 0 40px rgba(124, 62, 255, .6),
            0 12px 40px rgba(0, 0, 0, .4);
}

.btn.ghost {
    background: rgba(26, 13, 46, .6);
    border-color: var(--border);
    color: var(--ink);
    backdrop-filter: blur(10px);
}

.btn.ghost:hover {
    background: rgba(42, 23, 69, .8);
    border-color: var(--brand-2);
    transform: translateY(-2px);
    color: #fff;
}

.btn.small {
    padding: 10px 18px;
    font-size: .9rem;
}

.reg-btn {
    text-align: center;
}

.sr-only {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sr-only-img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: saturate(150%) blur(15px);
    background: rgba(18, 8, 31, .85);
    z-index: 40;
    border-bottom: 1px solid var(--border);
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
}

.logo img {
    height: 36px;
    filter: drop-shadow(0 0 10px rgba(196, 112, 255, .3));
}

.main-nav {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.main-nav a {
    color: var(--ink);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-nav a:hover::before {
    opacity: 0.1;
}

.main-nav a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Hero */
.gradient {
    background:
            radial-gradient(1400px 700px at 90% -10%, rgba(196, 112, 255, .3), transparent 60%),
            radial-gradient(1600px 900px at -10% -20%, rgba(124, 62, 255, .4), transparent 50%),
            radial-gradient(800px 400px at 50% 50%, rgba(255, 107, 157, .1), transparent 70%);
}

.hero {
    padding: 120px 0 80px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--brand-2), transparent);
}

.hero-inner {
    text-align: center;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.1;
    margin: .25rem 0 1.5rem;
    font-weight: 900;
}

.hero h1 span {
    color: #fff;
    text-shadow:
            0 0 30px rgba(196, 112, 255, .5),
            0 0 60px rgba(124, 62, 255, .3);
    background: linear-gradient(135deg, #fff, var(--brand-2), #ff6b9d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .sub {
    color: var(--ink-d);
    max-width: 65ch;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px 0;
}

.trust-badges {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 24px 0 0;
}

.trust-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 13, 46, .6);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.trust-badges li:hover {
    background: rgba(42, 23, 69, .8);
    transform: translateY(-2px);
    border-color: var(--brand-2);
}

.trust-badges img {
    width: 20px;
    height: 20px;
    filter: brightness(1.2);
}

.hero-bottom-note {
    text-align: center;
    color: var(--muted);
    font-size: .95rem;
    margin-top: 20px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.card {
    background:
            linear-gradient(135deg, rgba(26, 13, 46, .9), rgba(42, 23, 69, .9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2), #ff6b9d);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow:
            0 0 40px rgba(124, 62, 255, .3),
            0 20px 80px rgba(0, 0, 0, .4);
    border-color: var(--brand-2);
}

.card h3 {
    margin: .2rem 0 8px;
    color: #fff;
}

.card p {
    color: var(--ink-d);
    line-height: 1.7;
}

.card-link {
    display: inline-block;
    margin-top: 12px;
    text-decoration: none;
    color: var(--brand-2);
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--brand-2);
}

/* Steps */
.gradient-soft {
    background:
            radial-gradient(1400px 800px at 30% -20%, rgba(124, 62, 255, .18), transparent 60%),
            radial-gradient(1000px 500px at 70% 100%, rgba(196, 112, 255, .12), transparent 60%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.step {
    background:
            linear-gradient(135deg, rgba(26, 13, 46, .9), rgba(42, 23, 69, .9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.4s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-6px);
    box-shadow:
            0 0 30px rgba(124, 62, 255, .2),
            0 15px 60px rgba(0, 0, 0, .3);
    border-color: var(--brand-2);
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-weight: 800;
    box-shadow: 0 0 20px rgba(124, 62, 255, .4);
    margin-bottom: 12px;
}

/* Licensing */
.license-wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: start;
}

.info-wrap {
    grid-template-columns: 0.4fr .9fr;
}

.bullet-list {
    margin: 12px 0 0 0;
    padding-left: 20px;
    color: var(--ink-d);
    line-height: 1.7;
}

.license-card {
    background:
            linear-gradient(135deg, rgba(26, 13, 46, .9), rgba(42, 23, 69, .9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.kv {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kv li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.kv li:hover {
    border-bottom-color: var(--brand-2);
}

.kv li span:first-child {
    color: var(--muted);
}

.kv a {
    color: var(--brand-2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.kv a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--brand-2);
}

.mini-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: .95rem;
}

/* CTA */
.cta {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-2), transparent);
}

.cta-inner {
    text-align: center;
}

.app-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 16px;
}

.app-links a {
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--border);
    padding: 12px 18px;
    border-radius: 999px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.app-links a:hover {
    border-color: var(--brand-2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 62, 255, .2);
}

/* Wellbeing */
.wellbeing {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 32px;
    align-items: start;
}

.commitment {
    background:
            linear-gradient(135deg, rgba(26, 13, 46, .9), rgba(42, 23, 69, .9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s ease;
}

.commitment:hover {
    border-color: var(--brand-2);
    box-shadow: 0 10px 40px rgba(124, 62, 255, .15);
}

.commitment h3 {
    margin-top: 0;
    color: #fff;
}

.commitment ul {
    margin: 0 0 12px 20px;
    color: var(--ink-d);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background:
            linear-gradient(135deg, #060310, #0f0518);
    border-top: 1px solid var(--border);
    margin-top: 60px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-2), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 48px 0;
}

.footer-logo {
    height: 34px;
    filter: drop-shadow(0 0 10px rgba(196, 112, 255, .3));
}

.footer-col a {
    display: block;
    color: var(--ink);
    text-decoration: none;
    margin: 8px 0;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--brand-2);
    text-shadow: 0 0 8px rgba(196, 112, 255, .3);
    text-decoration: none;
    transform: translateX(4px);
}

.hours {
    color: var(--muted);
    margin: 8px 0 16px;
}

.regulatory {
    text-align: center;
    color: var(--muted);
    padding: 16px 0 40px;
    border-top: 1px solid rgba(196, 112, 255, .1);
}

/* Age Gate Overlay */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 3, 16, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
    backdrop-filter: blur(10px);
}

#age-consent:checked~.age-gate-overlay {
    display: none;
}

.age-box {
    max-width: 600px;
    background:
            linear-gradient(135deg, rgba(26, 13, 46, .95), rgba(42, 23, 69, .95));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    backdrop-filter: blur(15px);
}

.age-18 {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 30px rgba(124, 62, 255, .4);
}

.age-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 20px 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 8, 31, .95);
    border-top: 1px solid var(--border);
    z-index: 50;
    backdrop-filter: blur(15px);
}

#cookie-consent:checked~.cookie-banner {
    display: none;
}

.cookie-inner {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.cookie-inner p {
    margin: 0;
    color: var(--ink-d);
}

.cookie-inner a {
    color: var(--brand-2);
    transition: all 0.3s ease;
}

.cookie-inner a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--brand-2);
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 55;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal:target {
    display: flex;
}

.modal-card {
    width: min(560px, 100%);
    background:
            linear-gradient(135deg, rgba(26, 13, 46, .95), rgba(42, 23, 69, .95));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
    backdrop-filter: blur(15px);
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 14px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    border-color: var(--brand-2);
    color: #fff;
    transform: scale(1.05);
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 12px;
}

.auth-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: var(--ink);
}

.auth-form input {
    background: rgba(11, 10, 26, .8);
    color: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--brand-2);
    box-shadow: 0 0 20px rgba(124, 62, 255, .2);
}

.auth-form label.check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 400;
}

.check input {
    margin-top: 6px;
}

.helper {
    color: var(--ink-d);
    margin: 6px 0 0;
}

/* Articles */
.articles-grid .article-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: all .4s ease;
    text-decoration: none;
    border-radius: var(--radius);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow:
            0 0 30px rgba(124, 62, 255, .2),
            0 15px 60px rgba(0, 0, 0, .3);
}

.article-thumb {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.article-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s ease;
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    background: linear-gradient(135deg, rgba(26, 13, 46, .9), rgba(42, 23, 69, .9));
}

.article-title {
    margin: .2rem 0 8px;
    color: var(--brand-2);
    transition: all 0.3s ease;
}

.article-card:hover .article-title {
    color: #fff;
    text-shadow: 0 0 10px var(--brand-2);
}

.article-excerpt {
    color: var(--ink-d);
    margin: 0;
    line-height: 1.7;
}

.article-meta {
    color: var(--muted);
    font-size: .95rem;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .license-wrap,
    .wellbeing,
    .info-wrap {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 560px) {
    .card-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-row,
    .app-links {
        gap: 12px;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}