:root {
  --bg: #2E1065;
  --surface: #4C1D95;
  --text: #F5F3FF;
  --muted: #C4B5FD;
  --primary: #F472B6;
  --secondary: #5B21B6;
  --accent: #EC4899;
  --border: rgba(255, 255, 255, 0.12);
  --nav-bg: rgba(15, 15, 25, 0.75);
  --grain-opacity: 0.06;
}

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

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

body {
  font-family: "Courier New", Courier, "Lucida Console", Monaco, monospace;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(91, 33, 182, 0.4) 0%, transparent 55%),
    linear-gradient(165deg, #1a0533 0%, var(--bg) 40%, #1e0a42 100%);
  color: var(--text);
  line-height: 1.65;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

h1, h2, h3, h4 {
  font-family: Impact, "Arial Black", "Franklin Gothic Medium", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: text-shadow 0.25s ease, color 0.25s ease;
}

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

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

.disclosure-banner {
  width: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, #3b0764 100%);
  color: var(--text);
  font-size: 11px;
  text-align: center;
  padding: 10px 16px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  position: relative;
  z-index: 10;
  letter-spacing: 0.03em;
}

.trust-banner {
  width: 100%;
  background: rgba(15, 15, 25, 0.9);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  padding: 8px 16px 14px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 9;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  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;
  min-height: 56px;
}

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

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

.nav-links a {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
  position: relative;
  z-index: 1001;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  background: rgba(15, 15, 25, 0.85);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scanline 4s linear infinite;
}

@keyframes scanline {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

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

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

.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-company {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
}

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

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

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

.footer-orgs a {
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-orgs a:hover {
  opacity: 1;
}

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

.footer-disclosure {
  font-size: 11px;
  color: rgba(196, 181, 253, 0.7);
  line-height: 1.7;
  max-width: 900px;
}

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

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

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 0 40px rgba(236, 72, 153, 0.2);
  position: relative;
}

.modal-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 40%);
}

.modal-box h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary);
}

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

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: box-shadow 0.25s, transform 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 0 16px var(--accent);
  transform: translateY(-1px);
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

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

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 240px;
  max-width: 700px;
}

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

.page-hero-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: cyberpunk-glitch-scan 3s ease-in-out infinite;
}

@keyframes cyberpunk-glitch-scan {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(25%); opacity: 1; }
}

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

.page-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 24px;
  color: var(--text);
}

.page-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 16px;
  color: var(--primary);
}

.page-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
  color: var(--muted);
}

.page-content p {
  margin-bottom: 16px;
  color: var(--muted);
}

.page-content ul {
  margin: 0 0 16px 24px;
  color: var(--muted);
}

.page-content li {
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.3);
}

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

.form-error {
  color: #f87171;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

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

.form-success {
  background: rgba(91, 33, 182, 0.4);
  border: 1px solid var(--accent);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

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

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

  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.4rem;
  }
}

.slots-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 60vh;
}

.slots-rail {
  background: var(--surface);
  padding: 48px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}

.slots-rail::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: cyberpunk-glitch-scan 3s ease-in-out infinite;
}

.slots-rail-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  max-width: 100%;
}

.slots-rail-img img {
  max-width: 100%;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.slots-rail h1 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text);
}

.slots-rail p {
  font-size: 13px;
  color: var(--muted);
}

.slots-content {
  padding: 48px 40px 80px;
  max-width: 720px;
}

.slots-content h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 32px 0 14px;
}

.slots-content h2:first-child {
  margin-top: 0;
}

.slots-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.slots-content ul {
  margin: 0 0 16px 24px;
  color: var(--muted);
}

.slot-type-row {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.slot-tag {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 800px) {
  .slots-split {
    grid-template-columns: 1fr;
  }

  .slots-rail {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px 16px;
  }

  .slots-content {
    padding: 32px 16px 64px;
  }

  .slots-rail-img img {
    max-height: 220px;
  }
}
