.game-button{
    color: white;
    height: 85px;
    width: 150px;
    cursor: pointer;
    transition: 0.3s;
    background-image: url(Block-Dodger.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.Main-Menu{
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.Main-Menu h1{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin-bottom: 15px;
}
/*block dodger*/
body {
    background-color: #333;
    overflow: hidden; 
    margin: 0;
    cursor: default; 
}
#Health {
    position: fixed;
    top: 10px;
    left: 10px;
    color: white;
    z-index: 100;
    font-family: sans-serif;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    cursor: default; 
}

/* LEADERBOARD STYLES */
#leaderboard {
    /* CRITICAL: No initial display:none here, JavaScript handles its visibility */
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    min-width: 150px;
    font-family: sans-serif;
}
#leaderboard h3 {
    margin-top: 0;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
    text-align: center;
}
#leaderboard ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#leaderboard li {
    padding: 2px 0;
    font-size: 0.9em;
}


#icons-container {
    position: fixed;
    top: 70px; /* Moved down slightly to clear health */
    left: 10px;
    z-index: 100;
}
#icon-selection-panel {
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    border: 1px solid white;
    display: flex; 
    gap: 10px;
}
.icon-option {
    width: 30px; /* Slightly smaller buttons */
    height: 30px;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.1s;
}
.icon-option:hover {
    transform: scale(1.1);
    border-color: yellow;
}


#player {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: lime; /* Default color, set in JS also */
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    transition: background-color 0.1s; 
}
.block {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: blue; /* Falling block color */
    border-radius: 5px;
}
#gameOverScreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding-top: 20%;
    font-family: sans-serif;
    z-index: 200;
}
#gameOverScreen h2 {
    font-size: 4em;
    margin: 0;
}
#gameOverScreen p {
    font-size: 1.5em;
}
#submitScoreBtn {
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    background-color: limegreen;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
}