@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 16px 12px 30px 12px;
    background: #050010;
    color: #00ffff;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
    letter-spacing: 2px;
}

#score {
    font-size: 12px;
    margin: 5px auto 15px auto;
    color: #ffff00;
    text-shadow: 0 0 10px #ffff00;
    width: 90%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}

canvas {
    max-width: 100%;
    height: auto;
    border: 4px solid #ff00ff;
    box-shadow: 0 0 20px #ff00ff, inset 0 0 15px #000;
    background: #000;
    image-rendering: pixelated;
    touch-action: none;
    cursor: none;
    margin-bottom: 5px;
}

/* ========== CONTROLES TÁCTILES (justo debajo del canvas) ========== */
.digital-controls {
    margin: 8px auto 5px auto;
    padding: 8px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 500px;
    gap: 20px;
}

.controls-row {
    display: flex;
    gap: 50px;

}

.control-btn {
    width: 200px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #00ffff;
    background: #0a001a;
    border: 2px solid #ff00ff;
    clip-path: polygon(
        10% 0%, 90% 0%, 
        100% 20%, 100% 80%, 
        90% 100%, 10% 100%, 
        0% 80%, 0% 20%
    );
    box-shadow: 0 0 10px #ff00ff, inset 0 0 8px rgba(0,255,255,0.3);
    cursor: pointer;
    transition: 0.1s;
}

.control-action {
    clip-path: none;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 3px solid #ff00ff;
    background: radial-gradient(circle, #ff00ff 40%, #6a00a3 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px #ff00ff, 0 0 40px rgba(255,0,255,0.6), inset 0 0 15px rgba(255,255,255,0.3);
    cursor: pointer;
}

.control-action::after {
    content: "🔫";
    font-size: 34px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.control-btn:active,
.control-action:active,
.control-btn.active,
.control-action.active {
    transform: scale(0.92);
    box-shadow: 0 0 20px #00ffff, 0 0 40px #ff00ff, inset 0 0 15px rgba(0,255,255,0.6);
}

/* ========== NATIVE BANNER (debajo de los controles, se ve al hacer scroll) ========== */
.ad-native-wrapper {
    margin: 15px auto 10px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
    border: 1px solid #ff00ff;
    background: #0a001a;
}

#container-0e8b50b5583839c436e45d2e9d75800c {
    border-radius: 12px;
}

/* ========== BANNER 300x250 EN MENÚS ========== */
.banner-300-wrapper {
    margin: 20px auto 10px;
    display: flex;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    border: 1px solid #00ffff;
    background: rgba(0, 0, 0, 0.5);
}

/* ========== MENÚS (sin cambios, pero asegurar scroll si es necesario) ========== */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, #1a0033 0%, #050010 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

#startMenu {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('/modelo/perfil_Modelo/Ximena_Cosmo/media_XimenaCosmo/bono1-VestidoNegro-Menu2.jpg');
    background-size: cover;
    background-position: center;
}

.menu h2 {
    font-size: 28px;
    color: #ffff00;
    text-shadow: 0 0 15px #ffff00;
    margin: 0;
}

.menu p {
    font-size: 11px;
    line-height: 1.6;
    color: #00ffff;
    max-width: 500px;
    margin: 10px 0;
}

button {
    font-family: 'Press Start 2P';
    padding: 12px 24px;
    font-size: 14px;
    background: #ff00ff;
    color: #000;
    border: 3px solid #ffff00;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px #ffff00;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 280px;
}

button:hover {
    background: #ffff00;
    color: #ff00ff;
    transform: scale(1.03);
    box-shadow: 0 0 25px #ff00ff;
}

.btn-directo {
    display: inline-block;
    text-decoration: none;
    font-family: 'Press Start 2P';
    padding: 10px 18px;
    font-size: 11px;
    background: transparent;
    color: #ff00ff;
    border: 2px solid #ff00ff;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-directo:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 15px #ff00ff;
}

/* ========== TEMPORIZADOR TIEMPO DETENIDO ========== */
#timeStopTimer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: #00ffff;
    font-family: 'Press Start 2P', monospace;
    font-size: 40px;
    padding: 15px 30px;
    border-radius: 20px;
    border: 3px solid #ff00ff;
    text-shadow: 0 0 15px #00ffff;
    z-index: 1000;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

/* ========== RESPONSIVE PARA MÓVILES PEQUEÑOS ========== */
@media screen and (max-width: 700px) {
    body {
        padding: 10px 10px 20px 10px;
    }
    h1 {
        font-size: 18px;
    }
    #score {
        font-size: 10px;
        margin-bottom: 8px;
    }
    canvas {
        max-width: 98%;
        border-width: 3px;
    }
    .control-btn {
        width: 150px;
        height: 60px;
        font-size: 20px;
    }
    .control-action {
        width: 70px;
        height: 70px;
    }
    .control-action::after {
        font-size: 28px;
    }
    .digital-controls {
        max-width: 500px;
        gap: 15px;
    }
    .controls-row {
        display: flex;
        gap: 50px;
    }
    .menu h2 {
        font-size: 22px;
    }
    .menu p {
        font-size: 9px;
    }
    button {
        font-size: 11px;
        padding: 10px 16px;
    }
    .banner-300-wrapper {
        transform: scale(0.85);
    }
    .ad-native-wrapper {
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .control-btn {
        width: 50px;
        height: 40px;
        font-size: 18px;
    }
    .control-action {
        width: 60px;
        height: 60px;
    }
    .control-action::after {
        font-size: 24px;
    }
    .digital-controls {
        gap: 12px;
    }
    #timeStopTimer {
        font-size: 28px;
        padding: 12px 20px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 380px) {
    .control-btn {
        width: 45px;
        height: 38px;
        font-size: 16px;
    }
    .control-action {
        width: 55px;
        height: 55px;
    }
    .digital-controls {
        gap: 10px;
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px #ff00ff; }
    50% { box-shadow: 0 0 30px #00ffff; }
    100% { box-shadow: 0 0 10px #ff00ff; }
}

#winScreen button {
    animation: pulseGlow 1.5s infinite;
}






@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 16px 12px 30px 12px;
    background: #050010;
    color: #00ffff;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

/* ... (el resto de tu CSS se mantiene igual) ... */

#winScreen button {
    animation: pulseGlow 1.5s infinite;
}

/* Mejora para móviles en descarga */
.download-notice {
    font-size: 10px;
    color: #ffff00;
    margin-top: 10px;
    max-width: 320px;
}