:root {
  --bg: #050009;
  --panel: rgba(16, 0, 30, 0.72);
  --panel-strong: rgba(24, 0, 44, 0.9);
  --pink: #ff40f2;
  --purple: #7a18ff;
  --cyan: #15efff;
  --text: #ffffff;
  --muted: #d9c7ff;
  --shadow-pink: rgba(255, 64, 242, 0.45);
  --shadow-cyan: rgba(21, 239, 255, 0.42);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(38, 246, 255, 0.22), transparent 36rem),
    radial-gradient(circle at 10% 25%, rgba(255, 64, 242, 0.24), transparent 22rem),
    radial-gradient(circle at 90% 70%, rgba(122, 24, 255, 0.27), transparent 24rem),
    linear-gradient(180deg, #050009 0%, #100019 48%, #030006 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 84%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 30px;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  gap: 20px;
  padding: clamp(20px, 5vw, 54px);
  border: 1px solid rgba(21, 239, 255, 0.35);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 64, 242, 0.12), rgba(21, 239, 255, 0.1)),
    rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 46px rgba(21, 239, 255, 0.18), inset 0 0 60px rgba(255, 64, 242, 0.08);
  overflow: hidden;
}

.logo {
  position: relative;
  z-index: 2;
  width: min(740px, 94%);
  height: auto;
  filter: drop-shadow(0 0 22px var(--shadow-pink)) drop-shadow(0 0 28px var(--shadow-cyan));
}

.live-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(255, 64, 242, 0.25);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3b6b;
  box-shadow: 0 0 0 rgba(255, 59, 107, 0.7);
  animation: pulse 1.4s infinite;
}

.video-frame {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  overflow: hidden;
  border: 2px solid rgba(21, 239, 255, 0.72);
  border-radius: 24px;
  background: #000;
  box-shadow:
    0 0 26px rgba(21, 239, 255, 0.36),
    0 0 58px rgba(255, 64, 242, 0.22),
    inset 0 0 34px rgba(122, 24, 255, 0.28);
}

.video-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.countdown-flyer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: opacity 320ms ease, visibility 320ms ease;
  z-index: 3;
}

.video-frame.countdown-mode video {
  opacity: 0;
}

.video-frame.live-mode .countdown-flyer {
  opacity: 0;
  visibility: hidden;
}

.video-frame.live-mode video {
  opacity: 1;
}

.video-frame.countdown-mode::after {
  content: "countdown mode";
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  padding: 8px 11px;
  border: 1px solid rgba(21, 239, 255, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 64, 242, 0.5);
  backdrop-filter: blur(10px);
}

.video-frame.live-mode::after {
  content: "live signal";
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  padding: 8px 11px;
  border: 1px solid rgba(255, 64, 242, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(21, 239, 255, 0.5);
  backdrop-filter: blur(10px);
}


.event-countdown {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin-top: 2px;
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
  border: 1px solid rgba(21, 239, 255, 0.36);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(21, 239, 255, 0.1), rgba(255, 64, 242, 0.11)),
    rgba(5, 0, 12, 0.76);
  box-shadow:
    0 0 30px rgba(21, 239, 255, 0.16),
    0 0 34px rgba(255, 64, 242, 0.12),
    inset 0 0 34px rgba(122, 24, 255, 0.1);
  backdrop-filter: blur(16px);
}

.countdown-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.event-countdown h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.18rem, 3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-shadow: 0 0 18px rgba(21, 239, 255, 0.42), 0 0 22px rgba(255, 64, 242, 0.24);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin: 20px auto 0;
}

.countdown-unit {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 64, 242, 0.16), rgba(21, 239, 255, 0.12)),
    rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 22px rgba(21, 239, 255, 0.06), 0 0 20px rgba(122, 24, 255, 0.12);
}

.countdown-unit span {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.65rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-shadow: 0 0 16px rgba(255, 64, 242, 0.42), 0 0 18px rgba(21, 239, 255, 0.32);
}

.countdown-unit small {
  margin-top: 8px;
  color: rgba(255,255,255,0.68);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.countdown-note {
  width: min(620px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-panel {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin-top: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 64, 242, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(21, 239, 255, 0.08), rgba(255, 64, 242, 0.1)),
    rgba(5, 0, 12, 0.74);
  box-shadow:
    0 0 26px rgba(255, 64, 242, 0.18),
    inset 0 0 34px rgba(21, 239, 255, 0.06);
  backdrop-filter: blur(16px);
}

.chat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(21, 239, 255, 0.08), transparent),
    radial-gradient(circle at 15% 0%, rgba(255, 64, 242, 0.18), transparent 16rem);
}

