body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: sans-serif;
    /* Smooth transition for revealing content */
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* Reveal content when fonts are loaded */
body.fonts-loaded {
    opacity: 1;
    visibility: visible;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    top: 0;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    padding-top: 10vh;
    box-sizing: border-box;
    width: 100%;
}

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    padding: 0 20px 0 20px;
}

.coming-soon {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 200;
    text-transform: uppercase;
    color: white;
    font-size: 1.3rem;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 0;
    padding: 0 30px 0 30px;
}

.bold-text {
    font-weight: 500;
}

.cosmologo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 90px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cosmologo:hover {
    transform: scale(1.05);
}

/* Popup Overlay Styles */
.popup-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;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: #1a1a1a;
    padding: 3rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    margin: 0 20px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.popup-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.popup-content h2 {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.popup-content p {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 200;
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.popup-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.popup-content a:hover {
    color: #999;
    text-decoration: underline;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
    .popup-content {
        padding: 2rem;
    }
    
    .popup-content h2 {
        font-size: 1.5rem;
    }
    
    .popup-content p {
        font-size: 1rem;
    }
}

/* Logo Animation Styles */
#animated-logo {
    display: block;
    width: 100%;
}

#animated-logo svg {
    width: 100%;
    height: auto;
    display: block;
}

.logo-top {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

.logo-top.initial-animation {
    animation: wipeInLeftToRight 0.8s ease-out forwards;
}

.logo-top.wipe-out {
    animation: wipeOutRightToLeft 0.5s ease-in forwards;
}

.logo-top.wipe-in {
    animation: wipeInLeftToRight 0.8s ease-out forwards;
}

/* Keyframe animations for wipe effects */
@keyframes wipeInLeftToRight {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes wipeOutRightToLeft {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
} 