* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background: #08060d;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(
            rgba(5, 3, 12, 0.55),
            rgba(5, 3, 12, 0.72)
        ),
        url("imagenes/fondo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
}

.glass {
    background: rgba(20, 14, 30, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar {
    min-height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 16px 24px;
    position: sticky;
    top: 16px;
    z-index: 20;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: #bd7cff;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

nav a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

nav a:hover {
    color: #c98cff;
}


/* =================================
   PRIMER ENCUADRE
   ================================= */

.hero {
    margin-top: 24px;

    height: 320px;
    min-height: 320px;
    max-height: 320px;

    border-radius: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 10px 30px;

    overflow: hidden;
}

.hero-content {
    max-width: 760px;
}

.hero .eyebrow {
    margin: 0 0 5px;
    color: #c586ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 60px);
    line-height: 0.95;
    letter-spacing: -1.5px;
}

.hero .hero-text {
    max-width: 620px;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
    line-height: 1.35;
}

.hero .hero-buttons {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}


/* =================================
   BOTONES
   ================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 26px;

    border-radius: 14px;

    border: 1px solid transparent;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.8px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    appearance: none;
    -webkit-appearance: none;
}

.button:hover {
    transform: translateY(-2px);
}

.primary {
    color: white;

    background: linear-gradient(
        135deg,
        #8c45d8,
        #c16fff
    );

    border: 1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 10px 30px rgba(151, 73, 224, 0.28);
}

.secondary {
    color: white;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.16);
}

.large {
    min-width: 220px;
}


/* =================================
   BOTONES DENTRO DEL HERO
   ================================= */

.hero .button {
    min-height: 42px;

    padding: 0 22px;

    border-radius: 12px;

    font-size: 12px;
}


/* =================================
   CONTADOR DE DESCARGAS
   ================================= */

.download-counter {
    margin-top: 11px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 7px 15px;

    border-radius: 999px;

    background: rgba(190, 115, 255, 0.10);

    border: 1px solid rgba(190, 115, 255, 0.22);

    color: rgba(255, 255, 255, 0.82);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.8px;
}

.download-counter strong {
    color: #d39aff;
}


/* =================================
   SECCIONES
   ================================= */

.section {
    margin-top: 24px;

    border-radius: 28px;

    padding: 55px 34px;
}

.section-header {
    max-width: 760px;

    margin: 0 auto 34px;

    text-align: center;
}

.section-header h2 {
    margin: 0;

    font-size: clamp(30px, 4vw, 48px);

    letter-spacing: -1px;
}

.section-header p:last-child {
    margin: 16px auto 0;

    color: rgba(255, 255, 255, 0.7);

    line-height: 1.7;
}


/* =================================
   VIDEO PRINCIPAL
   ================================= */

.video-container {
    width: min(920px, 100%);

    margin: 0 auto;

    overflow: hidden;

    border-radius: 20px;

    aspect-ratio: 16 / 9;

    background: rgba(0, 0, 0, 0.35);

    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}


/* =================================
   FUNCIONES
   ================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.feature-card,
.price-card,
.news-card,
.purchase-box {
    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 20px;

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);
}

.feature-card {
    padding: 26px;

    position: relative;
}

.feature-number {
    color: #b777f5;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.feature-card h3 {
    margin: 18px 0 10px;
}

.feature-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    line-height: 1.6;
}

.status {
    position: absolute;

    top: 14px;
    right: 14px;

    padding: 6px 9px;

    border-radius: 8px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.8px;
}

.available {
    color: #72ff9b;

    background:
        rgba(65, 255, 120, 0.12);

    border:
        1px solid
        rgba(65, 255, 120, 0.28);
}

.coming {
    color: #ff7272;

    background:
        rgba(255, 70, 70, 0.12);

    border:
        1px solid
        rgba(255, 70, 70, 0.28);
}


/* =================================
   PRECIOS
   ================================= */

.pricing {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    max-width: 850px;

    margin: 0 auto;
}

.price-card {
    position: relative;

    padding: 34px;

    text-align: center;
}

.price-card.featured {
    border-color:
        rgba(190, 115, 255, 0.42);

    box-shadow:
        0 20px 50px
        rgba(122, 46, 189, 0.14);
}

.recommended {
    display: inline-block;

    margin-bottom: 18px;

    padding: 7px 12px;

    border-radius: 999px;

    background:
        rgba(190, 115, 255, 0.15);

    color: #d39aff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;
}

.price-type {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.72);

    font-weight: 800;

    letter-spacing: 2px;
}

.price {
    margin: 16px 0;

    font-size: 52px;

    font-weight: 900;
}

.price-description {
    margin: 0 0 24px;

    color:
        rgba(255, 255, 255, 0.65);
}


/* =================================
   COMPRA
   ================================= */

.purchase {
    text-align: center;
}

.purchase-box {
    max-width: 720px;

    margin: 0 auto;

    padding: 32px;
}

.purchase-box h3 {
    margin-top: 0;
}

.payment-data {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin: 26px 0;
}

.payment-data > div {
    padding: 18px;

    border-radius: 16px;

    background:
        rgba(0, 0, 0, 0.16);
}

.payment-data span {
    display: block;

    margin-bottom: 7px;

    color: #b777f5;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.payment-data strong {
    font-size: 14px;
}


/* =================================
   GAMEPLAY
   ================================= */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.small-video {
    overflow: hidden;

    border-radius: 20px;

    aspect-ratio: 16 / 9;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    background:
        rgba(0, 0, 0, 0.35);
}

.small-video iframe {
    width: 100%;
    height: 100%;
    display: block;
}


/* =================================
   NOTICIAS
   ================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.news-card {
    padding: 26px;
}

.news-card span {
    color: #b777f5;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.news-card h3 {
    margin: 14px 0 10px;
}

.news-card p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.66);

    line-height: 1.6;
}


/* =================================
   SOPORTE
   ================================= */

.support {
    text-align: center;
}

.support-button-container {
    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;
}

.community {
    max-width: 700px;

    margin: 60px auto 0;

    padding-top: 40px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.1);
}

.community p {
    color:
        rgba(255, 255, 255, 0.66);

    line-height: 1.6;
}


/* =================================
   FOOTER
   ================================= */

.footer {
    margin-top: 24px;

    border-radius: 22px;

    padding: 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.5);

    font-size: 12px;
}


/* =================================
   RESPONSIVE
   ================================= */

@media (max-width: 900px) {

    .navbar {
        position: static;

        flex-direction: column;

        align-items: flex-start;
    }

    nav {
        width: 100%;

        justify-content: flex-start;
    }

    .cards {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {

    .page {
        width:
            min(100% - 18px, 1180px);

        padding-top: 9px;
    }

    /* SOLO EL PRIMER ENCUADRE */
    .hero {
        height: 300px;

        min-height: 300px;

        max-height: 300px;

        padding: 8px 18px;
    }

    .hero .eyebrow {
        font-size: 9px;

        margin-bottom: 4px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero .hero-text {
        font-size: 14px;

        margin-top: 8px;
    }

    .hero .hero-buttons {
        margin-top: 14px;

        gap: 8px;
    }

    .hero .button {
        min-height: 40px;

        padding: 0 18px;

        font-size: 11px;
    }

    .download-counter {
        margin-top: 10px;

        padding: 7px 14px;

        font-size: 9px;
    }

    .section {
        padding: 38px 20px;

        border-radius: 22px;
    }

    .cards,
    .pricing,
    .video-grid,
    .payment-data {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;

        text-align: center;
    }

    nav {
        gap: 12px;
    }
}