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

body {
    background-color: #ffa600;
    background-size: 400% 400%;
    animation: gradient 55s ease infinite;
    height: 100vh;
    font-family: "Tiny5", serif;
    overflow-x: hidden;
    overflow-y: scroll;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

h1 {
    font-size: 4rem;
    font-family: "Tiny5", serif;
    line-height: 4rem;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: top;
}

.title {
    position: absolute;
    top: 5px;
    left: 50px;
    font-family: "Tiny5", serif;
    font-size: 2rem;
    color: white;
    background-color: #0004ff;
    z-index: 20;
    padding: 10px 20px;
}

.content-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: row;
    gap: 20px;
}

.image-block {
    width: 100%;
    height: 90vh;
    text-align: center;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    border-radius: 3px;
    background-color: #6e3c07;
}

.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #ffffff;
    border-radius: 3px;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.wadada {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #fff;
    z-index: 10;
    font-size: 18px;
}

#enter-button, #enter-button-bots {
    background-color: #1a55f7;
    color: #ffffff;
    font-size: 2.5rem;
    padding: 10px 20px;
    border: 1px solid #ffffff;
    border-radius: 3px;
    cursor: pointer;
    font-family: "Tiny5", serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 3rem;
    width: 100%;
}

#enter-button:hover, #enter-button-bots:hover {
    background-color: #f7931a;
    transform: scale(1.05);
}

.section {
    scroll-snap-align: start;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #fff;
    position: relative;
}

.welcome-text {
    font-family: "Tiny5", serif;
    font-size: 8rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    background: #0a27fdc8;
    max-width: 90%;
    padding: 50px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid #ffffff;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    display: inline-block;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1s ease-out forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#mobile-controls {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    display: none;
}

#left-controls,
#right-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-button {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
}

.control-button:active {
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
}

@media (max-width: 768px) {
    .wrapper .section:first-of-type {
        padding-top: 140px;
    }
    .section {
        padding: 20px;
    }
    header {
        padding: 10px 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        width: 80px;
        height: 80px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .image-block {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 0;
        position: relative;
    }
    .image-block img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
    }
    .welcome-text {
        font-size: 2.5rem;
        max-width: 100%;
        padding: 20px;
    }
    .blinking {
        font-size: 2.5rem;
    }
    .wadada {
        position: absolute;
        bottom: 10;
        right: 25px;
        transform: rotate(90deg);
        transform-origin: bottom right;
    }
    h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
    #mobile-controls {
        display: flex;
    }
}

/* Existing CSS remains unchanged */

/* Updated styles for mobile controls */
@media (max-width: 768px) {
    #mobile-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 20px;
        position: fixed;
        bottom: 20px;
        left: 0;
        z-index: 1000;
    }

    #mobile-controls button {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    

    #left-controls {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    #right-controls {
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .control-button {
        width: 60px;
        height: 60px;
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        border: none;
        border-radius: 3px;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .control-button:active {
        background-color: rgba(255, 255, 255, 0.7);
        color: #000;
        transform: scale(0.95);
    }

    #left-controls, #right-controls {
        margin: 0;
        padding: 0;
    }
}
