:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #F8FAFC;
  --muted: #475569;
  --primary: #2563EB;
  --secondary: #16A34A;
  --accent: #F97316;
  --border: rgba(248, 250, 252, 0.12);
  --max-w: 1280px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  font-style: italic;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.age-locked, body.nav-open { overflow: hidden; }

main { flex: 1 0 auto; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

h1, h2, h3 {
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.disclosure-banner {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.disclosure-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 16px;
  text-align: center;
}

.disclosure-text {
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
  color: #F8FAFC;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0A0F1A;
  height: 60px;
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-logo {
  margin-left: auto;
}

.navbar-logo img { height: 36px; width: auto; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.78rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.25s ease;
}

.navbar-links a:hover::after,
.navbar-links a:focus-visible::after { transform: translateX(-50%) scale(1); }

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.3s, opacity 0.3s;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: var(--surface);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 72px 0 24px;
  border-left: 1px solid var(--border);
}

.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer a {
  display: block;
  padding: 14px 24px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
  border-right: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.mobile-drawer a:hover {
  border-right-color: var(--accent);
  background: rgba(249, 115, 22, 0.08);
  color: var(--accent);
}

.drawer-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.site-footer {
  background: #0A0F1A;
  border-top: 1px solid var(--border);
  padding: 48px 20px 32px;
  margin-top: auto;
}

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

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo img { height: 36px; margin-bottom: 12px; }

.footer-brand p {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  max-width: 360px;
}

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

.footer-badges img { height: 40px; width: auto; }

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-links a {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted);
}

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

.footer-legal {
  font-size: 11px;
  font-style: normal;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.75rem;
  font-style: normal;
  color: var(--muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.visible { display: flex; }

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.2);
}

.modal-box h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-box p {
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
  margin-bottom: 24px;
}

.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #F8FAFC;
}

.btn-primary:hover {
  background: #1D4ED8;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost: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: 8000;
  display: none;
}

.cookie-banner.visible { display: block; }

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

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

.page-hero {
  background: var(--surface);
  padding: 56px 20px;
  border-bottom: 1px solid var(--border);
}

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

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: normal;
}

.legal-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.legal-content h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 28px 0 12px;
}

.legal-content p, .legal-content li {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-content ul { padding-left: 20px; margin-bottom: 16px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  font-style: normal;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-style: normal;
}

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

.form-error {
  font-size: 0.78rem;
  font-style: normal;
  color: #F87171;
  display: none;
}

.form-error.visible { display: block; }

.form-success {
  display: none;
  padding: 32px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-success.visible { display: block; }

.form-success h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.redirect-card {
  text-align: center;
  max-width: 420px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.ad-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

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

.redirect-card h1 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.redirect-card p {
  font-size: 0.88rem;
  font-style: normal;
  color: var(--muted);
  margin-bottom: 8px;
}

.redirect-meta { font-size: 0.78rem !important; }

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.error-page p {
  color: var(--muted);
  font-style: normal;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .navbar-inner {
    justify-content: space-between;
    gap: 0;
  }
  .navbar-logo { margin-left: 0; order: 1; }
  .burger { order: 2; margin-left: auto; }
  .navbar-links { display: none; }
  .burger { display: flex; }
  .drawer-backdrop { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
}
