:root {
  --vi-black: #0a080c;
  --vi-charcoal: #141018;
  --vi-gold: #d4af37;
  --vi-gold-light: #f0ddb0;
  --vi-rose: #c9a0a0;
  --vi-cream: #f5f0e8;
  --vi-muted: rgba(245, 240, 232, 0.65);
  --vi-font-serif: "Cormorant Garamond", Georgia, serif;
  --vi-font-sans: "Montserrat", system-ui, sans-serif;
}

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

body.vi-page {
  margin: 0;
  font-family: var(--vi-font-sans);
  background: var(--vi-black);
  color: var(--vi-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.vi-page--reveal {
  overflow: hidden;
  height: 100%;
}

/* ── VIP Reveal Curtain (veil lift — image stays sharp) ── */
.vi-reveal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #030205;
  cursor: pointer;
}

.vi-reveal--started {
  animation: viRevealExit 0.9s cubic-bezier(0.4, 0, 0.2, 1) 3.5s forwards;
}

.vi-reveal--done {
  display: none;
}

.vi-reveal-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(40, 28, 52, 0.9) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #0d0a12 0%, #030205 55%, #08060c 100%);
}

.vi-reveal-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.vi-reveal-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 420px);
  aspect-ratio: 9 / 16;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0;
}

.vi-reveal--started .vi-reveal-glow {
  animation: viGlowPulse 3s ease-in-out 0.2s forwards;
}

.vi-reveal-smoke {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  overflow: hidden;
}

.vi-smoke {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0;
  mix-blend-mode: screen;
}

.vi-reveal--started .vi-smoke {
  animation: viSmokeFloat 7s ease-in-out infinite;
}

.vi-reveal--started .vi-smoke--1 {
  animation:
    viSmokeIn 1.4s ease-out forwards,
    viSmokeFloat 9s ease-in-out 0.8s infinite;
}

.vi-reveal--started .vi-smoke--2 {
  animation:
    viSmokeIn 1.5s ease-out 0.1s forwards,
    viSmokeFloat 11s ease-in-out 1s infinite reverse;
}

.vi-reveal--started .vi-smoke--3 {
  animation:
    viSmokeIn 1.6s ease-out 0.2s forwards,
    viSmokeFloat 10s ease-in-out 1.2s infinite;
}

.vi-reveal--started .vi-smoke--4 {
  animation:
    viSmokeIn 1.3s ease-out forwards,
    viSmokeDriftCenter 8s ease-in-out 0.8s infinite;
}

.vi-reveal--started .vi-smoke--5 {
  animation:
    viSmokeIn 1.7s ease-out 0.3s forwards,
    viSmokeFloat 12s ease-in-out 1.4s infinite;
}

.vi-reveal--started .vi-smoke--6 {
  animation:
    viSmokeIn 1.8s ease-out 0.4s forwards,
    viSmokeFloat 13s ease-in-out 1.6s infinite reverse;
}

.vi-smoke--1 {
  width: 55vw;
  height: 55vw;
  max-width: 480px;
  max-height: 480px;
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 45%, transparent 70%);
}

.vi-smoke--2 {
  width: 65vw;
  height: 50vw;
  max-width: 520px;
  top: 35%;
  right: -15%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 72%);
}

.vi-smoke--3 {
  width: 70vw;
  height: 40vw;
  max-width: 560px;
  bottom: 5%;
  left: 15%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.2) 0%, transparent 65%);
}

.vi-smoke--4 {
  width: 45vw;
  height: 45vw;
  max-width: 400px;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 68%);
}

.vi-smoke--5 {
  width: 50vw;
  height: 35vw;
  max-width: 440px;
  top: 20%;
  left: 40%;
  background: radial-gradient(ellipse, rgba(245, 240, 232, 0.15) 0%, transparent 60%);
  filter: blur(35px);
}

.vi-smoke--6 {
  width: 80vw;
  height: 30vw;
  max-width: 600px;
  bottom: 20%;
  right: 10%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  filter: blur(32px);
}

.vi-reveal-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vi-reveal-sparkles i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--vi-gold-light);
  box-shadow: 0 0 6px 1px rgba(240, 221, 176, 0.6);
  opacity: 0;
}

