/* ══════════════════════════════════════════════════════════
   Santa Flora — Intro Animation Theme
   ══════════════════════════════════════════════════════════ */

/* ── Floating petals in hero ─────────────────────────────────────── */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-petal {
  position: absolute;
  bottom: -8%;
  opacity: 0;
  animation: petal-rise linear infinite;
  user-select: none;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes petal-rise {
  0%   { transform: translateY(0) rotate(-15deg) scale(0.85); opacity: 0; }
  8%   { opacity: 0.55; }
  80%  { opacity: 0.18; }
  100% { transform: translateY(-110vh) rotate(15deg) scale(1.1); opacity: 0; }
}

/* ── Santa Flora Intro Overlay ───────────────────────────────────── */
#vi-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(
    160deg,
    #060e16 0%,
    #0c1a2b 25%,
    #0f2238 55%,
    #142e4a 80%,
    #1a3857 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#vi-overlay.vi-out {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

/* Background floating elements */
.vi-bg-hearts {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.vi-fheart {
  position: absolute;
  bottom: -8%;
  opacity: 0;
  animation: vi-float-up linear forwards;
  pointer-events: none;
  user-select: none;
}

@keyframes vi-float-up {
  0%   { transform: translateY(0) rotate(-8deg); opacity: 0; }
  10%  { opacity: 0.6; }
  85%  { opacity: 0.15; }
  100% { transform: translateY(-115vh) rotate(8deg); opacity: 0; }
}

/* ── Decorative gold line ────────────────────────────────────────── */
#vi-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(201,169,110,.6));
  pointer-events: none;
}
#vi-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to top, transparent, rgba(201,169,110,.6));
  pointer-events: none;
}

/* Center content */
.vi-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 2rem;
  color: #fff;
  max-width: 560px;
  width: 100%;
}

.vi-heart-icon {
  display: block;
  font-size: 3.5rem;
  margin: 0 auto 1.5rem;
  animation: vi-bloom 2s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(201,169,110,.6));
  line-height: 1;
}

@keyframes vi-bloom {
  0%, 100% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 18px rgba(201,169,110,.5)); }
  50%       { transform: scale(1.12) rotate(3deg); filter: drop-shadow(0 0 28px rgba(201,169,110,.85)); }
}

.vi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,169,110,.1);
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 2px;
  padding: 0.4rem 1.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,169,110,.85);
  margin-bottom: 1.4rem;
}

.vi-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #c9a96e 0%, #e2c99a 45%, #c9a96e 75%, #a07840 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vi-name-sub {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(.8rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(201,169,110,.5);
  margin-bottom: 1.6rem;
  -webkit-text-fill-color: rgba(201,169,110,.5);
}

.vi-tagline {
  font-size: clamp(0.88rem, 2.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-bottom: 2.4rem;
  font-weight: 300;
  letter-spacing: .01em;
}

.vi-enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 1.5px solid rgba(201,169,110,.55);
  color: rgba(201,169,110,.9);
  padding: 0.85rem 2.4rem;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.vi-enter-btn:hover {
  background: rgba(201,169,110,.1);
  border-color: rgba(201,169,110,.85);
  color: #c9a96e;
  box-shadow: 0 0 24px rgba(201,169,110,.2);
}

/* Gold line divider */
.vi-divider {
  width: 40px;
  height: 1px;
  background: rgba(201,169,110,.35);
  margin: 1.8rem auto;
}

.vi-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201,169,110,.3), #c9a96e, rgba(201,169,110,.3));
  border-radius: 0 2px 2px 0;
  animation: vi-fill 4.5s linear forwards;
}

@keyframes vi-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .vi-heart-icon { font-size: 2.8rem; }
  .vi-enter-btn  { padding: 0.75rem 1.8rem; font-size: 0.68rem; }
}
