body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    overflow: hidden;
}

#landing {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#logo-container {
    position: relative;
    width: 300px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo, #ener, #ium {
    position: absolute;
    max-width: 100%;
    height: auto;
}

#logo {
    animation: initialHeartbeat 1.5s ease-in-out infinite;
}

@keyframes initialHeartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.05); }
    30% { transform: scale(1); }
    45% { transform: scale(1.05); }
    60% { transform: scale(1); }
}

#ener, #ium {
    opacity: 0;
    transition: all 2s ease-in-out;
}

#ener { left: 0; }
#ium { right: 0; }

.split #ener, .split #ium { opacity: 1; }
.split #ener { transform: translateX(-100vw); }
.split #ium { transform: translateX(100vw); }
.split #logo { opacity: 0; }

#welcome-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.welcome {
    font-size: 4em;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    background: linear-gradient(to right, #D4AF37, #FFF380, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

.welcome.active {
    animation: fadeInOut 1s forwards, shine 3s linear infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

@keyframes shine {
    to { background-position: 200% center; }
}
