/* =====================================================
   首页专属样式
   ===================================================== */

/* ---------- Hero 区域 ---------- */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: hero-shine 8s ease-in-out infinite;
}
@keyframes hero-shine {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(30px, -30px); }
}
.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}
.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.hero-section .btn { position: relative; margin: 0 8px; }

/* ---------- 搜索栏 ---------- */
.search-bar { max-width: 500px; }
.search-bar .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
    padding-left: 1.25rem;
}
.search-bar .btn { border-radius: 0 25px 25px 0; }

/* ---------- 功能卡片 ---------- */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ---------- 最新列表项 ---------- */
.latest-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.latest-item:last-child { border-bottom: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .hero-section { padding: 2.5rem 0; }
    .hero-section h1 { font-size: 1.8rem; }
    .hero-section p { font-size: 1rem; }
}
