/* ---------- GENERAL ---------- */
body{
    margin:0;
    font-family:"Poppins",sans-serif;
    background:#030303;
    color:#fff;
}

/* ---------- HEADER ---------- */
header{
  display:flex;
    align-items:center;
    justify-content:space-between;
    padding:40px;
    min-height:100vh;
    position:relative;
    overflow:hidden;
    background:#0c0c0f;
}


.logo{
    width:280px;
    position:absolute;
    top:20px;
    left:20px;
    filter:drop-shadow(0 0 10px #ff00c8);
    z-index:10;
    margin-bottom: 30px;
    
}

.header-text{
    margin-right: 70px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.title{
    font-size:3.5rem;
    font-weight:700;
    opacity:0;
    animation:fadeUp 1s forwards .6s;
}

.title span{
    display:inline-block;
    animation:neonGlow 2s infinite alternate;
}

.subtitle{
    font-size:1.2rem;
    text-shadow:0 0 10px #00eaff;
    opacity:0;
    animation:fadeUp 1s forwards 1.2s;
    margin-bottom:5px;
}

.intro-flex{
    display:flex;
    gap:40px;
    align-items:center;
}

.intro-text{
    font-size:1.05rem;
    line-height:1.6;
    opacity:0;
    animation:fadeUp 1s forwards 1.8s;
    text-shadow:0 0 8px #00eaff;
}

.memoji{
    width:160px;
    opacity:0;
    animation:fadeUp 1s forwards 2.3s;
    filter:drop-shadow(0 0 12px #ff00c8);
}

.slogan{
    font-size:28px;
    color:#ffc9ff;
    margin-bottom:25px;
}

.descripcion{
    font-size:22px;
    line-height:1.6;
    color:#d9ffff;
    text-shadow:0 0 10px #5cfaff;
}

img.podcast-img{
    width:25%;
    border-radius:20px;
    object-fit:cover;
    box-shadow:0 0 15px rgba(0,255,255,.7),
                0 0 30px rgba(255,0,200,.5);
    opacity:0;
    animation:fadeUp 1s forwards .9s;
    z-index:5;
}

/* ---------- PARTICLES ---------- */
}

.particle{
    position:absolute;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#00eaff;
    opacity:.6;
    animation:float 6s infinite linear;
}

.particle:nth-child(odd){
    background:#ff00c8;
}

/* ---------- MUSIC NOTES (HEADER + EPISODES) ---------- */
.music-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.music-note {
  position: absolute;
  top: 110%;
  color: #ffffff;
  opacity: 0.8;
  animation: floatNotes 6s linear infinite;
  text-shadow: 0 0 10px #ff00c8, 0 0 15px #00eaff;
}

.music-note.alt {
  opacity: 0.5;
}

/* ---------- EPISODES SECTION ---------- */
.episodes-section {
  padding: 120px 40px;
  background:#0c0c0f;
  position: relative;
  text-align:center;
  overflow:hidden;
}

.episodes-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  text-shadow: 0 0 12px #ff00c8;
}

.episodes-carousel {
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}

.episode-card {
  background:#15151a;
  padding:20px;
  width:280px;
  border-radius:18px;
  box-shadow:0 0 10px #00eaff55;
  transition:0.3s;
}

.episode-card:hover {
  transform:translateY(-5px);
  box-shadow:0 0 18px #ff00c855;
}

.listen-btn {
  display:block;
  background:#ff00c8;
  margin-top:15px;
  padding:10px 20px;
  border-radius:12px;
  color:#fff;
  text-decoration:none;
}

/* ---------- ANIMACIONES ---------- */
@keyframes fadeUp{
    0%{opacity:0;transform:translateY(30px);}
    100%{opacity:1;transform:translateY(0);}
}

@keyframes neonGlow{
    0%{text-shadow:0 0 8px #ff009d,0 0 12px #00eaff;}
    100%{text-shadow:0 0 20px #ff009d,0 0 30px #00eaff;}
}

@keyframes float{
    0%{transform:translateY(100vh) scale(.5);}
    100%{transform:translateY(-10vh) scale(1);}
}

@keyframes floatNotes {
  0% { transform: translateY(0); }
  100% { transform: translateY(-140vh); }
}

/* ---------- 🎬 MODAL DE VIDEO ---------- */

.video-modal{
  display:none;
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.85);
  z-index:9999;
  justify-content:center;
  align-items:center;
  padding:20px;
}

.video-modal-content{
  width:90%;
  max-width:750px;
  background:#111;
  padding:15px;
  border-radius:15px;
  box-shadow:0 0 25px #00eaff;
  position:relative;
}

.video-modal .close-modal{
  position:absolute;
  right:20px;
  top:10px;
  font-size:28px;
  cursor:pointer;
  color:white;
  text-shadow:0 0 10px #ff00c8;
}

.video-modal video{
  width:100%;
  border-radius:12px;
}

.header-text {
    margin-right: 60px !important;
}
.video-modal {
  z-index: 999999 !important;
}

.video-modal-content {
  z-index: 999999 !important;
}

.close-modal {
  z-index: 99999999 !important;
}

/* ===========================
   BLOC INTERACTIVO
=========================== */
.bloc-interactivo {
    padding: 60px 60px;
    background: #0c0c0f;
    color: #fff;
    width: 50%;
    box-sizing: border-box;
    position: center;
}

.bloc-interactivo h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 25px;
    color: #d71bec;
    text-shadow: 0 0 10px #8f4e83;
}

.tools {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.tools button {
    background: #1a1a1f;
    border: 1px solid #7e12b0;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 16px;
}

.tools button:hover {
    background: #c116c1;
    color: #000;
}

/* Área escribible */
.bloc-area {
    width: 100%;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid #8514b9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 20px #b785b5;
    outline: none;
    font-size: 18px;
    line-height: 1.6;
    white-space: pre-wrap;
    position: relative;
}

/* Stickers */
.sticker {
    position: absolute;
    padding: 10px 15px;
    background: #fffc94;
    color: #000;
    border-radius: 6px;
    cursor: grab;
    font-size: 14px;
    user-select: none;
    box-shadow: 0 0 8px #fff;
}
 /* ========== GAME SECTION ========== */
.game-section{padding:80px 20px;background:linear-gradient(180deg,#0c0c0f 0%,#0a0a0f 100%);position:relative;text-align:center;overflow:hidden;}
.game-section-title{font-family:'Dancing Script',cursive;font-size:2.5rem;color:#ff69b4;text-shadow:0 0 20px #ff69b4,0 0 40px #ff00ff;margin-bottom:10px;}
.game-section-subtitle{color:#00ffff;font-size:1rem;margin-bottom:30px;text-shadow:0 0 10px #00ffff;}
.game-wrapper{max-width:600px;margin:0 auto;background:rgba(10,10,15,0.8);border-radius:20px;overflow:hidden;box-shadow:0 0 40px rgba(255,105,180,0.3),0 0 80px rgba(0,255,255,0.15);border:1px solid rgba(255,255,255,0.1);}
.game-header{text-align:center;padding:15px;background:rgba(0,0,0,0.5);backdrop-filter:blur(10px);}
.game-logo-title{font-family:'Dancing Script',cursive;font-size:1.5em;color:#ff69b4;text-shadow:0 0 15px #ff69b4,0 0 30px #ff00ff;margin:0;}
.game-logo-subtitle{color:#00ffff;font-size:0.7em;font-weight:700;letter-spacing:3px;text-shadow:0 0 10px #00ffff;margin:3px 0 0 0;}
.game-stats{display:flex;justify-content:center;gap:30px;padding:10px;background:rgba(0,0,0,0.3);}
.game-stat{text-align:center;}
.game-stat-label{font-size:0.7em;color:#888;text-transform:uppercase;letter-spacing:1px;}
.game-stat-value{font-size:1.5em;font-weight:700;}
.stat-score .game-stat-value{color:#00ffff;text-shadow:0 0 10px #00ffff;}
.stat-lives .game-stat-value{color:#ff69b4;text-shadow:0 0 10px #ff69b4;}
.game-area{position:relative;width:100%;height:400px;overflow:hidden;background:rgba(0,0,0,0.2);}
.falling-item{position:absolute;font-size:2em;cursor:pointer;filter:drop-shadow(0 0 10px rgba(255,255,255,0.5));transition:transform 0.1s ease;user-select:none;}
.falling-item:hover{transform:scale(1.2);}
.falling-item.nota,.falling-item.punto{animation:fall linear forwards;}
.falling-item.caught{animation:pop 0.3s ease-out forwards;}
.game-player{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);font-size:2.5em;filter:drop-shadow(0 0 15px #ff69b4);transition:left 0.1s ease-out;z-index:20;}
.game-screen{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(10,10,15,0.95);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:100;backdrop-filter:blur(10px);}
.game-screen.hidden{display:none;}
.screen-title{font-family:'Dancing Script',cursive;font-size:2em;color:#ff69b4;text-shadow:0 0 20px #ff69b4,0 0 40px #ff00ff;margin-bottom:10px;animation:floatGame 2s ease-in-out infinite;}
.screen-subtitle{font-size:0.9em;color:#aaa;margin-bottom:20px;text-align:center;padding:0 20px;}
.screen-score{font-size:2.5em;font-weight:700;color:#00ffff;text-shadow:0 0 20px #00ffff;margin:15px 0;}
.screen-instructions{background:rgba(255,255,255,0.05);border-radius:15px;padding:15px 20px;margin:15px 0;border:1px solid rgba(255,255,255,0.1);}
.instruction{display:flex;align-items:center;gap:12px;margin:8px 0;font-size:0.85em;color:#ccc;}
.instruction-icon{font-size:1.5em;}
.instruction-good{color:#22c55e;}
.instruction-bad{color:#ff6b6b;}
.btn-play{padding:12px 40px;border-radius:30px;background:linear-gradient(135deg,#ff69b4,#a855f7,#00ffff);border:none;color:#fff;font-size:1em;font-weight:700;cursor:pointer;transition:all 0.3s ease;box-shadow:0 0 30px rgba(255,105,180,0.5);margin-top:15px;}
.btn-play:hover{transform:scale(1.05);box-shadow:0 0 50px rgba(255,105,180,0.7),0 0 80px rgba(0,255,255,0.4);}
.game-effect{position:absolute;font-size:1.3em;font-weight:700;pointer-events:none;animation:floatUp 1s ease-out forwards;}
.effect-good{color:#22c55e;text-shadow:0 0 10px #22c55e;}
.effect-bad{color:#ff6b6b;text-shadow:0 0 10px #ff6b6b;}
.lives-display{display:flex;gap:5px;justify-content:center;}
.heart{font-size:1.2em;transition:all 0.3s ease;}
.heart.lost{opacity:0.2;transform:scale(0.8);}
.final-message{font-size:0.9em;color:#888;margin-top:10px;font-style:italic;}

@keyframes fall{0%{transform:translateY(-60px);}100%{transform:translateY(450px);}}
@keyframes pop{0%{transform:scale(1);opacity:1;}50%{transform:scale(1.5);opacity:0.5;}100%{transform:scale(0);opacity:0;}}
@keyframes floatUp{0%{opacity:1;transform:translateY(0) scale(1);}100%{opacity:0;transform:translateY(-50px) scale(1.5);}}
@keyframes floatGame{0%,100%{transform:translateY(0px);}50%{transform:translateY(-8px);}}

/* Contenedor de notas musicales para el juego */
.game-section .music-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.game-section .music-note {
    position: absolute;
    top: 110%;
    color: #ffffff;
    opacity: 0.8;
    animation: floatNotes 6s linear infinite;
    text-shadow: 0 0 10px #ff00c8, 0 0 15px #00ffff;
}

.game-section .music-note.alt {
    opacity: 0.5;
}

@keyframes floatNotes {

    0% { transform: translateY(0); }
    100% { transform: translateY(-140vh); }


        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            min-height: 100vh;
            background: #0a0a0f;
            padding: 30px;
            font-family: 'Poppins', sans-serif;
            position: relative;
            overflow-x: hidden;
        }
        @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        @keyframes pulse1 { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.1); } }
        @keyframes pulse2 { 0%, 100% { opacity: 0.25; transform: scale(1.1); } 50% { opacity: 0.4; transform: scale(1); } }
        @keyframes pulse3 { 0%, 100% { opacity: 0.2; transform: scale(1); } 50% { opacity: 0.35; transform: scale(1.15); } }
        @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }
        .bg-rotate {
            position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
            background: conic-gradient(from 0deg, transparent, rgba(255,0,255,0.08), transparent, rgba(0,255,255,0.08), transparent);
            animation: rotate 20s linear infinite; pointer-events: none; z-index: 0;
        }
        .glow { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
        .glow-1 { width: 350px; height: 350px; background: #ff69b4; filter: blur(150px); top: -120px; right: -120px; animation: pulse1 4s ease-in-out infinite; }
        .glow-2 { width: 300px; height: 300px; background: #00ffff; filter: blur(150px); bottom: 10%; left: -100px; animation: pulse2 5s ease-in-out infinite; }
        .glow-3 { width: 250px; height: 250px; background: #a855f7; filter: blur(120px); bottom: -80px; right: 30%; animation: pulse3 6s ease-in-out infinite; }
        .header { text-align: center;margin-top: 80px; margin-bottom: 30px; animation: float 3s ease-in-out infinite; position: relative; z-index: 1; }
        .logo-title { font-family: 'Dancing Script', cursive; font-size: 2.5em; color: #ff69b4; text-shadow: 0 0 20px #ff69b4, 0 0 40px #ff00ff; margin: 0; }
        .logo-subtitle { color: #00ffff; font-size: 1em; font-weight: 700; letter-spacing: 4px; text-shadow: 0 0 15px #00ffff; margin: 5px 0 0 0; }
        .main-container { display: flex; gap: 30px; position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
        .guia-column { flex: 1; min-width: 320px; max-width: 450px; }
        .guia-title { font-family: 'Dancing Script', cursive; font-size: 1.5em; color: #fff; text-align: center; margin-bottom: 5px; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
        .guia-subtitle { font-family: 'Dancing Script', cursive; font-size: 1.1em; color: #aaa; text-align: center; margin-bottom: 20px; }
        .steps { display: flex; flex-direction: column; gap: 15px; }
        .step { background: rgba(255,255,255,0.03); border-radius: 16px; padding: 18px 20px; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; }
        .step:hover { transform: translateX(5px); background: rgba(255,255,255,0.06); }
        .step-1 { border-left: 4px solid #ff69b4; box-shadow: 0 0 20px rgba(255,105,180,0.15); }
        .step-2 { border-left: 4px solid #00ffff; box-shadow: 0 0 20px rgba(0,255,255,0.15); }
        .step-3 { border-left: 4px solid #ff69b4; box-shadow: 0 0 20px rgba(255,105,180,0.15); }
        .step-number { font-size: 0.7em; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px; }
        .step-1 .step-number { color: #ff69b4; text-shadow: 0 0 10px #ff69b4; }
        .step-2 .step-number { color: #00ffff; text-shadow: 0 0 10px #00ffff; }
        .step-3 .step-number { color: #ff69b4; text-shadow: 0 0 10px #ff69b4; }
        .step-title { font-family: 'Dancing Script', cursive; font-size: 1.4em; color: #fff; margin-bottom: 8px; }
        .step-desc { font-size: 0.85em; color: #bbb; line-height: 1.6; margin-bottom: 8px; }
        .step-tip { font-size: 0.8em; font-style: italic; color: #777; padding-left: 12px; border-left: 2px solid rgba(255,255,255,0.2); }
        .tip-extra { background: linear-gradient(135deg, rgba(255,105,180,0.1), rgba(0,255,255,0.1)); border-radius: 16px; padding: 18px; margin-top: 20px; border: 1px dashed rgba(255,105,180,0.3); text-align: center; }
        .tip-extra-title { font-family: 'Dancing Script', cursive; font-size: 1.2em; color: #ff69b4; text-shadow: 0 0 10px #ff69b4; margin-bottom: 8px; }
        .tip-extra-text { font-size: 0.85em; color: #999; line-height: 1.6; }
        .bloc-column { flex: 1.3; min-width: 350px; display: flex; flex-direction: column; }
        .bloc-title { font-family: 'Dancing Script', cursive; font-size: 1.5em; color: #fff; text-align: center; margin-bottom: 15px; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
        .nota-container { background: #1a1a2e; border-radius: 20px; padding: 25px; position: relative; min-height: 300px; box-shadow: 0 0 40px rgba(255,105,180,0.2), 0 0 80px rgba(0,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); margin-bottom: 15px; }
        .nota-textarea { width: 100%; min-height: 250px; background: transparent; border: none; outline: none; color: #ffffff; font-size: 1em; line-height: 1.8; resize: none; font-family: 'Poppins', sans-serif; position: relative; z-index: 5; }
        .nota-textarea::placeholder { color: rgba(255,255,255,0.35); font-style: italic; }
        .sticker-placed { position: absolute; font-size: 1.8em; cursor: pointer; transition: transform 0.2s ease; filter: drop-shadow(0 0 8px rgba(255,255,255,0.6)); z-index: 10; }
        .sticker-placed:hover { transform: scale(1.3); }
        .controles { background: rgba(255,255,255,0.03); border-radius: 16px; padding: 18px; border: 1px solid rgba(255,255,255,0.06); margin-bottom: 15px; }
        .control-row { display: flex; gap: 25px; margin-bottom: 15px; align-items: flex-start; flex-wrap: wrap; }
        .control-row:last-child { margin-bottom: 0; }
        .control-group { flex: 1; min-width: 150px; }
        .control-label { font-size: 0.8em; font-weight: 600; margin-bottom: 10px; display: block; }
        .label-rosa { color: #ff69b4; text-shadow: 0 0 8px #ff69b4; }
        .label-cyan { color: #00ffff; text-shadow: 0 0 8px #00ffff; }
        .label-morado { color: #a855f7; text-shadow: 0 0 8px #a855f7; }
        .options-row { display: flex; gap: 8px; flex-wrap: wrap; }
        .color-btn { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s ease; }
        .color-btn:hover, .color-btn.active { border: 3px solid #fff; box-shadow: 0 0 15px currentColor; transform: scale(1.15); }
        .fondo-btn { width: 28px; height: 28px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s ease; }
        .fondo-btn:hover, .fondo-btn.active { border: 3px solid #fff; box-shadow: 0 0 12px rgba(255,255,255,0.4); transform: scale(1.15); }
        .sticker-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); cursor: pointer; font-size: 1.2em; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
        .sticker-btn:hover { background: rgba(255,255,255,0.15); transform: scale(1.15); }
        .acciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
        .btn-limpiar { padding: 12px 24px; border-radius: 25px; background: rgba(255,107,107,0.12); border: 2px solid #ff6b6b; color: #ff6b6b; font-size: 0.9em; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
        .btn-limpiar:hover { background: #ff6b6b; color: #fff; box-shadow: 0 0 25px rgba(255,107,107,0.5); }
        .btn-descargar { padding: 12px 24px; border-radius: 25px; background: linear-gradient(135deg, #ff69b4, #a855f7, #00ffff); border: none; color: #fff; font-size: 0.9em; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 25px rgba(255,105,180,0.5); }
        .btn-descargar:hover { transform: scale(1.05); box-shadow: 0 0 35px rgba(255,105,180,0.7), 0 0 70px rgba(0,255,255,0.5); }
        .footer { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 1; }
        .footer .tagline { font-family: 'Dancing Script', cursive; font-size: 1.1em; color: #888; }
        .footer .mini-tip { font-size: 0.75em; color: #555; margin-top: 8px; }
        @media (max-width: 900px) { .main-container { flex-direction: column; } .guia-column, .bloc-column { max-width: 100%; min-width: auto; } }
}

/* Sección de Video */
.video-section {
    position: relative;
    max-width: 95vw;
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    min-height: 100vh;
    overflow: hidden;
}

/* Fondo de Estrellas Animadas */
.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; animation-duration: 2.5s; }
.star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.3s; animation-duration: 3s; }
.star:nth-child(3) { top: 30%; left: 40%; animation-delay: 0.6s; animation-duration: 2.8s; }
.star:nth-child(4) { top: 40%; left: 60%; animation-delay: 0.9s; animation-duration: 3.2s; }
.star:nth-child(5) { top: 50%; left: 10%; animation-delay: 1.2s; animation-duration: 2.7s; }
.star:nth-child(6) { top: 60%; left: 90%; animation-delay: 1.5s; animation-duration: 3.1s; }
.star:nth-child(7) { top: 70%; left: 30%; animation-delay: 1.8s; animation-duration: 2.9s; }
.star:nth-child(8) { top: 80%; left: 70%; animation-delay: 2.1s; animation-duration: 3.3s; }
.star:nth-child(9) { top: 15%; left: 50%; animation-delay: 0.4s; animation-duration: 2.6s; }
.star:nth-child(10) { top: 25%; left: 15%; animation-delay: 0.7s; animation-duration: 3.4s; }
.star:nth-child(11) { top: 35%; left: 85%; animation-delay: 1s; animation-duration: 2.5s; }
.star:nth-child(12) { top: 45%; left: 25%; animation-delay: 1.3s; animation-duration: 3s; }
.star:nth-child(13) { top: 55%; left: 75%; animation-delay: 1.6s; animation-duration: 2.8s; }
.star:nth-child(14) { top: 65%; left: 45%; animation-delay: 1.9s; animation-duration: 3.2s; }
.star:nth-child(15) { top: 75%; left: 55%; animation-delay: 2.2s; animation-duration: 2.7s; }
.star:nth-child(16) { top: 85%; left: 35%; animation-delay: 0.5s; animation-duration: 3.1s; }
.star:nth-child(17) { top: 12%; left: 65%; animation-delay: 0.8s; animation-duration: 2.9s; }
.star:nth-child(18) { top: 48%; left: 92%; animation-delay: 1.1s; animation-duration: 3.3s; }
.star:nth-child(19) { top: 68%; left: 8%; animation-delay: 1.4s; animation-duration: 2.6s; }
.star:nth-child(20) { top: 88%; left: 50%; animation-delay: 1.7s; animation-duration: 3.4s; }

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Título Principal */
.video-main-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    text-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    animation: titleFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.video-container {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 15px;
    margin: 0 auto 30px;
    max-width: 500px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* Borde Neón */
    border: 3px solid #667eea;
    box-shadow: 
        0 0 10px #667eea,
        0 0 20px #667eea,
        0 0 40px #667eea,
        0 0 80px #764ba2,
        inset 0 0 10px rgba(102, 126, 234, 0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 
            0 0 10px #667eea,
            0 0 20px #667eea,
            0 0 40px #667eea,
            0 0 80px #764ba2,
            inset 0 0 10px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 
            0 0 20px #667eea,
            0 0 30px #667eea,
            0 0 60px #667eea,
            0 0 100px #764ba2,
            0 0 140px #f093fb,
            inset 0 0 20px rgba(102, 126, 234, 0.4);
    }
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 20px #667eea,
        0 0 40px #667eea,
        0 0 80px #667eea,
        0 0 120px #764ba2,
        0 0 160px #f093fb,
        inset 0 0 20px rgba(102, 126, 234, 0.3);
}

#mainVideo {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 15px;
    display: block;
    background: #000;
    object-fit: contain;
    aspect-ratio: auto;
    margin: 0 auto;
}

.video-interactions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 20px;
    width: 100%;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.5);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.like-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

.like-btn.liked {
    background: rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.6);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
}

.like-btn.liked .heart-icon {
    fill: #ff1744;
    animation: heartBeat 0.5s ease;
    filter: drop-shadow(0 0 5px #ff1744);
}

.heart-icon {
    fill: rgba(255, 255, 255, 0.9);
    transition: fill 0.3s ease;
}

.like-count {
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
}

/* Sección de Comentarios - También centrada */
.comments-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(102, 126, 234, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .video-section {
        padding: 15px;
    }

    .video-main-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .video-container {
        padding: 12px;
        max-width: 95%;
    }

    #mainVideo {
        max-height: 65vh;
    }
    
    .comment-form {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
    }

    .comments-section {
        padding: 20px;
        max-width: 95%;
    }

    .video-interactions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .video-main-title {
        font-size: 24px;
    }

    .video-container {
        padding: 10px;
        max-width: 98%;
    }

    #mainVideo {
        max-height: 60vh;
    }

    .comments-section {
        max-width: 98%;
    }
}

/* Para pantallas muy grandes */
@media (min-width: 1200px) {
    .video-container {
        max-width: 450px;
    }

    #mainVideo {
        max-height: 75vh;
    }

    .comments-section {
        max-width: 450px;
    }
}

.video-interactions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 15px;
    gap: 20px;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.like-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.like-btn.liked {
    background: rgba(255, 105, 180, 0.3);
    border-color: rgba(255, 105, 180, 0.5);
}

.like-btn.liked .heart-icon {
    fill: #ff1744;
    animation: heartBeat 0.5s ease;
}

.heart-icon {
    fill: rgba(255, 255, 255, 0.8);
    transition: fill 0.3s ease;
}

.like-count {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
}

/* Sección de Comentarios */
.comments-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.comments-title {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 20px;
    font-weight: 700;
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.comment-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.comment-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 15px 20px;
    border-radius: 15px;
    animation: slideIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.comment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.comment-text {
    color: #333;
    line-height: 1.6;
    padding-left: 10px;
}

.comment-date {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    padding-left: 10px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .video-section {
        padding: 15px;
    }

    .video-main-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .video-container {
        padding: 10px;
    }

    #mainVideo {
        max-height: 50vh;
    }
    
    .comment-form {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
    }

    .comments-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .video-main-title {
        font-size: 24px;
    }

    #mainVideo {
        max-height: 40vh;
    }
}
