.play-button {
    display: inline-block;
    margin-top: 5px; /* Reduced margin */
    padding: 7.5px 20px; /* Reduced height by 25% */
    background-color: #FF6F61; /* Button background color */
    color: #FFFFFF; /* Button text color */
    font-size: 1em; /* Button font size */
    font-weight: bold; /* Button font weight */
    text-align: center; /* Center text */
    border: none; /* Remove border */
    border-radius: 8px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s; /* Smooth transition for transform, background color, and box-shadow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); /* Add shadow for dimension */
    margin-left: auto;
    margin-right: auto;
}

.play-button:hover {
    background-color: #FF8A80; /* Lighter background color on hover */
    transform: scale(1.1); /* Slightly enlarge the button on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08); /* Increase shadow on hover */
}

.play-button:active {
    transform: scale(0.9); /* Slightly shrink the button on click */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08); /* Reduce shadow on click */
}

.game-card {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    padding: 4px; /* Further reduced padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 200px; /* Further reduced maximum width */
    margin: 5px auto; /* Reduced margin between cards */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
}

.memory-game {
    border-left: 5px solid #4CAF50 !important; /* Green border for memory games */
}

.association-game {
    border-left: 5px solid #FFC107 !important; /* Yellow border for association games */
}

.game-card img {
    width: 100%;
    border-radius: 8px;
}

.game-card h3 {
    font-size: 0.8em; /* Increased font size for game name */
    color: #336699;
    margin: 5px 0; /* Reduced margin */
    display: flex;
    align-items: center;
}

.game-card h3 .difficulty-icon {
    font-size: 1.6em; /* Doubled font size for difficulty level */
    margin-left: 5px; /* Reduced margin */
}

.game-card p {
    font-size: 0.7em; /* Increased font size for game description */
    color: #666666;
    text-align: center; /* Center text */
}

.game-type-key {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.key-item {
    margin: 0 10px;
    font-size: 1em;
    color: #336699;
    display: flex;
    align-items: center;
}

.key-item i {
    margin-right: 5px;
}