/* Estilos del Menú Hamburguesa Mania3D - Global */

/* Botón Hamburguesa */
.hamburger-menu {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9999;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.7);
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Menú móvil */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #1f1f1f, #2a2a2a);
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #00d4ff;
    background: #1a1a1a;
}

.mobile-nav-header h3 {
    margin: 0;
    color: #00d4ff;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.close-menu {
    background: none;
    border: none;
    color: #00d4ff;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-menu:hover {
    color: #ff0064;
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid #2a2a2a;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), rgba(0, 150, 255, 0.1));
    color: #00d4ff;
    padding-left: 30px;
}

.mobile-nav-links a i {
    font-size: 1.2em;
    width: 25px;
    text-align: center;
}

/* Overlay de fondo */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Mostrar solo en móvil */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
}

/* Ajuste extra para pantallas muy pequeñas */
@media (max-width: 480px) {
    .mobile-nav {
        width: 85%;
        max-width: 300px;
    }
}
