:root {
  --bg: #1C1C1C;
  --surface: #262626;
  --text: #FFFFFF;
  --muted: #A0A0A0;
  --primary: #C5B358;
  --secondary: #D4AF37;
  --accent: #E6E6E6;
  --border: rgba(197,179,88,0.2);
  --arcade: #ff2d95;
  --neon: #00f0ff;
  --look-80s: #ff6b00;
  --gaming: #7cfc00;
  --vibrant: #ff00aa;
  --font-display: "Courier New", Courier, monospace;
  --font-body: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --shadow-offset: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 700;
  background-color: var(--bg);
  background-image:
    linear-gradient(160deg, rgba(197, 179, 88, 0.12) 0%, transparent 42%),
    linear-gradient(340deg, rgba(255, 45, 149, 0.08) 0%, transparent 38%),
    radial-gradient(ellipse at 80% 10%, rgba(0, 240, 255, 0.07) 0%, transparent 45%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(230, 230, 230, 0.02) 3px,
      rgba(230, 230, 230, 0.02) 6px
    );
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background:
    linear-gradient(105deg, var(--primary) 25%, transparent 25%),
    linear-gradient(-105deg, var(--secondary) 25%, transparent 25%),
    linear-gradient(105deg, transparent 75%, var(--arcade) 75%),
    linear-gradient(-105deg, transparent 75%, var(--neon) 75%);
  background-size: 36px 36px;
  background-color: var(--surface);
  transform: perspective(220px) rotateX(48deg);
  transform-origin: bottom center;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.arcade-neon-80s-gaming-vibrant {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--secondary);
}

main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
  padding-bottom: 40px;
}

.disclosure-banner {
  position: relative;
  z-index: 50;
  text-align: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  padding: 6px 16px;
  line-height: 1.4;
  background: transparent;
  border: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  list-style: none;
  order: 1;
  flex: 1;
}

.nav-desktop a {
  position: relative;
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 2px 10px;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%) scale(0);
  transition: transform 0.2s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  transform: translateX(-50%) scale(1);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 2;
  color: var(--text);
  flex-shrink: 0;
}

.brand-lockup span {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
}

.brand-lockup img {
  width: 140px;
  height: 40px;
  object-fit: contain;
}

.burger {
  display: none;
  order: 3;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--neon);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--arcade);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 28, 0.7);
  z-index: 250;
}

.nav-overlay.open {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: var(--surface);
  border-left: 3px solid var(--arcade);
  box-shadow: -6px 0 0 var(--neon);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 72px 20px 24px;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  color: var(--accent);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.offer-card {
  background: #fff;
  border: 4px solid #000;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 7px 7px 0 #000;
}

.offer-card-logo {
  width: 180px;
  height: 80px;
  margin: 22px auto 0;
  padding: 0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #e5e7eb;
  border-bottom: 3px solid #000;
}

.offer-card-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-card h3 {
  font-size: 20px;
  font-weight: 800;
  font-style: normal;
  color: #111;
  text-align: center;
  margin: 16px 16px 8px;
  text-transform: uppercase;
}

.offer-bonus-group {
  text-align: center;
  padding: 0 16px;
  margin-bottom: 8px;
}

.offer-bonus {
  display: block;
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  color: #1e3a8a;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.offer-terms {
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  color: #64748b;
  margin-top: 4px;
}

.offer-desc {
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
  padding: 0 16px;
  margin-bottom: 12px;
}

.offer-cta {
  display: block;
  margin: 0 16px 20px;
  padding: 12px 16px;
  background: #eab308;
  color: #111;
  text-align: center;
  font-weight: 800;
  font-style: normal;
  text-decoration: none;
  border: 3px solid #000;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}

.offer-cta:hover {
  background: #facc15;
  color: #111;
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 2px solid var(--neon);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--arcade);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--arcade);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--neon);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.topic-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--arcade);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--neon);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: transform 0.2s steps(2), box-shadow 0.2s steps(2), clip-path 0.25s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.topic-cta:hover {
  color: var(--text);
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--vibrant);
  clip-path: polygon(0 8%, 12% 0, 88% 0, 100% 10%, 100% 88%, 90% 100%, 12% 100%, 0 90%);
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 3px solid var(--neon);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--arcade);
}

.decor-clip {
  overflow: hidden;
  max-width: 100%;
}

.info-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-style: normal;
  color: var(--neon);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 3px solid var(--arcade);
  box-shadow: 0 -4px 0 var(--neon);
  padding: 48px 20px 28px;
  margin-top: auto;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .brand-lockup span {
  font-size: 14px;
}

.footer-brand p {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

.footer-links h3,
.footer-badges h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: var(--accent);
}

.footer-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-badge-row img {
  max-height: 56px;
  width: auto;
}

.footer-cookie-link {
  margin-top: 12px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.footer-requisites {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 28, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate.active {
  display: flex;
}

.age-card {
  background: var(--surface);
  border: 3px solid var(--neon);
  box-shadow: 8px 8px 0 var(--arcade);
  max-width: 420px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
}

.age-card h2 {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--primary);
  margin-bottom: 12px;
}

.age-card p {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 20px;
}

.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--arcade);
  box-shadow: 5px 5px 0 var(--neon);
  padding: 16px 18px;
  z-index: 900;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner p {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--secondary);
  margin: 28px 0 10px;
}