.vi-reveal--started .vi-reveal-sparkles i {
  animation: viSparkle 3s ease-in-out infinite;
}

.vi-reveal-sparkles i:nth-child(1) { top: 18%; left: 22%; animation-delay: 0.8s; }
.vi-reveal-sparkles i:nth-child(2) { top: 32%; left: 78%; animation-delay: 1.4s; }
.vi-reveal-sparkles i:nth-child(3) { top: 62%; left: 12%; animation-delay: 2s; }
.vi-reveal-sparkles i:nth-child(4) { top: 72%; left: 68%; animation-delay: 1.1s; }
.vi-reveal-sparkles i:nth-child(5) { top: 45%; left: 50%; animation-delay: 2.6s; }
.vi-reveal-sparkles i:nth-child(6) { top: 85%; left: 42%; animation-delay: 1.8s; }
.vi-reveal-sparkles i:nth-child(7) { top: 12%; left: 58%; animation-delay: 3s; }
.vi-reveal-sparkles i:nth-child(8) { top: 52%; left: 88%; animation-delay: 2.2s; }

.vi-reveal-center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
}

.vi-reveal-prelude {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.vi-reveal--waiting .vi-reveal-prelude {
  opacity: 1;
}

.vi-reveal--started .vi-reveal-prelude {
  opacity: 0;
}

.vi-reveal-prelude-line {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vi-gold), transparent);
  animation: viPreludePulse 1.6s ease-in-out infinite;
}

.vi-reveal-poster {
  position: relative;
  width: min(72vw, 320px);
  opacity: 0;
  transform: scale(0.96) translateY(10px);
}

.vi-reveal--waiting .vi-reveal-poster {
  visibility: hidden;
}

.vi-reveal--started .vi-reveal-poster {
  visibility: visible;
  animation: viPosterFrameIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.vi-reveal-poster-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 40px 100px rgba(0, 0, 0, 0.85),
    0 0 80px rgba(212, 175, 55, 0.15);
  background: var(--vi-charcoal);
}

.vi-reveal-poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 1;
  transform: scale(1.02);
}

.vi-reveal-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.vi-reveal-veil-layer {
  position: absolute;
  inset: -5%;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 45%, transparent 72%);
}

.vi-reveal-veil-layer--1 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 240, 232, 0.75) 55%, rgba(255, 255, 255, 0.4) 100%);
}

.vi-reveal-veil-layer--2 {
  background:
    radial-gradient(ellipse 90% 70% at 40% 60%, rgba(255, 255, 255, 0.85) 0%, transparent 68%);
  mix-blend-mode: screen;
}

.vi-reveal-veil-layer--3 {
  background:
    radial-gradient(ellipse 80% 50% at 65% 40%, rgba(255, 255, 255, 0.7) 0%, transparent 65%);
  mix-blend-mode: screen;
}

.vi-reveal--started .vi-reveal-veil-layer--1 {
  animation: viVeilLiftUp 1.6s cubic-bezier(0.45, 0, 0.2, 1) 0.35s forwards;
}

.vi-reveal--started .vi-reveal-veil-layer--2 {
  animation: viVeilLiftLeft 1.8s cubic-bezier(0.45, 0, 0.2, 1) 0.45s forwards;
}

.vi-reveal--started .vi-reveal-veil-layer--3 {
  animation: viVeilLiftRight 1.7s cubic-bezier(0.45, 0, 0.2, 1) 0.5s forwards;
}

.vi-reveal-poster-shimmer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(212, 175, 55, 0.22) 52%,
    transparent 65%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.vi-reveal--started .vi-reveal-poster-shimmer {
  animation: viPosterShimmer 1.4s ease-in-out 1.7s forwards;
}

.vi-reveal-poster--no-image .vi-reveal-poster-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 280px;
}

.vi-reveal--started .vi-reveal-poster--no-image {
  animation: viPosterFrameIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.vi-reveal-poster-title {
  font-family: var(--vi-font-serif);
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  text-align: center;
  color: var(--vi-gold-light);
  margin: 0;
  letter-spacing: 0.04em;
}

.vi-reveal-copy {
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
}

.vi-reveal--started .vi-reveal-copy {
  animation: viRevealCopyIn 0.9s ease 1.9s forwards;
}

.vi-reveal-brand {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--vi-gold);
  margin: 0 0 0.65rem;
  font-weight: 500;
}

