* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Baloo 2', 'Varela Round', 'Comic Sans MS', 'Chalkboard SE', 'Arial Rounded MT Bold', sans-serif;
    background-color: #40E0D0; /* Turquoise */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

.logo {
    border-radius: 4px;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.nav-link svg {
    width: 18px;
    height: 18px;
}

.nav-link:hover {
    color: #666;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 1rem 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.featured-game {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ad-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
}

.ad-placeholder {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    text-align: center;
    color: #666;
    border-radius: 1rem;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ad-top {
    width: 100%;
    height: 90px;
    margin-bottom: 1rem;
}

.ad-side {
    width: 160px;
    height: 600px;
}

.featured-game-content {
    max-width: 600px;
}

.featured-game-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 50px 50px 50px rgba(0,0,0,0.1);
}

.featured-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-game-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.featured-game-intro {
    font-size: 1.2rem;
    color: #036060;
    margin-bottom: 1rem;
}

.play-now-button {
    display: inline-block;
    background-color: #fd4c4c;
    color: white;
    padding: 0.6rem 4rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
}

.play-now-button:hover {
    background-color: #e40a0a;
}

.featured-game-description {
    font-size: 0.9rem;
    color: #036060;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.other-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.8rem;
    justify-items: center;
}

.game-card {
    text-decoration: none;
    color: inherit;
}

.game-card:hover .game-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 12px 30px rgba(0,0,0,0.08);
}

.game-icon {
    width: 100px;
    height: 100px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.game-icon:hover {
    transform: scale(1.05);
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ad-container {
        flex-direction: column;
    }

    .ad-side {
        width: 100%;
        height: 100px;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .featured-game-icon {
        width: 200px;
        height: 200px;
    }

    .featured-game-title {
        font-size: 2rem;
    }

    .featured-game-intro {
        font-size: 1rem;
    }

    .play-now-button {
        font-size: 1rem;
        padding: 0.6rem 3.8rem;
    }

    .featured-game-description {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) {
    .nav-container {
        height: 60px;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .nav-link svg {
        width: 24px;
        height: 24px;
    }

    .featured-game-icon {
        width: 300px;
        height: 300px;
    }

    .featured-game-title {
        font-size: 3rem;
    }

    .featured-game-intro {
        font-size: 1.5rem;
    }

    .featured-game-description {
        font-size: 1.2rem;
    }

    .other-games {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .game-icon {
        width: 120px;
        height: 120px;
    }

    .footer-link {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .featured-game-icon {
        width: 250px;
        height: 250px;
    }

    .featured-game-title {
        font-size: 3.5rem;
    }

    h1 {
        font-size: 5rem;
    }

    .featured-game-intro {
        font-size: 1.3rem;
    }

    .featured-game-description {
        font-size: 1.1rem;
    }

    .other-games {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .game-icon {
        width: 150px;
        height: 150px;
    }
}

h1 {
    text-align: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
