:root {
  --bg: #090102;
  --surface: #160305;
  --text: #FFF1F2;
  --muted: #FDA4AF;
  --primary: #DC2626;
  --secondary: #F97316;
  --accent: #FACC15;
  --border: rgba(255, 241, 242, 0.14);
  --neon-pink: #ff006e;
  --neon-cyan: #00f5ff;
  --shadow-offset: 4px;
  --arcade-accent: #FACC15;
  --neon-glow: #ff006e;
  --retro-80s-red: #DC2626;
  --gaming-orange: #F97316;
  --vibrant-cyan: #00f5ff;
}

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

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-style: italic;
  font-weight: 700;
  background: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
    linear-gradient(225deg, rgba(249, 115, 22, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 20% 80%, rgba(250, 204, 21, 0.05) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.gaming-vibrant {
  background-blend-mode: screen;
}

.neon-80s-arcade {
  border-color: var(--neon-pink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 241, 242, 0.015) 2px,
      rgba(255, 241, 242, 0.015) 4px
    );
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    linear-gradient(105deg, var(--primary) 25%, transparent 25%),
    linear-gradient(-105deg, var(--secondary) 25%, transparent 25%),
    linear-gradient(105deg, transparent 75%, var(--accent) 75%),
    linear-gradient(-105deg, transparent 75%, var(--neon-cyan) 75%);
  background-size: 40px 40px;
  background-color: var(--surface);
  transform: perspective(200px) rotateX(45deg);
  transform-origin: bottom center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

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

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

a:hover {
  text-decoration: underline;
}

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

.disclosure-bar {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 36px;
  z-index: 100;
}

.disclosure-bar__half {
  flex: 1;
  padding: 8px 16px;
}

.disclosure-bar__half--left {
  background: var(--primary);
}

.disclosure-bar__half--right {
  background: #FFF1F2;
}

.disclosure-bar__text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  width: max-content;
  max-width: 96vw;
  background: linear-gradient(90deg, #fff 0%, #fff 50%, var(--bg) 50%, var(--bg) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
  padding: 0 4px;
}

@media (max-width: 640px) {
  .disclosure-bar__text {
    white-space: normal;
    font-size: 11px;
    max-width: 92vw;
  }
}

.trust-bar {
  width: 100%;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 99;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  height: 68px;
  box-shadow: 0 var(--shadow-offset) 0 var(--primary);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

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

.site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  color: var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  transition: transform 0.3s;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 1, 2, 0.97);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-overlay.active {
  display: flex;
}

.mobile-overlay a {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-overlay__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 32px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    clip-path: none;
    height: auto;
    min-height: 60px;
  }

  .site-nav {
    display: none;
  }

  .burger {
    display: flex;
  }
}

.site-footer {
  background: var(--surface);
  border-top: 2px solid var(--neon-pink);
  box-shadow: 0 calc(-1 * var(--shadow-offset)) 0 var(--neon-cyan);
  padding: 48px 24px 32px;
  margin-top: auto;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.site-footer__logo img {
  height: 40px;
  margin-bottom: 16px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.site-footer__badges a {
  display: block;
}

.site-footer__badges img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.site-footer__badges img:hover {
  opacity: 1;
}

.site-footer__legal {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.site-footer__company {
  font-size: 12px;
  color: rgba(253, 164, 175, 0.7);
  line-height: 1.6;
}

.site-footer__disclosure {
  font-size: 11px;
  color: rgba(253, 164, 175, 0.55);
  line-height: 1.7;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

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

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 1, 2, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal-box {
  background: var(--surface);
  border: 2px solid var(--neon-pink);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--neon-cyan);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.modal-box h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
}

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

.modal-box__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn--primary {
  background: var(--primary);
  color: var(--text);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--accent);
}

.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) 0 var(--accent);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--neon-cyan);
  box-shadow: 0 calc(-1 * var(--shadow-offset)) 0 var(--neon-pink);
  padding: 20px 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  max-width: 600px;
  font-weight: 600;
}

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

.legal-content h1 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 var(--primary);
}

.legal-content h2 {
  font-size: 20px;
  color: var(--secondary);
  margin: 28px 0 12px;
}

.legal-content h3 {
  font-size: 17px;
  color: var(--muted);
  margin: 20px 0 10px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 600;
  font-style: normal;
}

.legal-content ul {
  margin: 12px 0 16px 24px;
  font-weight: 600;
  font-style: normal;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15px;
}

.contact-form {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 2px solid var(--neon-pink);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--neon-cyan);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  font-style: normal;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.3);
}

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

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

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

.form-success {
  padding: 32px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary);
}

.form-success h2 {
  color: var(--accent);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--muted);
  font-weight: 600;
}

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

.page-hero-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  padding: 48px 24px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  margin-bottom: 32px;
}

.page-hero-strip h1 {
  font-size: clamp(28px, 5vw, 42px);
  color: var(--text);
  text-shadow: 3px 3px 0 var(--bg);
  max-width: 800px;
  margin: 0 auto;
}

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page h1 {
  font-size: 72px;
  color: var(--primary);
  text-shadow: 4px 4px 0 var(--neon-cyan);
  margin-bottom: 16px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 18px;
}

.redirect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg);
}

.redirect-page__ad {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.redirect-page__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 24px;
}

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

.redirect-page h1 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 12px;
}

.redirect-page p {
  font-size: 14px;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 8px;
  font-weight: 600;
}

.redirect-page a {
  color: var(--accent);
  margin-top: 16px;
}

.arcade-neon-80s-gaming-vibrant {
  --style-marker: 0;
}
