/* ==========================================================================
   Pie de Página (Footer) - Cyber-Tech Glassmorphism
   ========================================================================== */

.site-footer {
    background-color: #04060b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding-top: 80px;
    font-size: 0.9rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    box-sizing: border-box;
}

.footer-col {
    min-width: 0;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 320px;
}

/* ==========================================================================
   Redes Sociales
   ========================================================================== */

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.35s ease;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
}

.social-btn:hover svg {
    transform: rotate(6deg) scale(1.1);
}

/* Efectos Neón */
.social-x:hover {
    color: #ffffff;
    border-color: #00f2fe;
    background: rgba(0, 242, 254, 0.15);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.social-fb:hover {
    color: #ffffff;
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.15);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

.social-tiktok:hover {
    color: #ffffff;
    border-color: #ff0050;
    background: rgba(255, 0, 80, 0.15);
    box-shadow: 0 0 15px rgba(255, 0, 80, 0.4);
}

.social-ig:hover {
    color: #ffffff;
    border-color: #e1306c;
    background: rgba(225, 48, 108, 0.15);
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
}

/* ==========================================================================
   Enlaces del Footer
   ========================================================================== */

.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #00f2fe;
    transform: translateX(4px);
}

/* Barra de Copyright */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.copyright-text {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.back-to-top {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-to-top:hover {
    color: #00f2fe;
}


/* ==========================================================================
   Estilos Especiales para la Columna de YouTube en el Footer
   ========================================================================== */

.youtube-footer-col .footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Badge circular con el logo de YouTube y brillo sutil */
.yt-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 50%;
    color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.25);
    animation: pulse-yt 2s infinite;
}

@keyframes pulse-yt {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.footer-subtext {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 14px;
}

/* Enlaces Interactivos de Canales */
.yt-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yt-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Puntos indicadores y efectos hover independientes por canal */
.channel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

/* 1. Ateísmo (Rojo Neón) */
.dot-ateismo { background-color: #ff3366; box-shadow: 0 0 8px #ff3366; }
.yt-link-item.link-ateismo:hover {
    background: rgba(255, 51, 102, 0.15);
    border-color: rgba(255, 51, 102, 0.4);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.25);
}

/* 2. Pensar Mejor (Azul Eléctrico / Zafiro) */
.dot-pensar { background-color: #3a86ff; box-shadow: 0 0 8px #3a86ff; }
.yt-link-item.link-pensar:hover {
    background: rgba(58, 134, 255, 0.15);
    border-color: rgba(58, 134, 255, 0.4);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.25);
}

/* 3. Colombia Entiende (Ámbar / Dorado Neón) */
.dot-colombia { background-color: #ffb703; box-shadow: 0 0 8px #ffb703; }
.yt-link-item.link-colombia:hover {
    background: rgba(255, 183, 3, 0.15);
    border-color: rgba(255, 183, 3, 0.4);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.25);
}

.external-arrow {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    color: currentColor;
}

.yt-link-item:hover .external-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 580px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}