.animated-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    padding: 0 20px;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(
            90deg,
            transparent,
            #6776df,
            #91a1e1,
            #a78bfa,
            #ff6b6b,
            #a78bfa,
            #91a1e1,
            #6776df,
            transparent
    );
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border-radius: 2px;
}

.divider-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6776df 0%, #91a1e1 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }
}

/* Альтернативные варианты иконок */
.divider-icon.fa-rocket {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e6b 100%);
}

.divider-icon.fa-magic {
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
}

.divider-icon.fa-sparkles {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
}

/* Вариант без иконки (только линия) */
.animated-divider.simple .divider-icon {
    display: none;
}

.animated-divider.simple .divider-line {
    background: linear-gradient(
            90deg,
            transparent,
            #6776df,
            #91a1e1,
            #ff6b6b,
            #91a1e1,
            #6776df,
            transparent
    );
}

/* Вариант с текстом вместо иконки */
.animated-divider.text .divider-icon {
    width: auto;
    height: auto;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, #6776df 0%, #91a1e1 100%);
}

@media (max-width: 768px) {
    .animated-divider {
        gap: 15px;
        margin: 30px 0;
    }

    .divider-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .animated-divider.text .divider-icon {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}