:root {
  --red: #c8102e;
  --red-dark: #8b0b1f;
  --gold: #d4a017;
  --gold-light: #f5d76e;
  --cream: #fff8ef;
  --ink: #1a1210;
  --muted: #6b5344;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(26, 18, 16, 0.12);
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #ffe8c8 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffd0d8 0%, transparent 50%),
    var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--red-dark); }

.sky-strip {
  position: relative;
  height: 56px;
  overflow: hidden;
  background: linear-gradient(180deg, #e8f4ff, transparent);
}
.flying-plane {
  position: absolute;
  top: 4px;
  width: 120px;
  height: auto;
  border-radius: 12px;
  animation: fly 18s linear infinite;
  opacity: 0.95;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}
@keyframes fly {
  0% { left: -140px; transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(8px) rotate(2deg); }
  100% { left: calc(100% + 20px); transform: translateY(-4px) rotate(-1deg); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255,248,239,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,16,46,.12);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.crown { font-size: 1.2rem; }
.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--red); }

main { padding: 0 16px 64px; max-width: 1100px; margin: 0 auto; }

.hero {
  display: grid;
  gap: 28px;
  padding: 28px 0 12px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.year {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slogan {
  margin: 12px 0;
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-weight: 800;
  color: var(--red-dark);
}
.lede { color: var(--muted); max-width: 38rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.fine { font-size: 0.8rem; color: var(--muted); }
.hero-art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
}
.hero-art img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(200,16,46,.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(200,16,46,.35);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #1a1210;
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 2px solid rgba(26,18,16,.12);
}
.btn-xl { padding: 16px 22px; font-size: 1.05rem; width: min(100%, 420px); }

.panel {
  margin-top: 42px;
  padding: 28px 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(26,18,16,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}
.sub { margin: 0 0 18px; color: var(--muted); }

.vote-box {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.counter-wrap {
  background: linear-gradient(180deg, #fff, #fff4e8);
  border: 2px dashed rgba(200,16,46,.35);
  border-radius: 16px;
  padding: 16px 28px;
  min-width: min(100%, 280px);
}
.counter-label { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.counter {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--red);
}
.vote-msg { font-weight: 700; color: var(--red-dark); margin: 0; }

.platform-grid, .gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.card, .gallery-grid figure {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26,18,16,.06);
}
.card img, .gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.card h3 { margin: 12px 14px 4px; font-size: 1.1rem; }
.card p, .gallery-grid figcaption {
  margin: 0 14px 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.promise-box {
  background: linear-gradient(135deg, #fff7e8, #ffe8ee);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}
.promise-text {
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-weight: 800;
  color: var(--red-dark);
  min-height: 3.2em;
}

.quiz-box button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 8px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(26,18,16,.12);
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.quiz-box button:hover { border-color: var(--red); background: #fff5f6; }
.q-text { font-weight: 800; margin: 0 0 8px; }
.quiz-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #fff4e0;
  border: 2px solid var(--gold);
  font-weight: 700;
}

.carousel { position: relative; min-height: 140px; }
.endo {
  display: none;
  margin: 0;
  padding: 18px;
  background: #fff;
  border-left: 5px solid var(--red);
  border-radius: 12px;
}
.endo.active { display: block; animation: fade .4s ease; }
.endo p { margin: 0 0 10px; font-size: 1.1rem; font-style: italic; }
.endo cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform:none;} }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: #d8c4b5; cursor: pointer;
}
.carousel-dots button.active { background: var(--red); }

.complaint-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 12px;
}
.complaint-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid rgba(26,18,16,.15);
  padding: 12px;
  font: inherit;
  resize: vertical;
  background: #fff;
}
.complaint-reply {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #eef8ef;
  border: 1px solid #9ccc9c;
  font-weight: 600;
}

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

@media (min-width: 720px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding-top: 40px; }
  .platform-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 18px; }
}
@media (min-width: 980px) {
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-art img { max-height: 520px; }
}
