* {
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', cursive;
    background-color: #1a1a2e;  
    color: #f1f1f1; 
    text-align: center;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    image-rendering: pixelated;
}

.main-header {
    color: #FFD700; 
    text-shadow: 3px 3px 0px #E91E63; 
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.score {
    font-size: 16px;
    margin: 20px 0;
    padding: 15px;
    background-color: #16213E;
    border: 4px dashed #E91E63; 
    color: #00FF7F; 
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

button {
    background-color: #E91E63; 
    border: none;
    color: #FFD700; 
    padding: 12px 20px;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    margin: 10px 5px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 5px 5px 0px #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    max-width: 300px;
}

button:hover {
    background-color: #FF5722; 
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0px #000;
}

#play-button {
    background-color: #4CAF50; 
    font-size: 18px;
    padding: 15px 30px;
    margin: 20px auto;
}

.choice {
    width: 100px;
    height: 100px;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 5px;
    padding: 0;
    line-height: 1;
}

#rock {
    background-color: #795548;
    border: 4px solid #5D4037;
}

#paper {
    background-color: #2196F3; 
    border: 4px solid #0D47A1;
}

#scissors {
    background-color: #FF9800;
    border: 4px solid #E65100;
}

.game-controls {
    margin: 30px auto;
    border: 8px solid #FFD700; 
    padding: 20px;
    background-color: #0F3460;
    box-shadow: inset 0 0 20px #000;
    max-width: 95%;
    width: 600px;
}

.choice-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pacman-ghost {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 0 10px;
}


@media (max-width: 600px) {
    .main-header {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .score {
        font-size: 14px;
    }
    
    button {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    #play-button {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .choice {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

@media (max-width: 400px) {
    body {
        padding: 10px;
    }
    
    .game-controls {
        padding: 10px;
    }
    
    .choice {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .pacman-ghost {
        width: 20px;
        height: 20px;
    }
}