/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #2d1b69 25%, #4a148c 50%, #6a1b9a 75%, #8e24aa 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Camada 1: Estrelas e constelações */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Estrelas principais */
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.8) 1px, transparent 2px),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.9) 1.5px, transparent 3px),
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
        radial-gradient(circle at 75% 85%, rgba(255, 255, 255, 0.8) 1px, transparent 2px),
        radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.6) 0.5px, transparent 1px),
        radial-gradient(circle at 65% 65%, rgba(255, 255, 255, 0.9) 1px, transparent 2px),
        radial-gradient(circle at 35% 55%, rgba(255, 255, 255, 0.5) 0.5px, transparent 1px),
        radial-gradient(circle at 55% 25%, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
        /* Micro estrelas */
        radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.3) 0.5px, transparent 1px),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.4) 0.5px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 0.5px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.4) 0.5px, transparent 1px);
    background-size: 400px 400px, 350px 350px, 300px 300px, 450px 450px, 200px 200px, 380px 380px, 180px 180px, 320px 320px, 150px 150px, 170px 170px, 160px 160px, 190px 190px;
    animation: starTwinkle 6s ease-in-out infinite alternate;
    z-index: -3;
}

/* Camada 2: Nebulosas e auroras */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Nebulosas principais */
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.4) 0%, rgba(75, 0, 130, 0.2) 40%, transparent 70%),
        radial-gradient(ellipse at 80% 70%, rgba(148, 0, 211, 0.3) 0%, rgba(106, 27, 154, 0.15) 50%, transparent 80%),
        radial-gradient(ellipse at 60% 20%, rgba(186, 104, 200, 0.25) 0%, rgba(138, 43, 226, 0.1) 60%, transparent 90%),
        /* Aurora boreal */
        linear-gradient(45deg, transparent 30%, rgba(138, 43, 226, 0.1) 40%, rgba(186, 104, 200, 0.2) 50%, rgba(138, 43, 226, 0.1) 60%, transparent 70%),
        linear-gradient(-45deg, transparent 20%, rgba(75, 0, 130, 0.15) 35%, rgba(148, 0, 211, 0.25) 50%, rgba(75, 0, 130, 0.15) 65%, transparent 80%);
    background-size: 800px 600px, 700px 500px, 600px 400px, 100% 200px, 100% 300px;
    animation: nebulaFlow 15s ease-in-out infinite alternate;
    z-index: -2;
}

/* Camada 3: Partículas flutuantes */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Partículas grandes */
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 3px),
        radial-gradient(circle at 90% 80%, rgba(186, 104, 200, 0.2) 1.5px, transparent 2.5px),
        radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.08) 1px, transparent 2px),
        radial-gradient(circle at 70% 40%, rgba(138, 43, 226, 0.15) 1.5px, transparent 2.5px),
        /* Partículas médias */
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.06) 1px, transparent 1.5px),
        radial-gradient(circle at 20% 90%, rgba(186, 104, 200, 0.12) 1px, transparent 1.5px),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 0.8px, transparent 1.2px),
        radial-gradient(circle at 40% 70%, rgba(138, 43, 226, 0.1) 1px, transparent 1.5px);
    background-size: 500px 500px, 450px 450px, 400px 400px, 480px 480px, 300px 300px, 350px 350px, 280px 280px, 320px 320px;
    animation: particleFloat 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes starTwinkle {
    0% { 
        opacity: 0.4; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
    }
    100% { 
        opacity: 0.6; 
        transform: scale(0.8);
    }
}

@keyframes nebulaFlow {
    0% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    33% { 
        transform: scale(1.1) rotate(2deg);
        opacity: 0.5;
    }
    66% { 
        transform: scale(0.9) rotate(-1deg);
        opacity: 0.4;
    }
    100% { 
        transform: scale(1.05) rotate(3deg);
        opacity: 0.6;
    }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) translateX(-5px) rotate(180deg);
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-30px) translateX(15px) rotate(270deg);
        opacity: 0.7;
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes cosmicPulse {
    0% { 
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(138, 43, 226, 0.6), 0 0 60px rgba(186, 104, 200, 0.4);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
        transform: scale(1);
    }
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Símbolos místicos flutuantes */
.container::after {
    content: '✦ ✧ ⟡ ◊ ⬟ ✦ ◈ ⟐ ✧ ⬢ ◊ ✦';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: rgba(186, 104, 200, 0.15);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    animation: symbolFloat 25s linear infinite;
    z-index: -1;
    pointer-events: none;
    letter-spacing: 50px;
    line-height: 100px;
}

@keyframes symbolFloat {
    0% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% { 
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.2;
    }
    75% { 
        transform: translateY(-40px) rotate(270deg);
        opacity: 0.25;
    }
    100% { 
        transform: translateY(0px) rotate(360deg);
        opacity: 0.1;
    }
}

/* Header e Headline */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 10px 10px;
}

