/* ==========================================================================
   HISTORIA PARA ALEXANDRA GUILIANA — ESTILOS GLOBALES & EFECTOS COMBINADOS
   Temática: Sinceridad, Lealtad, Amante de los perros 🐾, Girasoles 🌻 e Infinito ♾️
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,400;1,600&family=Quicksand:wght@400;600;700&display=swap');

:root {
  --primary-gold: #f59e0b;
  --primary-sunflower: #eab308;
  --sunflower-glow: rgba(234, 179, 8, 0.45);
  --accent-amber: #d97706;
  --accent-paw: #fbbf24;
  --accent-emerald: #10b981;
  --dark-bg: #090d16;
  --dark-surface: #111827;
  --dark-card: rgba(17, 24, 39, 0.75);
  --card-border: rgba(234, 179, 8, 0.25);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Quicksand', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background-color: var(--dark-bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1e1b12 0%, var(--dark-bg) 60%);
  color: var(--text-main);
  line-height: 1.6;
}

/* ==========================================================================
   CANVAS DE PARTÍCULAS FLOTANTES (Pétalos de Girasol, Huellitas e Infinitos)
   ========================================================================== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN Y CONTROLES FLOTANTES
   ========================================================================== */
.floating-nav {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.6rem 1.4rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.15);
  transition: all 0.3s ease;
}

.floating-nav:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.25);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-gold);
  letter-spacing: 0.5px;
  text-decoration: none;
}

.brand-badge span.infinity-icon {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--primary-sunflower);
  animation: pulse-glow 2.5s infinite alternate;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.btn-icon:hover {
  background: var(--primary-gold);
  color: #000;
  transform: scale(1.08);
  box-shadow: 0 0 15px var(--sunflower-glow);
}

.btn-nav {
  background: linear-gradient(135deg, var(--primary-sunflower), var(--accent-amber));
  color: #1a0f00;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--sunflower-glow);
}

/* ==========================================================================
   HERO / PORTADA DE APERTURA
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-glow-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.2) 0%, rgba(217, 119, 6, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-symbol-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.6rem 1.8rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}

.symbol-item {
  font-size: 1.6rem;
}

.symbol-divider {
  color: var(--primary-sunflower);
  opacity: 0.6;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 20%, #fde68a 60%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.4rem);
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
}

.hero-btn-cta {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0f19;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.hero-btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  z-index: 5;
}

/* ==========================================================================
   ESTILO 1: BLOG PARALLAX CON SCROLL-SNAP & GLASSMORPHISM
   (Inspirado en C:\Users\USER\Downloads\WEBS PLANTILLAS\BLOG\)
   ========================================================================== */
.section-parallax-blog {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 5% 4rem;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
}

.section-parallax-blog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 13, 22, 0.88) 0%, rgba(20, 15, 5, 0.75) 50%, rgba(9, 13, 22, 0.92) 100%);
  z-index: 1;
}

.parallax-blog-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(234, 179, 8, 0.12);
  transform: translateY(0);
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.parallax-blog-content:hover {
  border-color: rgba(234, 179, 8, 0.65);
  transform: translateY(-4px);
}

.chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-sunflower);
  margin-bottom: 1rem;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}

.chapter-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fde68a;
  margin-bottom: 1.5rem;
}

.chapter-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.chapter-quote {
  border-left: 3px solid var(--primary-gold);
  padding-left: 1.25rem;
  font-style: italic;
  color: #f1f5f9;
  font-size: 1.05rem;
  margin: 1.5rem 0;
  background: rgba(245, 158, 11, 0.05);
  padding: 1rem 1.25rem;
  border-radius: 0 12px 12px 0;
}

/* ==========================================================================
   ESTILO 2: EFECTO DE APARICIÓN 3D (GRID FRAGMENTS PUZZLE FLIP)
   (Inspirado en C:\Users\USER\Downloads\WEBS PLANTILLAS\efectos de aparicion\)
   ========================================================================== */
.section-apparition {
  position: relative;
  min-height: 100vh;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1a150c 0%, var(--dark-bg) 80%);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin-bottom: 3.5rem;
  z-index: 2;
}

.apparition-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  z-index: 2;
}

.apparition-info {
  flex: 1 1 450px;
  max-width: 550px;
}

