/* Estilos Globais */
:root {
    --primary-color: #0a0e17;
    --secondary-color: #1a1f2e;
    --accent-color: #ff6b00;
    --text-color: #ffffff;
    --text-secondary: #b0b7c3;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --gradient-start: #0f1624;
    --gradient-end: #1a1f2e;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

/* Animação de Fundo */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%230a58ca" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 1440px 100px;
    animation: wave 15s linear infinite;
}

.wave:nth-child(2) {
    bottom: 10px;
    opacity: 0.5;
    animation: wave 17s linear infinite;
    animation-delay: -5s;
}

.wave:nth-child(3) {
    bottom: 20px;
    opacity: 0.2;
    animation: wave 20s linear infinite;
    animation-delay: -2s;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1440px;
    }
}

/* Header e Headline */
header {
    text-align: center;
    margin-bottom: 2rem;
}

.headline {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #ffffff, #b0b7c3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Vídeo Container */
.video-container {
    background: rgba(26, 31, 46, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    margin-bottom: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Indicador Ao Vivo */
.live-indicator {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1s infinite;
}

.live-text {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

/* Contador de Visualizações */
.viewers-counter {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.viewers-counter i {
    margin-right: 8px;
    color: var(--accent-color);
}

#viewers-count {
    font-weight: 700;
    margin: 0 5px;
    color: var(--accent-color);
}

/* Botão CTA */
.cta-button-container {
    margin-top: 2rem;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background-color: #ff8124;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 107, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
    }
}

/* Modal de Saída */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1f2e, #0a0e17);
    margin: 10% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-button {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    margin-right: 8px;
}

.whatsapp-button:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .headline {
        font-size: 1.8rem;
    }
    
    .video-container {
        padding: 1rem;
    }
    
    .live-indicator {
        top: 1.5rem;
        left: 1.5rem;
        padding: 0.3rem 0.8rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .live-indicator {
        top: 1.2rem;
        left: 1.2rem;
        padding: 0.2rem 0.6rem;
    }
    
    .live-text {
        font-size: 0.8rem;
    }
    
    .viewers-counter {
        font-size: 0.8rem;
    }
    
    .cta-button {
        width: 100%;
    }
}
