
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6a0dad;
    --secondary-purple: #9d4edd;
    --dark-purple: #240046;
    --light-purple: #c77dff;
    --accent-pink: #e0aaff;
    --dark-bg: #10002b;
    --card-bg: rgba(106, 13, 173, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #c77dff;
    --shadow-purple: rgba(106, 13, 173, 0.3);
    --gradient-primary: linear-gradient(135deg, #6a0dad, #240046);
    --gradient-secondary: linear-gradient(135deg, #9d4edd, #6a0dad);
    --gradient-accent: linear-gradient(45deg, #e0aaff, #c77dff);
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000000;
    color: var(--text-primary);
    font-family: 'Inter', 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.fondoMosaico {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.baldosaMosaico {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    opacity: 0.2;
}

.baldosaMosaico:nth-child(odd) {
    background: radial-gradient(circle, #40005c, #000000 100%);
    opacity: 0.7;
}

.baldosaMosaico:hover {
    transform: scale(1.05);
}


.encabezado {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(36, 0, 70, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
    transition: all 0.3s ease;
}

.contenedor-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo i {
    color: var(--secondary-purple);
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(157, 78, 221, 0.5));
}

.navegacion {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.acciones-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.botonIniciarSesion {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-purple);
}

.botonIniciarSesion:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-purple);
    background: var(--gradient-secondary);
}


.seccionPrincipal {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.contenedorTextoPrincipal {
    background: radial-gradient(circle at center, rgba(106, 13, 173, 0.3), rgba(36, 0, 70, 0.2));
    backdrop-filter: blur(15px);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(106, 13, 173, 0.4);
    border: 1px solid rgba(157, 78, 221, 0.3);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contenedorTextoPrincipal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-accent);
    opacity: 0.5;
}



.tituloMocvup {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.titulo-principal {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.titulo-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.textoPrecio {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light-purple);
    font-weight: 600;
    text-shadow: 0 0 20px rgba(199, 125, 255, 0.5);
}

.textoDescripcion {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    color: var(--text-secondary);
    line-height: 1.7;
}

.botones-hero {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 25px var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-purple);
}

.btn-secondary {
    background: transparent;
    color: var(--light-purple);
    border: 2px solid var(--secondary-purple);
}

.btn-secondary:hover {
    background: var(--secondary-purple);
    color: white;
    transform: translateY(-2px);
}



.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    color: var(--light-purple);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}


.seccionTendencias {
    padding: 100px 0;
    background: rgba(36, 0, 70, 0.6);
    backdrop-filter: blur(30px);
}

.header-tendencias {
    text-align: center;
    margin-bottom: 60px;
}

.tituloTendencias {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tituloTendencias i {
    color: #5c1d79;
    animation: flicker 2s infinite alternate;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.subtitulo-tendencias {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contenedorTendencias {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.carruselTendencias {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.tarjetaTendencia {
    flex: 0 0 320px;
    height: 480px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tarjetaTendencia:hover {
    transform: scale(1.05) translateY(-15px);
    box-shadow: 0 30px 60px var(--shadow-purple);
}

.ranking-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ranking-number {
    background: rgba(0, 0, 0, 0.507);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.ranking-trend {
    background: rgba(0, 0, 0, 0.8);
    color: #00ff88;
    padding: 8px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

.imagen-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.imagenTendencia {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.tarjetaTendencia:hover .overlay-hover {
    opacity: 1;
}

.btn-play {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow-purple);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px var(--shadow-purple);
}

.infoTendencia {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    padding: 60px 25px 25px;
    color: white;
    border-radius: 0 0 20px 20px;
}

.tituloTarjeta {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.metadata {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffd700;
}

.year {
    color: var(--light-purple);
    font-weight: 600;
}

.duration {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
}

.botonNavegacion {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(36, 0, 70, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid var(--secondary-purple);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.botonNavegacion:hover {
    background: var(--secondary-purple);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px var(--shadow-purple);
}

.botonIzquierda {
    left: 20px;
}

.botonDerecha {
    right: 20px;
}


.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.link-group h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: var(--light-purple);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(157, 78, 221, 0.1);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .contenedor-header {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .navegacion {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .contenedorTextoPrincipal {
        padding: 40px 30px;
        margin: 0 15px;
    }

    .tituloMocvup {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: 2px;
    }

    .textoPrecio {
        font-size: 1.2rem;
    }

    .textoDescripcion {
        font-size: 1rem;
    }

    .botones-hero {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

  

    .grid-caracteristicas {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .caracteristica-card {
        padding: 30px 20px;
    }

    .fondoMosaico {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }

    .seccionTendencias {
        padding: 60px 0;
    }

    .tituloTendencias {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .tarjetaTendencia {
        flex: 0 0 280px;
        height: 420px;
    }

    .carruselTendencias {
        gap: 20px;
    }

    .botonNavegacion {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .botonIzquierda {
        left: 10px;
    }

    .botonDerecha {
        right: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .contenedorTextoPrincipal {
        padding: 30px 20px;
    }



    .titulo-seccion {
        font-size: 2rem;
    }

    .fondoMosaico {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }

    .tarjetaTendencia {
        flex: 0 0 250px;
        height: 380px;
    }

    .ranking-number {
        font-size: 1rem;
        padding: 6px 10px;
    }

    .btn-play {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contenedorTextoPrincipal {
    animation: fadeInUp 0.8s ease-out;
}

.tarjetaTendencia {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.tarjetaTendencia:nth-child(1) { animation-delay: 0.1s; }
.tarjetaTendencia:nth-child(2) { animation-delay: 0.2s; }
.tarjetaTendencia:nth-child(3) { animation-delay: 0.3s; }
.tarjetaTendencia:nth-child(4) { animation-delay: 0.4s; }
.tarjetaTendencia:nth-child(5) { animation-delay: 0.5s; }

.caracteristica-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.caracteristica-card:nth-child(1) { animation-delay: 0.1s; }
.caracteristica-card:nth-child(2) { animation-delay: 0.2s; }
.caracteristica-card:nth-child(3) { animation-delay: 0.3s; }
.caracteristica-card:nth-child(4) { animation-delay: 0.4s; }


.encabezado {
    transition: all 0.3s ease;
}

.encabezado.scrolled {
    background: rgba(16, 0, 43, 0.95);
    box-shadow: 0 4px 30px rgba(106, 13, 173, 0.3);
}

a {
    text-decoration: none;
    color: inherit;
}


.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}