/**
 * Creative Separator - Marquee & Code-to-UI Transition
 * Floating shapes + Gradient line + Pulse dots
 */

.creative-separator {
    position: relative;
    height: 120px;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    overflow: hidden;
    z-index: 10;
    margin-top: 80px;
}

.separator-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Geometric Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.15;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF4308, #FB8500);
    border-radius: 20px;
    top: 10%;
    left: 5%;
    animation: float1 6s ease-in-out infinite;
    transform: rotate(45deg);
}

.shape-2 {
    width: 60px;
    height: 60px;
    border: 3px solid #FB8500;
    border-radius: 50%;
    top: 60%;
    left: 15%;
    animation: float2 7s ease-in-out infinite;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FEFE1F, #FB8500);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 20%;
    right: 10%;
    animation: float3 8s ease-in-out infinite;
}

.shape-4 {
    width: 70px;
    height: 70px;
    border: 3px solid #FF4308;
    border-radius: 15px;
    bottom: 10%;
    right: 20%;
    animation: float1 9s ease-in-out infinite reverse;
    transform: rotate(-30deg);
}

.shape-5 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF4308, #FEFE1F);
    border-radius: 50%;
    bottom: 50%;
    left: 50%;
    animation: float2 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-30px) rotate(65deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(-30px) rotate(180deg);
    }
}

/* Gradient Line */
.gradient-line {
    position: relative;
    width: 80%;
    max-width: 800px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #FF4308 20%,
        #FB8500 40%,
        #FEFE1F 50%,
        #FB8500 60%,
        #FF4308 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
    z-index: 2;
}

.gradient-line::before,
.gradient-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FF4308;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(255, 67, 8, 0.6);
}

.gradient-line::before {
    left: 0;
    animation: pulseStart 2s ease-in-out infinite;
}

.gradient-line::after {
    right: 0;
    animation: pulseEnd 2s ease-in-out infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes pulseStart {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 20px rgba(255, 67, 8, 0.6);
    }
    50% {
        transform: translateY(-50%) scale(1.3);
        box-shadow: 0 0 30px rgba(255, 67, 8, 0.8);
    }
}

@keyframes pulseEnd {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 20px rgba(254, 254, 31, 0.6);
    }
    50% {
        transform: translateY(-50%) scale(1.3);
        box-shadow: 0 0 30px rgba(254, 254, 31, 0.8);
    }
}

/* Pulse Dots */
.pulse-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.pulse-dots .dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #FF4308, #FB8500);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.pulse-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.pulse-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.pulse-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 67, 8, 0.8);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .creative-separator {
        height: 80px;
        margin-top: 60px;
    }

    .gradient-line {
        width: 90%;
    }

    .shape {
        opacity: 0.1;
    }

    .shape-1,
    .shape-3 {
        width: 60px;
        height: 60px;
    }

    .shape-2,
    .shape-4,
    .shape-5 {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .creative-separator {
        height: 60px;
        margin-top: 40px;
    }

    .pulse-dots {
        gap: 10px;
    }

    .pulse-dots .dot {
        width: 8px;
        height: 8px;
    }
}
