body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

/* Video Container */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    
    /* NEW: The poster image lives here now as a fallback background */
    background-image: url('poster.jpg'); 
    background-size: cover;
    background-position: center;
}

/* The Video Element */
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* NEW: Start invisible. This hides the play button if autoplay fails. */
    opacity: 0; 
    transition: opacity 0.5s ease-in; /* Smooth fade-in */
}

/* NEW: This class is added by JS only when video plays */
video.is-playing {
    opacity: 1;
}

/* Main Center Logo */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none; 
}

.brand-logo {
    width: 250px;   
    max-width: 90%; 
    height: auto;
    pointer-events: auto; 
}

/* Bottom Email Vector */
.footer-link {
    position: fixed;
    bottom: 100px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; 
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.footer-link img {
    width: 130px; 
    height: auto;
    display: block;
}

.footer-link:hover {
    opacity: 0.7;
}