.chat-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-kicker {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.chat-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 0 14px rgba(255, 64, 242, 0.42);
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(21, 239, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255,255,255,0.76);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(21, 239, 255, 0.8);
}

.chat-feed {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 245px;
  padding: 16px 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 239, 255, 0.5) rgba(255,255,255,0.08);
}

.chat-system {
  align-self: center;
  max-width: 92%;
  padding: 10px 14px;
  border: 1px solid rgba(21, 239, 255, 0.22);
  border-radius: 999px;
  background: rgba(21, 239, 255, 0.08);
  color: rgba(255,255,255,0.76);
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: center;
}

.chat-bubble {
  width: fit-content;
  max-width: min(76%, 560px);
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.075);
  box-shadow: 0 0 20px rgba(122, 24, 255, 0.08);
}

.chat-bubble.mine {
  align-self: flex-end;
  border-color: rgba(21, 239, 255, 0.28);
  background: linear-gradient(135deg, rgba(21, 239, 255, 0.14), rgba(122, 24, 255, 0.14));
}

.chat-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.chat-author {
  color: #fff;
  font-weight: 950;
  font-size: 0.86rem;
}

.chat-time {
  color: rgba(255,255,255,0.42);
  font-size: 0.72rem;
  font-weight: 700;
}

.chat-text {
  color: rgba(255,255,255,0.86);
  font-size: 0.96rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.chat-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, 150px) 1fr auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.22);
}

.chat-form input {
  min-height: 46px;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(0,0,0,0.34);
  color: #fff;
  outline: none;
  padding: 0 15px;
  font: inherit;
  font-weight: 800;
}

.chat-form input::placeholder {
  color: rgba(255,255,255,0.38);
}

.chat-form input:focus {
  border-color: rgba(21, 239, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(21, 239, 255, 0.1);
}

.chat-send {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  box-shadow: 0 0 22px rgba(255, 64, 242, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chat-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(21, 239, 255, 0.34), 0 0 32px rgba(255, 64, 242, 0.26);
}

.chat-send:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}


.email-card {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: 2px auto 0;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(21, 239, 255, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(21, 239, 255, 0.09), rgba(255, 64, 242, 0.11)),
    rgba(5, 0, 12, 0.74);
  box-shadow:
    0 0 26px rgba(21, 239, 255, 0.16),
    0 0 30px rgba(255, 64, 242, 0.14),
    inset 0 0 34px rgba(21, 239, 255, 0.06);
  text-align: center;
  backdrop-filter: blur(16px);
}

.email-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(21, 239, 255, 0.08), transparent),
    radial-gradient(circle at 50% 0%, rgba(255, 64, 242, 0.18), transparent 18rem);
}

.email-kicker {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.email-card h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: 0 0 18px var(--shadow-pink), 0 0 24px rgba(21, 239, 255, 0.24);
}

.email-card p:not(.email-kicker) {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  line-height: 1.6;
}

.email-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(620px, 100%);
  margin: 22px auto 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(0,0,0,0.24);
  box-shadow: inset 0 0 22px rgba(21, 239, 255, 0.05);
}