.legal-content p,
.legal-content li {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content strong {
  color: var(--accent);
}

.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.contact-form label {
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--neon);
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: var(--arcade);
}

.email-error {
  display: none;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--arcade);
}

.email-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 24px;
  padding: 18px;
  border: 2px solid var(--gaming);
  box-shadow: 4px 4px 0 var(--neon);
  color: var(--accent);
  font-style: normal;
  font-weight: 400;
}

.form-success.visible {
  display: block;
}

.redirect-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.redirect-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.ad-label {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--neon);
  border-right-color: var(--arcade);
  border-radius: 50%;
  animation: spinArcade 0.8s linear infinite;
  margin-bottom: 20px;
}

@keyframes spinArcade {
  to {
    transform: rotate(360deg);
  }
}

.redirect-notes {
  margin-top: 16px;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  max-width: 420px;
}

.error-page {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--arcade);
  text-shadow: 4px 4px 0 var(--neon);
  margin-bottom: 12px;
}

.error-page p {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 24px;
}

.page-hero-strip {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  padding: 36px 20px;
  position: relative;
  z-index: 1;
}

.page-hero-strip h1 {
  font-family: var(--font-display);
  font-style: normal;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--primary);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

@keyframes arcadePulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
}

@keyframes neonFlicker {
  0%,
  100% {
    box-shadow: 4px 4px 0 var(--neon);
  }
  40% {
    box-shadow: 4px 4px 12px rgba(0, 240, 255, 0.45);
  }
  60% {
    box-shadow: 4px 4px 0 var(--arcade);
  }
}

@keyframes retro80sShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes gamingBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes vibrantGlow {
  0%,
  100% {
    border-color: var(--arcade);
  }
  50% {
    border-color: var(--vibrant);
  }
}

@keyframes pixelShatter {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  50% {
    clip-path: polygon(0 6%, 8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 94%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .navbar {
    justify-content: space-between;
  }

  .brand-lockup {
    order: 1;
  }

  .burger {
    order: 2;
    margin-left: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .brand-lockup img {
    width: 100px;
    height: 29px;
  }

  .brand-lockup span {
    font-size: 12px;
  }

  .offer-card-logo {
    width: 160px;
    height: 72px;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .offer-bonus {
    font-size: 12px;
  }

  .decor-img {
    max-width: 100%;
    max-height: 200px;
    width: 100%;
    height: auto;
  }

  .decor-clip,
  .pay-visual,
  .info-3-media,
  .license-mosaic,
  .live-rail {
    max-width: 100%;
    overflow: hidden;
  }

  .offer-card {
    max-width: 100%;
    box-shadow: 4px 4px 0 #000;
  }
}

.topic-hero {
  position: relative;
  padding: 56px 20px 48px;
  background:
    linear-gradient(135deg, rgba(255, 45, 149, 0.18), rgba(0, 240, 255, 0.1)),
    var(--surface);
  border-bottom: 3px solid var(--arcade);
  overflow: hidden;
}

.topic-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border: 4px solid var(--neon);
  transform: rotate(18deg);
  opacity: 0.35;
  pointer-events: none;
}

.topic-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topic-hero h1 {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--primary);
  text-shadow: 3px 3px 0 var(--arcade);
  margin-bottom: 10px;
}

.topic-hero p {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  max-width: 640px;
}

.topic-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.topic-body h2 {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--secondary);
  margin: 32px 0 12px;
  font-size: 1.25rem;
}

.topic-body h3 {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--neon);
  margin: 20px 0 8px;
  font-size: 1rem;
}

.topic-body p,
.topic-body li {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 12px;
}

.topic-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.live-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

.live-rail {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border: 2px solid var(--neon);
  box-shadow: 5px 5px 0 var(--arcade);
  padding: 16px;
}

.live-rail img {
  margin-bottom: 12px;
}

.live-rail p {
  font-size: 13px;
  margin: 0;
}

.license-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.license-band {
  margin: 28px 0;
  padding: 24px;
  background: var(--surface);
  border-left: 5px solid var(--gaming);
  box-shadow: 6px 6px 0 var(--look-80s);
}

.license-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}

.license-mosaic .tile {
  min-height: 140px;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--arcade);
}

.license-mosaic .tile-decor-6 {
  background-image:
    linear-gradient(rgba(28, 28, 28, 0.35), rgba(28, 28, 28, 0.55)),
    url("/images/decorative/decor_6.jpg");
}

.license-mosaic .tile-badge {
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.2), rgba(255, 45, 149, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-family: var(--font-display);
  color: var(--primary);
}

.pay-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
}

.pay-table th,
.pay-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  color: var(--accent);
}

.pay-table th {
  background: var(--surface);
  color: var(--primary);
  font-family: var(--font-display);
  font-style: normal;
}

.pay-quote {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.3rem;
  color: var(--primary);
  border: 3px solid var(--vibrant);
  padding: 20px;
  margin: 24px 0;
  box-shadow: 6px 6px 0 var(--neon);
}

.pay-visual {
  max-width: 500px;
  margin: 24px 0;
}

@media (max-width: 900px) {
  .live-layout,
  .license-split,
  .license-mosaic {
    grid-template-columns: 1fr;
  }

  .live-rail {
    position: static;
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img {
    max-width: 100%;
    max-height: 220px;
  }

  .topic-hero::after {
    display: none;
  }

  .pay-visual {
    max-width: 100%;
    overflow: hidden;
  }
}
