:root {
  --ink: #fff8f5;
  --deep: #090407;
  --panel: rgba(20, 4, 8, 0.82);
  --line: rgba(255, 255, 255, 0.2);
  --red: #ff1744;
  --red-dark: #9c071a;
  --orange: #ff9d21;
  --white: #ffffff;
  --charcoal: #171018;
  --shadow: 0 24px 74px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(9, 4, 7, 0.1), rgba(9, 4, 7, 0.7)),
    url("assets/roblox-world-bg.png") center top / cover fixed,
    #090407;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea,
a {
  font: inherit;
}

.entry-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 236, 232, 0.76), rgba(58, 3, 10, 0.82)),
    url("assets/lucio-start.png") center top / cover,
    #22050a;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.entry-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-card {
  width: min(560px, 100%);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 241, 238, 0.78);
  backdrop-filter: blur(10px);
  text-align: center;
  color: #5d0610;
}

.entry-logo {
  width: min(340px, 78vw);
  height: auto;
  margin-bottom: clamp(28px, 8vh, 82px);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.22));
}

.entry-kicker {
  margin: 0;
  color: #9c071a;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.entry-card h1 {
  margin: 0;
  color: #6d0612;
  font-size: clamp(2.55rem, 9vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.entry-card p {
  margin: 0;
  color: #8a2730;
  font-size: clamp(1rem, 3.4vw, 1.3rem);
  font-weight: 800;
  text-transform: uppercase;
}

.entry-button {
  min-height: 54px;
  margin-top: 10px;
  padding: 0 34px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff1744, #ff9d21);
  box-shadow: 0 16px 32px rgba(156, 7, 26, 0.28);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding: clamp(32px, 6vw, 76px) clamp(18px, 5vw, 72px);
  isolation: isolate;
}

.hero-image,
.hero-shade,
.cube-field {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.06) contrast(1.03);
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(8, 2, 5, 0.78), rgba(15, 3, 7, 0.16) 48%, rgba(8, 2, 5, 0.44)),
    linear-gradient(0deg, rgba(8, 2, 5, 0.82), rgba(8, 2, 5, 0.06) 58%, rgba(8, 2, 5, 0.3));
}

.cube-field {
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.cube-field span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 23, 68, 0.32);
  box-shadow: 0 0 24px rgba(255, 23, 68, 0.68);
  animation: cubeFloat 8s ease-in-out infinite alternate;
}

.cube-field span:nth-child(1) {
  left: 8%;
  top: 18%;
}

.cube-field span:nth-child(2) {
  left: 22%;
  bottom: 24%;
  animation-delay: 1.1s;
}

.cube-field span:nth-child(3) {
  right: 12%;
  top: 20%;
  background: rgba(255, 157, 33, 0.3);
  animation-delay: 1.8s;
}

.cube-field span:nth-child(4) {
  right: 24%;
  bottom: 18%;
  animation-delay: 0.7s;
}

.cube-field span:nth-child(5) {
  left: 48%;
  top: 12%;
  animation-delay: 2.4s;
}

.cube-field span:nth-child(6) {
  right: 7%;
  bottom: 38%;
  background: rgba(255, 255, 255, 0.2);
  animation-delay: 3s;
}

@keyframes cubeFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.48;
  }

  to {
    transform: translate3d(16px, -24px, 0) rotate(12deg);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.venue-logo {
  width: min(380px, 78vw);
  height: auto;
  display: block;
  margin-bottom: 24px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.42));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.8rem, 17vw, 12rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-shadow:
    0 0 18px rgba(255, 23, 68, 0.7),
    8px 8px 0 rgba(0, 0, 0, 0.5);
}

.hero-age,
.hero-date {
  margin: 16px 0 0;
  font-weight: 900;
  text-wrap: balance;
}

.hero-age {
  color: #ffd2d9;
  font-size: clamp(1.28rem, 3.3vw, 2rem);
}

