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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #8ff620 0%, #c6db5a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Loading spinner styles */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #8ff620 0%, #c6db5a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-spinner.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Black band with logo */
.black-band {
    background-color: #000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10rem;
    position: relative;
    overflow: visible;
}

.black-band-left {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.black-band-center {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.black-band-right {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-button {
    background: none;
    border: none;
    border-radius: 8px;
    width: 3.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.language-button:hover {
    transform: scale(1.05);
}

.flag-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.logo-white {
    height: 10rem;
    width: auto;
    position: absolute;
    margin-top: 5rem;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 0 1.5rem rgba(143, 246, 32, 0));
}

.logo-white:hover {
    transform: scale(1.01);
    filter: drop-shadow(0 0 1.5rem rgba(143, 246, 32, 0.8));
}

/* Custom tooltip for logo */
.logo-white::after {
    content: attr(title);
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.logo-white:hover::after {
    opacity: 1;
    visibility: visible;
}

/* White boxes */
.white-box {
    background-color: #fff;
    width: 100%;
    max-width: 50rem;
    padding: 4rem 4rem 1rem;
    text-align: center;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

.second-box {
    margin-top: 2.5rem;
    overflow: visible;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1rem 0 1.6rem 0;
}

/* Typography */
.main-header {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #000;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.subtext {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.manifest-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    color: #000;
    margin-top: 1rem;
}

/* Button */
.profile-button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.2rem 1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.profile-button:hover {
    background-color: #333;
}

/* Anormalia logo - overflow */
.logo-anormalia {
    width: 100vw;
    height: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    max-width: none;
}

/* Banana overlay styles */
.banana-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.banana-overlay.show {
    opacity: 1;
    visibility: visible;
}

.banana-image {
    max-width: 50vw;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 1.5rem rgba(255, 255, 255, 1));
}

/* Left character overlay */
.left-character-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.left-character-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Right character overlay */
.right-character-overlay {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.right-character-overlay.show {
    opacity: 1;
    visibility: visible;
}

.left-character-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    position: absolute;
    left: 0rem;
    bottom: 0rem;
}

.right-character-image {
    max-width: 77vw;
    max-height: 77vh;
    width: auto;
    height: auto;
    object-fit: contain;
    position: absolute;
    right: 0rem;
    bottom: 0rem;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 1rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-column {
    width: 40%;
    position: relative;
    overflow: visible;
    justify-content: flex-start;
}

.left-column-image {
    width: 100%;
    height: auto;
    position: absolute;
    left: -1rem;
    bottom: -1rem;
    object-fit: contain;
    z-index: 20;
}

.center-column {
    width: 20%;
}

.right-column {
    width: 40%;
    position: relative;
    overflow: visible;
    justify-content: flex-end;
}

.right-column-image {
    width: 85%;
    height: auto;
    position: absolute;
    right: -1rem;
    bottom: -1rem;
    object-fit: contain;
    z-index: 20;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.125rem;
    height: 3.125rem;
    background-color: #fff;
    border-radius: 50%;
    color: #000;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: #8ff620;
}

.social-icon svg {
    width: 2rem;
    height: 2rem;
}

/* Question buttons - hidden by default */
.question-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 3.125rem;
    height: 3.125rem;
    background-color: #000;
    border: none;
    border-radius: 50%;
    color: #444444;
    font-family: 'Roboto', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    z-index: 30;
}

.left-question {
    align-self: flex-start;
    margin-left: 0;
}

.right-question {
    align-self: flex-end;
    margin-left: auto;
}

.question-button:hover {
    transform: scale(1.1);
    background-color: #8ff620;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    /* Hide left and right side images */
    .left-column-image,
    .right-column-image {
        display: none;
    }
    /* Make white boxes 80% width */
    .white-box {
        width: 80%;
        max-width: none;
    }
    
    /* Footer to 3 columns: 25%, 50%, 25% */
    .footer-content {
        flex-direction: row;
        gap: 1rem;
    }
    
    .left-column {
        width: 25%;
        position: static;
        justify-content: flex-start;
    }
    
    .center-column {
        width: 50%;
    }
    
    .right-column {
        width: 25%;
        position: static;
        justify-content: flex-end;
    }
    
    .left-column-image,
    .right-column-image {
        display: hidden;
    }
    
    /* Show question buttons on smaller screens */
    .question-button {
        display: flex;
    }

    .black-band {
        height: 8rem;
    }

    .black-band-center {
        position: relative;
    }

    .logo-white {
        height: 8rem;
        margin-top: 4rem;
    }

    .language-button {
        width: 3rem;
        height: 2.2rem;
    }
    
    .logo-white::after {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        bottom: -2rem;
    }

    .logo-anormalia {
        height: 14rem;
        justify-self: center;
        width: auto;
    }

    .right-character-image {
        max-width: 85vw;
        max-height: 85vh;
    }

}

@media screen and (max-width: 768px) {
    .white-box {
        width: 90%;
        padding: 2.5rem 2rem 1rem;
    }
    
    .profile-button {
        font-size: 2rem;
        padding: 0.2rem 0.8rem;
    }

    .logo-anormalia {
        height: 12rem;
    }
    
}

@media screen and (max-width: 480px) {
    .white-box {
        width: 95%;
    }
    
    .main-header {
        font-size: 1.25rem;
    }
    
    .manifest-text {
        font-size: 1.2rem;
    }
    
    .profile-button {
        font-size: 1.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    
    .social-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .social-icons {
        gap: 0.75rem;
    }

    .social-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .question-button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .language-button {
        width: 2.5rem;
        height: 1.8rem;
        margin-right: -1rem;
    }

    .logo-anormalia {
        height: 10rem;
    }

    .right-character-image {
        max-width: 77vw;
        max-height: 77vh;
    }

}

