/* Game Card Styles */
.game-container {
    width: 100%;
    max-width: 400px;
    height: 500px;
    margin: 40px auto;
    margin-bottom: 120px; /* OVERLAP FIX: Force vertical space */
    position: relative;
    perspective: 1000px;
}

.game-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--card-bg); /* THEME FIX */
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: grab;
    user-select: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-color); /* THEME FIX */
}

.game-card:active {
    cursor: grabbing;
}

.game-card-content {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
    color: var(--text-color); /* THEME FIX */
}

.game-card-category {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color); /* THEME FIX */
    margin-bottom: 16px;
    font-weight: 600;
}

.game-card-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.game-controls {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.game-btn {
    background: rgba(255,255,255,0.1); /* Neutral */
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    color: var(--text-color);
}

.game-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.2);
}

.game-btn.primary {
    background: var(--primary-color);
    color: white;
    width: auto;
    padding: 0 32px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    /* Redundant but safe */
    .game-card {
        border: 1px solid rgba(255,255,255,0.1);
    }
}