.email-input {
  min-height: 48px;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(0,0,0,0.34);
  color: #fff;
  outline: none;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.email-input::placeholder {
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.email-input:focus {
  border-color: rgba(21, 239, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(21, 239, 255, 0.1), 0 0 18px rgba(21, 239, 255, 0.18);
}

.email-submit {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  box-shadow: 0 0 22px rgba(255, 64, 242, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.email-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(21, 239, 255, 0.34), 0 0 32px rgba(255, 64, 242, 0.26);
}

.hidden {
  display: none !important;
}

.copy-card,
.location-card,
.social-card {
  width: min(840px, 100%);
  margin: 28px auto 0;
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
  border-radius: 28px;
  backdrop-filter: blur(18px);
}

.copy-card {
  border: 1px solid rgba(255, 64, 242, 0.32);
  background: var(--panel);
  box-shadow: 0 0 42px rgba(122, 24, 255, 0.18);
}

.location-card {
  position: relative;
  width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
  border: 2px solid rgba(21, 239, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(21, 239, 255, 0.12), rgba(255, 64, 242, 0.1)),
    rgba(8, 0, 20, 0.78);
  box-shadow:
    0 0 40px rgba(21, 239, 255, 0.18),
    0 0 52px rgba(255, 64, 242, 0.12),
    inset 0 0 34px rgba(21, 239, 255, 0.05);
}

.location-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  pointer-events: none;
}

.location-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.location-card h2 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 0 18px var(--shadow-pink), 0 0 24px rgba(21, 239, 255, 0.28);
}

.coordinate-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0;
  padding: 8px 14px;
  border: 1px solid rgba(21, 239, 255, 0.38);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(21, 239, 255, 0.42);
}

.location-copy {
  width: min(760px, 100%);
  margin: 20px auto 24px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.7;
}

.location-copy strong {
  color: #fff;
  text-shadow: 0 0 14px rgba(21, 239, 255, 0.44);
}

.jump-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid rgba(21, 239, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
  box-shadow: 0 0 28px rgba(21, 239, 255, 0.28), 0 0 34px rgba(255, 64, 242, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.jump-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 36px rgba(21, 239, 255, 0.42), 0 0 42px rgba(255, 64, 242, 0.3);
}

.social-card {
  border: 1px solid rgba(21, 239, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(21, 239, 255, 0.08), rgba(255, 64, 242, 0.08)),
    rgba(10, 0, 22, 0.72);
  box-shadow: 0 0 38px rgba(21, 239, 255, 0.12), 0 0 42px rgba(255, 64, 242, 0.1);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
.social-card h2 {
  margin: 0;
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 0 18px var(--shadow-pink), 0 0 24px rgba(21, 239, 255, 0.24);
}

h1 {
  font-size: clamp(2.1rem, 7vw, 5rem);
  line-height: 0.95;
}

.social-card h2 {
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
}

.copy-card p:not(.eyebrow):not(.schedule) {
  width: min(690px, 100%);
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.65;
}

.artist-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 22px auto 0;
}

.artist-button,
.social-button,
.jump-button,
.merch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.artist-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(21, 239, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(122, 24, 255, 0.72), rgba(255, 64, 242, 0.65), rgba(21, 239, 255, 0.38));
  box-shadow: 0 0 24px rgba(21, 239, 255, 0.18), 0 0 28px rgba(255, 64, 242, 0.18);
  letter-spacing: 0.03em;
}

.artist-button:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 239, 255, 0.85);
  box-shadow: 0 0 28px rgba(21, 239, 255, 0.34), 0 0 38px rgba(255, 64, 242, 0.28);
}

.schedule {
  margin: 18px auto 24px;
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 900;
  text-shadow: 0 0 18px rgba(21, 239, 255, 0.42);
}

.merch-button {
  position: relative;
  z-index: 2;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  box-shadow: 0 0 28px rgba(255, 64, 242, 0.36);
}

.merch-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(21, 239, 255, 0.46), 0 0 40px rgba(255, 64, 242, 0.32);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin: 24px auto 0;
}

.social-button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 64, 242, 0.18), rgba(21, 239, 255, 0.11)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 18px rgba(21, 239, 255, 0.05), 0 0 18px rgba(122, 24, 255, 0.12);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.social-button:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 239, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 64, 242, 0.26), rgba(21, 239, 255, 0.18)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 26px rgba(21, 239, 255, 0.24), 0 0 30px rgba(255, 64, 242, 0.16);
}

.footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 16px;
  color: rgba(255,255,255,0.55);
  font-weight: 800;
  text-align: center;
}

.footnote {
  margin: 2px 0 0;
  color: rgba(255,255,255,0.52);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.neon-orb {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.5;
  pointer-events: none;
}

.orb-one {
  top: -7rem;
  left: -6rem;
  background: var(--pink);
}

.orb-two {
  right: -8rem;
  bottom: -8rem;
  background: var(--cyan);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 107, 0.75); }
  70% { box-shadow: 0 0 0 12px rgba(255, 59, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 107, 0); }
}