.vi-reveal-label {
  font-family: var(--vi-font-serif);
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-style: italic;
  color: var(--vi-gold-light);
  margin: 0;
  letter-spacing: 0.08em;
}

.vi-reveal-skip {
  position: absolute;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 0.65rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--vi-gold-light);
  font-family: var(--vi-font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.vi-reveal--started .vi-reveal-skip {
  animation: viSkipIn 0.8s ease 2.6s forwards;
}

.vi-reveal-skip:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--vi-gold);
  color: var(--vi-cream);
}

.vi-invite--ready {
  opacity: 1;
}

.vi-invite--ready .vi-hero-copy .vi-brand,
.vi-invite--ready .vi-hero-copy .vi-tagline,
.vi-invite--ready .vi-hero-copy h1,
.vi-invite--ready .vi-hero-copy .vi-meta-row,
.vi-invite--ready .vi-hero-copy .vi-hero-actions,
.vi-invite--ready .vi-hero-cover-bleed,
.vi-invite--ready .vi-hero-cover-wrap--desktop {
  opacity: 1;
  animation: none;
  transform: none;
  filter: none;
}

.vi-invite--await {
  opacity: 0;
  animation: viInviteEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 3.3s forwards;
}

.vi-invite--await .vi-hero-copy .vi-brand {
  opacity: 0;
  animation: viHeroStagger 0.8s ease 3.45s forwards;
}

.vi-invite--await .vi-hero-copy .vi-tagline {
  opacity: 0;
  animation: viHeroStagger 0.8s ease 3.55s forwards;
}

.vi-invite--await .vi-hero-copy h1 {
  opacity: 0;
  animation: viHeroStagger 0.9s ease 3.65s forwards;
}

.vi-invite--await .vi-hero-copy .vi-meta-row {
  opacity: 0;
  animation: viHeroStagger 0.9s ease 3.75s forwards;
}

.vi-invite--await .vi-hero-copy .vi-hero-actions {
  opacity: 0;
  animation: viHeroStagger 0.9s ease 3.85s forwards;
}

.vi-invite--await .vi-hero-cover-bleed,
.vi-invite--await .vi-hero-cover-wrap--desktop {
  opacity: 0;
  animation: viCoverSettle 1s cubic-bezier(0.22, 1, 0.36, 1) 3.35s forwards;
}

@keyframes viSmokeIn {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes viSmokeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, -4%) scale(1.05); }
  66% { transform: translate(-2%, 3%) scale(0.98); }
}

@keyframes viSmokeDriftCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-48%) translateY(-5%); opacity: 1; }
}

@keyframes viPosterFrameIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes viVeilLiftUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-108%) scale(1.05);
  }
}

@keyframes viVeilLiftLeft {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-55%, -40%);
  }
}

@keyframes viVeilLiftRight {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(50%, -35%);
  }
}

@keyframes viPreludePulse {
  0%, 100% { opacity: 0.35; transform: scaleX(0.85); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes viPosterShimmer {
  0% { transform: translateX(-120%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes viGlowPulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  40% { opacity: 0.7; }
  100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes viSparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

@keyframes viRevealCopyIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes viSkipIn {
  to { opacity: 0.75; }
}

@keyframes viRevealExit {
  0% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

@keyframes viInviteEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes viCoverSettle {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes viHeroShine {
  0%, 100% { opacity: 0.4; transform: translateX(-5%); }
  50% { opacity: 1; transform: translateX(5%); }
}

@media (prefers-reduced-motion: reduce) {
  .vi-reveal {
    display: none;
  }

  body.vi-page--reveal {
    overflow: auto;
    height: auto;
  }

  .vi-invite--await,
  .vi-invite--await .vi-hero-copy .vi-brand,
  .vi-invite--await .vi-hero-copy .vi-tagline,
  .vi-invite--await .vi-hero-copy h1,
  .vi-invite--await .vi-hero-copy .vi-meta-row,
  .vi-invite--await .vi-hero-copy .vi-hero-actions,
  .vi-invite--await .vi-hero-cover-bleed,
  .vi-invite--await .vi-hero-cover-wrap--desktop {
    opacity: 1;
    animation: none;
    transform: none;
    filter: none;
  }
}

.vi-invite {
  min-height: 100vh;
  overflow-x: hidden;
}

.vi-notice {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--vi-gold-light);
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.85rem 1rem;
  margin: 0;
}

.vi-cta-disabled {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: rgba(245, 240, 232, 0.15);
  color: var(--vi-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: not-allowed;
}

/* Hero — mobile-first */
.vi-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 모바일: 상단 풀블리드 커버 (좌우 여백 없음) */
.vi-hero-cover-bleed {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  line-height: 0;
}

.vi-hero-cover-bleed .vi-hero-cover {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(92vh, 780px);
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
  background: var(--vi-charcoal);
}

.vi-hero-cover-bleed .vi-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.vi-hero-cover-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, var(--vi-black) 0%, transparent 100%);
  pointer-events: none;
}

.vi-hero-cover-wrap--desktop {
  display: none;
}

.vi-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--vi-charcoal) 0%, var(--vi-black) 100%);
}

.vi-hero-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212, 175, 55, 0.06) 50%,
    transparent 60%
  );
  pointer-events: none;
  animation: viHeroShine 8s ease-in-out 5.5s infinite;
}

