/* Games Page */
.game-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.game-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.game-info small {
    color: var(--accent-secondary);
    font-size: 13px;
}

/* Snake Overlay */
.snake-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 950;
}

.snake-overlay.active {
    display: flex;
}

.snake-overlay-inner {
    position: relative;
    width: 100vw;
    height: 100vh;
    padding: 0;
    box-sizing: border-box;
    background: #0b1224;
}

#snake-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #000;
}

.snake-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
}