/* ========== 品牌排行页 - ========== */

@import url("topheader.css"); 

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

:root {
    --primary: #2563eb;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --accent: #60a5fa;
    --bg: #eff6ff;
    --white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --border: #dbeafe;
    --gold: #f59e0b;
    --silver: #94a3b8;
    --bronze: #d97706;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.06);
    --shadow-md: 0 4px 20px rgba(37, 99, 235, 0.1);
    --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.15);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    color: #333;
    line-height: 1.6;
}

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

/* ========== 品牌榜单中心英雄区 ========== */
.hero-rank-center {
    width: 100%;
    padding: 70px 0 80px;
    position: relative;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 30%, #f0f9ff 60%, #e0f2fe 100%);
    overflow: hidden;
}

/* 蓝色光晕效果 */
.hero-rank-center::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-rank-center::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse-glow 5s ease-in-out infinite 1s;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero-rank-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(219, 234, 254, 0.6) 0%, transparent 50%);
    pointer-events: none;
}

.hero-rank-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-rank-left {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    fill: #2563eb;
    stroke: none;
    animation: star-spin 3s ease-in-out infinite;
}

@keyframes star-spin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.hero-title-main {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title-main .highlight {
    background: linear-gradient(135deg, #2563eb, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ========== 搜索框样式 ========== */
.hero-search-form {
    margin-bottom: 28px;
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 8px 8px 8px 28px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-search-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-search-box:focus-within {
    border-color: transparent;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-search-box:focus-within::before {
    opacity: 1;
}

.search-icon {
    width: 24px;
    height: 24px;
    color: #2563eb;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero-search-box:focus-within .search-icon {
    transform: scale(1.1);
    animation: search-bounce 0.5s ease;
}

@keyframes search-bounce {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    background: transparent;
    padding: 12px 20px;
}

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

.hero-search-btn {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.hero-search-btn:hover::before {
    left: 100%;
}

.hero-search-btn:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* ========== 热门关键词 ========== */
.hero-hot-keywords {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hot-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.hot-keyword {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #2563eb;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hot-keyword::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.hot-keyword:hover::before {
    width: 200%;
    height: 200%;
}

.hot-keyword:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    border-color: transparent;
}

/* ========== 右侧统计 ========== */
.hero-rank-right {
    flex-shrink: 0;
}

.hero-rank-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 32px 40px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(219, 234, 254, 0.5);
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, #e2e8f0, transparent);
}

/* ========== 榜单切换标签 ========== */
.rank-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 56px 0 36px;
    flex-wrap: wrap;
    position: relative;
}

/*.rank-tabs::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 3px;*/
/*    background: #e2e8f0;*/
/*    border-radius: 3px;*/
/*}*/

.rank-tab {
    color: #64748b;
    padding: 18px 48px;
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

.rank-tab::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rank-tab:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: #2563eb;
}

.rank-tab.active {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.rank-tab.active::before {
    width: 0;
}

/* ========== 榜单内容 ========== */
.rank-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.rank-content.active {
    display: block;
}

.section-header {
    text-align: center;
    margin: 48px 0 36px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #1e3a8a;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* ========== 品牌卡片网格 ========== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 56px;
}

.brand-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #2563eb, #3b82f6);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: #93c5fd;
}

.brand-card:hover::before {
    transform: scaleY(1);
}

.brand-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
}

.brand-card-header h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    font-weight: 700;
}

.brand-card-header .rank-badge {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.brand-rank-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.brand-rank-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    background: #f8fafc;
}

.brand-rank-item:hover {
    background: #eff6ff;
    transform: translateX(6px);
}

.brand-rank-item .position {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.brand-rank-item .position.top1 { 
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
    animation: pulse-rank 2s ease-in-out infinite;
}

.brand-rank-item .position.top2 { 
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #fff;
    box-shadow: 0 2px 10px rgba(100, 116, 139, 0.3);
}

.brand-rank-item .position.top3 { 
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
    box-shadow: 0 2px 10px rgba(217, 119, 6, 0.3);
}

.brand-rank-item .position.other { 
    background: #e2e8f0;
    color: #64748b;
}

@keyframes pulse-rank {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.brand-rank-item:hover .position.top1 {
    animation: pulse-rank-active 0.5s ease-in-out infinite;
}

@keyframes pulse-rank-active {
    0%, 100% { transform: scale(1.05); box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6); }
}

.brand-rank-item img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    display: none;
    box-shadow: var(--shadow-sm);
}

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

.brand-rank-item .brand-name {
    font-weight: 600;
    color: #334155;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.brand-rank-item:hover .brand-name {
    color: #2563eb;
}

.brand-rank-item .brand-name a {
    color: inherit;
    text-decoration: none;
}

.brand-rank-item .score {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 4px;
}

.brand-rank-item .heat {
    color: #3b82f6;
    font-size: 0.9rem;
    font-weight: 600;
}

.view-more {
    display: block;
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.view-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.view-more:hover::before {
    left: 100%;
}

.view-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* ========== 特色榜单展示 ========== */
.featured-ranks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin: 48px 0;
}

.featured-rank-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all 0.4s ease;
}

.featured-rank-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #93c5fd;
}

