body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #00a7e7,#1a4aeb, #171475);
    color: #fff;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

html {
    scroll-behavior: smooth;
}

.preloader {
    position: fixed;
    background: #232bed;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.site-header {
    position: relative;
    background: transparent;
    padding: 10px 0;
    z-index: 999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    width: 200px;
}

.intro-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0;
    animation: fadeInSlide 1.8s ease forwards;
}

@keyframes fadeInSlide {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.intro-left h2 {
    font-size: 2em;
    text-align: center;
    margin: 0;
}

.logo-banner {
    width: 350px;
}

.intro {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.intro p {
    font-size: 1.2em;
    line-height: 1.6;
}

.games {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.games h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

.games-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.game-card {
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.game-content {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.game-image {
    flex-shrink: 0;
}

.game-info {
    text-align: left;
}

.game-info h3 {
    margin-top: 0;
}

.game-icon {
    width: 150px;
    height: auto;
    margin: 15px 0;
    border-radius: 20px;
}

.buttons {
    margin-top: 15px;
}

.buttons a {
    text-decoration: none;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
}

.buttons a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.android {
    background-color: #3ddc84;
    color: #000;
}

.ios {
    background-color: #ffffff;
    color: #000;
}

.music-player {
    text-align: center;
    margin: 30px 0;
}

#playMusic {
    background: #ffdd57;
    color: #000;
    padding: 10px 30px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2em;
    cursor: pointer;
    transition: 0.3s;
}

#playMusic:hover {
    transform: scale(1.1);
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

footer .social a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

footer .social a:hover {
    color: #ffdd57;
}

@media (max-width: 768px) {
    .intro-banner {
        flex-direction: column;
        text-align: center;
    }

    .intro-left h2 {
        font-size: 1.5em;
    }

    .logo-banner {
        width: 180px;
        margin-top: 20px;
    }

    .header-container {
        justify-content: center;
    }

    .game-content {
        flex-direction: column;
        text-align: center;
    }

    .game-info {
        text-align: center;
    }
}

