/* Basic Reset and Dark Background (Same as before) */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #1e1e1e; /* Dark mode background color */
    color: #ecf0f1; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    background-color: #2f2f2f; 
    padding: 40px 50px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

h1 {
    margin-bottom: 30px;
    color: #f1c40f;
}

.game-list {
    display: flex;
    flex-direction: row;
    gap: 20px; 
    align-items: center; 
}

/* Base style for all game buttons/links */
.game-button {
    text-decoration: none; 
    border: 2px solid transparent; /* Border is transparent by default */
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease; 
    width: 300px; 
    height: auto;
    text-align: center;
    color: #ecf0f1;
    background-color: #3e3e3e; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0; 
}

/* Style for the images */
.game-image {
    width: 100%; 
    height: auto;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    object-fit: cover;
    max-height: 150px; 
}

/* Text label below the image */
.game-label {
    padding: 10px 0;
    font-size: 1em;
    font-weight: bold;
}


/* Style for the ENABLED game */
.game-button.enabled {
    /* *** Border removed here *** */
    /* border-color: transparent; (This is now the default) */
}

/* HOVER EFFECT (White Glow) */
.game-button.enabled:hover {
    /* Scale: Makes it slightly larger (moves closer) */
    transform: scale(1.03); 
    
    /* Shadow: White glow */
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4); 
    
    background-color: #4a4a4a; 
}


/* Style for the DISABLED games */
.game-button.disabled {
    background-color: #4a4a4a; 
    cursor: not-allowed;
    opacity: 0.5; 
    border-color: #7f8c8d; /* Disabled selections still show a grey border */
}

.game-button.disabled:hover {
    box-shadow: none;
    transform: none; 
    background-color: #4a4a4a; 
}