/* =========================================================
   ALPHAHELL
   ESTILOS PRINCIPALES
   ========================================================= */

:root {

    --alpha-purple: #a3009e;
    --alpha-purple-light: #d600cf;
    --alpha-purple-dark: #680065;

    --alpha-black: #000000;
    --alpha-dark: #080808;
    --alpha-dark-2: #111111;

    --alpha-white: #ffffff;
    --alpha-gray: #a7a7a7;
}


/* GENERAL */

* {
    box-sizing: border-box;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 50% 30%,
            #230020 0%,
            #090009 40%,
            #000000 80%
        );

    color: var(--alpha-white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* HEADER */

.alpha-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    border-top: 4px solid var(--alpha-purple);

    background: rgba(0, 0, 0, 0.96);

    backdrop-filter: blur(12px);

    box-shadow:
        0 5px 30px rgba(0, 0, 0, 0.6);
}


/* NAVBAR */

.alpha-navbar {

    min-height: 100px;

    padding: 0;
}


.alpha-container {

    padding-left: 5%;
    padding-right: 5%;
}


/* =========================================================
   LOGO
   ========================================================= */

.alpha-logo {

    display: flex;

    align-items: center;

    text-decoration: none;

    color: white;

    font-size: 28px;

    font-weight: 900;

    letter-spacing: -2px;

    transition: 0.3s;
}

.alpha-logo span {

    color: var(--alpha-purple);

    margin-left: 4px;
}


.alpha-logo:hover {

    color: var(--alpha-purple-light);

    transform: scale(1.03);
}


/* =========================================================
   MENÚ PRINCIPAL
   ========================================================= */

.alpha-menu {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-left: auto;
}


/* =========================================================
   LINKS
   ========================================================= */

.alpha-link {

    position: relative;

    display: flex;

    align-items: center;

    gap: 8px;

    height: 100px;

    padding: 0 20px;

    border: none;

    background: transparent;

    color: white;

    text-decoration: none;

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        color 0.25s,
        background 0.25s;
}


.alpha-link:hover {

    color: var(--alpha-purple-light);

    background:
        linear-gradient(
            to bottom,
            transparent 70%,
            rgba(163, 0, 158, 0.12)
        );
}


/* Línea inferior */

.alpha-link::after {

    content: "";

    position: absolute;

    left: 20px;

    right: 20px;

    bottom: 0;

    height: 3px;

    background: var(--alpha-purple);

    transform: scaleX(0);

    transition: transform 0.25s;

    transform-origin: center;
}


.alpha-link:hover::after {

    transform: scaleX(1);
}


/* =========================================================
   FLECHA
   ========================================================= */

.alpha-dropdown-button i {

    font-size: 11px;

    transition: transform 0.25s;
}


.alpha-dropdown.active
.alpha-dropdown-button i {

    transform: rotate(180deg);
}


/* =========================================================
   MEGA MENU
   ========================================================= */

.alpha-mega-menu {

    position: absolute;

    left: 0;

    top: 100px;

    width: 100%;

    background:

        linear-gradient(
            135deg,
            #050005,
            #12000f 50%,
            #050005
        );

    border-top: 1px solid #3b0038;

    border-bottom: 3px solid var(--alpha-purple);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-15px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s;

    pointer-events: none;
}


/* Menú abierto */

.alpha-dropdown.active
.alpha-mega-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}


/* =========================================================
   CONTENEDOR DEL MENÚ
   ========================================================= */

.mega-container {

    max-width: 1400px;

    margin: auto;

    padding: 40px 5%;
}


/* =========================================================
   TÍTULO DEL MEGA MENU
   ========================================================= */

.mega-title {

    margin-bottom: 25px;

    color: white;

    font-size: 18px;

    font-weight: 900;

    letter-spacing: 1px;
}


.mega-title span {

    margin-right: 15px;

    color: var(--alpha-purple);

    font-size: 13px;
}


/* =========================================================
   CARDS DE JUEGOS
   ========================================================= */

.mega-card {

    display: block;

    overflow: hidden;

    height: 100%;

    background: #090909;

    border: 1px solid #2b0029;

    color: white;

    text-decoration: none;

    transition:
        transform 0.25s,
        border-color 0.25s,
        box-shadow 0.25s;
}


.mega-card:hover {

    transform: translateY(-6px);

    border-color: var(--alpha-purple);

    color: white;

    box-shadow:
        0 15px 40px rgba(163, 0, 158, 0.2);
}


/* Imagen */

