:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --primary: #64748B;
  --secondary: #38BDF8;
  --accent: #22C55E;
  --border: rgba(229, 231, 235, 0.12);
  --max-w: 1200px;
  --style-dark: dark;
  --style-editorial: editorial;
  --style-luxury: luxury;
  --style-fashion: fashion;
  --style-premium: premium;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(165deg, rgba(56, 189, 248, 0.04) 0%, transparent 45%),
    linear-gradient(15deg, rgba(100, 116, 139, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(34, 197, 94, 0.03), transparent);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.age-locked,
body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 79px,
    rgba(148, 163, 184, 0.025) 79px,
    rgba(148, 163, 184, 0.025) 80px
  );
}

body > * {
  position: relative;
  z-index: 1;
}

main {
  flex: 1 0 auto;
  padding-bottom: 48px;
}

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);
}

.hidden {
  display: none !important;
}

.disclosure-banner {
  width: 100%;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  padding: 6px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.navbar-top {
  height: 32px;
  background: #0a101f;
}

.navbar-top-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

.navbar-top-email a {
  color: var(--muted);
}

.navbar-top-email a:hover {
  color: var(--accent);
}

.navbar-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.navbar-main {
  height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg);
}

.navbar-main-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-logo img {
  height: 34px;
  width: auto;
}

.navbar-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}

.navbar-links a {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.navbar-links a:hover {
  color: var(--accent);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  width: 100%;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  z-index: 210;
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: 72px 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer ul {
  list-style: none;
}

.nav-drawer a {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav-drawer a:hover {
  color: var(--accent);
}

.site-footer {
  background: #0a101f;
  border-top: 1px solid var(--border);
  padding: 48px 20px 32px;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 280px;
}

.footer-links h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.footer-badges img {
  height: 40px;
  width: auto;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-overlay.hidden {
  display: none;
}

.age-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.age-modal h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.age-modal p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.age-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-btn {
  padding: 12px 24px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.age-btn-confirm {
  background: var(--accent);
  color: var(--bg);
}

.age-btn-decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.age-btn:hover {
  opacity: 0.88;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-accept {
  background: var(--accent);
  color: var(--bg);
}

.cookie-reject {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.cookie-btn:hover {
  opacity: 0.88;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  animation: fadeInUp 0.7s ease;
}

.legal-content h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 8px;
}

.legal-content p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.65;
}

.legal-content ul {
  margin: 0 0 16px 20px;
  color: var(--muted);
  font-size: 15px;
}

.legal-content li {
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.contact-form h2 {
  margin-top: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  border-radius: 0;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  color: #f87171;
  font-size: 12px;
  margin-top: 6px;
}

.form-error.visible {
  display: block;
}

.form-submit {
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-submit:hover {
  opacity: 0.88;
}

.form-success {
  display: none;
  padding: 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--text);
  font-size: 15px;
}

.form-success.visible {
  display: block;
}

.page-404 {
  text-align: center;
  padding: 80px 20px;
  animation: fadeInUp 0.6s ease;
}

.page-404 h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
  line-height: 1;
  margin-bottom: 20px;
}

.page-404 p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta-link {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
}

.cta-link:hover {
  opacity: 0.88;
  color: var(--bg);
}

.topic-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.topic-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-top {
    display: none;
  }

  .navbar-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-overlay,
  .nav-drawer {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}
