* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
}

/* HEADER */
header {
    width: 100%;
    background-color: #121212;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
}

#logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

#logo span {
    font-size: 22px;
    font-weight: bold;
    color: #00ff00;
}

#bugbox-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

#support-link {
    color: #d4e157;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

#dark-light-toggle {
    border: none;
    background: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

/* HAUPTBEREICH */
.landing-container,
#update-section {
    width: 100%;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 16px;
    text-align: center;
}

#main-logo,
#update-image,
#update-button img {
    width: 220px;
    height: 220px;
    max-width: 60vw;
    max-height: 60vw;
    border-radius: 28px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    transition: transform 0.3s ease;
}

#main-logo:hover,
#update-image:hover,
#update-button img:hover {
    transform: scale(1.04);
}

.rotating,
#update-button.downloading img {
    animation: rotateLogo 1.2s linear;
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(720deg);
    }
}

.landing-container h1 {
    margin: 20px 0 8px;
    font-size: 38px;
}

.landing-container p,
#update-text {
    margin: 0;
    font-size: 16px;
    opacity: 0.85;
}

/* PATCH NOTES AUSBLENDEN */
#patch-notes {
    display: none;
}

/* LIGHT MODE */
body.light-mode {
    background-color: #ffffff;
    color: #000000;
}

body.light-mode header {
    background-color: #f5f5f5;
}

body.light-mode #dark-light-toggle {
    color: #000000;
}

/* JUNGLE MODE */
body.jungle-mode {
    background: url('./jungle.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #d4e157;
}

body.jungle-mode header {
    background-color: #1a472a;
}

body.jungle-mode header nav a {
    color: #d4e157;
}

/* MOBILE */
@media screen and (max-width: 768px) {
    header {
        padding: 8px 10px;
        gap: 8px;
    }

    #logo span {
        font-size: 16px;
    }

    #bugbox-icon {
        width: 22px;
        height: 22px;
    }

    header nav {
        gap: 8px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
    }

    #support-link {
        font-size: 9px;
    }

    #dark-light-toggle {
        font-size: 15px;
        padding: 0;
    }

    .landing-container,
    #update-section {
        min-height: calc(100vh - 45px);
        padding: 25px 14px;
    }

    #main-logo,
    #update-image,
    #update-button img {
        width: 145px !important;
        height: 145px !important;
        max-width: 42vw !important;
        max-height: 42vw !important;
        border-radius: 22px;
    }

    .landing-container h1 {
        font-size: 28px;
        margin-top: 16px;
    }

    .landing-container p,
    #update-text {
        font-size: 13px;
    }

    body.jungle-mode {
        background-attachment: scroll;
        background-size: cover;
    }
}
.ios-coming {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.7;
}