.vi-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.vi-hero-grid {
  display: block;
}

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

.vi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.vi-brand {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--vi-gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.vi-tagline {
  font-family: var(--vi-font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--vi-gold-light);
  margin: 0 0 0.75rem;
  opacity: 0.95;
}

.vi-hero h1 {
  font-family: var(--vi-font-serif);
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.vi-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vi-muted);
}

.vi-meta-row strong {
  display: block;
  color: var(--vi-cream);
  font-weight: 500;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 0.95rem;
}

.vi-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--vi-gold) 0%, #b8962e 100%);
  color: var(--vi-black);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.vi-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.35);
}

.vi-cta-secondary {
  display: inline-block;
  margin-left: 1rem;
  padding: 1rem 1.5rem;
  color: var(--vi-gold-light);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

/* Content sections */
.vi-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.vi-section-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--vi-gold);
  margin-bottom: 1rem;
}

.vi-section h2 {
  font-family: var(--vi-font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.vi-prose {
  font-size: 1.05rem;
  color: var(--vi-muted);
  max-width: 640px;
  line-height: 1.85;
}

.vi-prose p {
  margin: 0 0 1rem;
}

.vi-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin-top: 2.5rem;
}

.vi-detail-cell {
  background: var(--vi-charcoal);
  padding: 1.5rem 1.75rem;
}

.vi-detail-cell span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vi-gold);
  margin-bottom: 0.5rem;
}

/* Gallery */
.vi-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}

.vi-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.vi-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.vi-gallery figure:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 280px;
}

.vi-gallery figure:nth-child(2) {
  grid-column: span 5;
  min-height: 135px;
}

.vi-gallery figure:nth-child(3) {
  grid-column: span 5;
  min-height: 135px;
}

.vi-gallery figure:nth-child(n+4) {
  grid-column: span 4;
  min-height: 160px;
}

/* Video — shared with views/partials/party_film.php */
.vi-section--film {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.vi-section--film h2 {
  margin-bottom: 1rem;
}

.party-film-grid {
  display: grid;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.party-film-grid--1 {
  grid-template-columns: minmax(0, min(280px, 72vw));
}

.party-film-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: min(420px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.party-film-grid--2 .party-film-thumb--shorts,
.party-film-grid--2 .party-film-native--shorts {
  width: 100%;
  max-width: none;
}

.party-film-native-label {
  display: block;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vi-gold);
  background: rgba(10, 8, 12, 0.85);
}

.party-film-embed {
  position: relative;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}

.party-film-embed--long {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
}

.party-film-embed--shorts {
  width: min(280px, 72vw);
  aspect-ratio: 9 / 16;
}

.party-film-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.party-film-native {
  margin-top: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  overflow: hidden;
}

.party-film-native--long {
  max-width: 720px;
}

.party-film-native--shorts {
  width: min(280px, 72vw);
}

.party-film-native video {
  width: 100%;
  display: block;
  max-height: 70vh;
}

.party-film-native--shorts video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: none;
}

/* Invite: thumbnail trigger */
.party-film-thumb {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--vi-charcoal);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.party-film-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--vi-gold);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.2) inset,
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(212, 175, 55, 0.12);
}

