@use '@/styles/globals';

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.content-secondary {
    flex: 0.6;
    padding: globals.$container-padding-large;
    padding-bottom: 0;
    padding-top: globals.$spacing-regular;
}

.mcpServerSection {
    display: flex;
    justify-content: center;
    margin: globals.$container-padding-large 0;
    padding: globals.$spacing-xl 0;
}

.mcpServerButton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #1890ff, #52c41a, #1890ff);
    background-size: 200% 200%;
    border: none;
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.3);
    animation: shineWave 4s ease-in-out infinite;
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(24, 144, 255, 0.4);
        animation-duration: 2s;
    }

    &:active {
        transform: translateY(0);
    }

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s;
    }

    &:hover::before {
        left: 100%;
    }
}

@keyframes shineWave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
