:root {
  --bg: #1A1A1A;
  --surface: #242424;
  --text: #E2E2E2;
  --muted: #888888;
  --primary: #B45309;
  --secondary: #78350F;
  --accent: #D97706;
  --border: rgba(180,83,9,0.2);
  --font-pixel: "Courier New", Courier, "Lucida Console", monospace;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Segoe UI", sans-serif;
  --font-sans: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --arcade-glow: 0 0 12px rgba(217, 119, 6, 0.7);
  --neon-flare: 0 0 16px rgba(217, 119, 6, 0.45);
  --look-80s: 135deg;
  --gaming-beat: 2.8s;
  --vibrant-wash: rgba(217, 119, 6, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(217, 119, 6, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 40%, rgba(180, 83, 9, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #1A1A1A 0%, #141414 50%, #1A1A1A 100%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.15) 2px,
      rgba(0, 0, 0, 0.15) 4px
    );
  mix-blend-mode: multiply;
}

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

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

a {
  color: var(--accent);
  text-decoration: none;
}

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

.disclosure-banner {
  max-width: 800px;
  margin: 10px auto;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: var(--text);
  position: relative;
  z-index: 2;
}

.disclosure-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.disclosure-banner .aff-block {
  margin-top: 6px;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  height: 56px;
  background: rgba(15, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-pixel);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 14px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
}

.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;
  position: relative;
  z-index: 1200;
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease;
}

.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 {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 15, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1100;
  padding: 80px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 100%;
}

.mobile-nav a {
  font-family: var(--font-pixel);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.mobile-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent);
}

.arcade-floor {
  position: relative;
  overflow: hidden;
  filter: drop-shadow(var(--arcade-glow));
  animation: arcadeScan 4s ease-in-out infinite alternate;
}

.arcade-floor::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -20%;
  height: 55%;
  pointer-events: none;
  background-image:
    linear-gradient(transparent 0%, rgba(26, 26, 26, 0.85) 100%),
    repeating-linear-gradient(
      90deg,
      var(--bg) 0 28px,
      var(--surface) 28px 56px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 28px,
      rgba(180, 83, 9, 0.15) 28px 29px
    );
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center top;
  opacity: 0.55;
  z-index: 0;
}

.neon-border {
  border: 2px solid var(--accent);
  box-shadow: var(--neon-flare), 4px 4px 0 rgba(0, 0, 0, 0.65);
  animation: neonFlicker 3.2s ease-in-out infinite;
}

.retro-80s {
  background-image: linear-gradient(
    var(--look-80s),
    rgba(120, 53, 15, 0.55) 0%,
    rgba(180, 83, 9, 0.25) 40%,
    rgba(217, 119, 6, 0.35) 70%,
    rgba(26, 26, 26, 0.9) 100%
  );
}

.gaming-pulse {
  animation: gamingPulse var(--gaming-beat) ease-in-out infinite;
}

.vibrant-grad {
  background-image: linear-gradient(
    180deg,
    var(--vibrant-wash) 0%,
    transparent 40%,
    rgba(120, 53, 15, 0.25) 100%
  );
  animation: vibrantShift 6s ease-in-out infinite alternate;
}

@keyframes gamingPulse {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.35);
  }
  50% {
    box-shadow: 0 0 18px rgba(217, 119, 6, 0.7);
  }
}

@keyframes arcadeScan {
  0% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

@keyframes retro80sPulse {
  0% {
    letter-spacing: 0.04em;
  }
  100% {
    letter-spacing: 0.05em;
  }
}

@keyframes neonFlicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.92;
  }
}

@keyframes vibrantShift {
  0% {
    filter: saturate(1);
  }
  100% {
    filter: saturate(1.05);
  }
}

@keyframes pixelShatter {
  0% {
    clip-path: inset(0 0 0 0);
    transform: translate(0, 0);
  }
  40% {
    clip-path: inset(8% 4% 6% 10%);
    transform: translate(2px, -2px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0, 0);
  }
}

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 24px 28px;
  margin-top: 40px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-pixel);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
}

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

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

.footer-badges img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer-requisites {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-ca-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 900px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

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

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.75);
}

.page-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.page-shell h2 {
  font-family: var(--font-pixel);
  font-size: 1rem;
  margin: 28px 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-shell h3 {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 700;
  margin: 18px 0 8px;
}

.page-shell p,
.page-shell li {
  margin-bottom: 12px;
  color: var(--text);
}

.page-shell ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.age-gate,
.cookie-banner {
  display: none;
  position: fixed;
  z-index: 2000;
}

.age-gate {
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate.active {
  display: flex;
}

.age-box {
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow:
    0 0 16px rgba(217, 119, 6, 0.45),
    6px 6px 0 rgba(0, 0, 0, 0.7);
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.age-box h2 {
  font-family: var(--font-pixel);
  font-size: 1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--accent);
}

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

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

.btn {
  font-family: var(--font-pixel);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 18px;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.65);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary);
  animation: pixelShatter 0.35s steps(3) both;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--muted);
}

.cookie-banner {
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  padding: 16px 24px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
}

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

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

.cookie-inner p {
  flex: 1 1 280px;
  font-size: 13px;
  color: var(--muted);
}

.contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  display: block;
  margin-bottom: 6px;
}

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

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

.email-error {
  display: none;
  color: var(--accent);
  font-size: 12px;
  margin-top: 4px;
}

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

.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px;
  border: 2px solid var(--accent);
  background: rgba(180, 83, 9, 0.15);
}

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

.redirect-box {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  gap: 14px;
}

.redirect-box h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
}

.ad-label {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.compliance-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 420px;
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

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

.info-cta {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-pixel);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bg);
  background: var(--accent);
  padding: 12px 18px;
  border: 2px solid var(--primary);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.7);
}

.info-cta:hover {
  color: var(--bg);
  background: var(--primary);
  animation: pixelShatter 0.4s steps(4) both;
}

.raw-tag {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

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

  .burger-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .disclosure-banner {
    margin-left: 12px;
    margin-right: 12px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .decor-img {
    max-width: 100%;
    max-height: 200px;
  }
}

@media (max-width: 375px) {
  .decor-img {
    max-width: 100%;
    max-height: 180px;
  }
}
