@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap');

:root {
    --accent-color: #00d2ff;
    --primary-bg: #05070a;
}

body {
    background-color: var(--primary-bg);
    background-image:
            radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.1) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(58, 123, 213, 0.1) 0%, transparent 40%);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* Efecto para la imagen */
.main-image {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-hover-wrapper:hover .main-image {
    transform: translateY(-10px) scale(1.02);
}

/* Glassmorphism Pro */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
}

.divider {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
}

.letter-spacing { letter-spacing: 2px; }

/* El truco para el Select: forzar el fondo de las opciones */
select.custom-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300d2ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Estilo de la lista desplegable (opciones) */
select.custom-input option {
    background-color: #12141d; /* Fondo oscuro sólido para que sea legible en móviles */
    color: #fff;
    padding: 10px;
}

/* Inputs Modernos */
.custom-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2) !important;
}

.custom-input::placeholder { color: rgba(255, 255, 255, 0.3); }

/* Botón y Cohete */
.btn-register {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.4) !important;
}

.rocket-icon {
    display: inline-block;
    transition: all 0.5s ease;
}

.btn-register:hover .rocket-icon {
    animation: launch-shake 0.3s infinite alternate;
}

@keyframes launch-shake {
    from { transform: translate(0, 0); }
    to { transform: translate(2px, -2px); }
}

#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Detrás de todo */
}

.hero-section {
    position: relative;
    z-index: 2;
    background-color: transparent !important; /* Para que se vea el fondo de las partículas */
    overflow: hidden;
}

/* Aseguramos que el contenido esté por encima de los efectos */
.container {
    position: relative;
    z-index: 10;
}

/* Importante: jquery.ripples necesita que el elemento tenga un fondo definido */
.hero-section {
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.1) 0%, transparent 40%);
    background-size: cover;
}