* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f4e 50%, #0a0e27 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Fondo de partículas */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 123, 213, 0.1) 0%, transparent 50%);
    z-index: -2;
}

/* Logos volando - Animación de adentro hacia afuera */
.flying-logos {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.fly-icon {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.6;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5));
    animation: flyOut 8s infinite ease-in-out;
}

.icon-1 { animation-delay: 0s; }
.icon-2 { animation-delay: 0.5s; }
.icon-3 { animation-delay: 1s; }
.icon-4 { animation-delay: 1.5s; }
.icon-5 { animation-delay: 2s; }
.icon-6 { animation-delay: 2.5s; }
.icon-7 { animation-delay: 3s; }
.icon-8 { animation-delay: 3.5s; }

@keyframes flyOut {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(1.2) rotate(var(--rot));
        opacity: 0;
    }
}

/* Posiciones de vuelo para cada icono */
.icon-1 { --tx: -300px; --ty: -200px; --rot: 45deg; }
.icon-2 { --tx: 300px; --ty: -200px; --rot: -45deg; }
.icon-3 { --tx: -400px; --ty: 100px; --rot: 90deg; }
.icon-4 { --tx: 400px; --ty: 100px; --rot: -90deg; }
.icon-5 { --tx: -200px; --ty: 350px; --rot: 135deg; }
.icon-6 { --tx: 200px; --ty: 350px; --rot: -135deg; }
.icon-7 { --tx: -500px; --ty: 400px; --rot: 175deg; }
.icon-8 { --tx: 500px; --ty: 400px; --rot: -175deg; }

/* Contenedor Principal - DIMENSIONES FIJAS PARA PC */
.container {
    text-align: center;
    padding: 2rem;
    width: 1200px;
    max-width: 1200px;
    height: 700px;
    max-height: 700px;
    background: rgba(255, 255, 255, 0.03);
    /*backdrop-filter: blur(20px);*/ /***************************/
    border-radius: 25px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: 
        0 0 60px rgba(0, 210, 255, 0.15),
        inset 0 0 60px rgba(0, 210, 255, 0.05);
    animation: containerFadeIn 1.5s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

@keyframes containerFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo Principal */
.logo-container {
    margin-bottom: 15px;
}

.main-logo {
    max-width: 120px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
    animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.6)); }
}

.brand-name {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5, #00d2ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s linear infinite;
    letter-spacing: 3px;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.tagline {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Textos */
h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Cuenta Regresiva */
.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.time-box {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(58, 123, 213, 0.1));
    padding: 12px 18px;
    border-radius: 12px;
    min-width: 75px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.time-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.time-box small {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Información de Servicios (NUEVO) */
.services-info {
    margin: 20px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-title i {
    font-size: 1.5rem;
    color: #00d2ff;
}

.info-title h3 {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.service-card {
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.2);
}

.service-card i {
    font-size: 1.8rem;
    color: #00d2ff;
    margin-bottom: 8px;
}

.service-card h4 {
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.7rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.3;
}

/* Botones de Conexión Directa */
.connect-buttons {
    margin: 15px 0;
}

.connect-text {
    color: #94a3b8;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-whatsapp,
.btn-email,
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-email {
    background: #EA4335;
    color: white;
}

.btn-email:hover {
    background: #d93025;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(234, 67, 53, 0.4);
}

.btn-phone {
    background: #3a7bd5;
    color: white;
}

.btn-phone:hover {
    background: #2c6bc4;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(58, 123, 213, 0.4);
}

/* Redes Sociales */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #00d2ff;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(0, 210, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.4);
}


/* ========================================
   ESTILOS PARA MÚSICA DE FONDO
   ======================================== */

/* Overlay para activar audio */
.click-to-play {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.click-to-play i {
    font-size: 4rem;
    color: #00d2ff;
    margin-bottom: 20px;
    animation: pulseMusic 2s infinite;
}

.click-to-play p {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes pulseMusic {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    }
    50% { 
        transform: scale(1.2);
        text-shadow: 0 0 40px rgba(0, 210, 255, 1);
    }
}

.click-to-play.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Icono de música flotante (opcional, para indicar que hay audio) */
.music-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 255, 0.2);
    border: 2px solid rgba(0, 210, 255, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00d2ff;
    font-size: 1.2rem;
    z-index: 100;
    animation: rotateMusic 3s linear infinite;
    opacity: 0.7;
}

@keyframes rotateMusic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Elemento de audio oculto */
audio {
    display: none;
}


/* RESPONSIVE - Para tablets y móviles */
@media (max-width: 1220px) {
    .container {
        width: 95%;
        height: auto;
        max-height: none;
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        overflow: auto;
    }
    
    .container {
        width: 95%;
        height: auto;
        max-height: none;
        padding: 1.5rem 1rem;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .countdown {
        gap: 8px;
    }
    
    .time-box {
        min-width: 60px;
        padding: 10px 12px;
    }
    
    .time-box span {
        font-size: 1.4rem;
    }
    
    .time-box small {
        font-size: 0.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-card {
        padding: 10px;
    }
    
    .service-card i {
        font-size: 1.5rem;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-whatsapp,
    .btn-email,
    .btn-phone {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .fly-icon {
        width: 40px;
        height: 40px;
    }
}

/* Animación de entrada para elementos */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scrollbar personalizado */
.container::-webkit-scrollbar {
    width: 6px;
}

.container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.container::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.3);
    border-radius: 10px;
}

.container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 210, 255, 0.5);
}