/* =========================================================
   COMMUNITY POPUP
   MU ONLINE / WEBENGINE 1.2.7
   ========================================================= */
/* =========================================================
   OVERLAY
   ========================================================= */
.community-popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at center,
            rgba(255, 65, 25, 0.08),
            rgba(0, 0, 0, 0.88) 55%,
            rgba(0, 0, 0, 0.96));

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition:
        opacity .35s ease,
        visibility .35s ease;
}


/* =========================================================
   POPUP OCULTO
   ========================================================= */
.community-popup.popup-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* =========================================================
   BRILLOS DEL FONDO
   ========================================================= */
.popup-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 60, 20, 0.12);
    filter: blur(100px);
    pointer-events: none;
}

.popup-glow-1 {
    transform: translate(-280px, -170px);
}

.popup-glow-2 {
    transform: translate(300px, 190px);
    background: rgba(255, 130, 20, 0.08);
}

/* =========================================================
   MODAL PRINCIPAL
   ========================================================= */
.community-modal {
    position: relative;
    width: 850px;
    max-width: 100%;
    min-height: 470px;
    display: grid;
    grid-template-columns: 43% 57%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(125deg,
            #110c0a 0%,
            #17110e 48%,
            #0d0b0a 100%);
    border: 1px solid rgba(255, 72, 35, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 100, 50, 0.04),
        0 0 35px rgba(255, 55, 20, 0.16),
        0 25px 80px rgba(0, 0, 0, 0.75);
    animation: popupAppear .45s cubic-bezier(.2, .8, .2, 1);
}

/* =========================================================
   ANIMACIÓN
   ========================================================= */
@keyframes popupAppear {
    0% {
        opacity: 0;
        transform:
            translateY(35px) scale(.94);
    }

    100% {
        opacity: 1;
        transform:
            translateY(0) scale(1);
    }
}

/* =========================================================
   LÍNEA SUPERIOR
   ========================================================= */
.modal-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background:
        linear-gradient(90deg,
            transparent,
            #ff3928,
            #ff7b27,
            #ff3928,
            transparent);
    box-shadow: 0 0 15px rgba(255, 55, 25, .7);
}
/* =========================================================
   BOTÓN CERRAR
   ========================================================= */
.community-close {
    position: absolute;
    top: 17px;
    right: 20px;
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, .035);
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    transition: all .25s ease;
}

.community-close:hover {
    background: rgba(255, 60, 40, .15);
    transform: rotate(90deg);
}

.community-close span {
    position: absolute;
    left: 10px;
    top: 17px;
    width: 15px;
    height: 2px;
    background: #8d8580;
    transition: .25s ease;
}

.community-close span:first-child {
    transform: rotate(45deg);
}

.community-close span:last-child {
    transform: rotate(-45deg);
}

.community-close:hover span {
    background: #ff6252;
}

/* =========================================================
   COLUMNA IZQUIERDA
   ========================================================= */
.community-left {
    position: relative;
    padding: 48px 38px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Decoración diagonal */
.community-left::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -140px;
    width: 280px;
    height: 700px;
    transform: rotate(25deg);
    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 60, 25, .035),
            transparent);
    pointer-events: none;
}

/* =========================================================
   BADGE
   ========================================================= */
.community-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-bottom: 24px;
    padding: 7px 11px;
    border-radius: 6px;
    background: rgba(255, 70, 35, .07);
    border: 1px solid rgba(255, 70, 35, .18);
    color: #bdb4ae;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5542;
    box-shadow:0 0 8px rgba(255, 70, 45, .8);
}

.badge-divider {
    color: #5c514b;
}

/* =========================================================
   LOGO DISCORD
   ========================================================= */
.discord-symbol {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    border-radius: 50%;
    background:
        linear-gradient(145deg,
            #ff704f,
            #e72c22);
    box-shadow:
        0 0 0 7px rgba(255, 65, 40, .04),
        0 0 30px rgba(255, 55, 30, .28);
}

.discord-symbol-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #17110f;
    color: #ff5c49;
    font-size: 29px;
}

/* =========================================================
   TITULOS
   ========================================================= */
.community-small-title {
    color: #aaa19b;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
}

.community-left h2 {
    margin: 0;
    color: #fff;
    font-size: 47px;
    line-height: .95;
    font-weight: 900;
    letter-spacing: -1px;
    background:
        linear-gradient(90deg,
            #ff6651,
            #ff9a48);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================================================
   LINEA
   ========================================================= */
.community-line {
    width: 75px;
    height: 3px;
    margin: 20px 0 17px;
    border-radius: 3px;
    background:
        linear-gradient(90deg,
            #ff4c38,
            #ff8a3c);
    box-shadow:0 0 10px rgba(255, 70, 40, .35);
}
/* =========================================================
   DESCRIPCIÓN
   ========================================================= */
.community-intro {
    max-width: 320px;
    margin: 0 0 25px;
    color: #a9a19d;
    font-size: 14px;
    line-height: 1.65;
}
/* =========================================================
   BOTÓN PRINCIPAL
   ========================================================= */
.community-main-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 330px;
    min-height: 58px;
    box-sizing: border-box;
    padding: 0 16px;
    border-radius: 9px;
    text-decoration: none !important;
    background: linear-gradient(100deg, #ff513f,#ed2d25);
    color: #fff !important;
    box-shadow:0 8px 25px rgba(240, 45, 30, .20);
    overflow: hidden;
    transition: transform .25s ease,box-shadow .25s ease;
}

.community-main-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    transform: skewX(-25deg);
    background:linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .18),
            transparent);
    transition: left .6s ease;
}

