

/* Basic body styles for smooth transitions and font */
body {
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

/* Keyframe for a subtle pulse animation on the main title */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Custom styles for game cards */
.game-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px; /* Ensure consistent card height */
    border: 2px solid transparent; /* Base border for hover effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

/* Hover effects for game cards */
.game-card:hover {
    border-color: rgba(255, 255, 255, 0.4); /* Light border on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

/* Ensure text within cards is centered and readable */
.game-card h2 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.game-card p {
    font-size: 0.95rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .game-card {
        min-height: 160px;
        padding: 1.25rem;
    }
    .game-card h2 {
        font-size: 2rem;
    }
    .game-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .game-card {
        min-height: 140px;
        padding: 1rem;
    }
    .game-card h2 {
        font-size: 1.75rem;
    }
    .game-card p {
        font-size: 0.8rem;
    }
}
