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

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Exo 2', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
}

/* Cursor personalizado */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #8a2be2, transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    animation: cursorPulse 2s infinite;
    transition: transform 0.1s ease;
}

@keyframes cursorPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.5); }
}

/* Fondo animado con partículas */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at center, #1a0033 0%, #000000 70%);
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #8a2be2;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 0.5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 1.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 2.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 3.5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 4.5s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Grid futurista */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Contenedor principal */
.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.content-wrapper {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Logo con efectos avanzados */
.logo-section {
    position: relative;
    margin-bottom: 80px;
    animation: logoEntrance 2s ease-out;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3), transparent 70%);
    animation: logoGlowPulse 4s ease-in-out infinite;
}

@keyframes logoGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.8));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-reflection {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 350px;
    height: 175px;
    background: linear-gradient(to bottom, rgba(138, 43, 226, 0.2), transparent);
    mask: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent 70%);
    -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent 70%);
}

/* Título con efectos espectaculares */
.title-section {
    margin-bottom: 60px;
    perspective: 1000px;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0;
    position: relative;
}

.word {
    display: inline-block;
    margin: 0 15px;
    background: linear-gradient(45deg, #ffffff, #e0e0e0, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wordReveal 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
}

.word.highlight {
    background: linear-gradient(45deg, #8a2be2, #ff00ff, #00ffff, #8a2be2);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wordReveal 0.8s ease-out forwards, highlightGlow 3s ease-in-out infinite;
    text-shadow: 0 0 50px rgba(138, 43, 226, 0.8);
}

.word:nth-child(1) { animation-delay: 0.5s; }
.word:nth-child(2) { animation-delay: 0.7s; }
.word:nth-child(3) { animation-delay: 0.9s; }
.word:nth-child(4) { animation-delay: 1.1s; }

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes highlightGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Subtítulo profesional */
.subtitle-section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.subtitle {
    font-size: 1.6rem;
    font-weight: 300;
    color: #b0b0b0;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 30px 0;
}

.subtitle::before,
.subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8a2be2, transparent);
    transform: translateX(-50%);
}

.subtitle::before { top: 0; }
.subtitle::after { bottom: 0; }

/* Sección de lanzamiento */
.launch-section {
    margin-bottom: 80px;
    position: relative;
    animation: fadeInUp 1s ease-out 2s both;
}

.launch-indicator {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    margin-left: -200px;
}

.pulse-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #8a2be2;
    border-radius: 50%;
    animation: pulsate 2s ease-out infinite;
}

.pulse-ring:nth-child(2) { animation-delay: 0.7s; }
.pulse-ring:nth-child(3) { animation-delay: 1.4s; }

@keyframes pulsate {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.launch-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #8a2be2;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    border: 2px solid #8a2be2;
    background: rgba(138, 43, 226, 0.1);
    backdrop-filter: blur(10px);
    animation: textEnergize 3s ease-in-out infinite;
}

@keyframes textEnergize {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(138, 43, 226, 0.5),
            inset 0 0 20px rgba(138, 43, 226, 0.1);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(138, 43, 226, 0.8),
            inset 0 0 30px rgba(138, 43, 226, 0.3);
    }
}

/* Botón ultra profesional */
.button-section {
    animation: fadeInUp 1s ease-out 2.5s both;
}

.instagram-btn {
    position: relative;
    display: inline-block;
    padding: 25px 60px;
    background: linear-gradient(135deg, #8a2be2 0%, #ff00ff 50%, #00ffff 100%);
    background-size: 200% 200%;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 15px 35px rgba(138, 43, 226, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
    animation: buttonFloat 4s ease-in-out infinite;
}

@keyframes buttonFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.btn-text {
    position: relative;
    z-index: 3;
}

.btn-hologram {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.instagram-btn:hover .btn-hologram {
    left: 100%;
}

.instagram-btn:hover {
    transform: translateY(-8px) scale(1.05);
    background-position: 100% 100%;
    box-shadow: 
        0 25px 50px rgba(138, 43, 226, 0.6),
        0 10px 25px rgba(0, 0, 0, 0.4);
    animation: buttonGlow 0.5s ease-out;
}

@keyframes buttonGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

.btn-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.btn-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    animation: particleExplode 2s infinite;
}

.btn-particles span:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.btn-particles span:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.5s; }
.btn-particles span:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1s; }
.btn-particles span:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }

@keyframes particleExplode {
    0% { transform: scale(0); opacity: 1; }
    50% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

/* Luces laterales */
.side-lights {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.light {
    position: absolute;
    width: 300px;
    height: 100%;
    filter: blur(100px);
    opacity: 0.3;
    animation: lightPulse 8s ease-in-out infinite;
}

.left-light {
    left: -150px;
    background: linear-gradient(to right, #8a2be2, transparent);
    animation-delay: 0s;
}

.right-light {
    right: -150px;
    background: linear-gradient(to left, #ff00ff, transparent);
    animation-delay: 4s;
}

@keyframes lightPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(1.2); }
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body::before { display: none; }
    
    .main-container {
        padding: 20px 15px;
    }
    
    .logo {
        max-width: 280px;
    }
    
    .logo-glow {
        width: 300px;
        height: 300px;
    }
    
    .main-title {
        font-size: 2.8rem;
    }
    
    .word {
        margin: 0 8px;
        display: block;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 1.3rem;
        padding: 20px 15px;
    }
    
    .launch-text {
        font-size: 1.1rem;
        letter-spacing: 2px;
        padding: 15px 25px;
    }
    
    .launch-indicator {
        display: none;
    }
    
    .instagram-btn {
        padding: 20px 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        max-width: 100%;
    }
    
    .logo {
        max-width: 220px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .launch-text {
        font-size: 1rem;
        letter-spacing: 1px;
        padding: 12px 20px;
    }
    
    .instagram-btn {
        padding: 18px 35px;
        font-size: 1rem;
    }
}

/* Mejoras de rendimiento */
.particle,
.btn-particles span,
.pulse-ring {
    will-change: transform, opacity;
}

.logo,
.instagram-btn {
    will-change: transform;
}
