body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    background: #343E59;
    background-size: cover;
    padding: 20px;
    /* Agregado para espacios en móviles */
}

.phone {
    width: 230px;
    background: linear-gradient(to bottom, rgba(204, 204, 204, 0.6) 0%, rgba(136, 136, 136, 0.6) 100%);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    box-shadow: 0 0 20px #000000, inset 0 0 5px #fff;
    border: 5px solid #555;
    position: relative;
}

.screen {
    width: 100%;
    height: 140px;
    background: #222;
    border: 4px solid #555;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    font-size: 25px;
    text-align: center;
    box-shadow: inset 0 0 10px 0#0f0;
    font-family: 'Courier New', Courier, monospace;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.btn {
    width: 100%;
    height: 50px;
    background: #aaa;
    border: 3px solid #666;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    color: #000;
    font-weight: bold;
    font-size: px;
    text-align: center;
    line-height: 16px;
    box-shadow: 2px 2px 4px #333, inset -1px -1px 2px #fff;
}

.btn.active {
    background: rgb(198, 255, 193);
    color: #000;
    box-shadow: 0 0 15px #0f0, 0 0 30px #0f0 inset;
    transform: scale(1.05);
}

@keyframes glow {
    0% {
        box-shadow: 2px 2px 4px #333, inset -1px -1px 2px #fff;
    }

    50% {
        box-shadow: 0 0 15px #0f0, 0 0 30px #0f0 inset;
    }

    100% {
        box-shadow: 2px 2px 4px #333, inset -1px -1px 2px #fff;
    }
}

.btn.glow {
    animation: glow 0.5s ease-in-out;
}

/* ===== MEDIA QUERIES (AGREGAR ESTO) ===== */
@media (max-width: 768px) {
    .phone {
        width: 200px;
        padding: 12px;
    }

    .screen {
        height: 120px;
        font-size: 16px;
    }

    .btn {
        height: 45px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .phone {
        width: 180px;
        padding: 10px;
        border-radius: 20px;
    }

    .screen {
        height: 100px;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .btn {
        height: 40px;
        font-size: 12px;
    }
}