@charset "utf-8";

/* ============================================
   集汇搜 - 首页专用样式
   只用于根目录 index.html
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    color: #fff;
}

/* 头部 */
.header {
    text-align: center;
    padding: 60px 20px 30px;
}

.logo {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #ff8c00, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.slogan {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
}

/* 搜索框 */
.search-container {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.search-box {
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 60px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
}

.search-input {
    flex: 2;
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: #fff;
    font-size: 16px;
    outline: none;
    min-width: 180px;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-select {
    background: rgba(255,215,0,0.15);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    color: #ffd700;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    min-width: 130px;
}

.search-select option {
    background: #1a1a2e;
    color: #fff;
}

.search-btn {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

/* 快捷导航 */
.quick-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    margin: 15px auto 0;
    border-radius: 3px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: #ffd700;
    background: rgba(255,215,0,0.1);
}

.card-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffd700;
}

.card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* 底部 */
.footer {
    text-align: center;
    padding: 40px 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* 响应式 */
@media (max-width: 768px) {
    .header {
        padding: 40px 20px 20px;
    }
    .logo {
        font-size: 36px;
    }
    .slogan {
        font-size: 14px;
    }
    .search-box {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 10px;
    }
    .search-input {
        background: rgba(255,255,255,0.1);
        border-radius: 50px;
    }
    .search-select {
        width: 100%;
    }
    .search-btn {
        width: 100%;
    }
    .section-title {
        font-size: 24px;
    }
    .grid {
        gap: 15px;
    }
    .card {
        padding: 20px 15px;
    }
    .card-icon {
        font-size: 40px;
    }
    .card-title {
        font-size: 18px;
    }
}