/* Tonight's Picks - Final Enhancements */
/* Complete functionality and visual improvements */

/* 1. Enhanced Picks Layout */
.featured-tonight-section {
    margin: var(--spacing-2xl) 0;
}

.featured-card-enhanced {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.featured-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.featured-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
}

.venue-card-enhanced {
    background: rgba(25, 25, 25, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.venue-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

/* 2. Remove Category Icons */
.category-icon {
    display: none !important;
}

.venue-category::before,
.venue-type-icon::before {
    display: none !important;
}

/* 3. Enhanced Save Button Functionality */
.save-venue-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.save-venue-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
    transform: scale(1.1);
}

.save-venue-btn.saved {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.save-venue-btn.saved svg {
    fill: var(--gold-primary);
    stroke: var(--gold-primary);
}

.save-venue-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    stroke-width: 2;
    fill: none;
    transition: all 0.3s ease;
}

/* Save animation */
@keyframes savePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.save-venue-btn.saving {
    animation: savePulse 0.6s ease;
}

/* 4. Enhanced "Where Your Friends Are Going" Section */
.friends-going-section {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.friends-going-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.friends-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.friends-section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.friends-section-title h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.friends-avatars {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.friend-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(20, 20, 20, 0.8);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
}

.friend-avatar.more {
    background: rgba(100, 100, 100, 0.8);
    color: var(--text-primary);
}

.friends-venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

/* 5. Group Functionality */
.group-functionality-section {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.95) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.group-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.group-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.group-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.group-feature-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.group-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.group-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--gold-primary);
}

.group-feature-icon svg {
    width: 24px;
    height: 24px;
}

.invite-friends-section {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
}

.invite-input-group {
    display: flex;
    gap: var(--spacing-md);
    max-width: 500px;
    margin: var(--spacing-lg) auto 0;
}

.invite-input {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
}

.invite-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border: none;
    border-radius: 12px;
    color: var(--dark-bg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* 6. Remove Magnified Image View */
.image-magnifier,
.magnified-overlay,
.magnify-image-btn,
.venue-image-zoom {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.venue-card-image,
.featured-venue-image {
    cursor: default !important;
}

.venue-card-image:hover,
.featured-venue-image:hover {
    transform: none !important;
}

/* 7. Remove Setup Popup */
.setup-popup,
.manual-setup-notice,
.features-setup-notice,
.setup-required-modal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 8. Enhanced Time Segment Integration */
.time-segments-enhanced {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.time-segment-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-segment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.5s ease;
}

.time-segment-btn:hover::before {
    left: 100%;
}

.time-segment-btn:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.time-segment-btn.active {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-color: var(--gold-primary);
    color: var(--dark-bg);
    font-weight: 600;
}

.time-segment-btn .time-icon {
    display: inline-block;
    margin-right: var(--spacing-sm);
}

.time-segment-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.time-segment-content.active {
    display: block;
}

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

/* Enhanced Venue Cards for Time Segments */
.time-segment-venues {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.time-segment-venue-card {
    background: rgba(25, 25, 25, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.time-segment-venue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .featured-card-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .time-segments-enhanced {
        flex-direction: column;
        align-items: center;
    }
    
    .time-segment-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .group-features {
        grid-template-columns: 1fr;
    }
    
    .invite-input-group {
        flex-direction: column;
    }
    
    .friends-venue-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background 0.3s ease, border 0.3s ease;
}