:root {
  --bg: #0D0208;
  --surface: #210B16;
  --text: #FAE6FA;
  --muted: #D482A3;
  --primary: #FF3864;
  --secondary: #FFB8DE;
  --accent: #2DE2E2;
  --border: rgba(255, 56, 100, 0.2);
  --grunge-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  --raw-edge-clip: polygon(0 0, 98% 0, 100% 100%, 2% 100%);
  --distressed-border: 1px dashed rgba(255, 56, 100, 0.25);
  --texture-blend: multiply;
  --imperfect-tilt: -0.35deg;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 56, 100, 0.14) 0%, transparent 55%),
    linear-gradient(175deg, #0D0208 0%, #1a0610 40%, #0D0208 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.015) 2px, rgba(255, 255, 255, 0.015) 3px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.disclosure-pill {
  max-width: fit-content;
  margin: 8px auto;
  padding: 6px 24px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 56, 100, 0.05);
  position: relative;
  z-index: 50;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 52px;
  background: var(--surface);
  border-bottom: var(--distressed-border);
  background-image: var(--grunge-noise), repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255, 255, 255, 0.02) 1px, rgba(255, 255, 255, 0.02) 2px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  list-style: none;
}

.nav-links a {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--accent);
}

.burger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #050102;
  z-index: 300;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 48px 32px;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}

.mobile-overlay.open {
  display: flex;
}

.mobile-overlay a {
  font-size: 15px;
  color: var(--accent);
  padding: 10px 0;
  border-bottom: 1px dashed rgba(45, 226, 226, 0.2);
  width: 100%;
}

.page-wrapper {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 52px);
}

main {
  flex: 1;
}

.site-footer {
  background: var(--surface);
  border-top: 2px solid var(--border);
  padding: 40px 24px 28px;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.4;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 22px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
}

.footer-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.footer-badges img {
  height: 38px;
  width: auto;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.75;
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 2, 8, 0.94);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-overlay.hidden {
  display: none;
}

.age-gate-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
}

.age-gate-box h2 {
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--text);
}

.age-gate-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 10px 22px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--border);
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--primary);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-inner p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.legal-page {
  padding: 48px 24px 64px;
  max-width: 820px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.legal-page h2 {
  font-size: 18px;
  margin: 28px 0 12px;
  color: var(--secondary);
}

.legal-page h3 {
  font-size: 16px;
  margin: 20px 0 10px;
  color: var(--text);
}

.legal-page p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
}

.legal-page ul {
  margin: 0 0 16px 20px;
  color: var(--muted);
}

.legal-page li {
  margin-bottom: 8px;
}

.contact-form-wrap {
  margin-top: 28px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-form-wrap label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 16px;
}

.contact-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: var(--primary);
  font-size: 12px;
  margin-top: -12px;
  margin-bottom: 12px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: 20px;
  background: rgba(45, 226, 226, 0.08);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 15px;
}

.form-success.visible {
  display: block;
}

.topic-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 22px;
  background: rgba(255, 56, 100, 0.12);
  border: 1px solid var(--primary);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
  transition: background 0.2s ease, color 0.2s ease;
}

.topic-cta:hover {
  background: rgba(45, 226, 226, 0.15);
  color: var(--accent);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .burger-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .disclosure-pill {
    margin-left: 12px;
    margin-right: 12px;
    font-size: 10px;
    padding: 6px 16px;
  }
}
