/* ══════════════════════════════════════════
   KC-04 XV FLORAL INFERNO — STYLE KIT
   Music Orbital Control, Footer Reveal & Kit
   Khal Calloway Studio © 2026
   ══════════════════════════════════════════ */

/* ── FLOAT CONTROL: ORBITAL EMBERS EDITION ── */
.kc-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7) translateY(20px);
  transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
  pointer-events: none;
}

.kc-float.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.kc-float-bg {
  position: absolute;
  inset: 2px;
  background: rgba(11, 5, 5, 0.9);
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.15);
  z-index: 1;
}

/* Glowing Aura mimicking burning embers */
.kc-float-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-kc) 0%, var(--rose-celestial) 50%, var(--gold-bronze) 100%);
  z-index: 0;
  opacity: 0.45;
  transition: opacity 0.3s ease;
  animation: floatOrbitalSpin 8s linear infinite;
}

.kc-float:hover .kc-float-glow {
  opacity: 0.85;
  box-shadow: 0 0 16px rgba(161, 29, 42, 0.6);
}

.kc-float.playing .kc-float-glow {
  opacity: 1;
  animation: floatOrbitalSpin 3s linear infinite, floatOrbitalPulse 2s ease-in-out infinite alternate;
}

/* Audio Waveform Bars */
.kc-bars {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.kc-bar {
  width: 2.5px;
  background-color: var(--gold-kc);
  border-radius: 1px;
  height: 2px;
}

.kc-float.playing .kc-bars {
  opacity: 1;
  transform: scale(1);
}

.kc-float.playing .kc-bar:nth-child(1) { animation: kc-bar-anim-1 0.8s ease-in-out infinite alternate; }
.kc-float.playing .kc-bar:nth-child(2) { animation: kc-bar-anim-2 0.6s ease-in-out infinite alternate; }
.kc-float.playing .kc-bar:nth-child(3) { animation: kc-bar-anim-3 0.7s ease-in-out infinite alternate; }

.kc-float-icon {
  z-index: 2;
  color: var(--color-champagne);
  width: 18px;
  height: 18px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.kc-float.playing .kc-float-icon {
  opacity: 0;
  transform: scale(0.6);
}

/* Animations */
@keyframes floatOrbitalSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes floatOrbitalPulse {
  0% { filter: drop-shadow(0 0 2px rgba(161, 29, 42, 0.4)); }
  100% { filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.75)); }
}

@keyframes kc-bar-anim-1 { 0% { height: 2px; } 100% { height: 13px; } }
@keyframes kc-bar-anim-2 { 0% { height: 2px; } 100% { height: 16px; } }
@keyframes kc-bar-anim-3 { 0% { height: 2px; } 100% { height: 11px; } }


/* ── BRANDING FOOTER: EL REINADO ── */
footer {
  background: linear-gradient(to top, #020101 0%, transparent 100%);
  padding: 6rem 0 3rem;
  position: relative;
  z-index: 10;
  text-align: center;
  border-top: 1px solid rgba(161, 29, 42, 0.08);
}

.footer-divider {
  font-family: var(--ff-hero);
  font-size: 0.8rem;
  color: var(--gold-kc);
  opacity: 0.3;
  margin-bottom: 2rem;
  letter-spacing: 0.25em;
}

.footer-sello {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--color-champagne);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-sello .nombre-dedicado {
  font-family: var(--ff-hero);
  font-size: 0.72rem;
  color: var(--gold-kc);
  letter-spacing: 0.12em;
}

.footer-sello .lugar-fecha {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dim);
  font-family: var(--ff-label);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.footer-brand:hover {
  color: var(--gold-kc);
}

.ig-ico {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

/* Intersection reveals */
.footer-reveal.appeared {
  opacity: 1;
  transform: translateY(0);
}


/* ── GLOBAL SCREEN TRANSITION SLIDER ── */
#md-transition {
  position: fixed;
  inset: 0;
  background: var(--bg-obsidian);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

#md-transition.active {
  transform: translateY(0);
}

#md-transition.saliendo {
  transform: translateY(-100%);
}

/* ── PORTAL 10: FINAL BLESSING ── */
#blessing-section {
  position: relative;
  background-color: var(--bg-obsidian);
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
  z-index: 10;
}

.blessing-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-gold);
  border-radius: 8px;
  padding: 40px 30px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), inset 0 0 15px rgba(139, 0, 0, 0.25);
  z-index: 10;
}

.blessing-title {
  font-family: var(--ff-hero);
  font-size: 1.15rem;
  color: var(--gold-kc);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.blessing-body {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-champagne);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.blessing-signature {
  font-family: var(--ff-accent);
  font-size: 2.2rem;
  color: var(--rose-blush);
  text-shadow: 0 0 10px rgba(255, 179, 71, 0.2);
}

