/* 自动收录步骤宣传横幅样式 */
.auto-submit-banner {
    height: 90px;
    max-width: 1580px; /* 与root-flex-A保持一致 */
    margin: 0 auto 1.5rem auto; /* 居中显示 */
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.95) 0%, 
        rgba(118, 75, 162, 0.95) 50%, 
        rgba(255, 107, 107, 0.95) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auto-submit-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.banner-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.steps-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
    margin-right: 1rem;
    margin-left: 65px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.step-item:hover::before {
    left: 100%;
}

.step-item:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    z-index: -1;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.step-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.step-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.step-item:hover .step-desc {
    opacity: 1;
    color: rgba(255, 255, 255, 1);
}

.step-link {
    color: #ffeb3b;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.step-link:hover {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
}

/* 右侧按钮区域 */
.banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    justify-content: center;
    min-width: 100px;
    margin-right: -38px;
    margin-left: auto;
}

.banner-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0 0.8rem;
}

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

.banner-btn:hover::before {
    left: 100%;
}

.banner-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    font-size: 0.8rem;
    margin-right: 0.4rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    width: 16px;
    text-align: center;
}

.btn-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.banner-btn:hover .btn-icon,
.banner-btn:hover .btn-text {
    opacity: 1;
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .banner-content {
        padding: 0 1rem;
    }
    
    .banner-title {
        font-size: 1.2rem;
    }
    
    .steps-container {
        gap: 0.5rem;
    }
    
    .step-item {
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 768px) {
    .auto-submit-banner {
        height: auto;
        padding: 1rem 0;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .steps-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step-item {
        min-width: 200px;
    }
}

/* 特殊效果 - 代码雨背景 */
.banner-code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 90.1;
    z-index: 1;
}

.code-char {
    position: absolute;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    animation: codeFall linear infinite;
}

@keyframes codeFall {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}