/* Enhanced Events Page Styles */
/* Modern design with improved layout and visual hierarchy */

/* ============================================
   ENHANCED EVENTS LIST
   ============================================ */

.events-list-enhanced {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ============================================
   FEATURED EVENT CARD
   ============================================ */

.featured-event {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(40, 40, 40, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.featured-event:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.event-badge-ribbon {
    position: absolute;
    top: 24px;
    left: -8px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 8px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.event-badge-ribbon::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.2) 50%);
}

.event-image-large {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.event-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-event:hover .event-image-large img {
    transform: scale(1.05);
}

.event-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
}

.event-date-overlay {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    min-width: 80px;
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 4px;
}

.date-month {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 500;
    letter-spacing: 1px;
}

.event-live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-live-indicator.live {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 0.3);
}

.event-live-indicator.upcoming {
    background: rgba(59, 130, 246, 0.9);
    border-color: rgba(59, 130, 246, 0.3);
}

.event-live-indicator.tonight {
    background: rgba(212, 175, 55, 0.9);
    border-color: rgba(212, 175, 55, 0.3);
    color: #0a0a0a;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.event-content-enhanced {
    padding: 32px;
}

.event-header-info {
    margin-bottom: 20px;
}

.event-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.event-meta-enhanced {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.event-meta-enhanced span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.event-meta-enhanced i {
    color: #D4AF37;
    font-size: 0.9rem;
}

.event-description {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.event-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-item i {
    color: #D4AF37;
    font-size: 1.1rem;
}

.stat-item span {
    color: #b0b0b0;
    font-weight: 500;
}

.stat-item:nth-child(3) {
    background: rgba(249, 115, 22, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.stat-item:nth-child(3) i,
.stat-item:nth-child(3) span {
    color: #f97316;
}

.event-actions-enhanced {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.event-btn-primary {
    background: linear-gradient(135deg, #D4AF37, #E5C158);
    border: none;
    color: #0a0a0a;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.event-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.event-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #D4AF37;
    color: #D4AF37;
}

/* ============================================
   EVENTS GRID ENHANCED
   ============================================ */

.events-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.event-card-enhanced {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.event-card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.2);
}

.event-image-medium {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image-medium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card-enhanced:hover .event-image-medium img {
    transform: scale(1.05);
}

.event-overlay-info {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.event-date-small {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 50px;
}

.event-date-small .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #D4AF37;
    line-height: 1;
}

.event-date-small .month {
    font-size: 0.7rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-category-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.event-category-badge.comedy {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.event-category-badge.food {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.event-category-badge.music {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.event-category-badge.art {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.event-category-badge.sports {
    background: linear-gradient(135deg, #10b981, #059669);
}

.event-content-medium {
    padding: 20px;
}

.event-title-medium {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.event-venue-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.venue-name {
    color: #D4AF37;
    font-weight: 500;
    font-size: 0.9rem;
}

.event-time-info {
    color: #808080;
    font-size: 0.85rem;
}

.event-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.upcoming {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge.popular {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.badge.tonight {
    background: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge.cultural {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.badge.sports {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.price-tag {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-engagement {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #808080;
    font-size: 0.85rem;
}

.engagement-item i {
    color: #D4AF37;
}

.event-actions-compact {
    display: flex;
    gap: 8px;
}

.compact-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.compact-btn.primary {
    background: linear-gradient(135deg, #D4AF37, #E5C158);
    color: #0a0a0a;
}

.compact-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.compact-btn:not(.primary) {
    background: rgba(255, 255, 255, 0.05);
    color: #b0b0b0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-btn:not(.primary):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #D4AF37;
    color: #D4AF37;
}

.compact-btn.sold-out {
    background: rgba(128, 128, 128, 0.2);
    color: #808080;
    border: 1px solid rgba(128, 128, 128, 0.3);
    cursor: not-allowed;
}

.compact-btn.sold-out:hover {
    background: rgba(128, 128, 128, 0.2);
    color: #808080;
    transform: none;
    box-shadow: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .events-list-enhanced {
        gap: 24px;
    }
    
    .featured-event {
        border-radius: 16px;
    }
    
    .event-image-large {
        height: 280px;
    }
    
    .event-content-enhanced {
        padding: 24px 20px;
    }
    
    .event-title {
        font-size: 1.5rem;
    }
    
    .event-meta-enhanced {
        gap: 16px;
    }
    
    .event-stats {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .event-actions-enhanced {
        flex-direction: column;
        gap: 12px;
    }
    
    .event-btn-primary,
    .event-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .events-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .event-card-enhanced {
        border-radius: 12px;
    }
    
    .event-image-medium {
        height: 180px;
    }
    
    .event-content-medium {
        padding: 16px;
    }
    
    .event-title-medium {
        font-size: 1.1rem;
    }
    
    .event-actions-compact {
        flex-direction: column;
        gap: 8px;
    }
    
    .compact-btn {
        padding: 12px 16px;
    }
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

.event-card-enhanced {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.event-card-enhanced:nth-child(1) { animation-delay: 0.1s; }
.event-card-enhanced:nth-child(2) { animation-delay: 0.2s; }
.event-card-enhanced:nth-child(3) { animation-delay: 0.3s; }
.event-card-enhanced:nth-child(4) { animation-delay: 0.4s; }
.event-card-enhanced:nth-child(5) { animation-delay: 0.5s; }
.event-card-enhanced:nth-child(6) { animation-delay: 0.6s; }

.featured-event {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}