:root {
  --bg: #12061f;
  --bg-2: #1c0b36;
  --ink: #f7f2ff;
  --muted: #d7c8f0;
  --yellow: #ffd23f;
  --yellow-2: #ffbf00;
  --pink: #ef4cff;
  --card: linear-gradient(180deg, #2a1460 0%, #1a0b3d 100%);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }
a { color: var(--yellow); }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: #1a0b3d;
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(18, 6, 31, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(239, 76, 255, 0.25);
}
.brand {
  color: var(--yellow);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.15s ease;
}
.brand:hover, .brand:focus-visible { transform: rotate(-2deg) scale(1.05); }
.nav nav { display: flex; align-items: center; gap: 0.75rem; }
.nav nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#ffe566, var(--yellow-2));
  color: #2a1060;
  text-decoration: none;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  box-shadow: 0 6px 0 #c49000, 0 10px 24px rgba(0,0,0,.35);
  cursor: pointer;
}
.btn:active { transform: translateY(2px); box-shadow: 0 4px 0 #c49000; }
.nav-cta {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 6px, rgba(255, 255, 255, 0.04) 6px 13px),
    linear-gradient(180deg, #5a1224 0%, #34091a 55%, #1c0710 100%);
}
.hero-frame {
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 1072;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.4);
}
.hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.btn-hero {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  min-width: min(90vw, 16rem);
  padding: 0.95rem 1.4rem;
  font-size: 1.05rem;
  animation: hero-cta-pulse 2.6s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-hero:hover,
.btn-hero:focus-visible {
  animation-play-state: paused;
  transform: translateX(-50%) translateY(-3px) scale(1.04);
  box-shadow: 0 8px 0 #c49000, 0 16px 30px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(255, 210, 63, 0.28);
}
.btn-hero:active {
  animation-play-state: paused;
  transform: translateX(-50%) translateY(2px) scale(0.98);
  box-shadow: 0 4px 0 #c49000;
}

@keyframes hero-cta-pulse {
  0%, 100% {
    box-shadow: 0 6px 0 #c49000, 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 210, 63, 0.45);
  }
  50% {
    box-shadow: 0 6px 0 #c49000, 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 12px rgba(255, 210, 63, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-hero { animation: none; }
}

.wrap {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 1.1rem auto;
}
.cards {
  display: grid;
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 24px rgba(239, 76, 255, 0.28);
  padding: 1.2rem 1.15rem 1.3rem;
}
.kicker {
  margin: 0;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}
h2, h3 { line-height: 1.2; }
h2 { margin: 0.2rem 0 0.8rem; font-size: 1.45rem; color: var(--yellow); }
h3 { margin: 0 0 0.35rem; color: #fff; }
.lead, .note, .muted { color: var(--muted); }
.ticks { margin: 0; padding-left: 1.1rem; }
.ticks li + li { margin-top: 0.4rem; }
.prize {
  margin: 1.1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 210, 63, 0.14);
  border: 1px solid rgba(255, 210, 63, 0.55);
  color: #fff;
  font-weight: 700;
}
.prize strong {
  color: var(--yellow);
  font-size: 1.15rem;
}
.split { display: grid; gap: 1rem; }
.note { margin-bottom: 0; }

.form-card .lead { margin-top: 0; }
form { display: grid; gap: 0.85rem; }
form p { display: grid; gap: 0.35rem; margin: 0; }
.grid-2 { display: grid; gap: 0.85rem; }
label, legend {
  font-weight: 700;
}
input, textarea {
  width: 100%;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.85rem 0.9rem;
  color: #1b1028;
  background: #fff;
}
input:focus, textarea:focus, .choice:focus-within {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: grid; gap: 0.6rem; }
.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0.9rem;
  padding: 0.85rem;
  font-weight: 800;
}
.choice input { width: auto; accent-color: var(--yellow-2); }
.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 600;
}
.check input { width: auto; margin-top: 0.25rem; accent-color: var(--yellow-2); }
.req { color: var(--yellow); }
.optional { color: var(--muted); font-weight: 600; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.error { color: #ffb4c8; font-weight: 700; margin: 0; }
.btn-submit { width: 100%; min-height: 3.1rem; font-size: 1.05rem; }
.success {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.btn-share { margin-top: 0.6rem; }

.charity-grid { display: grid; gap: 0.9rem; }
.charity {
  background: rgba(8, 2, 20, 0.35);
  border-radius: 1rem;
  padding: 0.95rem;
}

.footer {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 1.5rem auto 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  display: grid;
  gap: 0.7rem;
}
.cookie-notice {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.15rem;
  background: var(--card);
  border: 2px solid var(--pink);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.cookie-notice p { margin: 0; flex: 1 1 16rem; font-size: 0.88rem; color: var(--muted); }
.cookie-notice .btn-cookie-ok { flex: 0 0 auto; padding: 0.6rem 1.4rem; }
.cookie-notice[hidden] { display: none; }
.hidden { display: none; }
.link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--yellow);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.modal {
  width: min(40rem, calc(100% - 1.5rem));
  border: 2px solid var(--pink);
  border-radius: 1.1rem;
  background: #1a0b3d;
  color: var(--ink);
  padding: 1.1rem;
}
.modal::backdrop { background: rgba(8, 2, 18, 0.72); }
.modal ol { padding-left: 1.15rem; }
.modal li + li { margin-top: 0.45rem; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .nav { padding-inline: 1.4rem; }
  .brand { font-size: 0.82rem; }
  .cards, .grid-2, .split, .charity-grid { grid-template-columns: 1fr 1fr; }
  .btn-hero { bottom: 1.8rem; }
}

@media (max-width: 759px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .btn-hero { display: none; }
}

.geo-block {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