.party-film-thumb--long {
  width: min(220px, 56vw);
  aspect-ratio: 16 / 9;
}

.party-film-thumb--shorts {
  width: min(130px, 34vw);
  aspect-ratio: 9 / 16;
}

.party-film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.party-film-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease;
}

.party-film-thumb-play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
  margin-left: 4px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.party-film-thumb--shorts .party-film-thumb-play::after {
  border-width: 8px 0 8px 13px;
}

.party-film-thumb:hover .party-film-thumb-play {
  background: rgba(0, 0, 0, 0.18);
}

.party-film-thumb-label {
  position: absolute;
  left: 0.5rem;
  bottom: 0.45rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vi-gold-light);
  background: rgba(10, 8, 12, 0.72);
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
}

/* Film modal */
body.party-film-modal-open {
  overflow: hidden;
}

.party-film-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.party-film-modal[hidden] {
  display: none;
}

.party-film-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 2, 5, 0.88);
  backdrop-filter: blur(8px);
}

.party-film-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #0a080c;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75);
  animation: viFilmModalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.party-film-modal-dialog--long {
  max-width: min(920px, 96vw);
}

.party-film-modal-dialog--shorts {
  max-width: min(360px, 88vw);
}

.party-film-modal-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
  background: rgba(10, 8, 12, 0.9);
  color: var(--vi-gold-light);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.party-film-modal-close:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--vi-gold);
}

.party-film-modal-player {
  position: relative;
  width: 100%;
  background: #000;
}

.party-film-modal-dialog--long .party-film-modal-player {
  aspect-ratio: 16 / 9;
}

.party-film-modal-dialog--shorts .party-film-modal-player {
  aspect-ratio: 9 / 16;
}

.party-film-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes viFilmModalIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.vi-video-wrap {
  position: relative;
  margin-top: 2rem;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.vi-video-wrap iframe,
.vi-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.vi-video-native {
  margin-top: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.vi-video-native video {
  width: 100%;
  display: block;
  max-height: 70vh;
}

/* Footer CTA */
.vi-footer-cta {
  text-align: center;
  padding: 5rem 1.75rem 6rem;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.06));
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.vi-footer-cta p {
  font-family: var(--vi-font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--vi-gold-light);
  margin: 0 0 2rem;
}

.vi-error {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.vi-error-box {
  max-width: 420px;
  padding: 2.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: var(--vi-charcoal);
}

.vi-hero-copy {
  text-align: center;
}

.vi-meta-row {
  justify-content: center;
}

.vi-hero-actions {
  justify-content: center;
}

.vi-cta-secondary {
  margin-left: 0;
}

/* Desktop: 옆 레이아웃 + 카드형 커버 */
@media (min-width: 901px) {
  .vi-notice {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.75rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 0;
  }

  .vi-hero {
    min-height: min(100vh, 1100px);
    flex-direction: row;
    align-items: center;
  }

  .vi-hero-cover-bleed {
    display: none;
  }

  .vi-hero-cover-wrap--desktop {
    display: block;
  }

  .vi-hero-inner {
    padding: 5rem 1.75rem 4rem;
  }

  .vi-hero-grid {
    display: grid;
    grid-template-columns: 1fr min(360px, 38vw);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }

  .vi-hero-copy {
    text-align: left;
  }

  .vi-hero h1 {
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
  }

  .vi-meta-row {
    justify-content: flex-start;
  }

  .vi-hero-actions {
    justify-content: flex-start;
  }

  .vi-hero-cover-wrap--desktop {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 360px;
  }

  .vi-hero-cover-wrap--desktop .vi-hero-cover {
    aspect-ratio: 9 / 16;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 32px 80px rgba(0, 0, 0, 0.65),
      0 0 60px rgba(212, 175, 55, 0.12);
    background: var(--vi-charcoal);
  }

  .vi-hero-cover-wrap--desktop .vi-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .vi-section {
    padding: 4rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .vi-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .vi-gallery figure:nth-child(1),
  .vi-gallery figure:nth-child(2),
  .vi-gallery figure:nth-child(3),
  .vi-gallery figure:nth-child(n+4) {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 180px;
  }
}
