/* Custom Slider Styles */
.home-slider-wrap {
    width: 100%;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

/* .custom-slider-container removed */

.custom-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Override styles.css limit */
    height: 600px;
    overflow: hidden;
    /* Background removed */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* Border removed */
    border-radius: 0;
}

.custom-slider-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-slider-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    box-sizing: border-box;
    gap: 40px;
}

.custom-slider-slide.reverse {
    flex-direction: row-reverse;
}

.custom-slider-text-content {
    flex: 1;
    max-width: 800px;
    /* Aumentado para mejor distribución */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-slider-slide-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    /* Aumentado */
    font-weight: 700;
    margin-bottom: 30px;
    /* Más espacio */
    line-height: 1.1;
    background: linear-gradient(90deg, #fff, #40E0D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(64, 224, 208, 0.3);
}

/* Specific Title Colors */
.theme-audio .custom-slider-slide-title {
    background: linear-gradient(90deg, #fff, #8E2DE2, #4A00E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(100, 100, 255, 0.4);
}

.theme-preservation .custom-slider-slide-title {
    background: linear-gradient(90deg, #fff, #f6d365);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(246, 211, 101, 0.3);
}

.theme-clean .custom-slider-slide-title {
    background: linear-gradient(90deg, #fff, #ff9a9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 154, 158, 0.3);
}

.custom-slider-slide-description {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    /* Aumentado */
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 90%;
}

.custom-slider-slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.custom-slider-slide-image img {
    max-height: 480px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(64, 224, 208, 0.2));
    animation: float 6s ease-in-out infinite;
}

.custom-slider-slide-image svg {
    height: 480px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(64, 224, 208, 0.4));
    animation: pulse 3s infinite;
}

/* Default Icon Style */
.custom-slider-slide-image i {
    font-size: 250px;
    background: linear-gradient(135deg, #40E0D0, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(64, 224, 208, 0.4));
    animation: pulse 3s infinite;
}

/* Specific Icon Colors */
.custom-slider-slide-image .fa-music {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(100, 100, 255, 0.6));
    animation: pulse-music 3s infinite;
}

.custom-slider-slide-image .fa-clock {
    background: linear-gradient(135deg, #F2994A, #F2C94C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 200, 50, 0.6));
    animation: pulse-clock 3s infinite;
}

.custom-slider-slide-image .fa-ban {
    background: linear-gradient(135deg, #eb3349, #f45c43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 80, 80, 0.6));
    animation: pulse-ban 3s infinite;
}

/* Navegación */
.custom-slider-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-slider-nav-button:hover {
    background: rgba(64, 224, 208, 0.2);
    border-color: #40E0D0;
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.4);
    transform: translateY(-50%) scale(1.1);
    color: white;
}

.custom-slider-prev {
    left: 20px;
}

.custom-slider-next {
    right: 20px;
}

/* Dots */
.custom-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 10;
}

.custom-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.custom-slider-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.custom-slider-dot.active {
    background: #40E0D0;
    box-shadow: 0 0 10px rgba(64, 224, 208, 0.6);
    transform: scale(1.2);
    width: 10px;
    border-radius: 50%;
}

.custom-slider-dot.active::after {
    border-color: rgba(64, 224, 208, 0.5);
    transform: scale(1.4);
}

/* Animaciones */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(64, 224, 208, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(64, 224, 208, 0.6));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(64, 224, 208, 0.4));
    }
}

@keyframes pulse-music {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(100, 100, 255, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 35px rgba(100, 100, 255, 0.8));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(100, 100, 255, 0.4));
    }
}

@keyframes pulse-clock {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(255, 200, 50, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 35px rgba(255, 200, 50, 0.8));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(255, 200, 50, 0.4));
    }
}

@keyframes pulse-ban {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(255, 80, 80, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 35px rgba(255, 80, 80, 0.8));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(255, 80, 80, 0.4));
    }
}

/* Responsive */
@media (max-width: 900px) {
    .custom-slider-wrapper {
        height: auto;
        min-height: 500px;
    }

    .custom-slider-slide,
    .custom-slider-slide.reverse {
        flex-direction: column-reverse;
        padding: 40px 30px 80px 30px;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }

    .custom-slider-slide-title {
        font-size: 32px;
    }

    .custom-slider-slide-description {
        font-size: 16px;
    }

    .custom-slider-slide-image img {
        max-height: 200px;
    }

    .custom-slider-slide-image svg {
        height: 200px;
    }

    .custom-slider-slide-image i {
        font-size: 100px;
    }

    .custom-slider-nav-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .custom-slider-text-content {
        align-items: center;
    }
}