/* 搜索页面专属样式 */

/* 搜索区域 */
.search-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 搜索卡片 */
.search-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
}

.search-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.search-card:hover .search-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5);
}

.search-icon svg {
    width: 28px;
    height: 28px;
}

.search-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1f35;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 搜索表单 */
.search-form {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.input-wrapper {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    overflow: hidden;
}

.input-wrapper:focus-within {
    border-color: #00d4ff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
    color: #00d4ff;
}

.search-input {
    width: 100%;
    padding: 20px 20px 20px 55px;
    font-size: 16px;
    border: none;
    background: transparent;
    color: #334155;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 35px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5);
}

.search-btn:active {
    transform: translateY(-1px);
}

.search-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.search-btn:hover svg {
    transform: translateX(3px);
}

/* 热门搜索 */
.hot-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 22px 25px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.hot-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}

.hot-item {
    padding: 9px 20px;
    background: #fff;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 30px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.hot-item:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

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

/* 说明卡片 */
.info-card {
    display: flex;
    gap: 25px;
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.info-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 16px;
    color: #0ea5e9;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

.info-icon svg {
    width: 26px;
    height: 26px;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1f35;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #00d4ff, #7c3aed);
    border-radius: 2px;
}

.info-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.info-list li {
    font-size: 15px;
    color: #64748b;
    line-height: 2;
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-section {
        padding: 50px 20px;
    }
    
    .search-container {
        gap: 20px;
    }
    
    .search-card {
        padding: 30px 25px;
    }
    
    .search-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .search-icon {
        width: 55px;
        height: 55px;
    }
    
    .search-title {
        font-size: 19px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-btn {
        justify-content: center;
        padding: 18px 30px;
    }
    
    .hot-search {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
    }
    
    .hot-item {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .info-card {
        flex-direction: column;
        padding: 25px;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
    }
    
    .info-list li {
        font-size: 14px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .search-card {
        padding: 25px 20px;
    }
    
    .search-title {
        font-size: 17px;
    }
    
    .search-input {
        padding: 16px 16px 16px 50px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 16px 25px;
        font-size: 15px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-title {
        font-size: 16px;
    }
}