* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #f7f2ff;
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 90, 214, 0.16), transparent 25%),
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.18), transparent 25%),
    radial-gradient(circle at 80% 15%, rgba(255, 94, 207, 0.12), transparent 18%),
    linear-gradient(180deg, #090512 0%, #05030b 100%);
}

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

.container {
  width: min(100% - 2rem, 1080px);
  margin: 0 auto;
}

.capsule-page {
  min-height: 100vh;
  padding: 3rem 0 5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.66);
  transition: 0.25s ease;
}

.back-link:hover {
  color: #fff;
  transform: translateX(-2px);
}

.capsule-hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.56);
}

.capsule-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 16px rgba(255, 94, 207, 0.18),
    0 0 40px rgba(139, 92, 246, 0.16);
}

.hero-text,
.countdown-caption,
.section-heading p,
.reveal-intro p {
  color: rgba(247, 242, 255, 0.74);
  line-height: 1.7;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 150px));
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.countdown-card {
  padding: 1.1rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 30px rgba(139, 92, 246, 0.08);
  text-align: center;
  backdrop-filter: blur(10px);
}

.countdown-value {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
}

.countdown-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.56);
}

.countdown-caption {
  margin-top: 1rem;
}

.locked-section {
  margin-top: 3rem;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.section-heading h2,
.reveal-intro h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.locked-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(22, 14, 36, 0.96), rgba(10, 7, 20, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(139, 92, 246, 0.08);
}

.locked-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 3s linear infinite;
  pointer-events: none;
}

.locked-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.locked-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.type-badge {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}

.fake-preview {
  height: 100px;
  margin: 1rem 0 0.85rem;
  border-radius: 16px;
  background:
    linear-gradient(rgba(255,255,255,0.07), rgba(255,255,255,0.07)) 14px 18px / 70% 10px no-repeat,
    linear-gradient(rgba(255,255,255,0.07), rgba(255,255,255,0.07)) 14px 42px / 58% 10px no-repeat,
    linear-gradient(rgba(255,255,255,0.07), rgba(255,255,255,0.07)) 14px 66px / 82% 10px no-repeat,
    rgba(255,255,255,0.04);
  filter: blur(6px);
}

.locked-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.52);
}

.skeleton-card {
  opacity: 0.7;
}

.reveal-intro {
  margin-top: 4rem;
  text-align: center;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  animation: fadeUp 0.6s ease;
}

.primary-button,
.ghost-button,
.close-button,
.auto-button {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.primary-button {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #9b5cff, #ff5ecf);
  box-shadow:
    0 14px 34px rgba(255, 94, 207, 0.24),
    0 0 24px rgba(155, 92, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
}

.hidden {
  display: none !important;
}

/* slideshow */

.slideshow-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 94, 207, 0.1), transparent 20%),
    rgba(3, 2, 8, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.slideshow-shell {
  position: relative;
  width: min(100%, 900px);
  min-height: min(78vh, 780px);
  padding: 2rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(22, 14, 36, 0.97), rgba(10, 7, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(139, 92, 246, 0.16);
  overflow: hidden;
}

.slideshow-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 94, 207, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.08), transparent 24%);
  pointer-events: none;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

.slide-stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  text-align: center;
  animation: slideReveal 0.5s ease;
}

.slide-author {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

.slide-body {
  display: grid;
  gap: 1.25rem;
}

.slide-text {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.8;
  color: #fff;
  white-space: pre-wrap;
}

.video-frame {
  padding: 0.85rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.1);
}

.slide-body video {
  display: block;
  width: 100%;
  max-height: 58vh;
  border-radius: 18px;
  background: #000;
}

.slideshow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slideshow-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ghost-button,
.auto-button {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.25s ease;
}

.ghost-button:hover,
.auto-button:hover {
  background: rgba(255,255,255,0.12);
}

.auto-button.is-active {
  background: linear-gradient(135deg, #9b5cff, #ff5ecf);
}

.slide-indicator {
  min-width: 64px;
  text-align: center;
  color: rgba(255,255,255,0.64);
}

.progress-wrap {
  flex: 1;
  max-width: 280px;
  margin-left: auto;
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9b5cff, #ff5ecf);
  transition: width 0.35s ease;
}

.reveal-flash {
  animation: revealFlash 1s ease;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealFlash {
  0% {
    box-shadow: 0 0 0 rgba(255, 94, 207, 0);
  }
  50% {
    box-shadow: 0 0 80px rgba(255, 94, 207, 0.18);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 94, 207, 0);
  }
}

@media (max-width: 720px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
  }

  .slideshow-shell {
    min-height: auto;
    padding: 1.25rem;
    border-radius: 24px;
  }

  .slide-stage {
    min-height: 420px;
  }

  .slideshow-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .slideshow-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .progress-wrap {
    max-width: none;
    margin-left: 0;
  }
}

.moment-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(circle at center, rgba(255, 94, 207, 0.12), transparent 22%),
    rgba(4, 2, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}

.moment-overlay-inner {
  max-width: 760px;
  animation: momentFadeIn 0.8s ease;
}

.moment-kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

.moment-title {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow:
    0 0 18px rgba(255, 94, 207, 0.22),
    0 0 50px rgba(139, 92, 246, 0.18);
}

.moment-subtitle {
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(247, 242, 255, 0.76);
  line-height: 1.7;
}

.moment-overlay.is-ending .moment-overlay-inner {
  animation: momentFadeOut 0.7s ease forwards;
}

@keyframes momentFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes momentFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(1.01);
  }
}

.enter-button {
  margin-top: 2rem;
  padding: 1.1rem 1.8rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #9b5cff, #ff5ecf);
  border: none;
  cursor: pointer;

  box-shadow:
    0 15px 40px rgba(255, 94, 207, 0.3),
    0 0 30px rgba(155, 92, 255, 0.25);

  transition: all 0.3s ease;
  animation: fadeUp 0.6s ease;
}

.enter-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.locked-card.is-revealed {
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.locked-card.is-revealed:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 94, 207, 0.24);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(255, 94, 207, 0.12);
}

.fake-preview.is-clear {
  filter: blur(0);
  background: rgba(255,255,255,0.04);
  padding: 0.9rem;
  height: auto;
  min-height: 100px;
}

.preview-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  white-space: pre-wrap;
}

.fake-preview.is-video-preview {
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.preview-video-wrap {
  position: relative;
  width: 100%;
  min-height: 140px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.preview-video {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.preview-video-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}

.locked-card.is-revealed:hover .preview-video {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

.section-fade {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
}

.section-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.footer-logo {
  font-size: 1.4rem;
  color: #ff89db;
  margin-bottom: 0.5rem;
}

/* =========================
   NAV
========================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 4, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav .container {
  width: min(1100px, calc(100% - 2rem));
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.site-brand {
  color: #ff9be8;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  text-shadow:
    0 0 12px rgba(255, 120, 220, 0.35),
    0 0 28px rgba(123, 97, 255, 0.2);
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-nav-links a:hover {
  color: #ff9be8;
}

@media (max-width: 820px) {
  .site-nav-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }

  .site-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1.2rem;
  }

  .site-nav-links a {
    font-size: 0.82rem;
  }
}