:root {
  --bg-0: #06080f;
  --bg-1: #0b1020;
  --bg-2: #10172d;
  --text-0: #f2f5ff;
  --text-1: #b6bfd8;
  --line: rgba(145, 170, 255, 0.22);
  --line-soft: rgba(145, 170, 255, 0.12);
  --brand-a: #67d2ff;
  --brand-b: #6d8bff;
  --brand-c: #8f62ff;
  --ok: #6be49c;
  --error: #ff8392;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-0);
  background:
    radial-gradient(800px 340px at -10% -5%, rgba(103, 210, 255, 0.16), transparent 65%),
    radial-gradient(700px 340px at 110% 0%, rgba(143, 98, 255, 0.16), transparent 65%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 50%, var(--bg-2));
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: #9dd7ff;
  text-decoration: none;
}

a:hover {
  color: #cde9ff;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section-space {
  padding: 78px 0;
}

.site-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(54px);
  pointer-events: none;
  z-index: -2;
}

.site-glow-a {
  width: 360px;
  height: 360px;
  left: -90px;
  top: 10%;
  background: rgba(74, 186, 255, 0.25);
}

.site-glow-b {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 32%;
  background: rgba(150, 103, 255, 0.24);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(179, 196, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 196, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 12, 24, 0.7);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
  color: #ffffff;
}

.topnav {
  display: flex;
  gap: 18px;
}

.topnav a {
  font-size: 0.95rem;
  color: var(--text-1);
}

.topnav a:hover {
  color: #ffffff;
}

.hero {
  padding-top: 110px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.hero-copy,
.hero-panel,
.step-card,
.ticket-card,
.about-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(26, 36, 68, 0.62), rgba(15, 21, 41, 0.78));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
}

.hero-panel {
  padding: 30px;
}

.hero-image-wrap {
  margin: -6px -6px 18px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(132, 183, 255, 0.35);
  background: linear-gradient(145deg, rgba(17, 34, 68, 0.72), rgba(12, 23, 46, 0.78));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(103, 210, 255, 0.12);
}

.hero-image {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(174, 196, 255, 0.28);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8edbff;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 12px;
  color: var(--text-1);
}

.lead {
  font-size: 1.06rem;
  max-width: 54ch;
}

.availability {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(103, 210, 255, 0.4);
  border-radius: 999px;
  color: #dcf5ff;
  background: rgba(23, 47, 78, 0.65);
}

.hero-actions {
  margin: 22px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-disclaimer {
  margin: 0;
  border: 1px solid rgba(255, 183, 103, 0.44);
  border-radius: var(--radius-md);
  background: rgba(68, 46, 12, 0.5);
  color: #ffdba8;
  padding: 11px 13px;
}

.btn-primary,
.btn-ghost {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.btn-primary {
  color: #05111f;
  background: linear-gradient(130deg, var(--brand-a), var(--brand-b), var(--brand-c));
  box-shadow: 0 14px 30px rgba(117, 159, 255, 0.35), 0 0 18px rgba(103, 210, 255, 0.42);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-ghost {
  border-color: rgba(122, 145, 221, 0.5);
  background: rgba(17, 29, 54, 0.86);
  color: #deebff;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(24, 39, 68, 0.95);
}

.age-badge {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  min-height: 40px;
  border-radius: 10px;
  font-weight: 800;
  color: #1a0800;
  background: #ff7f50;
  border: 2px solid #ffd1bf;
  box-shadow: 0 0 14px rgba(255, 127, 80, 0.6);
}

.draw-date {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: #dce8ff;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-stat-grid article {
  border: 1px solid rgba(140, 166, 255, 0.26);
  border-radius: 12px;
  padding: 12px;
  background: rgba(8, 16, 34, 0.64);
}

.stat-label {
  display: block;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ca0d4;
}

.section-heading {
  margin-bottom: 18px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  padding: 22px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #dff7ff;
  border: 1px solid rgba(128, 203, 255, 0.4);
  background: rgba(42, 85, 130, 0.45);
}

.ticket-card {
  padding: 28px;
}

.ticket-help {
  margin-bottom: 16px;
}

.ticket-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.ticket-form input,
.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(122, 149, 232, 0.5);
  border-radius: 12px;
  background: rgba(6, 13, 28, 0.78);
  color: #f3f7ff;
  font-size: 0.97rem;
  padding: 12px;
}

.ticket-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(103, 210, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(103, 210, 255, 0.16);
}

.ticket-feedback,
.contact-feedback {
  min-height: 24px;
  margin-top: 12px;
  font-size: 0.94rem;
}

.ticket-feedback.error,
.contact-feedback.error {
  color: var(--error);
}

.ticket-feedback.success,
.contact-feedback.success {
  color: var(--ok);
}

.ticket-preview {
  display: none;
  margin-top: 12px;
  border: 1px solid rgba(119, 201, 255, 0.4);
  border-radius: 12px;
  background: rgba(14, 36, 61, 0.62);
  color: #d3f4ff;
  padding: 12px;
}

.ticket-preview.active {
  display: block;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-card {
  padding: 28px;
}

.legal-card {
  border-color: rgba(255, 184, 115, 0.5);
  background: linear-gradient(160deg, rgba(58, 37, 12, 0.42), rgba(27, 17, 7, 0.7));
}

.contact-card {
  max-width: 760px;
  padding: 28px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

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

.footer {
  margin-top: 44px;
  border-top: 1px solid var(--line-soft);
  padding: 34px 0;
  background: rgba(6, 10, 21, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.premium-footer-grid {
  align-items: start;
  gap: 28px;
}

.footer h3,
.footer h4 {
  color: #eff3ff;
}

.footer p {
  color: #93a0c2;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: #accbff;
}

.footer-brand-main-logo {
  width: min(220px, 100%);
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(145, 170, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 0 14px;
  padding: 8px;
}

.footer-nav-col h4,
.footer-support-col h4 {
  margin-bottom: 12px;
}

.support-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.support-logo-link {
  margin: 0;
  min-height: 64px;
  border: 1px solid rgba(145, 170, 255, 0.24);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  padding: 8px;
}

.support-logo-link img {
  width: 100%;
  max-width: 108px;
  max-height: 34px;
  object-fit: contain;
  opacity: 0.92;
}

.support-logo-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 18px rgba(103, 210, 255, 0.26);
  opacity: 1;
}

.footer-legal {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.footer-legal p {
  margin: 0 0 10px;
}

.footer-age {
  margin-top: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .hero-layout,
  .about-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .topnav {
    flex-wrap: wrap;
  }

  .ticket-form {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .hero-panel,
  .step-card,
  .ticket-card,
  .about-card,
  .contact-card {
    padding: 22px;
  }

  .support-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
