/* ============================================
   MU INSTINTO - HOME PAGE STYLES (DARK / GOLD)
   ============================================ */

.mu-main-container {
    padding: 1.5rem 0;
}

/* --------------------------------------------
   1. HERO BANNER & STATS
   -------------------------------------------- */
.mu-hero-banner {
    background: linear-gradient(rgba(11, 13, 16, 0.7), rgba(11, 13, 16, 0.95)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    min-height: 320px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.mu-hero-overlay {
    height: 100%;
    min-height: 320px;
}

.mu-stat-card {
    backdrop-filter: blur(10px);
    min-width: 220px;
}

/* --------------------------------------------
   2. TARJETAS DE RANKING & WIDGETS
   -------------------------------------------- */
.mu-card {
    background-color: #121417;
    border: 1px solid #2a2e35;
    border-radius: 0.75rem;
    color: #e2e8f0;
}

.mu-card-header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid #2a2e35;
    padding: 1rem 1.25rem;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.mu-link-action {
    color: #f59e0b;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.mu-link-action:hover {
    color: #fbbf24;
    text-decoration: underline;
}

.border-bottom-subtle {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.list-group-item:last-child {
    border-bottom: none;
}

.hover-gold:hover {
    color: #f59e0b !important;
}

/* --------------------------------------------
   3. CRONOGRAMA DE EVENTOS & TARJETAS COMPACTAS
   -------------------------------------------- */
.mu-event-card-compact {
    transition: all 0.3s ease;
    min-height: 70px;
}

.mu-event-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mu-event-card-compact.event-active {
    animation: pulse-glow 2s infinite;
    border-width: 2px !important;
}

.countdown-display {
    min-width: 60px;
    text-align: right;
    font-weight: 700;
}

/* --------------------------------------------
   4. ANIMACIONES & UTILIDADES
   -------------------------------------------- */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
    }
}

.shadow-gold {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.bg-bronze {
    background-color: #b45309 !important;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.fs-9 {
    font-size: 0.65rem !important;
}

/* --------------------------------------------
   5. RESPONSIVE DESIGN
   -------------------------------------------- */
@media (max-width: 768px) {
    .mu-hero-banner {
        min-height: 280px;
    }
}

@media (max-width: 576px) {
    .mu-event-card-compact {
        min-height: 60px;
        padding: 8px !important;
    }
    
    .mu-event-card-compact strong {
        font-size: 0.75rem !important;
    }
    
    .mu-event-card-compact .font-monospace {
        font-size: 0.7rem !important;
    }
}

/* ============================================
   SECCIÓN DE NOTICIAS DEL FORO
   ============================================ */
.mu-news-section .mu-news-item {
    transition: all 0.2s ease-in-out;
    background-color: transparent;
    border-left: 3px solid transparent;
}

.mu-news-section .mu-news-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-left-color: #f59e0b; /* Color warning de Bootstrap */
    padding-left: 1.25rem !important; /* Efecto de desplazamiento sutil */
}

.mu-news-section .mu-news-icon {
    width: 42px;
    height: 42px;
    transition: transform 0.2s ease;
}

.mu-news-section .mu-news-item:hover .mu-news-icon {
    transform: scale(1.1);
}

.mu-news-title {
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.2s ease;
}

.mu-news-section .mu-news-item:hover .mu-news-title {
    color: #fbbf24 !important; /* text-warning light */
}

/* Ajuste para el icono de flecha pequeña */
.fs-9 {
    font-size: 0.65rem !important;
}

.min-width-0 {
    min-width: 0; /* Necesario para que text-overflow funcione en flex */
}