.community-main-button:hover::before {
    left: 150%;
}

.community-main-button:hover {
    transform: translateY(-2px);
    box-shadow:0 12px 30px rgba(240, 45, 30, .35);
}

.button-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 0, 0, .14);
    font-size: 18px;
}

.button-text {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .5px;
}

.button-arrow {
    font-size: 23px;
    font-weight: 300;
}

/* =========================================================
   COLUMNA DERECHA
   ========================================================= */
.community-right {
    position: relative;
    padding: 52px 40px 45px;
    border-left: 1px solid rgba(255, 255, 255, .055);
    background: linear-gradient(135deg,rgba(255, 255, 255, .015),rgba(255, 60, 30, .025));
}
/* =========================================================
   TITULO DERECHO
   ========================================================= */
.community-right-title {
    color: #f1ebe7;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.community-right-subtitle {
    margin-top: 4px;
    margin-bottom: 26px;
    color: #716963;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* =========================================================
   ITEMS
   ========================================================= */

.community-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .045);
}

.community-item:last-of-type {
    border-bottom: none;
}

.community-item-icon {
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background:
        linear-gradient(145deg,
            rgba(255, 75, 50, .13),
            rgba(255, 120, 40, .04));
    border: 1px solid rgba(255, 70, 40, .12);
    font-size: 19px;
}

.community-item-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.community-item-content strong {
    color: #ddd5d0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .8px;
}

.community-item-content span {
    color: #766e69;
    font-size: 11px;
    line-height: 1.4;
}

/* =========================================================
   STATUS
   ========================================================= */
.community-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding: 7px 10px;
    border-radius: 5px;
    background: rgba(70, 200, 110, .045);
    color: #7d8b81;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.status-circle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #58d681;
    box-shadow: 0 0 8px rgba(80, 220, 120, .65);
}

/* =========================================================
   BOTÓN CONTINUAR
   ========================================================= */
.community-continue {
    position: absolute;
    right: 32px;
    bottom: 16px;
    border: none;
    background: transparent;
    color: #625b56;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color .2s ease;
}

.community-continue:hover {
    color: #b5aaa4;
}

.community-continue span {
    margin-left: 4px;
    font-size: 12px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 760px) {
    .community-modal {
        width: 470px;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .community-left {
        padding: 38px 28px 25px;
    }

    .community-right {
        padding: 25px 28px 55px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, .05);
    }

    .community-left h2 {
        font-size: 39px;
    }

    .discord-symbol {
        width: 65px;
        height: 65px;
    }

    .discord-symbol-inner {
        width: 51px;
        height: 51px;
        font-size: 24px;
    }

    .community-main-button {
        max-width: none;
    }

    .community-continue {
        right: 25px;
        bottom: 15px;
    }
}

/* =========================================================
   CELULARES PEQUEÑOS
   ========================================================= */
@media (max-width: 480px) {
    .community-popup {
        padding: 12px;
    }

    .community-modal {
        border-radius: 14px;
    }

    .community-left {
        padding: 32px 22px 22px;
    }

    .community-right {
        padding: 22px 22px 55px;
    }

    .community-badge {
        margin-bottom: 17px;
    }

    .community-left h2 {
        font-size: 34px;
    }

    .community-intro {
        font-size: 13px;
    }

    .community-item-content span {
        font-size: 10px;
    }

    .community-item-icon {
        width: 39px;
        height: 39px;
    }
}






/*CONTADOR*/

.mu-countdown-wrapper {
        text-align: center;
        margin: 30px auto;
        padding: 20px;
        max-width: 600px;
        background: rgba(15, 15, 20, 0.75); /* Fondo oscuro semitransparente para leer bien los números sobre el fondo del juego */
        border-top: 2px solid #f23c4d; /* Rojo a juego con el botón de DESCARGAR */
        border-bottom: 2px solid #f23c4d;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px); /* Efecto cristal para darle un toque moderno */
    }
    .mu-countdown-title {
        color: #f8c146; /* Dorado similar al logo de Athenea */
        font-size: 2rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 20px;
        font-weight: 700;
        font-family: inherit;
    }
    .mu-countdown-timer {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    .mu-time-box {
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
        border-radius: 5px;
        min-width: 90px;
        border: 1px solid #333;
    }
    .mu-time-value {
        display: block;
        font-size: 2.2rem;
        color: #ffffff;
        font-weight: bold;
        line-height: 1;
        margin-bottom: 5px;
    }
    .mu-time-label {
        display: block;
        font-size: 0.75rem;
        color: #aaaaaa;
        text-transform: uppercase;
        letter-spacing: 1px;
    }