:root {
  --bg: #121212;
  --surface: #1E1E1E;
  --text: #E0E0E0;
  --muted: #757575;
  --primary: #FF5252;
  --secondary: #424242;
  --accent: #FFAB40;
  --border: rgba(255, 82, 82, 0.15);
  --warm-sun: rgba(255, 171, 64, 0.12);
  --nature-green: rgba(76, 175, 80, 0.08);
  --optimistic-glow: rgba(255, 171, 64, 0.06);
  --sustainable-depth: rgba(30, 30, 30, 0.85);
  --future-accent: rgba(255, 82, 82, 0.2);
  --page-padding: 24px;
  --radius-soft: 20px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  background: var(--bg);
  background-image:
    linear-gradient(160deg, var(--nature-green) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 0%, var(--warm-sun) 0%, transparent 55%);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 80%, var(--optimistic-glow) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, var(--future-accent) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

em {
  font-style: italic;
  color: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.disclosure-banner {
  width: 100%;
  background: var(--secondary);
  position: relative;
  z-index: 110;
}

.disclosure-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 8px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.disclosure-icon {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--accent);
  line-height: 1;
}

.disclosure-text {
  font-size: 11px;
  color: rgba(224, 224, 224, 0.92);
  line-height: 1.5;
  text-align: left;
  font-family: "Segoe UI", Arial, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
}

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

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(224, 224, 224, 0.92);
  font-size: 13px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.burger-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.98);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.nav-drawer a {
  display: inline-block;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 15px;
  font-family: "Segoe UI", Arial, sans-serif;
  transition: background 0.3s ease;
}

.nav-drawer a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-logo img {
  max-height: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-family: "Segoe UI", Arial, sans-serif;
}

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

.footer-requisites {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.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;
  transition: opacity 0.3s ease;
}

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

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

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

.footer-nz-disclosure p {
  margin-bottom: 8px;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
}

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

.age-overlay {
  inset: 0;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(10px);
  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 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  border-radius: var(--radius-soft);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.age-modal h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.age-modal p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-family: "Segoe UI", Arial, sans-serif;
}

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

.btn-clay {
  background: linear-gradient(145deg, rgba(255, 82, 82, 0.9), rgba(255, 82, 82, 0.7));
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--radius-soft);
  font-family: "Segoe UI", Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(255, 82, 82, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-clay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 82, 82, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--radius-soft);
  font-family: "Segoe UI", Arial, sans-serif;
  transition: background 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cookie-banner {
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sustainable-depth);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
}

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

.cookie-banner p {
  font-size: 13px;
  color: var(--text);
  max-width: 620px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px var(--page-padding);
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--accent);
}

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

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px 24px;
}

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

.contact-form {
  margin-top: 32px;
  max-width: 560px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--accent);
  font-family: "Segoe UI", Arial, sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  border-radius: var(--radius-soft);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

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

.form-error {
  color: var(--primary);
  font-size: 13px;
  margin-top: 6px;
  display: none;
  font-family: "Segoe UI", Arial, sans-serif;
}

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

.form-success {
  background: rgba(255, 171, 64, 0.08);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-soft);
  text-align: center;
}

.form-success.hidden {
  display: none;
}

.info-cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(255, 171, 64, 0.12);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  border: 1px solid rgba(255, 171, 64, 0.25);
  transition: background 0.3s ease, transform 0.2s ease;
}

.info-cta-link:hover {
  background: rgba(255, 171, 64, 0.22);
  color: var(--text);
  transform: translateY(-2px);
}

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

.page-hero-strip h1 {
  max-width: 1200px;
  margin: 0 auto;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: block;
  }
}

.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px var(--page-padding);
}

.guide-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.guide-nav-list {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  padding: 16px;
}

.guide-nav-list li {
  margin-bottom: 8px;
}

.guide-nav-list a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.guide-nav-list a:hover {
  background: rgba(255, 171, 64, 0.1);
  color: var(--accent);
}

.guide-body h2 {
  font-size: 1.4rem;
  color: var(--accent);
  margin: 32px 0 14px;
}

.guide-body h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.guide-body p {
  margin-bottom: 16px;
}

.guide-hero-bg {
  background-image: url("/images/decorative/decor_6.webp");
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 48px var(--page-padding);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.guide-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.88);
}

.guide-hero-bg h1 {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.guide-callout {
  background: rgba(255, 171, 64, 0.08);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
}

@media (max-width: 768px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .guide-hero-bg {
    background-size: cover;
    overflow: hidden;
  }
}