.headline {
    font-size: 2.8rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(138, 43, 226, 1),
        0 0 30px rgba(138, 43, 226, 0.8),
        0 0 40px rgba(186, 104, 200, 0.6),
        0 0 50px rgba(75, 0, 130, 0.4);
    margin-bottom: 20px;
    animation: glowPulse 3s ease-in-out infinite alternate, cosmicEnergy 8s ease-in-out infinite;
    line-height: 1.2;
    position: relative;
}

.headline::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(138, 43, 226, 0.1), 
        transparent, 
        rgba(186, 104, 200, 0.1), 
        transparent);
    border-radius: 10px;
    animation: energyFlow 6s linear infinite;
    z-index: -1;
}

@keyframes cosmicEnergy {
    0%, 100% { 
        filter: hue-rotate(0deg) brightness(1);
    }
    25% { 
        filter: hue-rotate(15deg) brightness(1.1);
    }
    50% { 
        filter: hue-rotate(30deg) brightness(1.2);
    }
    75% { 
        filter: hue-rotate(15deg) brightness(1.1);
    }
}

@keyframes energyFlow {
    0% { 
        background-position: 0% 0%;
        opacity: 0.3;
    }
    50% { 
        background-position: 100% 100%;
        opacity: 0.6;
    }
    100% { 
        background-position: 0% 0%;
        opacity: 0.3;
    }
}

.subheadline {
    font-size: 1.4rem;
    color: #e1bee7;
    text-shadow: 0 0 10px rgba(225, 190, 231, 0.5);
    font-weight: 300;
    letter-spacing: 1px;
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(138, 43, 226, 0.8), 0 0 30px rgba(138, 43, 226, 0.6); }
    100% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(138, 43, 226, 1), 0 0 35px rgba(138, 43, 226, 0.8); }
}

/* Seção VSL */
.vsl-section {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.vsl-container {
    max-width: 800px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(138, 43, 226, 0.6),
        0 0 60px rgba(186, 104, 200, 0.4),
        0 0 100px rgba(75, 0, 130, 0.2),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(138, 43, 226, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(186, 104, 200, 0.3);
    transition: all 0.4s ease;
    position: relative;
    animation: cosmicPulse 4s ease-in-out infinite;
}

.vsl-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        rgba(138, 43, 226, 0.3), 
        rgba(186, 104, 200, 0.2), 
        rgba(75, 0, 130, 0.3), 
        rgba(148, 0, 211, 0.2));
    border-radius: 25px;
    animation: auralGlow 6s ease-in-out infinite alternate;
    z-index: -1;
}

.vsl-container::after {
    content: '✦ ✧ ⟡ ◊';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(186, 104, 200, 0.4);
    font-size: 24px;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
    animation: symbolOrbit 8s linear infinite;
    z-index: 2;
}

@keyframes auralGlow {
    0% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.02);
    }
    100% { 
        opacity: 0.4;
        transform: scale(1.01);
    }
}

@keyframes symbolOrbit {
    0% { 
        transform: translateX(-50%) rotate(0deg) translateY(-10px) rotate(0deg);
    }
    100% { 
        transform: translateX(-50%) rotate(360deg) translateY(-10px) rotate(-360deg);
    }
}

.vsl-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(138, 43, 226, 0.8),
        0 0 80px rgba(186, 104, 200, 0.6),
        0 0 120px rgba(75, 0, 130, 0.3),
        inset 0 0 0 3px rgba(255, 255, 255, 0.2),
        inset 0 0 30px rgba(138, 43, 226, 0.2);
    border-color: rgba(186, 104, 200, 0.5);
}

/* Seção CTA */
.cta-section {
    text-align: center;
    margin-top: 15px;
}

.cta-button {
    background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 50%, #ba68c8 100%);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 10px 30px rgba(142, 36, 170, 0.4),
        0 0 20px rgba(142, 36, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(142, 36, 170, 0.6),
        0 0 30px rgba(142, 36, 170, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 50%, #ce93d8 100%);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Classe hide para o botão */
.hide {
    display: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .headline {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .header {
        padding: 15px 7px;
        margin-bottom: 30px;
    }
    
    .vsl-container {
        border-radius: 15px;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 0.9rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 0.9rem;
        width: 90%;
        max-width: 300px;
    }
    
    .header {
        padding: 0px 0px;
    }
}