@media (max-width: 680px) {

  .flag-icon {
    width: 50px;
    height: 50px;
    font-size: 1.65rem;
  }

  .privacy-popover {
    width: min(92vw, 520px);
    bottom: calc(100% + 12px);
    padding: 16px;
    border-radius: 18px;
  }

  .privacy-popover p:not(.privacy-title) {
    font-size: 0.86rem;
  }
  .video-frame.countdown-mode::after,
  .video-frame.live-mode::after {
    right: 10px;
    bottom: 10px;
    font-size: 0.62rem;
    padding: 7px 9px;
  }

  .page-shell {
    width: min(100% - 18px, 1120px);
    padding-top: 14px;
  }

  .hero,
  .copy-card,
  .social-card {
    border-radius: 22px;
  }

  .live-badge {
    font-size: 0.74rem;
  }

  .chat-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-feed {
    height: 300px;
    padding: 14px;
  }

  .chat-bubble {
    max-width: 92%;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-send,
  .social-links {
    width: 100%;
  }

  .social-links {
    grid-template-columns: 1fr;
  }



  .email-card {
    width: min(920px, 100%);
    padding: clamp(22px, 5vw, 30px);
    border-radius: 22px;
  }

  .email-form {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .email-submit {
    width: 100%;
  }

  .location-card {
    width: min(920px, 100%);
    margin: 28px auto 0;
    padding: clamp(22px, 4vw, 34px);
    border: 2px solid rgba(21, 239, 255, 0.42);
    border-radius: 28px;
    text-align: center;
  }

  .location-card::before {
    inset: 12px;
    border-radius: 22px;
  }

  .location-inner {
    display: grid;
    justify-items: center;
  }

  .location-card h2,
  .coordinate-pill,
  .location-copy,
  .jump-button {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .location-copy {
    width: min(760px, 100%);
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    line-height: 1.7;
  }

  .jump-button {
    width: auto;
    min-width: 160px;
  }
}

.chat-note {
  position: relative;
  margin: 0;
  padding: 0 16px 14px;
  color: rgba(255,255,255,0.48);
  font-size: 0.78rem;
  font-weight: 750;
  text-align: center;
}

.chat-status.live .chat-dot {
  background: #15efff;
  box-shadow: 0 0 12px rgba(21, 239, 255, 0.9);
}

.chat-status.preview .chat-dot,
.chat-status.error .chat-dot {
  background: #ff40f2;
  box-shadow: 0 0 12px rgba(255, 64, 242, 0.75);
}


/* Mobile app browser + desktop parity pass */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img,
video {
  max-width: 100%;
}

a,
button,
input {
  -webkit-tap-highlight-color: rgba(21, 239, 255, 0.18);
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100vw - 32px));
  max-width: 1120px;
}

.hero,
.copy-card,
.location-card,
.social-card {
  width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.event-countdown,
.chat-panel,
.email-card,
.video-frame {
  width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.logo {
  width: min(740px, 94%);
}

.video-frame {
  aspect-ratio: 16 / 9;
}

.video-frame::before {
  display: none;
}

video {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
}

.chat-form,
.email-form {
  align-items: center;
}

.chat-form input,
.email-input {
  font-size: 16px;
}

.artist-button,
.social-button,
.jump-button,
.wearable-button,
.merch-button,
.chat-send,
.email-submit {
  min-height: 48px;
  touch-action: manipulation;
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100vw - 18px, 1120px);
    padding: 14px 0 calc(22px + env(safe-area-inset-bottom));
  }

  .hero {
    padding: clamp(16px, 4vw, 24px);
    gap: 16px;
  }

  .hero,
  .event-countdown,
  .chat-panel,
  .email-card,
  .copy-card,
  .location-card,
  .social-card {
    border-radius: 22px;
  }

  .logo {
    width: min(620px, 96%);
  }

  .video-frame {
    border-radius: 20px;
  }

  .event-countdown,
  .chat-panel,
  .email-card,
  .copy-card,
  .location-card,
  .social-card {
    width: 100%;
  }

  .event-countdown,
  .email-card,
  .copy-card,
  .location-card,
  .social-card {
    padding: clamp(18px, 5vw, 28px);
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .countdown-unit {
    min-height: 78px;
    padding: 10px 6px;
    border-radius: 16px;
  }

  .countdown-unit span {
    font-size: clamp(1.45rem, 9vw, 2.45rem);
  }

  .countdown-unit small {
    font-size: clamp(0.52rem, 2.2vw, 0.68rem);
    letter-spacing: 0.08em;
  }

  .chat-header {
    flex-direction: row;
    align-items: center;
    padding: 16px 14px 12px;
  }

  .chat-status {
    padding: 7px 9px;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }

  .chat-feed {
    height: 245px;
    padding: 14px;
  }

  .chat-bubble {
    max-width: 92%;
  }

  .chat-form {
    grid-template-columns: minmax(76px, 0.65fr) minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }

  .chat-form input {
    min-height: 46px;
    padding: 0 11px;
  }

  .chat-send {
    width: auto;
    min-width: 64px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .email-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    border-radius: 999px;
    padding: 10px;
  }

  .email-submit {
    width: auto;
    min-width: 92px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .artist-links {
    gap: 10px;
  }

  .artist-button,
  .social-button {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .social-button {
    width: 100%;
    padding: 0 10px;
    font-size: clamp(0.76rem, 3vw, 0.92rem);
  }

  .location-card {
    border-width: 2px;
    text-align: center;
  }

  .location-card::before {
    inset: 10px;
    border-radius: 18px;
  }

  .location-copy {
    width: min(760px, 100%);
    font-size: clamp(0.98rem, 3.5vw, 1.1rem);
    line-height: 1.65;
  }

  .jump-button {
    width: auto;
    min-width: 160px;
  }

  .footnote {
    max-width: 96%;
    font-size: clamp(0.68rem, 2.8vw, 0.82rem);
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .page-shell {
    width: min(100vw - 14px, 1120px);
  }

  .hero {
    padding: 14px 10px;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-send {
    width: 100%;
  }

  .email-form {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .email-submit {
    width: 100%;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}


.privacy-widget {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  z-index: 10;
}

.flag-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(21, 239, 255, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 64, 242, 0.16), rgba(21, 239, 255, 0.13)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 24px rgba(21, 239, 255, 0.18), 0 0 26px rgba(255, 64, 242, 0.14);
  cursor: pointer;
  font-size: 1.85rem;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.flag-icon:hover,
.flag-icon:focus-visible {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(21, 239, 255, 0.82);
  box-shadow: 0 0 30px rgba(21, 239, 255, 0.34), 0 0 36px rgba(255, 64, 242, 0.24);
  outline: none;
}

.privacy-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: min(560px, calc(100vw - 32px));
  max-height: min(68vh, 430px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid rgba(21, 239, 255, 0.38);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(21, 239, 255, 0.12), rgba(255, 64, 242, 0.12)),
    rgba(7, 0, 18, 0.96);
  box-shadow: 0 0 38px rgba(21, 239, 255, 0.24), 0 0 44px rgba(255, 64, 242, 0.18);
  color: rgba(255,255,255,0.84);
  text-align: left;
  transform: translate(-50%, 10px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  backdrop-filter: blur(18px);
}

.privacy-widget:hover .privacy-popover,
.privacy-widget:focus-within .privacy-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.privacy-popover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: rgba(7, 0, 18, 0.96);
  border-right: 1px solid rgba(21, 239, 255, 0.38);
  border-bottom: 1px solid rgba(21, 239, 255, 0.38);
  transform: translateX(-50%) rotate(45deg);
}

.privacy-title {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.privacy-popover p:not(.privacy-title) {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Final Follow the Sound heading treatment. */
.copy-card h1 {
  white-space: nowrap;
  font-size: clamp(2rem, 7vw, 4.8rem);
  letter-spacing: -0.065em;
  transform: none;
}

@media (max-width: 680px) {
  .copy-card h1 {
    font-size: clamp(1.8rem, 10vw, 3rem);
    letter-spacing: -0.07em;
    transform: none;
  }
}

/* LIVE NOW countdown state: hold for 3 hours after the timer reaches zero. */
.countdown-live-marquee {
  display: none;
  width: min(720px, 100%);
  margin: 20px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 64, 242, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(122, 24, 255, 0.32), rgba(255, 64, 242, 0.22), rgba(21, 239, 255, 0.24)),
    rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 28px rgba(255, 64, 242, 0.26), inset 0 0 22px rgba(21, 239, 255, 0.08);
  white-space: nowrap;
}

.countdown-live-marquee span {
  display: inline-block;
  padding: 14px 0;
  color: #fff;
  font-size: clamp(1rem, 3vw, 1.45rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 64, 242, 0.55), 0 0 22px rgba(21, 239, 255, 0.38);
  animation: afterHoursMarquee 11s linear infinite;
}

.event-countdown.live-now .countdown-grid,
.event-countdown.live-now .countdown-note {
  display: none;
}

.event-countdown.live-now .countdown-live-marquee {
  display: block;
}

.event-countdown.live-now .countdown-kicker {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 64, 242, 0.55), 0 0 20px rgba(21, 239, 255, 0.35);
}

.event-countdown.live-now h2 {
  color: var(--cyan);
}

@keyframes afterHoursMarquee {
  0% { transform: translateX(105%); }
  100% { transform: translateX(-105%); }
}

@media (max-width: 680px) {
  .countdown-live-marquee {
    border-radius: 18px;
  }

  .countdown-live-marquee span {
    padding: 13px 0;
    font-size: clamp(0.86rem, 3.6vw, 1.05rem);
    letter-spacing: 0.1em;
    animation-duration: 9s;
  }
}

/* Even spacing pass: balanced window gaps across desktop, mobile, X, and Instagram in-app browsers. */
:root {
  --afterhours-section-gap: clamp(28px, 4vw, 44px);
  --afterhours-inner-gap: clamp(20px, 3vw, 30px);
}

.page-shell {
  display: grid;
  justify-items: center;
  gap: var(--afterhours-section-gap);
}

.page-shell > .hero,
.page-shell > .location-card,
.page-shell > .copy-card,
.page-shell > .email-card,
.page-shell > .social-card,
.page-shell > .footer {
  margin-top: 0;
  margin-bottom: 0;
}

.hero {
  width: min(920px, 100%);
  gap: var(--afterhours-inner-gap);
}

.hero > .logo,
.hero > .live-badge,
.hero > .video-frame,
.hero > .event-countdown,
.hero > .chat-panel {
  margin-top: 0;
  margin-bottom: 0;
}

.video-frame,
.event-countdown,
.chat-panel,
.location-card,
.copy-card,
.email-card,
.social-card {
  margin-left: auto;
  margin-right: auto;
}

.footer {
  margin-top: 0;
}

@media (max-width: 680px) {
  :root {
    --afterhours-section-gap: clamp(20px, 6vw, 30px);
    --afterhours-inner-gap: clamp(16px, 5vw, 24px);
  }

  .page-shell {
    gap: var(--afterhours-section-gap);
  }

  .hero {
    gap: var(--afterhours-inner-gap);
  }
}

/* Email subscription thank-you pop-up */
.email-form-status {
  min-height: 1.2em;
  margin-top: 12px !important;
  color: var(--cyan) !important;
  font-size: 0.86rem !important;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.email-thanks-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.email-thanks-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 0, 10, 0.72);
  backdrop-filter: blur(12px);
}

.email-thanks-window {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(24px, 5vw, 38px);
  text-align: center;
  border: 1px solid rgba(21, 239, 255, 0.42);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(21, 239, 255, 0.14), rgba(255, 64, 242, 0.13)),
    rgba(5, 0, 12, 0.92);
  box-shadow:
    0 0 42px rgba(21, 239, 255, 0.22),
    0 0 52px rgba(255, 64, 242, 0.18),
    inset 0 0 34px rgba(122, 24, 255, 0.12);
  transform: translateY(10px) scale(0.97);
  transition: transform 220ms ease;
  overflow: hidden;
}

.email-thanks-modal.is-open .email-thanks-window {
  transform: translateY(0) scale(1);
}

.email-thanks-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(21, 239, 255, 0.1), transparent),
    radial-gradient(circle at 50% 0%, rgba(255, 64, 242, 0.26), transparent 18rem);
}

.email-thanks-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.email-thanks-close:hover,
.email-thanks-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(21, 239, 255, 0.62);
  box-shadow: 0 0 22px rgba(21, 239, 255, 0.22);
}

.email-thanks-kicker,
.email-thanks-window h2,
.email-thanks-window p,
.email-thanks-button {
  position: relative;
  z-index: 2;
}

.email-thanks-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.email-thanks-window h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 0 18px var(--shadow-pink), 0 0 24px rgba(21, 239, 255, 0.26);
}

.email-thanks-window p:not(.email-thanks-kicker) {
  width: min(420px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-height: 1.65;
}

.email-thanks-button {
  min-height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  box-shadow: 0 0 24px rgba(255, 64, 242, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.email-thanks-button:hover,
.email-thanks-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(21, 239, 255, 0.34), 0 0 32px rgba(255, 64, 242, 0.26);
}

.email-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

body.email-modal-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .email-thanks-window {
    border-radius: 24px;
    padding: 28px 18px 24px;
  }

  .email-thanks-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .email-thanks-button {
    width: 100%;
  }
}

/* Decentraland wearable marketplace buttons under Jump In. */
.wearable-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: min(620px, 100%);
  margin: 18px auto 0;
}

.wearable-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 64, 242, 0.45);
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(122, 24, 255, 0.68), rgba(255, 64, 242, 0.46), rgba(21, 239, 255, 0.32)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 24px rgba(255, 64, 242, 0.18), 0 0 26px rgba(21, 239, 255, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.wearable-button:hover,
.wearable-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(21, 239, 255, 0.85);
  box-shadow: 0 0 30px rgba(21, 239, 255, 0.32), 0 0 38px rgba(255, 64, 242, 0.28);
}

