
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: radial-gradient(circle at 60% 40%, #4f46e5 0%, #06b6d4 60%, #fbbf24 100%);
    min-height: 100vh;
}


.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}


.main-title {
    font-size: 2.7rem;
    color: #fff;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 16px #06b6d4, 0 4px 32px #4f46e5;
}


.games {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}


.game-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06b6d4 0%, #fbbf24 100%);
    border-radius: 2rem;
    box-shadow: 0 6px 32px rgba(6,182,212,0.18), 0 2px 16px #fbbf24cc;
    padding: 2.2rem 2.7rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
    position: relative;
    overflow: hidden;
    min-width: 220px;
    min-height: 220px;
    cursor: pointer;
    border: none;
    outline: none;
    animation: pop-in 0.8s cubic-bezier(.68,-0.55,.27,1.55);
}

.game-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 2px 12px #fff8);
    transition: transform 0.3s;
}

.game-btn:hover {
    transform: scale(1.09) rotate(-2deg);
    box-shadow: 0 12px 40px #06b6d4cc, 0 2px 32px #fbbf24cc;
    background: linear-gradient(135deg, #fbbf24 0%, #06b6d4 100%);
}

.game-btn:hover .icon {
    transform: rotate(10deg) scale(1.13);
}

.game-btn span {
    margin-top: 0.5rem;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px #06b6d4cc, 0 2px 8px #fbbf24cc;
}


@media (max-width: 700px) {
    .games {
        flex-direction: column;
        gap: 1.5rem;
    }
    .main-title {
        font-size: 2rem;
    }
    .game-btn {
        min-width: 160px;
        min-height: 160px;
        padding: 1.2rem 1.2rem;
        font-size: 1.1rem;
    }
    .game-btn .icon svg {
        width: 60px;
        height: 60px;
    }
}

@keyframes pop-in {
    0% { transform: scale(0.7) rotate(-8deg); opacity: 0; }
    80% { transform: scale(1.1) rotate(2deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); }
}
