/* ── Hero 区域 ── */
.index-hero {
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.index-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(212,160,23,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(212,160,23,0.05) 0%, transparent 50%);
    animation: heroShimmer 10s ease-in-out infinite alternate;
}
@keyframes heroShimmer {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, -15px) rotate(2deg); }
}
.hero-content {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}
.hero-title {
    color: #d4a017;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 6px;
    text-shadow: 0 2px 30px rgba(212,160,23,0.2);
}
.hero-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4a017, transparent);
    margin: 14px auto;
    border-radius: 2px;
}
.hero-sub {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    letter-spacing: 4px;
}

/* ── 分类卡片（自动滚动） ── */
.cat-scroll-wrap {
    padding: 30px 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.cat-scroll-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.cat-scroll-header h3 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}
.cat-more-link {
    font-size: 0.8rem;
    color: #d4a017;
    text-decoration: none;
}
.cat-more-link:hover {
    text-decoration: underline;
}
.cat-scroll-container {
    overflow: hidden;
    position: relative;
}
.cat-scroll-track {
    display: flex;
    gap: 12px;
    overflow-x: hidden;
    padding: 4px 0 10px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
}
.cat-scroll-card {
    flex: 0 0 130px;
    text-align: center;
    padding: 20px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #e0e4e8;
    text-decoration: none;
    transition: all .25s;
    user-select: none;
}
.cat-scroll-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: #d4a017;
}
.cat-scroll-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
    pointer-events: none;
}
.cat-scroll-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    pointer-events: none;
}
.cat-scroll-count {
    font-size: 0.65rem;
    color: #999;
    margin-top: 4px;
    pointer-events: none;
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.5rem; letter-spacing: 4px; }
    .cat-scroll-card { flex: 0 0 110px; padding: 14px 10px; }
    .cat-scroll-img { height: 70px; }
    .cat-scroll-name { font-size: 0.8rem; }
}
