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

:root {
  --bg: #090102;
  --surface: #160305;
  --text: #FFF1F2;
  --muted: #FDA4AF;
  --primary: #DC2626;
  --secondary: #F97316;
  --accent: #FACC15;
  --border: rgba(255, 241, 242, 0.14);
  --nav-left: #1a0608;
  --nav-right: #0d0203;
  --font-serif: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max-w: 1200px;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(220, 38, 38, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #090102 0%, #120204 50%, #090102 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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;
  transition: color 4s ease;
}

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

.hidden {
  display: none !important;
}

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  color: var(--text);
  background: rgba(255, 241, 242, 0.06);
  border-top: 1px dotted rgba(253, 164, 175, 0.45);
  border-bottom: 1px dotted rgba(253, 164, 175, 0.45);
  position: relative;
  z-index: 10;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
}

.header-split {
  display: flex;
  width: 100%;
  height: 100%;
}

.header-left-bg {
  flex: 1;
  background: var(--nav-left);
  display: flex;
  justify-content: flex-end;
}

.header-right-bg {
  flex: 1;
  background: var(--nav-right);
  display: flex;
  justify-content: flex-start;
}

.header-inner {
  position: absolute;
  inset: 0;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 24px;
}

.header-logo-wrap {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  padding-right: 24px;
}

.header-nav-wrap {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

.nav-desktop a {
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 3s ease;
}

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

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

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

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 1, 2, 0.75);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--nav-right);
  z-index: 200;
  padding: 72px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.45s ease;
  overflow-y: auto;
}

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

.mobile-drawer a {
  display: block;
  color: var(--text);
  font-size: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  padding: 6px 14px;
  cursor: pointer;
  border-radius: 4px;
}

body.drawer-open {
  overflow: hidden;
}

.site-footer {
  background: var(--surface);
  color: var(--text);
  padding: 48px 24px 32px;
  margin-top: auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

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

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-badges a,
.footer-badges span {
  display: block;
}

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

.footer-disclosure {
  font-size: 12px;
  color: rgba(253, 164, 175, 0.7);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

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

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.15);
}

.modal-box h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-box p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background 4s ease, border-color 4s ease;
}

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

.btn-primary:hover {
  background: #b91c1c;
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

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

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

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.06) 0%,
    rgba(250, 204, 21, 0.04) 50%,
    rgba(249, 115, 22, 0.05) 100%
  );
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

.page-hero p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 560px;
}

.legal-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1rem;
  margin: 16px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content a {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  margin-top: 24px;
}

.contact-form {
  background: rgba(22, 3, 5, 0.8);
  border: 1px solid var(--border);
  padding: 28px;
  backdrop-filter: blur(12px);
}

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

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text);
}

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

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

.form-error {
  display: block;
  color: var(--primary);
  font-size: 13px;
  margin-top: 6px;
}

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

.form-success {
  display: none;
  background: rgba(22, 3, 5, 0.8);
  border: 1px solid var(--primary);
  padding: 28px;
}

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

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

.redirect-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px;
  max-width: 480px;
  text-align: center;
  border-radius: 8px;
}

.redirect-card h1 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 16px 0;
}

.redirect-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.ad-flag {
  display: inline-block;
  font-size: 11px;
  background: var(--primary);
  color: var(--text);
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

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

.redirect-meta {
  font-size: 12px !important;
}

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

.error-box h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  color: var(--primary);
}

.error-box p {
  color: var(--muted);
  margin: 16px 0 24px;
}

.info-cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid var(--primary);
  color: var(--text);
  border-radius: 6px;
  font-size: 14px;
  transition: background 4s ease, box-shadow 4s ease;
}

.info-cta-link:hover {
  background: rgba(220, 38, 38, 0.3);
  color: var(--accent);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.15);
}

@media (max-width: 900px) {
  .header-split {
    background: var(--nav-right);
  }

  .header-left-bg,
  .header-right-bg {
    display: none;
  }

  .header-logo-wrap {
    flex: 1;
    padding-right: 0;
  }

  .header-nav-wrap {
    flex: 0;
    border-left: none;
    padding-left: 0;
  }

  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .drawer-overlay,
  .mobile-drawer {
    display: block;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
  }

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

@media (max-width: 375px) {
  .hero-image-col,
  .info-visual,
  .sub-hero-img,
  .pay-header-img,
  .begin-visual {
    max-width: 100%;
    overflow: hidden;
  }

  .hero-image-col img,
  .info-visual img,
  .sub-hero-img img,
  .pay-header-img img,
  .begin-visual img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
  }

  .live-hero {
    overflow: hidden;
    background-size: cover;
    background-position: center;
  }
}
