        :root {
            --primary-500: #71b52b;
            --primary-600: #5a9422;
            --secondary-800: #0b295a;
            --secondary-700: #0d3470;
            --secondary-600: #1a4a8a;
        }

        /* 1. CONFIGURACIÓN DEL FONDO Y CANVAS */
        body, html {
            background: #f8fafc !important; 
            font-family: 'Poppins', sans-serif !important;
            min-height: 100%;
            overflow-x: hidden;
        }

        /* 2. NAVBAR */
        .glass-nav {
            background: rgba(11, 41, 90, 0.95);
            backdrop-filter: blur(10px);
            padding: 10px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .nav-logo { height: 100px; width: auto; }
        
        /* ESTILOS DE REDES SOCIALES (HOVER) */
        .social-link { 
            color: rgba(255,255,255,0.8); 
            font-size: 1.2rem; 
            margin-left: 15px; 
            text-decoration: none; 
            transition: all 0.3s ease;
        }
        .social-link:hover { color: #fff; transform: translateY(-3px); }

        /* Colores específicos Hover */
        .social-link:hover .bi-facebook { color: #1877F2; }
        .social-link:hover .bi-instagram { color: #E4405F; }
        .social-link:hover .bi-linkedin { color: #0A66C2; }
        .social-link:hover .bi-twitter-x { color: #fff; } 
        .social-link:hover .bi-youtube { color: #FF0000; }
        .social-link:hover .bi-whatsapp { color: #25D366; }
        /* Nuevos iconos */
        .social-link:hover .bi-tiktok { color: #00f2ea; text-shadow: 2px 2px 0px #ff0050; }
        .social-link:hover .bi-spotify { color: #1DB954; }
        .social-link:hover .bi-plus-circle { color: var(--primary-500); }

        /* 3. HEADER MEJORADO */
        .banner-container-custom {
            border-top-left-radius: 1rem;
            border-top-right-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            position: relative;
            z-index: 2;
        }

        .blue-search-strip {
            background-color: #0b295a;
            border-bottom-left-radius: 1rem;
            border-bottom-right-radius: 1rem;
            padding: 15px 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            position: relative;
            z-index: 2;
        }

        .search-input-wrapper {
            display: flex;
            align-items: center;
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 50px;
            padding: 5px 5px 5px 20px;
            width: 100%;
            max-width: 800px;
            transition: all 0.3s ease;
        }

        .search-input-wrapper i { color: #0b295a !important; font-size: 1.1rem; }
        .search-input-wrapper input {
            background: transparent; border: none; color: #333333 !important; outline: none; width: 100%; margin-left: 10px; font-size: 0.95rem;
        }
        .search-input-wrapper input::placeholder { color: #888888; }

        .btn-search-glow {
            background-color: var(--primary-500);
            color: white;
            border: none;
            border-radius: 30px;
            padding: 8px 25px;
            font-weight: 600;
            white-space: nowrap;
            transition: transform 0.2s;
        }
        .btn-search-glow:hover { transform: scale(1.05); background-color: #57911f; }

        /* ============================================ */
        /* 4. TARJETAS DE EVENTOS - DISEÑO CON BLUR */
        /* ============================================ */
        
        .event-card {
            position: relative;
            border: none !important;
            border-radius: 20px !important;
            background: #fff !important;
            box-shadow: 0 4px 20px rgba(11, 41, 90, 0.08) !important;
            /* Transición más suave */
            transition: 
                transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.5s ease;
            overflow: hidden;
            height: 100%;
            cursor: pointer;
            text-decoration: none;
            display: block;
            border: 2px solid transparent !important;
        }

        .event-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(11, 41, 90, 0.15) !important;
            border-color: var(--secondary-800) !important;
        }

        /* Contenedor de imagen con fondo borroso */
        .card-img-container {
            position: relative;
            height: 220px;
            overflow: hidden;
            background: #f0f4f8;
        }

        /* Fondo borroso de la imagen */
        .card-img-blur-bg {
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            background-size: cover;
            background-position: center;
            filter: blur(25px) saturate(1.5);
            opacity: 0.7;
            transform: scale(1.1);
            transition: 
                filter 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .event-card:hover .card-img-blur-bg {
            filter: blur(30px) saturate(1.8);
            opacity: 0.85;
            transform: scale(1.15);
        }

        /* Overlay sutil sobre el fondo borroso */
        .card-img-overlay-gradient {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.3) 0%,
                rgba(255, 255, 255, 0.1) 100%
            );
            transition: background 0.5s ease;
            z-index: 1;
        }

        .event-card:hover .card-img-overlay-gradient {
            background: linear-gradient(
                135deg,
                rgba(11, 41, 90, 0.1) 0%,
                rgba(26, 74, 138, 0.1) 100%
            );
        }

        /* Imagen principal (nítida, centrada) */
        .card-img-main {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
        }

        .card-img-main img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            transition: 
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .event-card:hover .card-img-main img {
            transform: scale(1.03);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
        }

        /* Badge de tipo de evento */
        .event-type-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            padding: 6px 14px;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            z-index: 5;
            backdrop-filter: blur(10px);
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .badge-virtual, .badge-presencial, .badge-mixto {
            background: var(--secondary-800);
            color: #fff;
            box-shadow: 0 4px 15px rgba(11, 41, 90, 0.3);
        }

        .event-card:hover .event-type-badge {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        /* Cuerpo de la tarjeta */
        .card-body {
            padding: 1.5rem !important;
            display: flex;
            flex-direction: column;
            background: #fff;
            transition: background 0.5s ease;
        }

        .event-card:hover .card-body {
            background: linear-gradient(to top, rgba(11, 41, 90, 0.03) 0%, #fff 100%);
        }

        /* Bloque de fecha */
        .date-block {
            background: linear-gradient(135deg, var(--secondary-800) 0%, var(--secondary-700) 100%);
            border-radius: 12px;
            padding: 10px 14px;
            text-align: center;
            min-width: 60px;
            box-shadow: 0 4px 12px rgba(11, 41, 90, 0.2);
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .event-card:hover .date-block {
            background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-800) 100%);
            box-shadow: 0 6px 20px rgba(11, 41, 90, 0.3);
            transform: scale(1.05);
        }

        .date-block .day {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            line-height: 1;
        }

        .date-block .month {
            font-size: 0.7rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.85);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Título del evento */
        .card-title {
            font-size: 1rem;
            font-weight: 600;
            color: #1e293b;
            line-height: 1.4;
            margin-bottom: 0;
            transition: color 0.5s ease;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .event-card:hover .card-title {
            color: var(--secondary-800);
        }

        /* Descripción */
        .card-description {
            font-size: 0.875rem;
            color: #64748b;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex-grow: 1;
            margin-top: 0.75rem;
            transition: color 0.5s ease;
        }

        /* Botón Ver Detalles */
        .btn-ver-evento {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: transparent;
            color: var(--secondary-800);
            border: 2px solid var(--secondary-800);
            border-radius: 30px;
            padding: 10px 20px;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            text-decoration: none;
            margin-top: auto;
        }

        .btn-ver-evento i {
            transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .event-card:hover .btn-ver-evento {
            background: linear-gradient(135deg, var(--secondary-800) 0%, var(--secondary-700) 100%);
            border-color: var(--secondary-800);
            color: #fff;
            box-shadow: 0 6px 20px rgba(11, 41, 90, 0.35);
        }

        .event-card:hover .btn-ver-evento i {
            transform: translateX(4px);
        }

        /* Efecto de brillo suave */
        .event-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent
            );
            transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
            z-index: 10;
            pointer-events: none;
        }

        .event-card:hover::before {
            left: 100%;
        }

        /* Indicador inferior */
        .click-indicator {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--secondary-800), var(--secondary-600));
            transform: scaleX(0);
            transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            border-radius: 0 0 20px 20px;
        }

        .event-card:hover .click-indicator {
            transform: scaleX(1);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .card-img-container {
                height: 180px;
            }
            
            .card-body {
                padding: 1.25rem !important;
            }

            .date-block {
                min-width: 50px;
                padding: 8px 10px;
            }

            .date-block .day {
                font-size: 1.25rem;
            }
        }
