/* ========== 品牌页 ========== */


@import url("topheader.css"); 

:root {
    --primary: #2563eb;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --accent: #60a5fa;
    --bg: #eff6ff;
    --white: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #dbeafe;
}

* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; 
    background-color: #ffffff;
    color: var(--text); 
    line-height: 1.6; 
}

.container {
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* ========== 英雄区 - 精简版 ========== */
.hero-brand { 
    width: 100%; 
    padding: 100px 0 80px; 
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.hero-brand-wrapper { 
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-brand-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid var(--border);
    padding: 8px 16px; 
    border-radius: 8px; 
    font-size: 0.85rem; 
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 16px; 
    height: 16px; 
    fill: var(--primary); 
}

.hero-title-main { 
    font-size: 3.5rem; 
    font-weight: 700; 
    color: var(--primary-dark); 
    margin-bottom: 16px; 
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-title-main .highlight { 
    color: var(--primary);
}

.hero-subtitle { 
    font-size: 1.125rem; 
    color: var(--text-light); 
    margin-bottom: 40px; 
    line-height: 1.8; 
}

.hero-stats { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 0; 
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 48px;
}

.hero-stat-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 0 48px; 
}

.hero-stat-number { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--primary-dark); 
    line-height: 1; 
}

.hero-stat-label { 
    font-size: 0.9rem; 
    color: var(--text-light); 
    margin-top: 6px; 
}

.hero-stat-divider { 
    width: 1px; 
    height: 60px; 
    background: var(--border); 
}
.hero-stat-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 0 48px; 
    white-space: nowrap;  /* 加这行，防止文字换行 */
}

/* ========== 品牌排行榜横向滚动栏 ========== */
/*.ranking-scroll-section { */
/*    max-width: 1400px; */
/*    margin: 0 auto; */
/*    margin-top: 20px;*/
/*    padding: 32px 24px; */
/*}*/

/*.ranking-scroll-section .section-header { */
/*    margin-bottom: 24px; */
/*}*/

.section-header { 
    margin-bottom: 32px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
 
}

.section-title { 
    font-size: 1.3rem; 
    font-weight: 700; 
    color: var(--primary-dark); 
}

/*.ranking-scroll-wrapper { */
/*    position: relative; */
/*    overflow: hidden; */
/*}*/

/* 自动滚动动画 */
/*.ranking-scroll-track { */
/*    display: flex; */
/*    gap: 16px; */
/*    padding: 16px 8px; */
/*    width: max-content;*/
/*    animation: autoScroll 30s linear infinite;*/
/*}*/

/*.ranking-scroll-track:hover { animation-play-state: paused; }*/

/*@keyframes autoScroll {*/
/*    0% { transform: translateX(0); }*/
/*    100% { transform: translateX(-50%); }*/
/*}*/

/* 滚动卡片 */
/*.ranking-scroll-item {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    min-width: 130px;*/
/*    height: 85px;*/
/*    padding: 14px 20px;*/
/*    background: var(--white);*/
/*    border: 1px solid var(--border);*/
/*    border-radius: 8px;*/
/*    text-decoration: none;*/
/*    transition: all 0.2s;*/
/*}*/

/*.ranking-scroll-item:hover { */
/*    border-color: var(--primary);*/
/*    background: #eff6ff;*/
/*}*/

/*.ranking-scroll-name { */
/*    font-size: 15px; */
/*    font-weight: 600; */
/*    color: var(--text); */
/*    text-align: center; */
/*    line-height: 1.3; */
/*}*/

/*.ranking-scroll-votes { */
/*    font-size: 12px; */
/*    color: var(--primary); */
/*    font-weight: 500; */
/*    margin-top: 6px;*/
/*}*/

/* ========== 主要内容 ========== */
.main-content-full { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 40px 24px 10px; 
}

.brand-section { width: 100%; }

/* ========== 品牌网格 - 升级版 ========== */
.brand-masonry { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
}

.brand-masonry-item { 
    background: var(--white); 
    border: 1px solid var(--border);
    border-radius: 12px; 
    padding: 24px;
    transition: all 0.2s; 
    cursor: pointer; 
    position: relative; 
    overflow: hidden; 
    text-decoration: none !important; 
    display: flex; 
    flex-direction: column;
    min-height: 200px;
}

