/* =========================================================
   VARIABLES GENERALES
========================================================= */

:root {
    --bg-main: #08030f;
    --bg-secondary: #12071f;

    --purple-950: #190825;
    --purple-900: #260b3a;
    --purple-800: #3b1158;
    --purple-700: #571a7d;
    --purple-600: #7427a4;
    --purple-500: #963bd2;
    --purple-400: #b965ec;
    --purple-300: #d4a0f7;

    --white: #ffffff;
    --text-soft: #d8c9e3;
    --text-muted: #aa98b7;

    --border-soft: rgba(255, 255, 255, 0.12);
    --border-purple: rgba(190, 105, 255, 0.35);

    --shadow-purple:
        0 18px 55px rgba(76, 14, 115, 0.28);

    --radius-large: 28px;
    --radius-medium: 20px;

    --max-width: 1120px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: "Manrope", sans-serif;

    color: var(--white);

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(116, 39, 164, 0.2),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(150, 59, 210, 0.12),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #08030f 0%,
            #0d0417 45%,
            #08030f 100%
        );

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img,
video {
    max-width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   VIDEO GALAXIA
========================================================= */

.galaxy-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -5;
}


/* =========================================================
   CAPA OSCURA
========================================================= */

.galaxy-overlay {
    position: absolute;

    inset: 0;

    z-index: -4;

    background:
        linear-gradient(
            90deg,
            rgba(6, 1, 12, 0.96) 0%,
            rgba(12, 4, 22, 0.80) 38%,
            rgba(20, 7, 34, 0.45) 67%,
            rgba(6, 1, 12, 0.58) 100%
        );
}


/* =========================================================
   CARRUSEL HERO
========================================================= */

.hero-carousel {
    position: absolute;

    inset: 0;

    z-index: -3;
}

.hero-slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    background-size: cover;
    background-position: center 25%;

    transform: scale(1.035);

    transition:
        opacity 1.3s ease,
        transform 6s ease;
}

.hero-slide.active {
    opacity: 0.72;

    transform: scale(1);
}


/* =========================================================
   DEGRADADO DEL HERO
========================================================= */

.hero-gradient {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:

        linear-gradient(
            to top,
            rgba(6, 1, 12, 0.98) 0%,
            rgba(6, 1, 12, 0.76) 26%,
            rgba(6, 1, 12, 0.26) 57%,
            rgba(6, 1, 12, 0.45) 100%
        ),

        radial-gradient(
            circle at 75% 35%,
            rgba(131, 45, 187, 0.12),
            transparent 42%
        );
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    padding: 28px 0;

    display: flex;

    justify-content: space-between;
    align-items: center;

    z-index: 10;
}

.brand {
    display: flex;

    align-items: center;

    gap: 13px;
}

.brand-v {
    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.04)
        );

    backdrop-filter: blur(12px);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 1.7rem;
    font-weight: 600;
}

.brand-text {
    display: flex;

    flex-direction: column;

    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.brand-text small {
    margin-top: 2px;

    color: var(--purple-300);

    font-size: 0.58rem;
    font-weight: 600;

    letter-spacing: 0.16em;
}

.about-link {
    padding: 11px 18px;

    border-radius: 999px;

    border:
        1px solid
        rgba(255, 255, 255, 0.22);

    background:
        rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(14px);

    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.about-link:hover {
    transform: translateY(-2px);

    background:
        rgba(150, 59, 210, 0.20);

    border-color:
        rgba(208, 142, 255, 0.45);
}


/* =========================================================
   CONTENIDO HERO
========================================================= */

.hero-content {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding:
        160px 0 95px;
}

.hero-eyebrow {
    margin: 0 0 16px;

    color: var(--purple-300);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.20em;
}

.hero h1 {
    max-width: 760px;

    margin: 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            4.3rem,
            9vw,
            7.6rem
        );

    font-weight: 600;

    line-height: 0.86;

    letter-spacing: -0.035em;
}

.hero h1 span {
    display: block;

    margin-top: 7px;

    color: var(--purple-300);

    font-style: italic;
    font-weight: 500;
}

.hero-description {
    max-width: 520px;

    margin:
        28px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            0.80
        );

    font-size: 1.08rem;

    line-height: 1.7;
}


/* =========================================================
   BOTONES HERO
========================================================= */

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

.hero-button {
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 700;

    letter-spacing: 0.06em;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.hero-button:hover {
    transform: translateY(-3px);
}

.hero-button-primary {
    color: #240934;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #ead3fa
        );

    box-shadow:
        0 12px 35px
        rgba(219, 160, 255, 0.18);
}

.hero-button-secondary {
    border:
        1px solid
        rgba(255, 255, 255, 0.24);

    background:
        rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(14px);
}


/* =========================================================
   CARRUSEL CONTROLES
========================================================= */

.carousel-controls {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 42px;
}

