/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    background: transparent;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide Styles */
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: opacity;
}

.slider-slide.active {
    opacity: 1;
}

/* Video Background Container - Only visible on desktop */
.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.15;
    background: transparent !important;
    display: block; /* Default: visible */
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: brightness(1);
}

/* Image Backgrounds - Only visible on desktop */
.slider-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent !important;
    z-index: 1;
    opacity: 0.15;
    display: block; /* Default: visible */
}

/* Individual slide backgrounds */
#minecraft-slide .slide-bg {
    background-size: contain;
    background-color: transparent !important;
    opacity: 0.15;
}

#vps-slide .slide-bg {
    background: transparent url('https://ggnodes.xyz/assets/images/products_img/modern-server-facility-operating-advanced-ai-tasks-3d-rendering.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    background-color: transparent !important;
}

#bot-slide .slide-bg {
    background: transparent url('https://ggnodes.xyz/assets/images/GGNodes.xyz/IMG_5037.png');
    background-size: contain;
    background-position: center;
    opacity: 0.15;
    background-color: transparent !important;
}

#game-slide .slide-bg {
    background: transparent url('https://ggnodes.xyz/assets/images/products_img/rust.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    background-color: transparent !important;
}

/* Slide Content */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 1200px;
    padding: 2rem;
    color: var(--white);
    z-index: 10;
}

/* Typography */
.slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideTagIn 0.8s 0.2s both;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideTitleIn 0.8s 0.4s both;
}

.slide-brand {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: slideBrandIn 0.8s 0.6s both;
}

.slide-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    animation: slideSubtitleIn 0.8s 0.8s both;
}

/* Enhanced Price Text with Blue Color and Animation */
.slide-price {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--light);
    animation: slidePriceIn 0.8s 1s both;
}

.slide-price span {
    font-weight: 700;
    font-size: 2.2rem;
    color: #4cc9f0;
    text-shadow: 
        0 0 10px rgba(76, 201, 240, 0.5),
        0 0 20px rgba(76, 201, 240, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: priceGlow 2s ease-in-out infinite alternate;
}

/* Glow animation for price */
@keyframes priceGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(76, 201, 240, 0.5),
            0 0 20px rgba(76, 201, 240, 0.3),
            0 2px 4px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(76, 201, 240, 0.7),
            0 0 30px rgba(76, 201, 240, 0.5),
            0 4px 8px rgba(0, 0, 0, 0.3);
    }
}

/* Buttons with PURPLE "View Plans" button */
.slide-buttons {
    animation: slideButtonsIn 0.8s 1.2s both;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(76, 201, 240, 0.4);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

/* PURPLE "View Plans" button */
.slide-btn-outline {
    display: inline-block;
    background: transparent;
    color: #b066ff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #b066ff;
    cursor: pointer;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* Purple glow effect on hover */
.slide-btn-outline:hover {
    background: rgba(176, 102, 255, 0.1);
    border-color: #b066ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(176, 102, 255, 0.4);
    color: #ffffff;
}

/* Purple animation effect */
.slide-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(176, 102, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slide-btn-outline:hover::before {
    left: 100%;
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 201, 240, 0.5);
}

/* Navigation Buttons */
.slider-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    z-index: 20;
}

.slider-nav-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.slider-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Slide Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

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

.slider-indicator.active {
    background: var(--white);
    transform: scale(1.3);
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Animations */
@keyframes slideTagIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-slider-section {
        padding-top: 90px;
    }
    
    .slide-title {
        font-size: 2.8rem;
    }
    
    .slide-brand {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slide-price span {
        font-size: 1.8rem;
    }
}

/* MOBILE: Hide all background images and videos, keep only text content */
@media (max-width: 768px) {
    .hero-slider-section {
        padding-top: 90px;
        background: transparent; /* Ensure no background */
    }
    
    /* Hide video background on mobile */
    .video-bg-container {
        display: none !important;
    }
    
    /* Hide all image backgrounds on mobile */
    .slider-slide .slide-bg {
        display: none !important;
    }
    
    /* Hide individual slide backgrounds */
    #minecraft-slide .slide-bg,
    #vps-slide .slide-bg,
    #bot-slide .slide-bg,
    #game-slide .slide-bg {
        display: none !important;
    }
    
    /* Make text more visible without backgrounds */
    .slide-content {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .slide-tag {
        background: rgba(0, 0, 0, 0.6);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-brand {
        font-size: 1.8rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.95);
    }
    
    .slide-price {
        font-size: 1.2rem;
    }
    
    .slide-price span {
        font-size: 1.6rem;
    }
    
    /* Buttons */
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slide-btn, .slide-btn-outline {
        width: 100%;
        max-width: 250px;
    }
    
    /* Navigation */
    .slider-navigation {
        padding: 0 1rem;
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
    }
    
    /* Indicators */
    .slider-indicator {
        background: rgba(255, 255, 255, 0.5);
    }
    
    .slider-indicator.active {
        background: var(--white);
    }
}

@media (max-width: 576px) {
    .hero-slider-section {
        min-height: 500px;
        height: 70vh;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1.5rem;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-brand {
        font-size: 1.5rem;
    }
    
    .slide-price span {
        font-size: 1.4rem;
    }
    
    .slide-btn, .slide-btn-outline {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}
