/* ============================================================
   estilos.css - Hoja de estilos compartida
   Tema: Heladería / Batidos - Edición Neón Animado
   ============================================================ */

:root {
    --color-fresa: #ff007f;
    --color-menta: #00f3ff;
    --color-vainilla: #1a0b2e;
    --color-chocolate: #ffea00;
    --color-mango: #ff00d0;
    --color-texto: #ffffff;
    --color-fondo: #0f051d;
    --color-tarjeta: rgba(25, 12, 45, 0.85);
    --color-borde: #ff007f;
    --color-exito: #00ff88;
    --color-peligro: #ff3366;
    --color-aviso: #ffea00;
    --radio: 18px;
    --sombra: 0 0 15px rgba(255, 0, 127, 0.4);
}

* {
    box-sizing: border-box;
}

/* ---------- Animación de Fondo Movible ---------- */
@keyframes fondoAnimado {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    margin: 0;
    font-family: 'Segoe UI', Verdana, Arial, sans-serif;
    background: linear-gradient(-45deg, #0f051d, #290849, #05192e, #2e0520);
    background-size: 400% 400%;
    animation: fondoAnimado 12s ease infinite;
    color: var(--color-texto);
    min-height: 100vh;
    padding-bottom: 40px;
}

/* ---------- Animación de Luces Neón Cambiantes ---------- */
@keyframes lucesNeon {
    0% {
        box-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f, inset 0 0 5px #ff007f;
        border-color: #ff007f;
    }

    25% {
        box-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff, inset 0 0 5px #00f3ff;
        border-color: #00f3ff;
    }

    50% {
        box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, inset 0 0 5px #00ff88;
        border-color: #00ff88;
    }

    75% {
        box-shadow: 0 0 10px #ffea00, 0 0 20px #ffea00, inset 0 0 5px #ffea00;
        border-color: #ffea00;
    }

    100% {
        box-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f, inset 0 0 5px #ff007f;
        border-color: #ff007f;
    }
}

@keyframes textoNeon {
    0% {
        text-shadow: 0 0 8px #ff007f, 0 0 15px #ff007f;
    }

    25% {
        text-shadow: 0 0 8px #00f3ff, 0 0 15px #00f3ff;
    }

    50% {
        text-shadow: 0 0 8px #00ff88, 0 0 15px #00ff88;
    }

    75% {
        text-shadow: 0 0 8px #ffea00, 0 0 15px #ffea00;
    }

    100% {
        text-shadow: 0 0 8px #ff007f, 0 0 15px #ff007f;
    }
}

/* ---------- Animación de Inicio / Entrada ---------- */
@keyframes entradaInicio {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.95);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ---------- Barra superior con Neón ---------- */
.barra-superior {
    background: rgba(15, 5, 29, 0.9);
    border-bottom: 2px solid #ff007f;
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    backdrop-filter: blur(10px);
    animation: lucesNeon 6s infinite alternate, entradaInicio 0.8s ease-out;
}

    .barra-superior h1 {
        margin: 0;
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #fff;
        animation: textoNeon 6s infinite alternate;
    }

.navegacion {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .navegacion a {
        color: #fff;
        text-decoration: none;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 8px 14px;
        border-radius: 999px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

        .navegacion a:hover, .navegacion a.activo {
            background: #ff007f;
            color: #fff;
            box-shadow: 0 0 12px #ff007f, 0 0 25px #ff007f;
            border-color: #ff007f;
        }

/* ---------- Contenedor general ---------- */
.contenedor {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px;
    animation: entradaInicio 1s ease-out;
}

.panel {
    background: var(--color-tarjeta);
    border-radius: var(--radio);
    border: 1.5px solid #ff007f;
    padding: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    animation: lucesNeon 8s infinite ease-in-out, entradaInicio 0.9s ease-out;
}

    .panel h2 {
        margin-top: 0;
        color: #fff;
        border-bottom: 2px solid var(--color-fresa);
        padding-bottom: 10px;
        animation: textoNeon 6s infinite alternate;
    }

/* ---------- Formularios ---------- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #00f3ff;
    display: block;
    margin-bottom: 4px;
    text-shadow: 0 0 5px #00f3ff;
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid rgba(0, 243, 255, 0.4);
    border-radius: 10px;
    font-size: 0.95rem;
    background: rgba(10, 5, 20, 0.8);
    color: #fff;
    transition: all 0.3s ease;
}

    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: #00f3ff;
        box-shadow: 0 0 12px #00f3ff;
    }

.campo {
    display: flex;
    flex-direction: column;
}

/* ---------- Botones con Brillo Neón ---------- */
.boton {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .boton:hover {
        transform: translateY(-3px) scale(1.02);
    }

    .boton:active {
        transform: translateY(0);
    }

.boton-primario {
    background: #ff007f;
    color: #fff;
    box-shadow: 0 0 10px #ff007f;
}

    .boton-primario:hover {
        box-shadow: 0 0 20px #ff007f, 0 0 35px #ff007f;
    }

.boton-secundario {
    background: #00f3ff;
    color: #000;
    box-shadow: 0 0 10px #00f3ff;
}

    .boton-secundario:hover {
        box-shadow: 0 0 20px #00f3ff, 0 0 35px #00f3ff;
    }

.boton-exito {
    background: #00ff88;
    color: #000;
    box-shadow: 0 0 10px #00ff88;
}

    .boton-exito:hover {
        box-shadow: 0 0 20px #00ff88, 0 0 35px #00ff88;
    }

.boton-peligro {
    background: #ff3366;
    color: #fff;
    box-shadow: 0 0 10px #ff3366;
}

    .boton-peligro:hover {
        box-shadow: 0 0 20px #ff3366, 0 0 35px #ff3366;
    }

.boton-aviso {
    background: #ffea00;
    color: #000;
    box-shadow: 0 0 10px #ffea00;
}

    .boton-aviso:hover {
        box-shadow: 0 0 20px #ffea00, 0 0 35px #ffea00;
    }

.boton-neutro {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .boton-neutro:hover {
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

.boton-pequeno {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* ---------- Tablas ---------- */
.tabla-contenedor {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead th {
    background: rgba(255, 0, 127, 0.8);
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    position: sticky;
    top: 0;
    text-shadow: 0 0 5px #ff007f;
}

tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tbody tr:hover {
    background: rgba(0, 243, 255, 0.15);
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.badge-proceso {
    background: var(--color-aviso);
    color: #000;
    box-shadow: 0 0 8px var(--color-aviso);
}

.badge-finalizada {
    background: var(--color-exito);
    color: #000;
    box-shadow: 0 0 8px var(--color-exito);
}

.badge-helado {
    background: var(--color-menta);
    color: #000;
    box-shadow: 0 0 8px var(--color-menta);
}

.badge-batido {
    background: var(--color-fresa);
    box-shadow: 0 0 8px var(--color-fresa);
}

/* ---------- Cuadrícula de Tarjetas ---------- */
.grilla-productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.tarjeta-producto {
    background: rgba(20, 10, 35, 0.9);
    border-radius: var(--radio);
    border: 1px solid #00f3ff;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    animation: entradaInicio 0.8s ease-out;
}

    .tarjeta-producto:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 20px #00f3ff, 0 0 30px #ff007f;
        border-color: #ff007f;
    }

    .tarjeta-producto img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        background: #000;
    }

    .tarjeta-producto .contenido {
        padding: 14px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex-grow: 1;
    }

    .tarjeta-producto h3 {
        margin: 0;
        font-size: 1.05rem;
        color: #fff;
    }

    .tarjeta-producto .descripcion {
        font-size: 0.82rem;
        color: #aaa;
        flex-grow: 1;
    }

    .tarjeta-producto .precio {
        font-size: 1.2rem;
        font-weight: 800;
        color: #00ff88;
        text-shadow: 0 0 8px #00ff88;
    }

/* ---------- Carrito lateral ---------- */
.panel-carrito {
    position: sticky;
    top: 20px;
}

.item-carrito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    gap: 8px;
    flex-wrap: wrap;
}

.total-carrito {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffea00;
    text-shadow: 0 0 10px #ffea00;
    text-align: right;
    margin-top: 10px;
}

/* ---------- Mensajes / avisos ---------- */
.mensaje {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 600;
    display: none;
}

    .mensaje.mostrar {
        display: block;
    }

    .mensaje.exito {
        background: rgba(0, 255, 136, 0.15);
        color: #00ff88;
        border: 1px solid #00ff88;
        box-shadow: 0 0 10px #00ff88;
    }

    .mensaje.error {
        background: rgba(255, 51, 102, 0.15);
        color: #ff3366;
        border: 1px solid #ff3366;
        box-shadow: 0 0 10px #ff3366;
    }

/* ---------- Layout de 2 columnas ---------- */
.layout-venta {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .layout-venta {
        grid-template-columns: 1fr;
    }

    .panel-carrito {
        position: static;
    }
}

@media (max-width: 768px) {
    .barra-superior {
        flex-direction: column;
        align-items: flex-start;
    }

    .grilla-productos {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .contenedor {
        padding: 0 12px;
    }

    thead th, tbody td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
}

/* ---------- Promociones con estilo neón ---------- */
.banner-happy-hour {
    background: linear-gradient(135deg, #ff007f, #ff00d0);
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--radio);
    margin-bottom: 16px;
    font-weight: 700;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 15px #ff007f;
    animation: lucesNeon 5s infinite ease-in-out;
}

    .banner-happy-hour.mostrar {
        display: flex;
    }

.panel-fidelidad {
    background: linear-gradient(135deg, rgba(255, 234, 0, 0.2), rgba(255, 0, 127, 0.2));
    border: 1px solid #ffea00;
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 10px;
    display: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffea00;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 0 10px rgba(255, 234, 0, 0.4);
}

    .panel-fidelidad.mostrar {
        display: flex;
    }

/* ---------- Modal Moderno con Neón ---------- */
.overlay-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 3, 20, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

    .overlay-modal.mostrar {
        opacity: 1;
        visibility: visible;
    }

.caja-modal {
    background: #140a23;
    border: 2px solid #ff007f;
    border-radius: 22px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 30px #ff007f, 0 0 60px rgba(0, 243, 255, 0.3);
    transform: scale(0.88) translateY(18px);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(.34,1.56,.64,1), opacity 0.22s ease;
}

.overlay-modal.mostrar .caja-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-encabezado {
    padding: 28px 24px 22px;
    text-align: center;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}

    .modal-encabezado.grad-peligro {
        background: linear-gradient(135deg, #ff3366, #ff007f);
    }

    .modal-encabezado.grad-exito {
        background: linear-gradient(135deg, #00ff88, #00f3ff);
        color: #000;
    }

    .modal-encabezado.grad-aviso {
        background: linear-gradient(135deg, #ffea00, #ff00d0);
        color: #000;
    }

    .modal-encabezado.grad-info {
        background: linear-gradient(135deg, #00f3ff, #ff007f);
    }

    .modal-encabezado.grad-editar {
        background: linear-gradient(135deg, #ff00d0, #ff007f);
    }

.modal-icono {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 12px;
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

.modal-cuerpo {
    padding: 22px 24px;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.55;
    overflow-y: auto;
}

.modal-pie {
    padding: 16px 24px 24px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Filas Anuladas */
.fila-anulada td {
    color: #ff3366 !important;
    text-decoration: line-through;
    background: rgba(255, 51, 102, 0.1) !important;
}
/* ============================================================
   Fondo Animado Neón en CSS Puro - Explosión de Sabores
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0f051d;
}

/* 1. Fondo con Degradado Dinámico en Movimiento */
.escena-neon {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(-45deg, #0f051d, #290849, #05192e, #2e0520, #0f051d);
    background-size: 400% 400%;
    animation: cambiarDegradado 12s ease infinite;
    z-index: -1;
}

@keyframes cambiarDegradado {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 2. Cuadrícula / Malla Cyber-Neón Sutil */
.malla-cuadricula {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 0, 127, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 243, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* 3. Burbujas Flotantes de Batido con Neón */
.burbuja {
    position: absolute;
    bottom: -80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 0.7;
    animation: elevarBurbuja linear infinite, resplandorNeon 4s ease-in-out infinite alternate;
}

/* Animación de elevación y bamboleo lateral */
@keyframes elevarBurbuja {
    0% {
        transform: translateY(0) translateX(0) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    50% {
        transform: translateY(-50vh) translateX(25px) scale(1.1);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-110vh) translateX(-20px) scale(0.9);
        opacity: 0;
    }
}

/* Parpadeo del resplandor Neón en las burbujas */
@keyframes resplandorNeon {
    0% {
        box-shadow: 0 0 10px #ff007f, inset 0 0 8px #ff007f;
        background: rgba(255, 0, 127, 0.25);
    }

    33% {
        box-shadow: 0 0 12px #00f3ff, inset 0 0 10px #00f3ff;
        background: rgba(0, 243, 255, 0.25);
    }

    66% {
        box-shadow: 0 0 12px #00ff88, inset 0 0 10px #00ff88;
        background: rgba(0, 255, 136, 0.25);
    }

    100% {
        box-shadow: 0 0 10px #ffea00, inset 0 0 8px #ffea00;
        background: rgba(255, 234, 0, 0.25);
    }
}

/* 4. Posiciones, Tamaños y Tiempos Diferenciados */
.b1 {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.b2 {
    width: 25px;
    height: 25px;
    left: 25%;
    animation-duration: 11s;
    animation-delay: 2s;
}

.b3 {
    width: 50px;
    height: 50px;
    left: 40%;
    animation-duration: 9s;
    animation-delay: 4s;
}

.b4 {
    width: 20px;
    height: 20px;
    left: 55%;
    animation-duration: 7s;
    animation-delay: 1s;
}

.b5 {
    width: 35px;
    height: 35px;
    left: 70%;
    animation-duration: 10s;
    animation-delay: 3s;
}

.b6 {
    width: 45px;
    height: 45px;
    left: 85%;
    animation-duration: 12s;
    animation-delay: 5s;
}

.b7 {
    width: 18px;
    height: 18px;
    left: 18%;
    animation-duration: 6s;
    animation-delay: 3.5s;
}

.b8 {
    width: 30px;
    height: 30px;
    left: 92%;
    animation-duration: 8.5s;
    animation-delay: 1.5s;
}
/* ---------- Widget Flotante de Desarrolladores en la Esquina ---------- */
.widget-devs-esquina {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 280px;
    background: rgba(12, 5, 26, 0.92);
    border: 2px solid var(--color-menta);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4), 0 0 25px rgba(255, 0, 127, 0.2);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .widget-devs-esquina:hover {
        transform: translateY(-4px);
        box-shadow: 0 0 20px var(--color-menta), 0 0 30px var(--color-fresa);
        border-color: var(--color-fresa);
    }

.header-devs-esquina {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.icono-dev {
    font-size: 1.2rem;
}

.titulo-dev {
    color: var(--color-menta);
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 0 6px var(--color-menta);
}

.cuerpo-devs-esquina {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tarjeta-dev-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 10, 38, 0.7);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.dev-avatar-mini {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,243,255,0.3) 0%, rgba(255,0,127,0.2) 100%);
    border: 1.5px solid var(--color-menta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dev-info-mini h4 {
    margin: 0;
    color: #ffffff;
    font-size: 0.85rem;
}

.dev-rol-mini {
    color: #ff007f;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Ajuste para pantallas pequeñas / móviles */
@media (max-width: 600px) {
    .widget-devs-esquina {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
}
/* ---------- Grilla y Tarjetas de Herramientas ---------- */
.grilla-herramientas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.tarjeta-herramienta {
    background: rgba(20, 10, 38, 0.85);
    border: 1.5px solid var(--color-menta);
    border-radius: var(--radio);
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .tarjeta-herramienta:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 18px var(--color-menta), 0 0 25px var(--color-fresa);
        border-color: var(--color-fresa);
    }

.icono-herramienta {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.tarjeta-herramienta h3 {
    color: var(--color-menta);
    margin: 6px 0;
    font-size: 1.1rem;
    text-shadow: 0 0 6px var(--color-menta);
}

.tarjeta-herramienta p {
    color: #cccccc;
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.35;
}

/* ---------- Widget Flotante de Desarrolladores en la Esquina ---------- */
.widget-devs-esquina {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 280px;
    background: rgba(12, 5, 26, 0.92);
    border: 2px solid var(--color-menta);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4), 0 0 25px rgba(255, 0, 127, 0.2);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .widget-devs-esquina:hover {
        transform: translateY(-4px);
        box-shadow: 0 0 20px var(--color-menta), 0 0 30px var(--color-fresa);
        border-color: var(--color-fresa);
    }

.header-devs-esquina {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.icono-dev {
    font-size: 1.2rem;
}

.titulo-dev {
    color: var(--color-menta);
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 0 6px var(--color-menta);
}

.cuerpo-devs-esquina {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tarjeta-dev-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 10, 38, 0.7);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.dev-avatar-mini {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,243,255,0.3) 0%, rgba(255,0,127,0.2) 100%);
    border: 1.5px solid var(--color-menta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dev-info-mini h4 {
    margin: 0;
    color: #ffffff;
    font-size: 0.85rem;
}

.dev-rol-mini {
    color: #ff007f;
    font-size: 0.72rem;
    font-weight: 600;
}

@media (max-width: 600px) {
    .widget-devs-esquina {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
}
/* ---------- Pantalla de Intro ---------- */
#pantalla-intro {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: radial-gradient(circle at center, #1f0836 0%, #080214 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

    #pantalla-intro.oculto {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.intro-logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-menta, #00f3ff);
    box-shadow: 0 0 30px var(--color-menta, #00f3ff), 0 0 50px var(--color-fresa, #ff007f);
    animation: pulsoLogo 2.5s infinite ease-in-out;
    margin-bottom: 20px;
}

@keyframes pulsoLogo {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 25px #00f3ff, 0 0 40px #ff007f;
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 40px #00ff88, 0 0 60px #00f3ff;
    }
}

/* ---------- Canvas de Fondo ---------- */
#canvasProductos {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* ---------- Ventanillas Independientes ---------- */
.ventanilla {
    background: rgba(18, 8, 38, 0.92);
    border: 2px solid var(--color-menta, #00f3ff);
    border-radius: var(--radio, 18px);
    padding: 28px 24px;
    box-shadow: 0 0 18px rgba(0, 243, 255, 0.25), inset 0 0 10px rgba(0, 243, 255, 0.05);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ventanilla:hover {
        box-shadow: 0 0 25px rgba(0, 243, 255, 0.4), 0 0 35px rgba(255, 0, 127, 0.2);
    }