@media (max-width: 680px) {
  .wearable-links {
    width: 100%;
    gap: 10px;
  }

  .wearable-button {
    width: min(100%, 260px);
    padding: 0 16px;
    font-size: clamp(0.78rem, 3vw, 0.92rem);
    text-align: center;
  }
}

/* Timed pop-up windows: 30s subscribe, 2m socials, 5m shopping. */
.timed-popup-layer {
  position: fixed;
  z-index: 9997;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(430px, calc(100vw - 32px));
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.timed-popup {
  position: relative;
  width: 100%;
  padding: 24px 20px 20px;
  border: 1px solid rgba(21, 239, 255, 0.42);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(21, 239, 255, 0.14), rgba(255, 64, 242, 0.13)),
    rgba(5, 0, 12, 0.94);
  box-shadow:
    0 0 42px rgba(21, 239, 255, 0.2),
    0 0 52px rgba(255, 64, 242, 0.16),
    inset 0 0 34px rgba(122, 24, 255, 0.12);
  backdrop-filter: blur(16px);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.94);
  transition: opacity 320ms ease, transform 320ms ease, visibility 320ms ease;
}

.timed-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 0%, rgba(21, 239, 255, 0.24), transparent 13rem),
    radial-gradient(circle at 100% 80%, rgba(255, 64, 242, 0.24), transparent 13rem),
    linear-gradient(90deg, transparent, rgba(255,255,255,0.055), transparent);
}

