:root {
  --bg: #050816;
  --fg: #e5e7eb;
  --muted: #94a3b8;
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.5rem, 6vw, 3.5rem) clamp(3rem, 10vw, 5rem);
  background:
    radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.12), transparent 32%),
    var(--bg);
  color: var(--fg);
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

.shell {
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: center;
  text-align: center;
}

.copy {
  width: min(780px, 100%);
}

.card {
  width: min(960px, 100%);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}

.player-frame {
  width: 100%;
  min-height: clamp(360px, 55vh, 640px);
  border: 0;
  border-radius: 12px;
  background: #000;
}

.note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

h1 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
  margin-inline: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.2);
  background: #111827;
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.button.primary {
  background: linear-gradient(135deg, #60a5fa, #7c8df5);
  color: #f8fbff;
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(96, 165, 250, 0.3);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

.button.primary:hover {
  box-shadow: 0 18px 40px rgba(96, 165, 250, 0.35);
}

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Garland */
.garland {
  position: relative;
  width: 240px;
  height: 44px;
  margin: 0.5rem auto 0.75rem;
}

.garland-wire {
  position: absolute;
  inset: 0;
  height: 2px;
  border-radius: 999px;
  top: 18px;
  background: radial-gradient(circle at 0% 50%, rgba(148, 163, 184, 0) 0,
                                               rgba(148, 163, 184, 0.5) 35%,
                                               rgba(148, 163, 184, 0) 100%);
}

.garland-bulbs {
  position: absolute;
  top: 10px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.bulb {
  position: relative;
  width: 11px;
  height: 20px;
  border-radius: 55% 55% 70% 70%;
  box-shadow:
    0 0 8px rgba(248, 250, 252, 0.25),
    0 3px 6px rgba(15, 23, 42, 0.8);
  transform-origin: top center;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.bulb:nth-child(2),
.bulb:nth-child(4) {
  transform: rotateZ(-4deg);
}

.bulb:nth-child(1),
.bulb:nth-child(3),
.bulb:nth-child(5) {
  transform: rotateZ(4deg);
}

.bulb::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 4px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #e5e7eb 0%, #6b7280 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.8);
}

.bulb::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 6px;
  border-radius: inherit;
  background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.8) 0, rgba(255, 255, 255, 0) 40%);
  opacity: 0.6;
  pointer-events: none;
}

.bulb-red { background: linear-gradient(180deg, #fed7d7 0%, #e14d6a 100%); }
.bulb-gold { background: linear-gradient(180deg, #fef9c3 0%, #facc15 100%); }
.bulb-teal { background: linear-gradient(180deg, #a5f3fc 0%, #3abf7a 100%); }
.bulb-ice { background: linear-gradient(180deg, #e0f2fe 0%, #60a5fa 100%); }

@media (max-width: 520px) {
  body {
    padding: 2rem 1.25rem 2.75rem;
  }

  h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.4rem);
  }

  .shell {
    gap: 1rem;
  }

  .player-frame {
    min-height: 72vh;
    height: 78vh;
    max-height: 920px;
    border-radius: 12px;
    aspect-ratio: auto;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}
