:root {
  color-scheme: dark;
  --ink: #050711;
  --panel: rgba(6, 12, 32, 0.82);
  --line: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #c4d6ff;
  --blue: #00a3ff;
  --cyan: #35f6ff;
  --pink: #ff37d4;
  --gold: #ffd22e;
  --orange: #ff7a18;
  --red: #ff2e2e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 163, 255, 0.36), transparent 28rem),
    radial-gradient(circle at 85% 22%, rgba(255, 55, 212, 0.26), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(255, 122, 24, 0.2), transparent 34rem),
    var(--ink);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 26px clamp(18px, 4vw, 64px) 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}

.energy-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(53, 246, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 246, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  transform: perspective(700px) rotateX(58deg) translateY(13%);
  transform-origin: bottom;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: -2;
}

.hero::before {
  background:
    conic-gradient(from 120deg at 50% 50%, transparent, rgba(255, 210, 46, 0.42), transparent 18%),
    conic-gradient(from 250deg at 50% 50%, transparent, rgba(0, 163, 255, 0.4), transparent 16%),
    conic-gradient(from 20deg at 50% 50%, transparent, rgba(255, 55, 212, 0.36), transparent 14%);
  animation: spin 22s linear infinite;
}

.hero::after {
  background-image:
    radial-gradient(circle, rgba(255, 210, 46, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(53, 246, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 55, 212, 0.8) 0 1px, transparent 2px);
  background-size: 160px 190px, 210px 150px, 130px 170px;
  opacity: 0.42;
}

.burst {
  position: absolute;
  width: 240px;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.62;
  z-index: -1;
}

.burst-one {
  left: -70px;
  top: 18%;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.85), transparent 66%);
}

.burst-two {
  right: -90px;
  bottom: 18%;
  background: radial-gradient(circle, rgba(255, 55, 212, 0.72), transparent 64%);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.neon-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 2px solid currentColor;
  background: rgba(1, 6, 20, 0.78);
  border-radius: 8px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.75rem);
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 0 18px currentColor, inset 0 0 14px rgba(255, 255, 255, 0.14);
}

.cyan {
  color: var(--cyan);
}

.gold {
  color: var(--gold);
}

.pink {
  color: var(--pink);
}

.hero-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.72fr);
  align-items: center;
  gap: clamp(22px, 5vw, 64px);
}

.hero-copy {
  min-width: 0;
}

.kicker,
.section-heading p {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(4rem, 12vw, 10.5rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    5px 5px 0 #000,
    0 0 22px rgba(53, 246, 255, 0.65);
}

h1 span {
  display: block;
  color: #ffffff;
  -webkit-text-stroke: 2px #02030b;
}

h1 strong {
  display: inline-block;
  padding: 0 0.08em;
  color: var(--gold);
  background: linear-gradient(180deg, #fff06b 10%, var(--gold) 38%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
  width: min(620px, 100%);
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(1.3rem, 3vw, 2.3rem);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(0, 163, 255, 0.8);
}

.hero-actions,
.rsvp-section {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.primary-cta,
.secondary-cta,
.whatsapp-cta,
.youtube-cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 26px rgba(255, 210, 46, 0.34);
}

.primary-cta,
.whatsapp-cta {
  color: #080a12;
  background: linear-gradient(180deg, #fff36b, var(--gold) 48%, var(--orange));
  border: 2px solid #fff8a6;
}

.youtube-cta {
  color: var(--text);
  background: linear-gradient(180deg, #ff3838, #d40000);
  border: 2px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 0 24px rgba(255, 46, 46, 0.36);
}

.secondary-cta {
  border: 2px solid var(--cyan);
  background: rgba(0, 163, 255, 0.12);
  color: var(--text);
  box-shadow: 0 0 22px rgba(53, 246, 255, 0.25);
}

.poster-frame {
  position: relative;
  width: min(420px, 100%);
  justify-self: center;
  border-radius: 8px;
  padding: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--pink), var(--gold));
  box-shadow:
    0 0 32px rgba(53, 246, 255, 0.42),
    0 0 60px rgba(255, 55, 212, 0.28);
  transform: rotate(1.5deg);
}

.poster-frame img {
  display: block;
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.quick-info {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 0.58fr 1.35fr;
  gap: 12px;
}

.quick-info .info-card,
.program-grid article,
.countdown div,
.rsvp-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 19, 45, 0.92), rgba(5, 8, 20, 0.88));
  box-shadow: inset 0 0 24px rgba(53, 246, 255, 0.08), 0 0 22px rgba(0, 0, 0, 0.28);
}

.quick-info .info-card {
  min-height: 112px;
  padding: 18px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-content: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.quick-info .info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 246, 255, 0.8);
  box-shadow: inset 0 0 24px rgba(53, 246, 255, 0.14), 0 0 24px rgba(53, 246, 255, 0.22);
}

.info-icon {
  grid-row: span 2;
  font-size: 2rem;
}

.quick-info p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-info strong {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.2;
}

.countdown-section,
.program-section,
.universes,
.rsvp-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 82px) 0;
}

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

h2 {
  margin-bottom: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #000, 0 0 16px rgba(255, 210, 46, 0.45);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown div {
  min-height: 130px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 16px;
}

.countdown strong {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  color: var(--gold);
}

.countdown span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

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

.program-grid article {
  min-height: 210px;
  border-radius: 8px;
  padding: 22px;
}

.program-grid span {
  font-size: 2.5rem;
}

h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.program-grid p,
.rsvp-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.deadline-note {
  margin-bottom: 0;
  color: var(--gold) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-logo {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
    rgba(1, 6, 18, 0.82);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(53, 246, 255, 0.14);
}

.brand-logo img {
  width: 38px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(53, 246, 255, 0.45));
}

.brand-logo img[src*="Minecraft"] {
  width: 118px;
  height: 32px;
}

.brand-logo img[src*="Minecraft"] + strong {
  display: none;
}

.brand-logo strong {
  font: inherit;
}

.xbox-logo {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent),
    linear-gradient(180deg, rgba(16, 124, 16, 0.92), rgba(3, 36, 13, 0.88));
}

.rsvp-section {
  margin-bottom: 44px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  justify-content: space-between;
}

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

.rsvp-copy h2 {
  font-size: clamp(2rem, 5vw, 4.6rem);
  margin-bottom: 14px;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.site-footer strong {
  color: var(--text);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  text-shadow: 0 0 16px rgba(53, 246, 255, 0.48);
}

.site-footer a {
  color: var(--gold);
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

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

  .poster-frame {
    width: min(360px, 86vw);
    order: -1;
  }

  .quick-info,
  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-info .info-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .topbar {
    justify-content: center;
  }

  .neon-pill {
    min-height: 38px;
    padding: 8px 12px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.8rem);
  }

  .hero-copy,
  .section-heading {
    text-align: center;
  }

  .hero-actions,
  .rsvp-section {
    justify-content: center;
  }

  .primary-cta,
  .secondary-cta,
  .whatsapp-cta,
  .youtube-cta {
    width: 100%;
  }

  .quick-info,
  .program-grid,
  .countdown {
    grid-template-columns: 1fr;
  }

  .countdown div {
    min-height: 100px;
  }

  .brand-logo {
    flex: 1 1 calc(50% - 12px);
  }
}