.brand-masonry-item:hover { 
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.brand-masonry-name { 
    font-size: 1.25rem; 
    font-weight: 600; 
    color: var(--text); 
    margin-bottom: 10px; 
}

.brand-masonry-category { 
    margin-bottom: 12px; 
}

.category-badge { 
    display: inline-block; 
    padding: 4px 12px; 
    background: #eff6ff; 
    border-radius: 6px; 
    font-size: 0.8rem; 
    color: var(--primary); 
}

.brand-masonry-slogan { 
    font-size: 0.875rem; 
    color: var(--text-light); 
    line-height: 1.6; 
    flex-grow: 1;
    margin-bottom: 16px;
}

.brand-masonry-meta { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding-top: 16px; 
    border-top: 1px solid var(--border);
}

.meta-rating,
.meta-hot { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 0.9rem;
}

.meta-rating svg,
.meta-hot svg { 
    width: 16px; 
    height: 16px; 
}

.meta-rating {
    color: #f59e0b;
}

.meta-rating svg {
    fill: #f59e0b;
}

.meta-hot {
    color: var(--primary);
}

.meta-hot svg {
    stroke: var(--primary);
    fill: none;
}

.rating-value,
.hot-value {
    font-weight: 600;
}

/* 查看详情按钮 */
.brand-masonry-btn {
    margin-top: 16px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.brand-masonry-item:hover .brand-masonry-btn {
    background: var(--primary-dark);
}

/* ========== 热门行业品牌榜 ========== */
.rank-section { 
    max-width: 1400px; 
    margin: 0 auto;
    margin-top: 40px; 
    padding: 0 24px 48px; 
}

.rank-section .section-header { 
    margin-bottom: 32px; 
}

.rank-section .section-header h2 { 
    font-size: 1.75rem; 
    font-weight: 700; 
    color: var(--primary-dark); 
}

.rank-cards-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 1.5rem; 
}

.rank-card { 
    background: var(--white); 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid var(--border);
}

.rank-card-header { 
    padding: 1.25rem 1.5rem; 
    background: #eff6ff; 
    border-bottom: 1px solid var(--border); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.rank-card-header h3 { 
    font-size: 1rem; 
    color: var(--primary-dark); 
    font-weight: 600;
}

.rank-card-header a { 
    font-size: 0.8rem; 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 500;
}

.rank-list { padding: 0.5rem 0; }

.rank-item { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    padding: 1rem 1.5rem; 
    border-bottom: 1px solid #f0f9ff; 
    transition: background 0.2s; 
}

.rank-item:hover { background: #f0f9ff; }
.rank-item:last-child { border-bottom: none; }

.rank-position { 
    width: 28px; 
    height: 28px; 
    border-radius: 6px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 0.8rem; 
    font-weight: 600; 
    flex-shrink: 0; 
}

.rank-position.top1 { background: var(--primary); color: var(--white); }
.rank-position.top2 { background: var(--primary-light); color: var(--white); }
.rank-position.top3 { background: var(--accent); color: var(--white); }
.rank-position.other { background: #f1f5f9; color: var(--text-light); }

.rank-brand-info { flex: 1; min-width: 0; }

.rank-brand-name { 
    font-size: 0.9rem; 
    font-weight: 500; 
    color: var(--text); 
}

.rank-brand-name a { 
    color: var(--text); 
    text-decoration: none; 
}

.rank-brand-name a:hover { color: var(--primary); }

.rank-score { 
    font-size: 0.85rem; 
    font-weight: 600; 
    color: var(--primary); 
    flex-shrink: 0; 
}

/* ========== 影响力热门品牌 - 固定卡片网格 ========== */
.featured-section { 
    max-width: 1400px; 
    margin: 0 auto; 
    margin-top: 40px;
    padding: 0 24px 60px; 
}

.featured-section .section-header { 
    margin-bottom: 24px; 
}

.featured-section .section-header h2 { 
    font-size: 1.75rem; 
    font-weight: 700; 
    color: var(--primary-dark); 
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.featured-card {
    height: 90px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s;
}

.featured-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
    transform: translateY(-3px);
}

.featured-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-category {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 6px;
}
/* ========== 底部 ========== */
.footer { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 2rem 0 3rem; 
    border-top: 2px solid var(--primary);
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 2rem; 
}

.footer-col p { color: var(--text-light); font-size: 0.8rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { 
    text-decoration: none; 
    color: var(--text-light); 
    font-size: 0.875rem; 
}
.footer-links a:hover { color: var(--primary); }

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .brand-masonry { grid-template-columns: repeat(3, 1fr); }
    .featured-page { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .brand-masonry { grid-template-columns: repeat(2, 1fr); }
    .rank-cards-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-brand { padding: 60px 0 50px; }
    .hero-brand-wrapper { padding: 0 16px; }
    .hero-title-main { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 32px; }
    .hero-stats { padding: 20px 32px; }
    .hero-stat-item { padding: 0 24px; }
    .hero-stat-number { font-size: 1.75rem; }
    .hero-stat-divider { height: 48px; }
    
    .ranking-scroll-section { padding: 24px 16px; }
    .section-title { font-size: 1.5rem; }
    .ranking-scroll-item { min-width: 100px; height: 75px; padding: 10px 14px; }
    .ranking-scroll-name { font-size: 13px; }
    .ranking-scroll-votes { font-size: 11px; }
    
    .main-content-full { padding: 32px 16px 10px; }
    .brand-masonry { gap: 16px; }
    .brand-masonry-item { padding: 20px; min-height: 180px; }
    .brand-masonry-name { font-size: 1.1rem; }
    
    .rank-section { margin-top: 32px; padding: 0 16px 40px; }
    .rank-section .section-header h2 { font-size: 1.5rem; }
    
    .featured-section { padding: 0 16px 48px; }
    .featured-section .section-header h2 { font-size: 1.5rem; }
    .featured-page { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .featured-card { height: 60px; }
    .featured-name { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .hero-brand { padding: 48px 0 40px; }
    .hero-badge { font-size: 0.75rem; padding: 6px 12px; }
    .hero-title-main { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 24px; }
    .hero-stats { padding: 16px 20px; border-radius: 10px; }
    .hero-stat-item { padding: 0 16px; }
    .hero-stat-number { font-size: 1.4rem; }
    .hero-stat-label { font-size: 0.75rem; }
    .hero-stat-divider { height: 40px; }
    
    .ranking-scroll-section { padding: 20px 12px; }
    .section-title { font-size: 1.25rem; }
    .ranking-scroll-item { min-width: 90px; height: 70px; padding: 10px 12px; }
    
    .main-content-full { padding: 24px 12px 10px; }
    .brand-masonry { gap: 12px; }
    .brand-masonry-item { 
        padding: 16px; 
        min-height: 160px;
        border-radius: 10px;
    }
    .brand-masonry-name { font-size: 1rem; margin-bottom: 8px; }
    .category-badge { font-size: 0.75rem; padding: 3px 10px; }
    .brand-masonry-slogan { font-size: 0.8rem; margin-bottom: 12px; }
    .brand-masonry-meta { padding-top: 12px; gap: 16px; }
    .meta-rating, .meta-hot { font-size: 0.85rem; }
    .brand-masonry-btn { 
        margin-top: 12px; 
        padding: 8px 16px; 
        font-size: 0.8rem;
        border-radius: 6px;
    }
    
    .rank-section { margin-top: 24px; padding: 0 12px 32px; }
    .rank-section .section-header h2 { font-size: 1.25rem; }
    .rank-card { border-radius: 10px; }
    .rank-item { padding: 12px 16px; }
    .rank-position { width: 24px; height: 24px; font-size: 0.75rem; }
    
    .featured-section { padding: 0 12px 40px; }
    .featured-section .section-header h2 { font-size: 1.25rem; }
    .featured-page { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .featured-card { height: 52px; border-radius: 6px; }
    .featured-name { font-size: 0.8rem; }
    
    .footer { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        gap: 16px; 
        padding: 24px 16px;
    }
    .footer-links { 
        flex-wrap: wrap; 
        gap: 12px 20px; 
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .brand-masonry { grid-template-columns: 1fr; }
    .featured-page { grid-template-columns: repeat(2, 1fr); }
}