/* Common header styles for all games */
.game-header {
    background-color:  rgba(255, 255, 255, 0.9);
    /* color: #fff; */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.game-header-left {
    display: flex;
    align-items: center;
}

.home-link {
    padding: 10px 20px;
    background-color: #673AB7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: color 0.3s ease;
    margin-right: auto;
}

.home-link:hover {
    background-color: #5E35B1;
}

.game-header-right {
    position: relative;
}

.user-button {
    background-color: rgba(197, 27, 27, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #1f6420;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.user-button:hover {
    background-color: rgba(197, 27, 27, 0.246);
}

.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: rgb(205, 183, 183);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    display: none;
    z-index: 100;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-item {
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.user-dropdown-item:hover {
    background-color: #f5f5f5;
}

.user-dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 5px 0;
}

/* Responsive styles */
@media (max-width: 480px) {
    .game-title {
        display: none;
    }
} 