.mega-card-image {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 170px;

    color: white;

    font-size: 25px;

    font-weight: 900;

    letter-spacing: 2px;

    position: relative;

    overflow: hidden;

    text-shadow:
        2px 2px 10px black;
}


/* Efecto */

.mega-card-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(163, 0, 158, 0.45),
            rgba(0, 0, 0, 0.8)
        );
}


/* Fondos */

.game-one {

    background:
        radial-gradient(
            circle,
            #a3009e,
            #250023 70%,
            #000000
        );
}


.game-two {

    background:
        linear-gradient(
            135deg,
            #350031,
            #000000
        );
}


.game-three {

    background:
        linear-gradient(
            135deg,
            #a3009e,
            #090009
        );
}


/* Contenido */

.mega-card-content {

    padding: 22px;
}


.mega-card-content h3 {

    margin-bottom: 10px;

    font-size: 21px;

    font-weight: 900;
}


.mega-card-content p {

    min-height: 45px;

    margin-bottom: 18px;

    color: var(--alpha-gray);

    font-size: 14px;

    line-height: 1.5;
}


.mega-card-content span {

    color: var(--alpha-purple-light);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;
}


/* =========================================================
   MENÚ PEQUEÑO
   ========================================================= */

.alpha-small-menu {

    min-height: 250px;
}


/* =========================================================
   SIMPLE MENU CARDS
   ========================================================= */

.simple-menu-card {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 22px;

    height: 100%;

    background: #090909;

    border: 1px solid #270025;

    text-decoration: none;

    color: white;

    transition:
        background 0.2s,
        border-color 0.2s,
        transform 0.2s;
}


.simple-menu-card:hover {

    color: white;

    background: #150013;

    border-color: var(--alpha-purple);

    transform: translateY(-3px);
}


.simple-menu-card > i {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 50px;

    height: 50px;

    background: #1b0019;

    color: var(--alpha-purple-light);

    font-size: 23px;
}


.simple-menu-card h4 {

    margin: 0 0 5px;

    font-size: 16px;

    font-weight: 900;
}


.simple-menu-card p {

    margin: 0;

    color: #888;

    font-size: 13px;
}


/* =========================================================
   COMUNIDAD
   ========================================================= */

.community-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.community-item {

    display: flex;

    flex-direction: column;

    padding: 25px;

    background: #090909;

    border: 1px solid #270025;

    text-decoration: none;

    color: white;

    transition: 0.25s;
}


.community-item:hover {

    background: #160014;

    border-color: var(--alpha-purple);

    transform: translateY(-4px);

    color: white;
}


.community-item i {

    margin-bottom: 20px;

    color: var(--alpha-purple-light);

    font-size: 28px;
}


.community-item span {

    font-size: 16px;

    font-weight: 900;
}


.community-item small {

    margin-top: 5px;

    color: #777;

    font-size: 12px;
}


/* =========================================================
   HERO
   ========================================================= */

.alpha-main {

    min-height: calc(100vh - 100px);

    display: flex;

    align-items: center;

    background:

        radial-gradient(
            circle at 70% 50%,
            rgba(163, 0, 158, 0.18),
            transparent 40%
        );
}


.hero-content {

    max-width: 800px;

    padding: 100px 0;
}


.hero-small {

    color: var(--alpha-purple-light);

    font-size: 14px;

    font-weight: 900;

    letter-spacing: 4px;
}


.hero-content h1 {

    margin-top: 20px;

    margin-bottom: 25px;

    font-size: clamp(60px, 9vw, 130px);

    line-height: 0.85;

    font-weight: 900;

    letter-spacing: -6px;
}


.hero-content h1 span {

    color: var(--alpha-purple);

    text-shadow:
        0 0 30px rgba(163, 0, 158, 0.4);
}


.hero-content p {

    max-width: 500px;

    margin-bottom: 35px;

    color: #999;

    font-size: 17px;

    line-height: 1.6;
}


/* =========================================================
   BOTÓN PRINCIPAL
   ========================================================= */

.alpha-button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 16px 28px;

    background: var(--alpha-purple);

    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 1px;

    border: 1px solid var(--alpha-purple);

    transition: 0.25s;
}


.alpha-button:hover {

    background: transparent;

    color: var(--alpha-purple-light);

    border-color: var(--alpha-purple);
}


.alpha-button i {

    transition: transform 0.2s;
}


.alpha-button:hover i {

    transform: translateX(5px);
}


/* =========================================================
   BOTÓN MOBILE
   ========================================================= */

.alpha-toggler {

    display: none;

    border: none;

    color: white;

    font-size: 30px;

    background: transparent;
}


