body {
    margin: 0;
    font-family: 'Shrikhand', cursive;
    background: linear-gradient(135deg, #CC5500, #E1AD01, #4B3621);
    background-size: 600% 600%;
    animation: gradientFlow 14s ease infinite;
    color: white;
    text-align: center;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.title {
    margin-top: 30px;
    font-size: 2.8rem;
    text-shadow: 0 0 10px black;
}

.subtitle {
    font-size: 1.1rem;
    margin-top: -10px;
    opacity: 0.9;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    padding: 20px;
}

.game-card {
    text-decoration: none;
    color: white;
    background: rgba(0,0,0,0.25);
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0px 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card img {
    width: 100%;
    border-radius: 12px;
}

@media (hover:hover) {
    .game-card:hover {
        transform: scale(1.05) rotate(-2deg);
        box-shadow: 0px 10px 20px rgba(0,0,0,0.4);
    }
}
