body {
    font-family: 'Inter', sans-serif;
    background-color: #1a202c;
    color: #e2e8f0;
}

.game-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    min-width: 250px;
    max-width: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.game-card img {
    min-height: 160px;
    max-height: 200px;
    object-fit: cover;
}

.btn-primary {
    background-color: #dc2626; /* A pleasant, strong red */
    color: white;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #b91c1c; /* A darker red for the hover effect */
}

.btn-secondary {
    background-color: #4a5568;
    color: white;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #2d3748;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 40;
}

.modal {
    z-index: 50;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive text sizing */
@media (max-width: 640px) {
    .game-card h3 {
        font-size: 1.125rem;
    }
    .game-card p {
        font-size: 0.875rem;
    }
    .game-card button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}