:root {
  --bg: #05070f;
  --bg-2: #0d1226;
  --text: #f2f5ff;
  --muted: #b8c2e3;
  --accent-1: #00d0ff;
  --accent-2: #ffb300;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(5, 7, 15, 0.5) 0%, rgba(5, 7, 15, 0.9) 62%, rgba(13, 18, 38, 1) 100%),
    radial-gradient(circle at 15% 10%, rgba(0, 208, 255, 0.15), transparent 35%),
    radial-gradient(circle at 90% 40%, rgba(255, 179, 0, 0.12), transparent 35%),
    url("./assets/the_ultimate_race-experience_bij_racesquare-1918x1079.jpg") top center / auto 600px no-repeat,
    linear-gradient(160deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: "Outfit", sans-serif;
}

.page {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.headline {
  margin: 1rem 0 1.35rem;
  font-family: "Bungee", sans-serif;
  font-size: clamp(2rem, 7vw, 4.3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 208, 255, 0.45);
}

.headline2 {
  margin: 0;
  font-family: "Bungee", sans-serif;
  font-size: clamp(1rem, 7vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 208, 255, 0.45);
}

.intro {
  margin: 1rem auto 0;
  max-width: 760px;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  color: #eef3ff;
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(3, 6, 14, 0.62);
  backdrop-filter: blur(4px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.intro-greeting {
  white-space: nowrap;
  display: inline-block;
}

.intro-name {
  font-size: 1.24em;
  font-weight: 800;
  color: #ffffff;
}

.intro-second-line {
  display: inline-block;
  margin-top: 0.15rem;
}

.scene-section,
.planning-section,
.rsvp-section {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--glass);
  backdrop-filter: blur(5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  padding: 1.2rem;
  margin-top: 1rem;
}

.canvas-wrap {
  width: 100%;
  height: clamp(180px, 36vw, 290px);
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.body-text,
.closing,
.planning-list {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.planning-section h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #ffffff;
}

.planning-list {
  padding-left: 1.2rem;
}

.actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.rsvp-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
  text-shadow: 0 0 10px rgba(0, 208, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 18px rgba(0, 208, 255, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.rsvp-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 24px rgba(0, 208, 255, 0.45),
    0 10px 24px rgba(0, 0, 0, 0.42);
}

.rsvp-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.rsvp-btn.yes {
  background: linear-gradient(135deg, rgba(0, 240, 168, 0.92), rgba(65, 244, 255, 0.92));
}

.rsvp-btn.no {
  background: linear-gradient(135deg, rgba(255, 154, 61, 0.92), rgba(255, 210, 87, 0.92));
}

.status {
  min-height: 1.2em;
  margin-top: 0.9rem;
  color: #d3ddff;
}

.reset-choice {
  margin-top: 0.25rem;
  border: 0;
  background: transparent;
  color: #8ee8ff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(142, 232, 255, 0.55);
  text-underline-offset: 0.18em;
  text-shadow: 0 0 8px rgba(0, 208, 255, 0.3);
}

.reset-choice:hover {
  color: #b9f3ff;
}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(to bottom, rgba(5, 7, 15, 0.5) 0%, rgba(5, 7, 15, 0.9) 62%, rgba(13, 18, 38, 1) 100%),
      radial-gradient(circle at 15% 10%, rgba(0, 208, 255, 0.15), transparent 35%),
      radial-gradient(circle at 90% 40%, rgba(255, 179, 0, 0.12), transparent 35%),
      url("./assets/the_ultimate_race-experience_bij_racesquare-1918x1079.jpg") top center / auto 380px no-repeat,
      linear-gradient(160deg, var(--bg), var(--bg-2));
  }

  .page {
    width: min(980px, 95vw);
    padding-top: 2rem;
  }

  .scene-section,
  .planning-section,
  .rsvp-section {
    padding: 1rem;
  }

  .intro {
    padding: 0.5rem 0.75rem;
  }
}