.timed-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.timed-popup.is-evaporating {
  animation: afterHoursEvaporate 820ms ease forwards;
}

@keyframes afterHoursEvaporate {
  0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  70% { opacity: 0.28; transform: translateY(-14px) scale(0.98); filter: blur(4px); }
  100% { opacity: 0; transform: translateY(-24px) scale(0.94); filter: blur(10px); visibility: hidden; }
}

.timed-popup-close,
.timed-popup-kicker,
.timed-popup h2,
.timed-popup p,
.timed-popup-form,
.timed-popup-links {
  position: relative;
  z-index: 2;
}

.timed-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.timed-popup-close:hover,
.timed-popup-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(21, 239, 255, 0.72);
  box-shadow: 0 0 22px rgba(21, 239, 255, 0.22);
}

.timed-popup-kicker {
  margin: 0 42px 8px 0;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timed-popup h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 4vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 0 18px var(--shadow-pink), 0 0 24px rgba(21, 239, 255, 0.24);
}

.timed-popup p:not(.timed-popup-kicker):not(.timed-popup-status) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.timed-popup-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.timed-popup-input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(21, 239, 255, 0.35);
  border-radius: 999px;
  padding: 0 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  outline: none;
}

.timed-popup-input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.timed-popup-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(21, 239, 255, 0.12), 0 0 24px rgba(21, 239, 255, 0.18);
}

.timed-popup-submit,
.timed-popup-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  box-shadow: 0 0 24px rgba(255, 64, 242, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.timed-popup-submit:hover,
.timed-popup-submit:focus-visible,
.timed-popup-links a:hover,
.timed-popup-links a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(21, 239, 255, 0.32), 0 0 32px rgba(255, 64, 242, 0.24);
}

.timed-popup-submit:disabled {
  cursor: wait;
  opacity: 0.64;
}

.timed-popup-status {
  min-height: 1.3em;
  margin: 10px 0 0;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.timed-popup-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.timed-popup-shop .timed-popup-links {
  grid-template-columns: 1fr;
}

.timed-popup-links a {
  min-height: 46px;
  padding: 0 14px;
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 680px) {
  .timed-popup-layer {
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: auto;
  }

  .timed-popup {
    border-radius: 24px;
    padding: 22px 16px 18px;
  }

  .timed-popup-links {
    grid-template-columns: 1fr;
  }
}
