/* Section Container */
.eventos-section {
    position: relative;
    padding: 2rem 1rem;
    overflow: hidden;
    min-height: auto;
    background: transparent;
}

/* Background Orbs - Hidden by default, can enable with .eventos-section.with-orbs */
.eventos-background {
    display: none;
}

.eventos-section.with-orbs .eventos-background {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primario-principal-calma, #79afd2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-acento-vibrante-dinamismo, #25c2f2) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: -10s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* Header */
.eventos-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.eventos-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-azul-profundo-marino, #022859);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.title-icon {
    font-size: 2rem;
}

.eventos-subtitle {
    font-size: 1.15rem;
    color: var(--color-texto-principal-oscuro, #2A3D4F);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
}

/* Grid */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Event Card */
.evento-card {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(145deg,
            rgba(121, 175, 210, 0.15) 0%,
            rgba(2, 40, 89, 0.08) 50%,
            rgba(37, 194, 242, 0.12) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(121, 175, 210, 0.35);
    box-shadow:
        0 4px 24px rgba(2, 40, 89, 0.1),
        0 12px 48px rgba(121, 175, 210, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.evento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
}

.evento-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(145deg,
            rgba(121, 175, 210, 0.25) 0%,
            rgba(2, 40, 89, 0.12) 50%,
            rgba(37, 194, 242, 0.2) 100%);
    border-color: rgba(37, 194, 242, 0.5);
    box-shadow:
        0 12px 40px rgba(2, 40, 89, 0.15),
        0 24px 64px rgba(37, 194, 242, 0.12),
        0 0 30px rgba(37, 194, 242, 0.1);
}

.evento-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--color-acento-vibrante-dinamismo, #25c2f2) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.evento-card:hover .evento-card-glow {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Featured Card */
.evento-featured {
    background: linear-gradient(145deg,
            rgba(37, 194, 242, 0.2) 0%,
            rgba(121, 175, 210, 0.15) 50%,
            rgba(2, 40, 89, 0.12) 100%);
    border-color: rgba(37, 194, 242, 0.45);
    box-shadow:
        0 4px 24px rgba(37, 194, 242, 0.15),
        0 12px 48px rgba(2, 40, 89, 0.1),
        0 0 40px rgba(37, 194, 242, 0.08);
}

/* Date Badge */
.evento-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: linear-gradient(135deg, var(--color-azul-profundo-marino, #022859) 0%, var(--color-azul-corporativo-medio, #295a99) 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 4px 15px rgba(2, 40, 89, 0.3);
}

.date-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.9;
}

/* Featured Badge */
.evento-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #593b02;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Thumbnail */
.evento-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.evento-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-thumbnail img {
    transform: scale(1.05);
}

.evento-thumbnail-placeholder {
    background: linear-gradient(135deg, var(--color-primario-principal-calma, #79afd2) 0%, var(--color-azul-corporativo-medio, #295a99) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.5;
}

/* Content */
.evento-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Tags */
.evento-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.evento-tag {
    background: rgba(37, 194, 242, 0.15);
    color: var(--color-azul-corporativo-medio, #295a99);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Title */
.evento-title-card {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.evento-title-card a {
    color: var(--color-azul-profundo-marino, #022859);
    text-decoration: none;
    transition: color 0.3s ease;
}

.evento-title-card a:hover {
    color: var(--color-acento-vibrante-dinamismo, #25c2f2);
}

/* Excerpt */
.evento-excerpt {
    color: var(--color-texto-principal-oscuro, #2A3D4F);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.85;
}

/* Meta */
.evento-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-texto-principal-oscuro, #2A3D4F);
    opacity: 0.8;
}

.meta-icon {
    font-size: 1rem;
}

/* Footer */
.evento-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(121, 175, 210, 0.2);
}

.evento-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-azul-profundo-marino, #022859);
}

.evento-cta {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

/* Empty State */
.eventos-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.eventos-empty h3 {
    color: var(--color-azul-profundo-marino, #022859);
    margin-bottom: 0.5rem;
}

.eventos-empty p {
    color: var(--color-texto-principal-oscuro, #2A3D4F);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .eventos-section {
        padding: 2rem 1rem;
    }

    .eventos-title {
        font-size: 1.75rem;
    }

    .eventos-grid {
        grid-template-columns: 1fr;
    }

    .evento-card:hover {
        transform: translateY(-5px);
    }
}