* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}


body {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    background: #0a0013;
    position: relative;
}

body::after {
    content: "";
    position: absolute;
    top: 20%;
    left: -10%;
    width: 120%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(120px);
    opacity: 0.7;
    pointer-events: none;
    animation: humo 18s ease-in-out infinite alternate;
}

@keyframes humo {
    0% {
        transform: translateX(-80px) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translateX(80px) scale(1.2);
        opacity: 0.8;
    }
}

body::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 15%;
    width: 40vw;
    height: 120vh;
    background: linear-gradient(to bottom, rgba(255, 0, 255, 0.55), rgba(255, 0, 255, 0.10) 40%, transparent 100%);
    filter: blur(40px);
    opacity: 0.6;
    transform: rotate(-12deg);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: foco1 6s ease-in-out infinite alternate;
}

@keyframes foco1 {
    0% {
        transform: rotate(-10deg) translateY(0);
    }

    100% {
        transform: rotate(-14deg) translateY(20px);
    }
}

.foco-extra-1,
.foco-extra-2 {
    content: "";
    position: fixed;
    top: -20%;
    width: 50vw;
    height: 140vh;
    filter: blur(40px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
}

.foco-extra-1 {
    left: 5%;
    background: linear-gradient(to bottom, rgba(255, 0, 180, 0.55), transparent 65%);
    transform: rotate(-25deg);
    animation: cruzado1 7s ease-in-out infinite alternate;
}

.foco-extra-2 {
    right: 5%;
    background: linear-gradient(to bottom, rgba(0, 180, 255, 0.55), transparent 65%);
    transform: rotate(30deg);
    animation: cruzado2 7s ease-in-out infinite alternate;
}

@keyframes cruzado1 {
    0% {
        transform: rotate(-20deg) translateY(0);
    }

    100% {
        transform: rotate(-35deg) translateY(25px);
    }
}

@keyframes cruzado2 {
    0% {
        transform: rotate(25deg) translateY(0);
    }

    100% {
        transform: rotate(38deg) translateY(30px);
    }
}

.pagina {
    min-height: 100vh;
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.contenido {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 40px;
}

.banner-grande {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
    padding-top: 10px;
    background: none;
    box-shadow: none;
}

.logo-banner {
    width: 60%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    filter: drop-shadow(0 0 12px rgba(255, 0, 255, 0.5)) drop-shadow(0 0 18px rgba(0, 255, 255, 0.35));
    transform-style: preserve-3d;
}

.logo-banner.giro-3d {
    animation: spin3D 1.2s cubic-bezier(0.25, 0.9, 0.45, 1.4) forwards;
}

@keyframes spin3D {
    0% {
        transform: rotateY(0deg) scale(1);
    }
    50% {
        transform: rotateY(1500deg) scale(1);
    }
    100% {
        transform: rotateY(2500deg) scale(1);
    }
}

.titulo {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(255, 0, 255, 0.8),
        0 0 25px rgba(0, 255, 255, 0.6);
    transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.titulo:hover {
    transform: translateY(-2px);
    text-shadow:
        0 0 14px rgba(255, 0, 255, 1),
        0 0 30px rgba(0, 255, 255, 1);
}

h2 {
    margin: 0;
    margin-top: -10px;
    font-size: clamp(1rem, 2vw, 1.6rem);
    font-weight: 400;
    text-align: center;
    color: #ffffff;
    opacity: 1;
    letter-spacing: 0.05em;
    text-shadow:
        0 0 8px rgba(255, 0, 255, 0.4),
        0 0 14px rgba(0, 255, 255, 0.3);
    animation: h2-entrada 1.4s ease-out forwards;
}

h3:hover {
    text-decoration: underline;
}

@keyframes h2-entrada {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 0.85;
        transform: translateY(0);
    }
}

h3 {
    margin: 0;
    margin-top: -18px;
    font-size: clamp(0.9rem, 1.6vw, 1.2rem);
    font-weight: 300;
    text-align: center;
    color: #b8b8ff;
    opacity: 0.7;
    letter-spacing: 0.03em;
    text-shadow:
        0 0 6px rgba(255, 0, 255, 0.25),
        0 0 10px rgba(0, 255, 255, 0.15);
    animation: h3-entrada 1.6s ease-out forwards;
}

@keyframes h3-entrada {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 0.7;
        transform: translateY(0);
    }
}

.categorias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.boton-categoria {
    min-width: 180px;
    padding: 18px 32px;
    border-radius: 999px;
    border: 2px solid #ff00ff;
    background: linear-gradient(135deg, #1a001f, #4b0082);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
    animation: flotando-boton 5s ease-in-out infinite alternate;
}

.boton-categoria:nth-child(2) {
    animation-delay: 0.3s;
}

.boton-categoria:nth-child(3) {
    animation-delay: 0.6s;
}

.boton-categoria:nth-child(4) {
    animation-delay: 0.9s;
}

.boton-categoria:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow:
        0 0 18px rgba(255, 0, 255, 0.8),
        0 0 26px rgba(0, 255, 255, 0.5);
    background: linear-gradient(135deg, #ff00ff, #7b2cff);
}

.boton-categoria:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 0 6px rgba(255, 0, 255, 0.5);
}

.corte-perfecto {
    border-color: #ff00dd;
    box-shadow: 0 0 12px rgba(255, 0, 221, 0.4);
}

.corte-perfecto:hover {
    background: linear-gradient(135deg, #ff00dd, #ff55ff);
    box-shadow: 0 0 20px rgba(255, 0, 221, 0.8);
}

.eso-dijo-ella {
    border-color: #ff4da6;
    box-shadow: 0 0 12px rgba(255, 77, 166, 0.4);
}

.eso-dijo-ella:hover {
    background: linear-gradient(135deg, #ff4da6, #ff85c2);
    box-shadow: 0 0 20px rgba(255, 77, 166, 0.8);
}

.momento-hype {
    border-color: #00eaff;
    box-shadow: 0 0 12px rgba(0, 234, 255, 0.4);
}

.momento-hype:hover {
    background: linear-gradient(135deg, #00eaff, #66f9ff);
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.8);
}

.hombre-de-cristal {
    border-color: #4d7dff;
    box-shadow: 0 0 12px rgba(77, 125, 255, 0.4);
}

.hombre-de-cristal:hover {
    background: linear-gradient(135deg, #4d7dff, #8aa4ff);
    box-shadow: 0 0 20px rgba(77, 125, 255, 0.8);
}

@keyframes flotando-boton {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

.marco-cine {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: 15px solid #000000;
    box-shadow:
        inset 0 0 35px rgba(0, 0, 0, 0.85),
        inset 0 0 80px rgba(0, 0, 0, 0.6),
        0 0 12px rgba(0, 0, 0, 0.7);
    border-radius: 0;
    pointer-events: none;
    z-index: 9999;
}

.fondo-dinamico {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
    transition: background 0.9s ease;
}

.pagina:has(.corte-perfecto:hover) .fondo-dinamico {
    background: radial-gradient(circle at center, rgba(255, 0, 221, 0.12), transparent 70%);
}

.pagina:has(.eso-dijo-ella:hover) .fondo-dinamico {
    background: radial-gradient(circle at center, rgba(255, 77, 166, 0.10), transparent 70%);
}

.pagina:has(.momento-hype:hover) .fondo-dinamico {
    background: radial-gradient(circle at center, rgba(0, 234, 255, 0.12), transparent 70%);
}

.pagina:has(.hombre-de-cristal:hover) .fondo-dinamico {
    background: radial-gradient(circle at center, rgba(77, 125, 255, 0.12), transparent 70%);
}

.conejo {
    opacity: 0.9;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 8px;
    transition: opacity 0.3s ease;
}

.conejo:hover {
    opacity: 0.6;
}

.jumpscare {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 35vw;
    height: 35vh;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
}

.jumpscare img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jumpscare.activo {
    opacity: 1;
    animation: jumpscareZoom 4s ease-out forwards;
}

@keyframes jumpscareZoom {
    0% {
        transform: translate(-50%, -50%) scale(2);
    }

    100% {
        transform: translate(-50%, -50%) scale(7);
    }
}

.jumpscare-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    opacity: 0;
    z-index: 99998;
    pointer-events: none;
    transition: opacity 0.1s ease-out;
}

.jumpscare-flash.activo {
    opacity: 0.3;
}

/* Bloque Daira, centrado abajo */
.daira-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column-reverse; /* DOM: container->texto / VISUAL: texto->container */
    align-items: center;
    gap: 6px;
    z-index: 99990;
    pointer-events: none;
}

.daira-container {
    position: relative;
    width: 70px;
    height: 70px;
    pointer-events: auto;
    cursor: pointer;
}

.daira-img,
.daira-blood {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.daira-img {
    opacity: 0.95;
}

.daira-container:hover .daira-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 1px #ff8aff) drop-shadow(0 0 12px #ff00ff);
    animation: dairaShake 0.1s infinite;
}

.daira-blood {
    opacity: 0;
    transform: scale(0.3);
    pointer-events: none;
}

.daira-blood.mostrar {
    opacity: 1;
    transform: scale(1);
}

.daira-text {
    margin: 0;
    font-size: 0.8rem;
    color: #ffd6ff;
    opacity: 0;
    text-shadow: 0 0 8px rgba(255,0,255,0.4);
    max-width: 160px;
    text-align: center;
    pointer-events: none;
}

/* Aparece solo con hover mientras Daira está viva */
.daira-container:hover + .daira-text {
    opacity: 1;
}

/* Y se queda visible cuando la aplastás */
.daira-text.visible {
    opacity: 1;
}


/* Mostrar texto cuando el mouse está sobre Daira */
.daira-container:hover ~ .daira-text {
    opacity: 1;
}


/* Cuando muere, se queda visible */
.daira-text.visible {
    opacity: 1;
}

@keyframes dairaShake {
    0%   { transform: translate(0, 0) scale(1.05); }
    20%  { transform: translate(2px, -2px) scale(1.05); }
    40%  { transform: translate(-2px, 2px) scale(1.05); }
    60%  { transform: translate(2px, 1px) scale(1.05); }
    80%  { transform: translate(-2px, -1px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1.05); }
}

.modal-categorias {
    position: fixed;
    inset: 0;
    background: rgba(5, 0, 20, 0.85);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.modal-categorias.activo {
    display: flex;
}

.modal-contenido {
    background: radial-gradient(circle at top, #290033, #050010);
    border-radius: 18px;
    border: 1px solid rgba(255, 0, 255, 0.5);
    box-shadow:
        0 0 20px rgba(255, 0, 255, 0.4),
        0 0 30px rgba(0, 255, 255, 0.3);
    padding: 24px 28px;
    width: 80vw;
    max-width: 900px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

.modal-titulo {
    margin: 0;
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(255, 0, 255, 0.7),
        0 0 18px rgba(0, 255, 255, 0.4);
}

.modal-cerrar {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: transparent;
    color: #ffb3ff;
    font-size: 1.2rem;
    cursor: pointer;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

.modal-cerrar:hover {
    color: #ffffff;
}

.grid-categorias {
    margin-top: 10px;
    padding-right: 6px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    overflow-y: auto;
}

/* botones chiquitos del modal */
.boton-categoria-pequeno {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #ff00ff;
    background: linear-gradient(135deg, #1a001f, #3a0066);
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(255, 0, 255, 0.3);
    transition: transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.boton-categoria-pequeno:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 12px rgba(255, 0, 255, 0.7),
        0 0 18px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, #ff00ff, #7b2cff);
}

.categorias-grid {
    max-width: 1100px;
    padding: 0 16px;
}

.categorias-grid .boton-categoria {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagina-votar .contenido {
    padding-top: 40px;
    gap: 18px;
}

.titulo-chico {
    font-size: clamp(2rem, 4vw, 3rem);
}

.subtitulo-votar {
    margin: 0;
    margin-top: -6px;
    opacity: 0.9;
}

.volver {
    align-self: flex-start;
    text-decoration: none;
    color: #ffd6ff;
    opacity: 0.9;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 0, 255, 0.35);
    background: rgba(10, 0, 20, 0.35);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.volver:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.marco-form {
    width: min(1000px, 92vw);
    height: min(72vh, 780px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 255, 0.45);
    box-shadow:
        0 0 16px rgba(255, 0, 255, 0.25),
        0 0 24px rgba(0, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.25);
}

.marco-form iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.fallback {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.85;
    text-align: center;
    max-width: 700px;
}

.fallback a {
    color: #00eaff;
    text-decoration: underline;
}

.marco-playlist {
    width: min(1000px, 92vw);
    height: min(42vh, 420px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 255, 0.45);
    box-shadow:
        0 0 16px rgba(255, 0, 255, 0.25),
        0 0 24px rgba(0, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.25);
}

.marco-playlist iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.boton-categoria {
    animation: none !important;
}

.boton-categoria:hover,
.boton-categoria:active,
.boton-categoria:focus {
    transform: none !important;
}

.boton-categoria {
  text-decoration: none !important;
}

.boton-categoria:hover,
.boton-categoria:focus,
.boton-categoria:active {
  text-decoration: none !important;
}

.oku-container {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  opacity: 0.22;
  z-index: 9991;
  cursor: pointer;
  user-select: none;
  transition: opacity 120ms ease, transform 120ms ease;
}

.oku-container:hover {
  opacity: 0.55;
}

.oku-container:active {
  transform: scale(0.96);
}

.oku-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

body.modo-oku {
  background: #063b12 !important;
}

body.modo-oku::after {
  opacity: 0.25 !important;
}
/* =========================
   BLOQUE DE CIERRE
========================= */

.bloque-cierre {
    margin-top: 60px;
    padding: 32px 24px;
    max-width: 680px;
    text-align: center;
    border-radius: 20px;
    background: radial-gradient(circle at top, #2a0033, #0b0014);
    border: 1px solid rgba(255, 0, 255, 0.4);
    box-shadow:
        0 0 20px rgba(255, 0, 255, 0.35),
        0 0 30px rgba(0, 255, 255, 0.25);
}

.cierre-texto {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow:
        0 0 12px rgba(255, 0, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.5);
}

.cierre-subtexto {
    margin: 12px 0 6px;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

.countdown {
    margin: 16px 0 22px;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    letter-spacing: 0.08em;
    color: #00eaff;
    text-shadow: 0 0 12px rgba(0, 234, 255, 0.8);
}

.link-stream {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid #00eaff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #003344, #005f77);
    box-shadow: 0 0 14px rgba(0, 234, 255, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-stream:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 0 22px rgba(0, 234, 255, 0.9),
        0 0 32px rgba(0, 255, 255, 0.6);
}