.featured-rank-card:hover::before {
    width: 300px;
    height: 300px;
}

.featured-rank-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.featured-rank-header h3 {
    font-size: 1.4rem;
    color: #1e3a8a;
    font-weight: 700;
}

.featured-rank-header .icon-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.featured-rank-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-rank-item {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.featured-rank-item:hover {
    background: #eff6ff;
    transform: translateX(8px);
    border-color: #93c5fd;
}

.featured-rank-item .num {
    font-size: 1.3rem;
    font-weight: 800;
    width: 36px;
    text-align: center;
    color: #2563eb;
}

.featured-rank-item img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    display: none;
    box-shadow: var(--shadow-sm);
}

.featured-rank-item .name {
    color: #2563eb;
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.featured-rank-item .score {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========== 全部榜单分类概览 ========== */
.all-ranks-overview {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    margin: 56px 0;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.all-ranks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.category-card {
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    border-color: #2563eb;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.category-card .icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    transition: transform 0.4s ease;
}

.category-card:hover .icon {
    transform: scale(1.15) rotate(-5deg);
}

.category-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 700;
}

.category-card p {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ========== 底部 ========== */
.footer {
    margin-top: 3rem;
    padding: 2.5rem 0 3.5rem;
    border-top: 3px solid #2563eb;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #2563eb;
}

.footer-links a:hover::after {
    width: 100%;
}

/* ========== 响应式优化 ========== */

@media (max-width: 1024px) {
    .featured-ranks {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .all-ranks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-rank-content {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }
    
    .hero-rank-left {
        max-width: 100%;
    }
    
    .hero-rank-stats {
        justify-content: center;
    }
    
    .hero-hot-keywords {
        justify-content: center;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-rank-center {
        padding: 48px 16px 60px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 14px;
        margin-bottom: 16px;
    }
    
    .hero-badge svg {
        width: 14px;
        height: 14px;
    }
    
    .hero-title-main {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    
    .hero-search-form {
        margin-bottom: 20px;
    }
    
    .hero-search-box {
        padding: 6px 6px 6px 18px;
        border-radius: 40px;
    }
    
    .hero-search-input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .hero-search-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        border-radius: 36px;
    }
    
    .hero-hot-keywords {
        gap: 10px;
    }
    
    .hot-label {
        font-size: 0.85rem;
    }
    
    .hot-keyword {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-rank-stats {
        padding: 24px 28px;
        flex-wrap: wrap;
        gap: 20px;
        border-radius: 16px;
    }
    
    .stat-item {
        padding: 0 20px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .rank-tabs {
        margin: 36px 0 24px;
        gap: 12px;
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 0 16px;
    }
    
    .rank-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .rank-tab {
        padding: 14px 28px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }
    
    .section-header {
        margin: 32px 0 24px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .featured-ranks {
        gap: 20px;
        margin: 32px 0;
    }
    
    .featured-rank-card {
        padding: 24px;
        border-radius: var(--radius-lg);
    }
    
    .featured-rank-header h3 {
        font-size: 1.15rem;
    }
    
    .featured-rank-item {
        padding: 12px 14px;
        gap: 14px;
    }
    
    .featured-rank-item .num {
        font-size: 1.1rem;
        width: 30px;
    }
    
    .featured-rank-item .name {
        font-size: 0.95rem;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 48px;
    }
    
    .brand-card {
        padding: 20px;
        border-radius: var(--radius);
    }
    
    .brand-card-header {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }
    
    .brand-card-header h3 {
        font-size: 1rem;
    }
    
    .brand-card-header .rank-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .brand-rank-item {
        padding: 10px;
        gap: 12px;
    }
    
    .brand-rank-item .position {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .brand-rank-item .brand-name {
        font-size: 0.9rem;
    }
    
    .view-more {
        padding: 14px;
        font-size: 0.9rem;
        margin-top: 14px;
    }
    
    .all-ranks-overview {
        padding: 28px;
        margin: 36px 0;
        border-radius: var(--radius-lg);
    }
    
    .all-ranks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-card {
        padding: 20px 16px;
    }
    
    .category-card .icon {
        font-size: 2.2rem;
    }
    
    .category-card h4 {
        font-size: 0.95rem;
    }
    
    .footer {
        margin-top: 2.5rem;
        padding: 2rem 0 2.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }
    
    .footer-links {
        gap: 1.2rem 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-rank-center {
        padding: 32px 12px 48px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 12px;
    }
    
    .hero-badge svg {
        width: 12px;
        height: 12px;
    }
    
    .hero-title-main {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
        line-height: 1.6;
    }
    
    .hero-search-form {
        margin-bottom: 16px;
    }
    
    .hero-search-box {
        padding: 4px 4px 4px 14px;
        border-radius: 32px;
    }
    
    .search-icon {
        width: 20px;
        height: 20px;
    }
    
    .hero-search-input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .hero-search-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 30px;
    }
    
    .hero-hot-keywords {
        gap: 8px;
    }
    
    .hot-label {
        font-size: 0.75rem;
    }
    
    .hot-keyword {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    .hero-rank-stats {
        padding: 20px;
        gap: 16px;
        border-radius: 14px;
    }
    
    .stat-item {
        padding: 0 14px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .rank-tabs {
        margin: 24px 0 18px;
        padding: 0 12px;
    }
    
    .rank-tab {
        padding: 12px 20px;
        font-size: 0.85rem;
        border-radius: 40px;
    }
    
    .section-header {
        margin: 24px 0 16px;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
    }
    
    .featured-ranks {
        gap: 14px;
        margin: 20px 0;
    }
    
    .featured-rank-card {
        padding: 18px;
        border-radius: var(--radius);
    }
    
    .featured-rank-header {
        margin-bottom: 18px;
    }
    
    .featured-rank-header h3 {
        font-size: 1.05rem;
    }
    
    .featured-rank-list {
        gap: 12px;
    }
    
    .featured-rank-item {
        padding: 10px 12px;
        gap: 12px;
    }
    
    .featured-rank-item .num {
        font-size: 1rem;
        width: 26px;
    }
    
    .featured-rank-item .name {
        font-size: 0.9rem;
    }
    
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 36px;
    }
    
    .brand-card {
        padding: 16px;
        border-radius: var(--radius);
    }
    
    .brand-card-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    
    .brand-card-header h3 {
        font-size: 0.95rem;
    }
    
    .brand-rank-list {
        gap: 10px;
    }
    
    .brand-rank-item {
        padding: 8px;
        gap: 10px;
    }
    
    .brand-rank-item .position {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .brand-rank-item .brand-name {
        font-size: 0.85rem;
    }
    
    .view-more {
        padding: 12px;
        font-size: 0.85rem;
        margin-top: 10px;
    }
    
    .all-ranks-overview {
        padding: 20px;
        margin: 24px 0;
    }
    
    .all-ranks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        padding: 16px 12px;
    }
    
    .category-card .icon {
        font-size: 2rem;
    }
    
    .category-card h4 {
        font-size: 0.9rem;
    }
    
    .category-card p {
        font-size: 0.8rem;
    }
    
    .footer {
        margin-top: 2rem;
        padding: 1.5rem 0 2rem;
        gap: 1rem;
    }
    
    .footer-col p {
        font-size: 0.75rem;
    }
    
    .footer-links {
        gap: 10px 14px;
    }
    
    .footer-links a {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .hero-title-main {
        font-size: 1.5rem;
    }
    
    .hero-rank-center {
        padding: 24px 8px 40px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.2rem;
    }
    
    .rank-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .featured-rank-header h3 {
        font-size: 1rem;
    }
    
    .brand-card-header h3 {
        font-size: 0.9rem;
    }
    
    .all-ranks-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}
