/* =========================================
   CONFIGURACIÓN DE FONDO Y CUERPO
   ========================================= */
body {
    background: linear-gradient(rgba(10, 10, 20, 0.7), rgba(10, 10, 20, 0.7)), 
                url('../img/fondo.jpg') no-repeat center center fixed;
    background-size: cover; [cite: 147, 452]
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    margin: 0;
    padding: 0;
}

/* =========================================
   ANIMACIONES (Efecto Reel de FB)
   ========================================= */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up { 
    animation: slideUp 0.8s ease-out forwards; 
}

/* =========================================
   MAGIC NAVBAR ANIMATION
   ========================================= */
.bg-dark-transparent {
    background: rgba(0, 0, 0, 0.4) !important; [cite: 321, 322]
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #00d2ff;
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #00d2ff !important;
    transform: translateY(-2px);
}

/* =========================================
   TARJETA GLASSMORPHISM 2.0
   ========================================= */
.form-card {
    background: rgba(255, 255, 255, 0.1) !important; [cite: 400]
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important; [cite: 403]
    border-radius: 40px !important; [cite: 404]
    max-width: 550px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    margin: auto;
}

/* =========================================
   INPUTS ESTILIZADOS
   ========================================= */
.premium-input-group {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-input-group:focus-within {
    border-color: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.form-control, .form-select {
    background-color: white !important;
    border-radius: 0; 
}

.input-group-text {
    color: #3a7bd5 !important; [cite: 502]
    background-color: white !important;
}

/* =========================================
   BOTÓN CON EFECTO GLOW (BRILLO)
   ========================================= */
.btn-glow-premium {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%) !important; [cite: 432]
    color: white !important;
    border: none !important;
    border-radius: 15px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-glow-premium:hover {
    transform: translateY(-3px); [cite: 445]
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.5); 
}

/* =========================================
   MAGIC CIRCULAR MENU (FOOTER)
   ========================================= */
.footer-glass {
    background: rgba(255, 255, 255, 0.05); [cite: 332, 333, 347]
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.magic-menu-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-node {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.2rem;
    z-index: 10;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.magic-menu-container:hover .main-node {
    transform: rotate(360deg) scale(0.85);
    background: #00d2ff;
    color: #111;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
}

.floating-items {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
}

.floating-items li {
    position: absolute;
    transition: 0.5s;
    transition-delay: calc(0.1s * var(--i));
    opacity: 0;
    transform: rotate(0deg) translateX(0px);
}

.magic-menu-container:hover .floating-items li {
    /* Distribuye los iconos en círculo */
    transform: rotate(calc(360deg / 3 * var(--i))) translateX(100px);
    opacity: 1;
}

.floating-items li i, .floating-items li a {
    /* Contrarresta la rotación para que el icono se vea derecho */
    transform: rotate(calc(-360deg / 3 * var(--i)));
    width: 45px;
    height: 45px;
    background: white;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
    text-decoration: none;
}

.floating-items li:hover i, .floating-items li:hover a {
    background: #00d2ff;
    color: white;
    transform: rotate(calc(-360deg / 3 * var(--i))) scale(1.2);
}

/* CUADROS DE INFORMACIÓN (TOOLTIPS) */
.floating-items li::after {
    content: attr(data-info);
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(-360deg / 3 * var(--i)));
    background: #111;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.floating-items li:hover::after {
    opacity: 1;
    top: -55px;
}

/* UTILIDADES */
.text-light-50 { color: rgba(255, 255, 255, 0.6) !important; }
.x-small { font-size: 0.75rem; letter-spacing: 1px; }