.upcoming-events-section {
    margin: 3rem 0;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.slider-controls {
    display: flex;
    gap: 0.5rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover:not(:disabled) {
    background: #007bff;
    color: white;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.events-slider {
    overflow: hidden;
}

.events-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

.event-hero-card {
    flex: 0 0 calc(33.333% - 1rem); /* 3 cards per view */
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.event-hero-card:hover {
    transform: translateY(-5px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
        .cta-button {
            display: inline-block;
            background: linear-gradient(45deg, #b9b274, #696434);
            color: white;
            padding: 18px 45px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.2rem;
            margin-top: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            animation: fadeInUp 1s ease-out 1.9s both;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
            background: linear-gradient(183deg, #b9b27463, #696434);
        }
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-hero-card:hover .hero-image {
    transform: scale(1.05);
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    position: relative;
}

.placeholder-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="white" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.countdown-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.countdown-badge.urgent {
    background: rgba(220, 53, 69, 0.9);
}

.countdown-badge.soon {
    background: rgba(255, 193, 7, 0.9);
}

.countdown-badge.coming {
    background: rgba(40, 167, 69, 0.9);
}

.countdown-badge.future {
    background: rgba(0, 123, 255, 0.9);
}

.hero-content-footer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    letter-spacing: 1px;
}

.hero-date {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.btn {
    padding: 0.3rem 0.5rem;
    border-radius: 25px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-info {
    background: rgba(108, 117, 125, 0.8);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-info:hover {
    background: rgba(108, 117, 125, 1);
    border-color: rgba(255,255,255,0.5);
}

.btn-participate {
    background: rgba(255, 193, 7, 0.9);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-participate:hover {
    background: rgba(255, 193, 7, 1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.featured-star {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 193, 7, 0.9);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 2;
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .event-hero-card {
        flex: 0 0 calc(50% - 0.75rem); /* 2 cards */
        height: 220px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-date {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
        background: #575757;
    }
}

@media (max-width: 480px) {
    .events-container {
        padding: 0 0.5rem;
    }
    
    .event-hero-card {
        flex: 0 0 100%; /* 1 card */
        height: 200px;
    }
    
    .events-track {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .countdown-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}