:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #0077b6;
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width-video: 750px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 50px;
}

/* Contenedor del Video */
.video-wrapper {
    width: 100%;
    max-width: var(--max-width-video);
    margin-top: 5vh;
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    border-radius: 8px;
}

video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Overlay */
#startOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.5)), url('fondo.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.5s ease;
    text-align: center;
}

.play-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 85%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

#startOverlay:hover .play-card {
    transform: translateY(-5px);
}

.play-icon-large {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.4);
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 119, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0); }
}

.play-card h2 {
    font-size: 1.1rem;
    color: #111;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Volumen */
.volume-control {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover .volume-control {
    opacity: 1;
}

input[type="range"] {
    cursor: pointer;
    accent-color: var(--accent-color);
    width: 70px;
}

/* Área de Acción (CTA) */
.cta-container {
    width: 100%;
    max-width: var(--max-width-video);
    padding: 40px 20px;
    text-align: center;
}

.btn-acceder {
    font-family: var(--font-mono);
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 20px 45px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 0px #005f91;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
    border-radius: 4px;
}

.btn-acceder:hover {
    background-color: #005f91;
    transform: translateY(-2px);
    box-shadow: 0 7px 12px rgba(0,0,0,0.1);
}

.stock-notice {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.stock-notice strong {
    color: #d90429;
}

/* Responsive */
@media (max-width: 768px) {
    .video-wrapper { margin-top: 0; border-radius: 0; }
    .btn-acceder { width: 100%; }
    .play-card { padding: 15px 20px; }
    .play-card h2 { font-size: 0.9rem; }
    .play-icon-large { width: 50px; height: 50px; }
}