/**
 * Klasičan Gejming - Hero Section
 * Stilovi za hero slider sekciju
 */

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    margin-bottom: 50px;
}

.hero-slider {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 21/9;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(255, 45, 117, 0.1);
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Hero link - makes entire slide clickable */
.hero-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

/* Keep controls and category badge clickable */
.slider-controls,
.hero-content .category-badge {
    position: relative;
    z-index: 5;
}

.hero-image,
.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img,
.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.hero-slide.active .hero-image img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top, 
        rgba(5, 5, 10, 0.98) 0%, 
        rgba(5, 5, 10, 0.85) 30%,
        rgba(5, 5, 10, 0.4) 60%,
        transparent 100%
    );
    z-index: 1;
}

.hero-image::after,
.hero-slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top, 
        rgba(5, 5, 10, 0.98) 0%, 
        rgba(5, 5, 10, 0.85) 30%,
        rgba(5, 5, 10, 0.4) 60%,
        transparent 100%
    );
}

.hero-content,
.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    z-index: 2;
}

.hero-content .category-badge,
.hero-slide-content .category-badge {
    margin-bottom: 20px;
}

.hero-content h2,
.hero-slide-content h2 {
    font-family: 'Exo 2', 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    max-width: 850px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p,
.hero-excerpt,
.hero-slide-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-meta,
.hero-slide-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-meta span,
.hero-slide-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i,
.hero-slide-meta i {
    color: var(--accent-pink);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
}

.slider-prev,
.slider-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}

.slider-dots {
    display: flex;
    gap: 8px;
    margin: 0 12px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background: var(--accent-pink);
    width: 24px;
    border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-slider {
        aspect-ratio: 16/9;
    }
    
    .hero-content h2,
    .hero-slide-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p,
    .hero-excerpt,
    .hero-slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        aspect-ratio: 4/3;
        border-radius: var(--radius-lg);
    }
    
    .hero-content,
    .hero-slide-content {
        padding: 20px;
    }
    
    .hero-content h2,
    .hero-slide-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p,
    .hero-excerpt,
    .hero-slide-content p {
        display: none;
    }
    
    .slider-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }
}
