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

body {
    font-family: "Zilla Slab", serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    height: 100vh;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader.hidden {
    display: none;
}

.preloader-content {
    text-align: center;
    width: 300px;
}

.preloader-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7d7d7d, #f4f2f3);
    width: 0%;
    transition: width 0.3s ease;
}

#progress-text {
    font-family: "Zilla Slab", serif;
    font-size: 18px;
    color: #7d7d7d;
}

/* Play Screen */
.play-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.play-screen.hidden {
    display: none;
}

.play-button {
    font-family: "Zilla Slab", serif;
    padding: 30px 60px;
    font-size: 32px;
    font-weight: bold;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: #000;
    color: #e7e5e5;
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.main-content.hidden {
    display: none;
}

/* Video Container */
.video-container {
    position: sticky;
    margin-top: 40px;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    background: #000;
    z-index: 1000;
}

#main-video {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
}

/* Responsive video */
@media (max-width: 768px) {
    #main-video {
        width: 95%;
    }
}

/* Overlay Elements */
.overlay-element {
    position: fixed;
    bottom: 50px;
    left: 50%;
    z-index: 200;
    transition: opacity 0.6s ease;
}

.overlay-element.hidden {
  opacity: 0;
}

.overlay-element:not(.hidden) {
  opacity: 1;
}

.placeholder-box {
    background: rgba(255, 0, 102, 0);
    padding: 60px 40px;
    border-radius: 0px;
    text-align: center;
    
}

.placeholder-box2 {
    background: rgba(255, 0, 102, 0);
    padding: 60px 40px;
    border-radius: 0px;
    max-width: none;   /* enlever toute limite de largeur */
    text-align: left;
    
}

.placeholder-box p {
    font-family: "Zilla Slab", serif;
    color: #ffffff;
    font-style: normal;
    font-size: 24px;
}

.placeholder-box2 p {
    font-family: "Zilla Slab", serif;
    color: #e5ddca;
    font-style: normal;
    font-size: 24px;
}

/* Debug Info */
.debug-info {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 14px;
    z-index: 3000;
}

.debug-info p {
    margin: 5px 0;
}

.debug-info span {
    color: #f5be25;
    font-weight: bold;
}
