/*
 * JaimeDiaz.TV Portal Reboot
 * Mobile menu — v1.0.0
 */

.jdr-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--jdr-z-overlay);
    visibility: hidden;
    opacity: 0;
    background: rgba(8, 12, 38, 0.66);
    backdrop-filter: blur(5px);
    transition:
        opacity var(--jdr-duration-normal) var(--jdr-ease-standard),
        visibility var(--jdr-duration-normal) var(--jdr-ease-standard);
}

.jdr-mobile-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.jdr-mobile-menu {
    position: fixed;
    top: 12px;
    bottom: 12px;
    left: 12px;
    z-index: var(--jdr-z-menu);
    width: min(360px, calc(100vw - 24px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--jdr-radius-lg);
    background: var(--jdr-navy-950);
    color: var(--jdr-white);
    box-shadow: var(--jdr-shadow-header);
    transform: translateX(calc(-100% - 30px));
    transition:
        transform var(--jdr-duration-normal) var(--jdr-ease-standard);
}

.jdr-mobile-menu.is-open {
    transform: translateX(0);
}

.jdr-mobile-menu__header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jdr-mobile-menu__close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--jdr-white);
    cursor: pointer;
}

.jdr-mobile-menu__body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
}

.jdr-mobile-menu__body a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding-inline: 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 700;
}

.jdr-mobile-menu__body a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--jdr-white);
}

.jdr-mobile-menu__body i {
    width: 19px;
    color: var(--jdr-orange-500);
    text-align: center;
}

.jdr-mobile-menu__divider {
    height: 1px;
    margin: 12px 10px;
    background: rgba(255, 255, 255, 0.1);
}

.jdr-mobile-menu__footer {
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.jdr-mobile-menu__live {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            var(--jdr-orange-500),
            var(--jdr-orange-400)
        );
    color: var(--jdr-white);
    font-size: 0.82rem;
    font-weight: 800;
}
