:root {
    --bg-color: #070708;
    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    max-width: 900px;
    line-height: 1.2;
}

.video-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(191, 149, 63, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: #000;
    overflow: hidden; 
}

#vsl-video {
    width: 100%;
    display: block;
    pointer-events: none; /* Bloquea interacciones nativas */
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: opacity 0.3s ease;
}

.play-btn {
    background: var(--gold-gradient);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
    box-shadow: 0 10px 30px rgba(191, 149, 63, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(191, 149, 63, 0.6);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #000;
}

/* Mute Button */
.mute-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(191, 149, 63, 0.5);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: #BF953F;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    transition: width 0.1s linear;
}

/* Inline Form Section */
.registro-section {
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    margin-top: 0;
}

.registro-section.visible {
    max-height: 800px;
    opacity: 1;
    margin-top: 2rem;
}

.form-container {
    background: #111111;
    padding: 3rem;
    border-radius: 24px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(191, 149, 63, 0.3);
    text-align: center;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Form Elements */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #BF953F;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(191, 149, 63, 0.1);
}

.input-group input::placeholder {
    color: var(--text-gray);
}

.btn-premium {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    font-family: var(--font-main);
}

.btn-premium:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 25px rgba(191, 149, 63, 0.4);
}

.submit-btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Success Message */
.success-message {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(191, 149, 63, 0.08);
    border: 1px solid rgba(191, 149, 63, 0.3);
    color: var(--text-gray);
    border-radius: 12px;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.success-message .text-gradient {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-links {
    margin-top: 1rem;
}

.legal-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #BF953F;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .form-container {
        padding: 2rem;
    }
}
