body {
    position: relative;
    width: 100%;
    height: auto;
    background: #FFFFFF;
    backdrop-filter: blur(31.3993px);
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: #1935CA;
    font-size: 42px;
    font-weight: 700;
}

header nav a {
    text-decoration: none;
    margin-left: 15px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s;
    border-radius: 10px;
}

header nav .button-blue {
    background-color: #1935CA;
    color: #fff;
}

header nav .button-blue:hover {
    background-color: #0056b3;
}

header nav .button-white {
    background-color: #FFFFFF;
    color: #000;
    border: 2px solid #000;
}

header nav .button-white:hover {
    background-color: #f0f0f0;
}

.kids {
    font-size: 28px;
    color: #ff5733;
    font-weight: 700;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10%;
    background: #FFFFFF;
    margin-top: 20px;
}

.hero .text {
    max-width: 50%;
}

.hero .text h2 {
    color: #1935CA;
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 30px;
}

.kids-text {
    color: #ff5733;
    font-weight: bold;
}

.hero .text p {
    color: #333;
    font-size: 24px;
    margin: 15px 0;
}

.hero .image {
    max-width: 40%;
}

.hero .image img {
    width: 100%;
    height: auto;
}

.game-themes {
    text-align: center;
    margin: 50px 10%;
    padding: 30px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.game-themes h3 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel img {
    width: 1000px;
    height: 550px;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    position: absolute;
}

.carousel img.active {
    opacity: 1;
    position: static;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #1935CA;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

.section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 10%;
    padding: 30px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.section .text {
    flex: 1;
    padding: 30px;
}

.section .text h3 {
    font-size: 28px;
    font-weight: bold;
    color: #1E1E1E;
    margin-bottom: 20px;
}

.section .text p {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
}

.section .image {
    flex: 1;
    padding: 30px;
    text-align: center;
}

.section .image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #FFFFFF;
    font-size: 16px;
    color: #000;
}

.footer-link {
    color: #000;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 10px;
        gap: 10px;
    }

    header .logo h1 {
        font-size: 28px;
    }

    header nav a {
        font-size: 16px;
        padding: 10px 16px;
        border-radius: 8px;
        width: auto;
        min-width: 120px;
        box-sizing: border-box;
    }

    header nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .hero {
        flex-direction: column-reverse; 
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
    }

    .hero .text {
        max-width: 100%;
    }
    
    .hero .image img {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    .hero .text h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero .text p {
        font-size: 16px;
    }

    .game-themes {
        margin: 30px 5%;
        padding: 20px;
    }

    .carousel img {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .arrow {
        font-size: 20px;
    }

    .section {
        flex-direction: column;
        margin: 30px 5%;
        padding: 20px;
    }

    .section .text,
    .section .image {
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .section .text h3 {
        font-size: 22px;
    }

    .section .text p {
        font-size: 16px;
    }

    footer {
        font-size: 14px;
        padding: 15px;
    }
}
