:root {
  --bg: #050F0A;
  --surface: #0C1A14;
  --text: #D1D5DB;
  --muted: #4B5563;
  --primary: #3A5A40;
  --secondary: #588157;
  --accent: #A3B18A;
  --border: rgba(88,129,87,0.2);
  --style-tags: retro news classic monochrome grid;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-condensed: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --max-w: 1200px;
  --nav-w: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-serif);
  color: rgba(5, 15, 10, 0.92);
  background-color: color-mix(in srgb, var(--text) 88%, var(--accent) 12%);
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--text) 92%, var(--accent) 8%) 0%, color-mix(in srgb, var(--text) 85%, var(--secondary) 15%) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(5, 15, 10, 0.04) 47px,
      rgba(5, 15, 10, 0.04) 48px
    );
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-align: justify;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(5, 15, 10, 0.03) 79px,
      rgba(5, 15, 10, 0.03) 80px
    );
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--secondary);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  hyphens: none;
  color: var(--bg);
}

.subhead {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--primary) 35%, rgb(185, 28, 28) 65%);
}

.disclosure-banner {
  position: relative;
  z-index: 2;
  background: color-mix(in srgb, var(--text) 95%, var(--accent) 5%);
  border-bottom: 1px solid rgba(5, 15, 10, 0.15);
  padding: 8px 16px;
}

.disclosure-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(5, 15, 10, 0.8);
  text-align: left;
  hyphens: none;
}

.disclosure-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: block;
}

.site-header {
  position: static;
  z-index: 100;
  height: 70px;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: var(--nav-w);
  margin: 0 auto;
  padding: 20px;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-left a,
.nav-right a {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  hyphens: none;
  white-space: nowrap;
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--accent);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: end;
  grid-column: 3;
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--bg);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 80px 28px 28px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav a {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 10, 0.55);
  z-index: 1500;
}

.mobile-overlay.open {
  display: block;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  color: var(--text);
  border-top: 3px solid rgba(0, 0, 0, 0.85);
  padding: 48px 24px 32px;
  text-align: left;
  hyphens: none;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand span {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.footer-links a {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-badges img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}

.footer-requisites {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
}

.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(5, 15, 10, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate.active {
  display: flex;
}

.age-box {
  background: color-mix(in srgb, var(--text) 90%, var(--accent) 10%);
  border: 2px solid rgba(0, 0, 0, 0.85);
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
}

.age-box h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.age-box p {
  font-size: 14px;
  margin-bottom: 24px;
  text-align: center;
  hyphens: none;
}

.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 2px solid rgba(0, 0, 0, 0.85);
  cursor: pointer;
  background: var(--text);
  color: var(--bg);
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.85);
}

.btn-outline {
  background: transparent;
  color: var(--bg);
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  background: var(--surface);
  border-top: 2px solid rgba(0, 0, 0, 0.85);
  padding: 18px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-inner p {
  color: var(--text);
  font-size: 13px;
  flex: 1;
  min-width: 220px;
  text-align: left;
  hyphens: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn-outline {
  color: var(--text);
  border-color: var(--border);
}

.page-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page-shell h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.85);
}

.page-shell h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-shell p,
.page-shell li {
  margin-bottom: 12px;
  font-size: 15px;
}

.page-shell ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.page-hero-strip {
  background: var(--primary);
  border-bottom: 3px solid rgba(0, 0, 0, 0.85);
  padding: 36px 24px;
}

.page-hero-strip .inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero-strip h1 {
  color: var(--text);
  font-size: 2rem;
}

.page-hero-strip .subhead {
  color: color-mix(in srgb, var(--accent) 50%, rgb(255, 220, 220) 50%);
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 28px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid rgba(0, 0, 0, 0.85);
  padding: 24px;
  background: color-mix(in srgb, var(--text) 96%, var(--accent) 4%);
}

.contact-form label {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-serif);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.55);
  background: color-mix(in srgb, var(--text) 98%, var(--secondary) 2%);
  color: var(--bg);
  width: 100%;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.email-error {
  display: none;
  color: color-mix(in srgb, var(--primary) 20%, rgb(185, 28, 28) 80%);
  font-size: 13px;
}

.email-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 24px;
  padding: 20px;
  border: 2px solid rgba(0, 0, 0, 0.85);
  background: color-mix(in srgb, var(--accent) 25%, var(--text) 75%);
  font-size: 15px;
}

.form-success.visible {
  display: block;
}

.redirect-box {
  flex: 1 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg);
  color: var(--text);
  hyphens: none;
}

.redirect-box h1 {
  color: var(--text);
  margin: 20px 0 12px;
  font-size: 1.5rem;
}

.redirect-box p {
  max-width: 420px;
  margin-bottom: 12px;
  text-align: center;
}

.ad-label {
  font-family: var(--font-condensed);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 4px 10px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-top: 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.compliance-note {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}

.compliance-note a {
  color: var(--accent);
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  border: 2px solid rgba(0, 0, 0, 0.85);
}

.decor-clip {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.info-cta {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--text);
  border: 2px solid rgba(0, 0, 0, 0.85);
  hyphens: none;
}

.info-cta:hover {
  background: var(--secondary);
  color: var(--text);
}

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  hyphens: none;
}

.error-page h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.error-page p {
  margin-bottom: 24px;
  text-align: center;
}

@media (max-width: 900px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-logo {
    grid-column: 1;
    justify-self: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-inner {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .burger-btn {
    display: flex;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .decor-img {
    max-width: 100%;
    max-height: 200px;
  }

  .decor-clip {
    max-width: 100%;
    overflow: hidden;
  }

  .disclosure-inner {
    font-size: 11px;
  }

  .page-shell {
    padding: 32px 16px 48px;
  }
}