.hero-date {
  color: rgba(255, 248, 245, 0.92);
  font-size: clamp(1.08rem, 2.6vw, 1.5rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.primary-button,
.secondary-button {
  color: var(--deep);
  background: linear-gradient(135deg, #ffffff, var(--orange));
  box-shadow: 0 18px 40px rgba(255, 23, 68, 0.24);
}

.ghost-button {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.story-section,
.countdown-section,
.rsvp-section,
.site-footer {
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.story-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 520px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(20, 4, 8, 0.9), rgba(20, 4, 8, 0.56)),
    url("assets/lucio-start.png") center 34% / cover,
    #16070a;
  border-block: 1px solid var(--line);
  isolation: isolate;
}

.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 157, 33, 0.2), transparent 28%),
    linear-gradient(0deg, rgba(9, 4, 7, 0.82), rgba(9, 4, 7, 0.18));
}

.section-copy {
  max-width: 760px;
}

h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 0.98;
}

.section-copy p:not(.eyebrow),
.rsvp-copy p:not(.eyebrow) {
  color: rgba(255, 248, 245, 0.8);
  font-size: 1.07rem;
  line-height: 1.72;
}

.lucio-photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  box-shadow: var(--shadow);
}

.lucio-photo-card img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: center top;
}

.countdown-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 23, 68, 0.18), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(255, 157, 33, 0.14), transparent 25%),
    rgba(13, 5, 8, 0.88);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.time-box {
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 23, 68, 0.18), rgba(255, 157, 33, 0.12)),
    var(--panel);
  box-shadow: var(--shadow);
}

.time-box strong {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.8;
}

.time-box span,
.site-footer span {
  display: block;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
}

.detail-card {
  min-height: 260px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(160deg, rgba(255, 23, 68, 0.14), rgba(255, 157, 33, 0.1)),
    rgba(20, 6, 9, 0.9);
}

.detail-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--deep);
  background: linear-gradient(135deg, #ffffff, var(--orange));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.detail-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-card h3 {
  font-size: 2.1rem;
}

.detail-card p {
  color: rgba(255, 248, 245, 0.8);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.text-link {
  color: var(--orange);
  font-weight: 900;
  text-decoration: none;
}

.avatars-band {
  display: grid;
  grid-template-columns: minmax(190px, 360px) minmax(0, 1fr) minmax(160px, 300px);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(33, 7, 12, 0.9), rgba(68, 8, 17, 0.82)),
    url("assets/roblox-world-bg.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.avatars-band img {
  width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.32));
}

.avatars-band img:last-child {
  max-height: 430px;
}

.avatars-band h2 {
  text-align: center;
}

.avatars-band .eyebrow {
  text-align: center;
}

.rsvp-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 23, 68, 0.18), transparent 25%),
    radial-gradient(circle at 82% 12%, rgba(255, 157, 33, 0.14), transparent 24%),
    rgba(9, 4, 7, 0.92);
}

.rsvp-copy {
  max-width: 560px;
}

.rsvp-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 248, 245, 0.54);
}

input:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 157, 33, 0.12);
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 4px;
  font-weight: 900;
}

.radio-pill {
  display: inline-flex;
  min-width: 132px;
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill span {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 16px;
  text-align: center;
  color: rgba(255, 248, 245, 0.84);
  background: rgba(255, 255, 255, 0.08);
}

.radio-pill input:checked + span {
  color: var(--deep);
  background: var(--orange);
  border-color: transparent;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--orange);
  font-weight: 900;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  background: #050203;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer strong {
  font-size: 1.18rem;
}

@media (max-width: 860px) {
  .story-section,
  .rsvp-section {
    grid-template-columns: 1fr;
  }

  .details-grid,
  .avatars-band {
    grid-template-columns: 1fr;
  }

  .avatars-band img {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 92vh;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 320px);
  }

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

  .time-box {
    min-height: 112px;
  }

  .rsvp-form {
    padding: 18px;
  }
}
