/* ========== Hero Slider Styles ========== */

/* Main slider container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 380px;
    margin-bottom: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 2px;
    z-index: 1;
    background: linear-gradient(to bottom, #12141a, #1e2026);
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(45deg, 
        rgba(240, 185, 11, 0.3), 
        rgba(255, 255, 255, 0.1),
        rgba(240, 185, 11, 0.3), 
        rgba(255, 255, 255, 0.1),
        rgba(240, 185, 11, 0.3));
    z-index: -1;
    background-size: 400% 400%;
    animation: borderGradient 10s ease infinite;
}

@keyframes borderGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glide track and slides */
.glide__track {
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.glide__slides {
    height: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.glide__slide {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E2026 0%, #13151D 100%);
    border-radius: var(--border-radius-lg);
    padding: 20px 0;
    overflow: hidden;
}

.glide__slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(240, 185, 11, 0.05) 0%, rgba(30, 32, 38, 0) 70%);
}

/* Slide content and images */
.slide-image {
    object-fit: contain;
    position: relative;
    z-index: 5;
    margin: 0 auto;
}

.slide-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    width: 80%;
    max-width: 400px;
    padding: var(--spacing-md);
    margin: 0 auto;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(240, 185, 11, 0.5);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    transform: translateY(10px);
    opacity: 0;
}

.slide-content.fade-in {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--binance-yellow);
}

.slide-subtitle {
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-md);
    color: white;
    opacity: 0.9;
}

.slide-cta {
    display: inline-block;
    background-color: var(--binance-yellow);
    color: var(--primary-text);
    font-size: var(--font-size-md);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.slide-cta:hover {
    background-color: var(--binance-yellow-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(240, 185, 11, 0.2);
}

/* Custom Glide navigation */
.glide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 20;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.glide__arrow:hover {
    background-color: var(--binance-yellow);
    color: var(--primary-text);
    border-color: var(--binance-yellow);
}

.glide__arrow--left {
    left: 15px;
}

.glide__arrow--right {
    right: 15px;
}

.glide__arrow i {
    font-size: 14px;
}

/* Custom Glide bullets */
.glide__bullets {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.glide__bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    border: none;
}

.glide__bullet--active {
    background-color: var(--binance-yellow);
    transform: scale(1.2);
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .hero-slider {
        height: 350px;
    }
    
    .slide-image {
        max-height: 180px;
    }
    
    .slide-title {
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        height: 320px;
    }
    
    .slide-image {
        width: 70%;
        max-height: 160px;
    }
    
    .slide-content {
        max-width: 350px;
        padding: var(--spacing-sm);
    }
    
    .slide-title {
        font-size: var(--font-size-lg);
    }
    
    .slide-subtitle {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 575.98px) {
    .hero-slider {
        height: 280px;
    }
    
    .slide-image {
        width: 80%;
        max-height: 130px;
    }
    
    .slide-content {
        max-width: 280px;
        padding: 10px;
    }
    
    .glide__arrow {
        width: 30px;
        height: 30px;
    }
    
    .glide__arrow--left {
        left: 8px;
    }
    
    .glide__arrow--right {
        right: 8px;
    }
}