/* =========================================================
   FOOTER
   ========================================================= */

.alpha-footer {

    background: #0a0a0a;

    color: var(--alpha-white);

    border-top: 1px solid #1c1c1c;

    padding: 70px 5% 40px;

    font-family: Arial, Helvetica, sans-serif;
}


.alpha-footer-container {

    max-width: 1400px;

    margin: auto;
}


/* ---------- FILA SUPERIOR ---------- */

.alpha-footer-top {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    margin-bottom: 70px;
}


.alpha-footer-title {

    margin: 0 0 18px;

    font-size: 26px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: var(--alpha-white);
}


.alpha-footer-subtitle {

    margin: 0 0 28px;

    color: #cfcfcf;

    font-size: 15px;

    line-height: 1.55;

    max-width: 560px;
}


/* ---------- BOTONES CONTACTO ---------- */

.alpha-footer-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.alpha-footer-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 22px;

    border: 1px solid #3a3a3a;

    color: var(--alpha-white);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.5px;

    background: transparent;

    transition: 0.25s;
}


.alpha-footer-btn i {

    font-size: 16px;
}


.alpha-footer-btn:hover {

    background: var(--alpha-purple);

    border-color: var(--alpha-purple);

    color: var(--alpha-white);

    transform: translateY(-2px);
}


/* ---------- NEWSLETTER ---------- */

.alpha-footer-form {

    display: flex;

    gap: 0;

    max-width: 620px;

    margin-top: 10px;
}


.alpha-footer-input {

    flex: 1;

    padding: 16px 20px;

    background: #050505;

    border: 1px solid #2a2a2a;

    color: var(--alpha-white);

    font-size: 14px;

    letter-spacing: 0.5px;

    outline: none;

    transition: 0.25s;
}


.alpha-footer-input::placeholder {

    color: #6b6b6b;
}


.alpha-footer-input:focus {

    border-color: var(--alpha-purple);
}


.alpha-footer-submit {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 16px 28px;

    background: #1c1c1c;

    color: #8b8b8b;

    border: 1px solid #1c1c1c;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition: 0.25s;
}


.alpha-footer-submit:hover {

    background: var(--alpha-purple);

    border-color: var(--alpha-purple);

    color: var(--alpha-white);
}


/* ---------- FILA INFERIOR ---------- */

.alpha-footer-bottom {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 25px;

    padding-top: 45px;

    border-top: 1px solid #1c1c1c;
}


.alpha-footer-copy {

    margin: 0;

    color: #6b6b6b;

    font-size: 13px;

    letter-spacing: 0.5px;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .alpha-navbar {

        min-height: 75px;
    }


    .alpha-link {

        height: 65px;

        width: 100%;

        justify-content: space-between;

        padding: 0 25px;
    }


    .alpha-link::after {

        display: none;
    }


    .alpha-toggler {

        display: block;
    }


    .alpha-menu {

        position: absolute;

        top: 75px;

        left: 0;

        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        margin: 0;

        background: #050505;

        border-bottom: 2px solid var(--alpha-purple);
    }


    .alpha-menu.mobile-open {

        display: flex;
    }


    .alpha-dropdown {

        width: 100%;
    }


    .alpha-mega-menu {

        position: static;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        pointer-events: auto;

        border-top: 1px solid #280025;

        box-shadow: none;
    }


    .alpha-dropdown.active
    .alpha-mega-menu {

        display: block;
    }


    .mega-container {

        padding: 30px 25px;
    }


    .community-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .hero-content {

        padding: 70px 20px;
    }


    .hero-content h1 {

        letter-spacing: -3px;
    }


    /* FOOTER */

    .alpha-footer-top {

        grid-template-columns: 1fr;

        gap: 45px;
    }
}


@media (max-width: 575px) {

    .alpha-logo {

        font-size: 23px;
    }


    .community-grid {

        grid-template-columns: 1fr;
    }


    .hero-content h1 {

        font-size: 55px;

        letter-spacing: -2px;
    }


    .mega-card-image {

        height: 130px;
    }


    /* FOOTER */

    .alpha-footer {

        padding: 50px 20px 30px;
    }


    .alpha-footer-title {

        font-size: 20px;
    }


    .alpha-footer-buttons {

        flex-direction: column;
    }


    .alpha-footer-btn {

        width: 100%;

        justify-content: center;
    }


    .alpha-footer-form {

        flex-direction: column;
    }


    .alpha-footer-submit {

        justify-content: center;
    }
}