/* Advanced Cyberpunk Carousel Navigation */

.carousel-nav {
    top: 50%;
    transform: translateY(-50%);
}

/* Create a clip-path for the cyberpunk triangular button style */
.carousel-button {
    clip-path: polygon(0% 25%, 50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%);
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--cyber-neon-blue);
    width: 50px !important;
    height: 50px !important;
    position: relative;
    transition: all 0.3s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-button:before {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, 
        rgba(0, 243, 255, 0.2) 0%, 
        rgba(13, 2, 33, 0.8) 50%,
        rgba(0, 243, 255, 0.2) 100%);
    clip-path: polygon(0% 25%, 50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%);
    z-index: -1;
}

.carousel-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.carousel-button:hover {
    transform: rotate(0) scale(1.1);
    border-color: var(--cyber-neon-pink);
    box-shadow: 0 0 20px var(--cyber-neon-blue);
}

.carousel-button:hover:after {
    left: 100%;
}

.carousel-button i {
    transform: rotate(0);
    color: var(--cyber-neon-blue);
    text-shadow: 0 0 5px var(--cyber-neon-blue);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-button:hover i {
    color: var(--cyber-neon-pink);
    text-shadow: 0 0 10px var(--cyber-neon-pink);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Dots Styling */
.carousel-dots {
    margin-top: 40px;
}

.carousel-dot {
    width: 15px;
    height: 15px;
    margin: 0 8px;
    border: 2px solid var(--cyber-neon-blue);
    background: transparent;
    position: relative;
    transform: rotate(0);
    clip-path: polygon(0% 25%, 50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-dot:before {
    content: '';
    position: absolute;
    inset: 2px;
    background: transparent;
    clip-path: polygon(0% 25%, 50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%);
}

.carousel-dot.active, 
.carousel-dot:hover {
    background-color: transparent;
    border-color: var(--cyber-neon-pink);
    box-shadow: 0 0 10px var(--cyber-neon-blue), 0 0 20px rgba(0, 243, 255, 0.3);
    transform: scale(1.2);
}

.carousel-dot.active:before, 
.carousel-dot:hover:before {
    background-color: var(--cyber-neon-blue);
    box-shadow: 0 0 10px var(--cyber-neon-blue) inset;
}
