/* Highlights Section Styles */

.highlights-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Background Image */
.highlights-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.highlights-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.15;
}

.highlights-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, var(--bg-primary) 0%, transparent 15%, transparent 85%, var(--bg-primary) 100%),
        radial-gradient(ellipse at 20% 50%, rgba(147, 51, 234, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
}

.highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(147, 51, 234, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.highlights-section > *:not(.highlights-background) {
    position: relative;
    z-index: 1;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

/* Highlight Cards */
.highlight-card {
    background: rgba(26, 25, 25, 0.20);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-primary);
}

/* Featured Highlight */
.highlight-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
}

.highlight-featured .highlight-content {
    padding: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Highlight Media */
.highlight-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(30, 30, 30, 0.5);
    overflow: hidden;
}

.highlight-featured .highlight-media {
    aspect-ratio: auto;
    height: 100%;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(0, 168, 137, 0.08) 0%,
        rgba(49, 218, 230, 0.08) 100%
    );
    transition: all var(--transition-base);
}

.highlight-card:hover .media-placeholder {
    background: linear-gradient(
        135deg,
        rgba(0, 168, 137, 0.15) 0%,
        rgba(49, 218, 230, 0.15) 100%
    );
}

.media-placeholder .play-icon {
    color: var(--text-primary);
    opacity: 0.8;
    transition: all var(--transition-base);
}

.highlight-card:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(var(--glow-cyan));
}

/* Highlight Content */
.highlight-content {
    padding: var(--spacing-xl);
}

.highlight-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-purple-pink);
    color: var(--color-white);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.highlight-title {
    font-size: var(--font-size-2xl);
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.highlight-featured .highlight-title {
    font-size: var(--font-size-3xl);
}

.highlight-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.highlight-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.meta-divider {
    color: var(--text-muted);
}

/* Responsive Highlights */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .highlight-featured {
        grid-column: 1;
        grid-template-columns: 1fr;
    }
    
    .highlight-featured .highlight-media {
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

@media (max-width: 768px) {
    .highlight-title {
        font-size: var(--font-size-xl);
    }
    
    .highlight-featured .highlight-title {
        font-size: var(--font-size-2xl);
    }
    
    .highlight-content {
        padding: var(--spacing-lg);
    }
    
    .highlight-featured .highlight-content {
        padding: var(--spacing-xl);
    }
}

@media (max-width: 480px) {
    .highlight-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .meta-divider {
        display: none;
    }
}