.carousel-arrow {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    color: white;

    background:
        rgba(255, 255, 255, 0.06);

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.carousel-arrow:hover {
    transform: scale(1.07);

    background:
        rgba(150, 59, 210, 0.23);
}

.carousel-dots {
    display: flex;

    align-items: center;

    gap: 8px;
}

.carousel-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.26);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease,
        border-radius 0.25s ease;
}

.carousel-dot.active {
    width: 30px;

    border-radius: 999px;

    background: var(--purple-300);
}


/* =========================================================
   SECCIONES
========================================================= */

.section {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding: 105px 0;
}

.section-divider {
    width: 100%;

    height: 1px;

    margin-bottom: 58px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(197, 107, 255, 0.50),
            transparent
        );
}

.section-heading {
    margin-bottom: 52px;
}

.section-heading.centered {
    text-align: center;
}

.section-kicker {
    margin: 0 0 12px;

    color: var(--purple-400);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.20em;
}

.section-heading h2 {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            2.7rem,
            5vw,
            4.8rem
        );

    font-weight: 600;

    line-height: 0.95;

    letter-spacing: -0.025em;
}

.section-heading h2 span {
    display: block;

    color: var(--purple-300);

    font-style: italic;
    font-weight: 500;
}

.section-description {
    max-width: 670px;

    margin:
        22px auto 0;

    color: var(--text-soft);

    font-size: 1.04rem;

    line-height: 1.7;
}


/* =========================================================
   VIDEO
========================================================= */

.video-section {
    padding-top: 85px;
}

.video-card {
    overflow: hidden;

    padding: 12px;

    border-radius: var(--radius-large);

    border:
        1px solid
        var(--border-purple);

    background:
        linear-gradient(
            145deg,
            rgba(70, 18, 103, 0.45),
            rgba(19, 6, 30, 0.80)
        );

    box-shadow:
        var(--shadow-purple);
}

.video-card video {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 20px;

    background: #000;
}


/* =========================================================
   TARJETAS STREAMING
   LAPTOP: 2 COLUMNAS X 3 FILAS
========================================================= */

.streaming-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.platform-card {
    position: relative;

    min-height: 165px;

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 22px;

    padding: 28px 30px;

    overflow: hidden;

    border-radius: var(--radius-medium);

    border:
        1px solid
        rgba(216, 150, 255, 0.24);

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(198, 105, 255, 0.25),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            rgba(83, 24, 123, 0.88),
            rgba(45, 10, 69, 0.93) 48%,
            rgba(21, 6, 33, 0.96)
        );

    box-shadow:
        0 16px 42px
        rgba(48, 7, 75, 0.22);

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.platform-card::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: -110px;
    right: -80px;

    border-radius: 50%;

    background:
        rgba(190, 95, 255, 0.12);

    filter: blur(15px);
}

.platform-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(219, 160, 255, 0.52);

    box-shadow:
        0 22px 58px
        rgba(91, 20, 135, 0.32);
}


/* =========================================================
   LOGOS TARJETAS
========================================================= */

.platform-logo,
.social-logo,
.support-logo {
    position: relative;

    z-index: 1;

    width: 62px;
    height: 62px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border-radius: 18px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.05)
        );

    color: white;

    font-size: 1.15rem;
    font-weight: 800;

    backdrop-filter: blur(12px);
}


/* =========================================================
   TEXTO STREAMING
========================================================= */

.platform-info {
    position: relative;

    z-index: 1;
}

.platform-info h3,
.social-info h3,
.support-info h3 {
    margin: 0;

    color: white;

    font-size: 1.45rem;
    font-weight: 700;

    line-height: 1.2;
}

.platform-info p,
.social-info p,
.support-info p {
    margin: 7px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    font-size: 0.98rem;
}

.platform-arrow {
    position: relative;

    z-index: 1;

    min-width: 50px;
    min-height: 50px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: white;

    border:
        1px solid
        rgba(255, 255, 255, 0.20);

    background:
        rgba(255, 255, 255, 0.08);

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.platform-card:hover .platform-arrow,
.social-card:hover .platform-arrow,
.support-card:hover .platform-arrow {
    transform: rotate(-8deg);

    background:
        rgba(193, 103, 255, 0.23);
}


/* =========================================================
   REDES OFICIALES DE V
   LAPTOP: 3 COLUMNAS X 1 FILA
========================================================= */

.social-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.social-card {
    min-height: 190px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 28px;

    border-radius: var(--radius-medium);

    border:
        1px solid
        rgba(216, 150, 255, 0.24);

    background:
        radial-gradient(
            circle at 12% 10%,
            rgba(187, 82, 246, 0.22),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(67, 16, 101, 0.92),
            rgba(36, 8, 55, 0.96)
        );

    box-shadow:
        0 16px 42px
        rgba(48, 7, 75, 0.20);

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.social-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(219, 160, 255, 0.52);

    box-shadow:
        0 22px 58px
        rgba(91, 20, 135, 0.30);
}

.social-card .platform-arrow {
    align-self: flex-end;
}


/* =========================================================
   V SUPPORT PERÚ
   LAPTOP: 3 COLUMNAS X 1 FILA
========================================================= */

.support-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.support-card {
    min-height: 190px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 28px;

    border-radius: var(--radius-medium);

    border:
        1px solid
        rgba(216, 150, 255, 0.24);

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(215, 113, 255, 0.20),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(83, 22, 120, 0.92),
            rgba(42, 8, 65, 0.96)
        );

    box-shadow:
        0 16px 42px
        rgba(48, 7, 75, 0.20);

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.support-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(219, 160, 255, 0.52);

    box-shadow:
        0 22px 58px
        rgba(91, 20, 135, 0.30);
}

