/* game/css/core.css */
.game-boy-frame {
    width: 620px; /* Wider for better visibility */
    height: 90vh;
    background-color: #c0c0c0;
    border-radius: 10px 10px 40px 10px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset -5px -5px 10px rgba(0,0,0,0.2);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screen-border {
    width: 100%;
    height: 620px; /* Taller screen */
    background-color: #777;
    border-radius: 10px 10px 30px 10px;
    padding: 30px 30px 10px 30px;
    position: relative;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5);
}

.power-led {
    width: 8px;
    height: 8px;
    background-color: #f00;
    border-radius: 50%;
    position: absolute;
    top: 120px;
    left: 10px;
    box-shadow: 0 0 5px #f00;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.power-led.on {
    opacity: 1;
}

.screen {
    width: 100%;
    height: 100%;
    background-color: #121212; /* Modern Dark Mode */
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5);
    font-family: 'Outfit', sans-serif; /* Modern Font */
    overflow: hidden;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
}

/* Controls (Retro) */
.controls {
    width: 100%;
    height: 200px;
    position: relative;
    margin-top: 20px;
}

.d-pad {
    width: 90px;
    height: 90px;
    position: absolute;
    top: 30px;
    left: 20px;
}

.d-pad div {
    background-color: #333;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.d-pad .up { width: 30px; height: 30px; top: 0; left: 30px; }
.d-pad .right { width: 30px; height: 30px; top: 30px; left: 60px; }
.d-pad .down { width: 30px; height: 30px; top: 60px; left: 30px; }
.d-pad .left { width: 30px; height: 30px; top: 30px; left: 0; }

.action-btns {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 100px;
    height: 50px;
}

.btn-a, .btn-b {
    width: 35px;
    height: 35px;
    background-color: #a93671;
    border-radius: 50%;
    position: absolute;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    cursor: pointer;
}

.btn-a { top: 0; right: 0; }
.btn-b { top: 15px; right: 50px; }

.select-start {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.select, .start {
    width: 40px;
    height: 12px;
    background-color: #333;
    border-radius: 10px;
    transform: rotate(-25deg);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.score-display {
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #333;
}
