body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevents scrollbars from video */
}

.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ensure video is behind content */
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire container */
}

.content-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    text-align: left;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.content-overlay h1 {
    font-family: 'Test Tiempos Fine', 'Segoe UI', Arial, sans-serif;
    font-size: 4rem; /* Matched from text-reveal.html */
    font-weight: 800;
    margin-bottom: 1rem;
    color: white; /* Changed from black */
    line-height: 1.2; /* Matched from text-reveal.html */
}

.content-overlay p {
    font-family: 'Segoe UI', Arial, sans-serif; /* Matched from text-reveal.html */
    font-size: 1.5rem; /* Matched from text-reveal.html */
    line-height: 1.5; /* Matched from text-reveal.html */
    margin-bottom: 2rem;
    max-width: 600px; /* Matched from text-reveal.html */
    color: white; /* Changed from black */
}

.content-overlay button {
    background: rgba(0, 0, 0, 0.05); /* Matched from text-reveal.html - this is a dark, mostly transparent background */
    color: white; /* Changed from black */
    border: 1px solid white; /* Changed from rgba(0, 0, 0, 0.2) */
    padding: 10px 20px; /* Matched from text-reveal.html */
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Segoe UI', Arial, sans-serif; /* Matched from text-reveal.html */
    font-size: 1rem;
    transition: background-color 0.2s; /* Matched from text-reveal.html */
    margin-top: 20px; /* Matched from text-reveal.html inline style */
}

.content-overlay button:hover {
    background: rgba(255, 255, 255, 0.1); /* Lighten background on hover for white text */
}

/* Link back to index */
.back-to-index {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent */
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.back-to-index:hover {
    background-color: #0056b3; /* Solid on hover */
}

/* Font import for Test Tiempos Fine if not globally available via index.html's font setup */
@font-face {
    font-family: 'Test Tiempos Fine';
    src: url('fonts/TestTiemposFine.woff2') format('woff2'),
         url('fonts/TestTiemposFine.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} 