.support-card .platform-arrow {
    align-self: flex-end;
}


/* =========================================================
   CIERRE
========================================================= */

.final-section {
    padding:
        120px 20px 130px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(123, 33, 173, 0.18),
            transparent 50%
        );
}

.final-content {
    width: min(
        100%,
        1100px
    );

    margin: 0 auto;
}

.final-small {
    margin: 0;

    font-size: 2rem;
}

.final-message {
    margin:
        14px 0 12px;

    color: var(--purple-300);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 1.6rem;

    font-style: italic;
}

.final-section h2 {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            3rem,
            7vw,
            6.5rem
        );

    font-weight: 600;

    line-height: 0.9;

    letter-spacing: -0.035em;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding: 28px 0 34px;

    display: flex;

    justify-content: space-between;

    gap: 30px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.10);

    color: var(--text-muted);

    font-size: 0.78rem;
}

footer p {
    margin: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero h1 {
        font-size:
            clamp(
                4rem,
                11vw,
                6rem
            );
    }

    .social-grid,
    .support-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 700px) {

    .navbar {
        width:
            calc(100% - 28px);

        padding-top: 20px;
    }

    .brand-v {
        width: 40px;
        height: 40px;

        font-size: 1.4rem;
    }

    .brand-text {
        font-size: 0.72rem;
    }

    .brand-text small {
        font-size: 0.50rem;
    }

    .about-link {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: 92vh;
    }

    .hero-content {
        width:
            calc(100% - 28px);

        padding:
            135px 0 70px;
    }

    .hero h1 {
        font-size:
            clamp(
                4rem,
                18vw,
                5.5rem
            );

        line-height: 0.88;
    }

    .hero-description {
        max-width: 95%;

        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .hero-button {
        width: 100%;
    }

    .carousel-controls {
        margin-top: 32px;

        gap: 12px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }


    /* SECCIONES */

    .section {
        width:
            calc(100% - 28px);

        padding:
            78px 0;
    }

    .section-divider {
        margin-bottom: 42px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size:
            clamp(
                2.7rem,
                12vw,
                4rem
            );
    }

    .section-description {
        font-size: 1rem;
    }


    /* STREAMING
       1 COLUMNA X 6 FILAS */

    .streaming-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .platform-card {
        min-height: 150px;

        grid-template-columns:
            auto 1fr auto;

        gap: 16px;

        padding: 22px 20px;
    }

    .platform-logo {
        width: 56px;
        height: 56px;
    }

    .platform-info h3 {
        font-size: 1.32rem;
    }

    .platform-info p {
        font-size: 0.92rem;
    }

    .platform-arrow {
        min-width: 46px;
        min-height: 46px;
    }


    /* REDES DE V
       1 COLUMNA X 3 FILAS */

    .social-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .social-card {
        min-height: 170px;

        padding: 24px;
    }


    /* V SUPPORT PERÚ
       1 COLUMNA X 3 FILAS */

    .support-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .support-card {
        min-height: 170px;

        padding: 24px;
    }


    /* VIDEO */

    .video-card {
        padding: 7px;

        border-radius: 20px;
    }

    .video-card video {
        border-radius: 15px;
    }


    /* FINAL */

    .final-section {
        padding:
            90px 18px 100px;
    }

    .final-message {
        font-size: 1.35rem;
    }


    /* FOOTER */

    footer {
        width:
            calc(100% - 28px);

        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 8px;
    }

}


/* =========================================================
   CELULARES MUY PEQUEÑOS
========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size:
            clamp(
                3.6rem,
                17vw,
                4.7rem
            );
    }

    .platform-card {
        grid-template-columns:
            52px 1fr auto;

        gap: 13px;

        padding:
            20px 16px;
    }

    .platform-logo {
        width: 52px;
        height: 52px;

        border-radius: 16px;
    }

    .platform-info h3 {
        font-size: 1.22rem;
    }

    .platform-info p {
        font-size: 0.86rem;
    }

    .platform-arrow {
        min-width: 42px;
        min-height: 42px;

        font-size: 0.82rem;
    }

}
