:root {
  --bg: #05060A;
  --surface: #0E1020;
  --text: #EDE9FE;
  --muted: #A1A1AA;
  --primary: #22D3EE;
  --secondary: #A3E635;
  --accent: #F472B6;
  --border: rgba(237, 233, 254, 0.12);
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.08), transparent),
    linear-gradient(180deg, var(--bg) 0%, #0a0c14 50%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(34, 211, 238, 0.015) 120px,
      rgba(34, 211, 238, 0.015) 121px
    );
  pointer-events: none;
  z-index: 0;
}

.disclosure-banner {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  color: #52525b;
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  position: relative;
  z-index: 100;
  line-height: 1.5;
}

.disclosure-banner .disclosure-label {
  background: #fde047;
  color: #18181b;
  padding: 1px 6px;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  background: var(--surface);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 0 var(--primary), 0 0 8px rgba(34, 211, 238, 0.4);
}

.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.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-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 56px;
  background: var(--surface);
  z-index: 85;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
}

.page-hero {
  background: var(--bg);
  text-align: center;
  padding: 40px 24px;
  border-bottom: 8px solid var(--accent);
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 48px 32px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-badges a {
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-badges a:hover {
  opacity: 1;
}

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

.footer-nz-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-nz-disclosure a {
  color: var(--primary);
  text-decoration: none;
}

.footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 20px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 24px;
  font-weight: 400;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--primary);
  font-weight: 400;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--muted);
}

.legal-content ul {
  margin: 0 0 16px 24px;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 32px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 16px;
  border-radius: 2px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-error {
  color: var(--accent);
  font-size: 13px;
  margin: -12px 0 12px;
  display: none;
}

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

.contact-form button {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 12px 32px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.contact-form button:hover {
  background: var(--primary);
  color: var(--bg);
}

.form-success {
  display: none;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--secondary);
  text-align: center;
  margin-top: 32px;
}

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

.form-success h3 {
  font-family: var(--font-serif);
  color: var(--secondary);
  margin-bottom: 12px;
}

.age-overlay,
.cookie-banner {
  position: fixed;
  z-index: 1000;
}

.age-overlay {
  inset: 0;
  background: rgba(5, 6, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-overlay.hidden {
  display: none;
}

.age-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.age-modal h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 400;
}

.age-modal p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 14px;
}

.age-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-modal__actions button {
  padding: 12px 28px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: all 0.2s;
}

.age-modal__actions .btn-confirm {
  border-color: var(--primary);
  color: var(--primary);
}

.age-modal__actions .btn-confirm:hover {
  background: var(--primary);
  color: var(--bg);
}

.age-modal__actions .btn-decline {
  color: var(--muted);
}

.cookie-banner {
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 13px;
  flex: 1;
  min-width: 200px;
}

.cookie-banner button {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.subpage-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.subpage-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 24px;
}

.subpage-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary);
  margin: 36px 0 14px;
  font-weight: 400;
}

.subpage-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: var(--secondary);
}

.subpage-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.subpage-content ul {
  margin: 0 0 16px 24px;
  color: var(--muted);
}

.subpage-content li {
  margin-bottom: 8px;
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

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

@media (max-width: 768px) {
  .decor-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img {
    max-width: 100%;
    max-height: 220px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .site-header {
    padding: 0 20px;
  }

  .site-nav {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .page-hero {
    padding: 24px 16px;
  }

  .site-footer {
    padding: 32px 20px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-content,
  .subpage-content {
    padding: 32px 16px 64px;
  }
}