.apparition-box-wrapper {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box {
  --box-width: 22rem;
  --box-height: 28rem;
  --frag-width: calc(var(--box-width) / var(--col));
  --frag-height: calc(var(--box-height) / var(--row));
  --img-url: url('assets/foto_19.jpg');
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: var(--box-width);
  height: var(--box-height);
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.2);
  border: 2px solid rgba(245, 158, 11, 0.35);
  background-color: #111;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.5s ease;
}

.box.revealed {
  background-image: var(--img-url);
}

.box.revealed .fragment {
  opacity: 0 !important;
  transition: opacity 0.6s ease;
}

.box::after {
  content: "TOCA PARA REVELAR ✨";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fde68a;
  background: rgba(15, 23, 42, 0.85);
  background-image: repeating-linear-gradient(-45deg, rgba(234, 179, 8, 0.15), rgba(234, 179, 8, 0.15) 2px, transparent 2px, transparent 10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.box.hide::after {
  opacity: 0;
  pointer-events: none;
}

.box:hover::after {
  background-color: rgba(15, 23, 42, 0.7);
  color: #fff;
  transform: scale(1.02);
}

.fragment {
  --x-offset: calc(var(--x) * var(--frag-width) * -1);
  --y-offset: calc(var(--y) * var(--frag-height) * -1);
  --rotateX: rotateX(0);
  --rotateY: rotateY(0);
  width: var(--frag-width);
  height: var(--frag-height);
  background: var(--img-url) var(--x-offset) var(--y-offset) / var(--box-width) var(--box-height) no-repeat;
  backface-visibility: hidden;
  will-change: transform;
  transform: var(--rotateX) var(--rotateY) scale(0.8);
  animation: flip var(--duration) linear var(--delay) forwards;
  opacity: 0;
}

@keyframes flip {
  0% {
    transform: var(--rotateX) var(--rotateY) scale(0.7);
    opacity: 0;
  }
  15% {
    transform: var(--rotateX) var(--rotateY) scale(0.7);
    opacity: 0;
  }
  70% {
    transform: rotateX(0) rotateY(0) scale(0.9);
    opacity: 1;
  }
  100% {
    transform: rotateX(0) rotateY(0) scale(1);
    opacity: 1;
  }
}

.box-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   ESTILO 3: EFECTO REVERSA (TARJETA 3D GIRATORIA PERSPECTIVE PRESERVE-3D)
   (Inspirado en C:\Users\USER\Downloads\WEBS PLANTILLAS\EFECTO REVERSA\)
   ========================================================================== */
.section-reversa {
  position: relative;
  min-height: 100vh;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 70% 30%, #1e1708 0%, var(--dark-bg) 75%);
  perspective: 1200px;
}

.reversa-card-container {
  width: 100%;
  max-width: 820px;
  min-height: 480px;
  border-radius: 28px;
  position: relative;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.18);
}

.reversa-card-container.flipped,
.reversa-card-container:hover {
  transform: rotateY(180deg);
}

.reversa-side {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  border: 1px solid rgba(234, 179, 8, 0.35);
  overflow: hidden;
}

.reversa-front {
  z-index: 2;
  background-size: cover;
  background-position: center;
}

.reversa-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 1;
}

.reversa-front-content {
  position: relative;
  z-index: 2;
  transform: translateZ(60px);
  margin-top: auto;
}

.reversa-back {
  background: linear-gradient(135deg, #181c26 0%, #0d121c 100%);
  transform: rotateY(180deg);
  z-index: 1;
  text-align: left;
}

.reversa-back::before {
  content: '🐾';
  position: absolute;
  top: 10%;
  right: 5%;
  font-size: 15rem;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.reversa-back-content {
  position: relative;
  z-index: 2;
  transform: translateZ(60px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reversa-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(234, 179, 8, 0.2);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fde68a;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   ESTILO 4: FONDO DINÁMICO ANIMADO EN 3 COLUMNAS FLOTANTES
   (Inspirado en C:\Users\USER\Downloads\WEBS PLANTILLAS\fondo\)
   ========================================================================== */
.section-fondo-columnas {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  background: #0a0e17;
  overflow: hidden;
}

.column-bg-grid {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.35;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  pointer-events: none;
}

.bg-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  height: 100vh;
}

.bg-col-item {
  width: 100%;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
}

.col-1 .item-1 { height: 28%; animation: pulse-height 6s ease-in-out infinite alternate; }
.col-1 .item-2 { height: 44%; animation: pulse-height 7s 1s ease-in-out infinite alternate; }
.col-1 .item-3 { height: 28%; animation: pulse-height 6s 2s ease-in-out infinite alternate; }

.col-2 .item-1 { height: 35%; animation: pulse-height 8s 500ms ease-in-out infinite alternate; }
.col-2 .item-2 { height: 30%; animation: pulse-height 6s 1.5s ease-in-out infinite alternate; }
.col-2 .item-3 { height: 35%; animation: pulse-height 7s 2.5s ease-in-out infinite alternate; }

.col-3 .item-1 { height: 40%; animation: pulse-height 7s 800ms ease-in-out infinite alternate; }
.col-3 .item-2 { height: 25%; animation: pulse-height 8s 1.2s ease-in-out infinite alternate; }
.col-3 .item-3 { height: 35%; animation: pulse-height 6s 2.2s ease-in-out infinite alternate; }

@keyframes pulse-height {
  0% { transform: translateY(0) scale(0.98); }
  100% { transform: translateY(-15px) scale(1.02); }
}

.fondo-columnas-card {
  position: relative;
  z-index: 3;
  max-width: 760px;
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.15);
}

/* ==========================================================================
   ESTILO 5: CARRUSEL CINEMATOGRÁFICO / ESTILO LISTA
   (Inspirado en C:\Users\USER\Downloads\WEBS PLANTILLAS\estilo lista\)
   ========================================================================== */
.section-carrusel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0;
  background: radial-gradient(circle at center, #17120a 0%, #070a10 100%);
  overflow: hidden;
}

.carrusel-header {
  text-align: center;
  padding: 0 2rem 2.5rem;
  z-index: 2;
}

.carrusel-slider-track {
  display: flex;
  gap: 2rem;
  padding: 2rem 5vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-gold) rgba(0, 0, 0, 0.3);
  -webkit-overflow-scrolling: touch;
  z-index: 2;
}

.carrusel-slider-track::-webkit-scrollbar {
  height: 8px;
}

.carrusel-slider-track::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 9999px;
}

.carrusel-card {
  flex: 0 0 340px;
  height: 480px;
  scroll-snap-align: center;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  background-color: #1a1f2c;
}

.carrusel-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--primary-sunflower);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--sunflower-glow);
}

.carrusel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carrusel-card:hover .carrusel-img {
  transform: scale(1.08);
}

.carrusel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.75rem;
  z-index: 2;
}

.carrusel-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.carrusel-card-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓN FINAL: VÍNCULO INFINITO ♾️ Y DEDICATORIA
   ========================================================================== */
.section-final {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, #1f1807 0%, #07090f 85%);
  overflow: hidden;
}

.final-infinity-monument {
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--primary-sunflower);
  margin-bottom: 1.5rem;
  display: inline-block;
  line-height: 1;
  filter: drop-shadow(0 0 35px rgba(234, 179, 8, 0.5));
  animation: float 4s ease-in-out infinite;
}

.final-card {
  max-width: 780px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  backdrop-filter: blur(25px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(234, 179, 8, 0.2);
  margin-bottom: 2.5rem;
}

.btn-hug {
  background: linear-gradient(135deg, #f59e0b, #eab308);
  color: #0b0f19;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 1.1rem 2.8rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
}

.btn-hug:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.6);
}

/* ==========================================================================
   ANIMACIONES GENERALES
   ========================================================================== */
@keyframes pulse-glow {
  0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(234, 179, 8, 0.3)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.8)); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ==========================================================================
   REPRODUCTOR DE MÚSICA FLOTANTE
   ========================================================================== */
.music-player-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  border-radius: 9999px;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.2);
  transition: all 0.3s ease;
}

.music-player-widget:hover {
  border-color: rgba(245, 158, 11, 0.7);
  transform: translateY(-2px);
}

.music-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: #0b0f19;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.music-toggle-btn:hover {
  transform: scale(1.1);
}

.music-meta {
  display: flex;
  flex-direction: column;
}

.music-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.music-sub {
  font-size: 0.7rem;
  color: var(--primary-sunflower);
}

/* ==========================================================================
   RESPONSIVIDAD MÓVIL
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .parallax-blog-content {
    padding: 2rem 1.5rem;
  }
  
  .reversa-card-container {
    min-height: 520px;
  }
  
  .reversa-side {
    padding: 2rem 1.5rem;
  }
  
  .carrusel-card {
    flex: 0 0 280px;
    height: 400px;
  }
  
  .box {
    --box-width: 18rem;
    --box-height: 24rem;
  }
  
  .floating-nav {
    width: 92%;
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }
}
