/* 首页专用样式 */

/* 入口按钮区域 */
.entry-buttons {
    padding: 20px 15px;
    background: #fff;
    margin-bottom: 10px;
    width: 100%;
}

.entry-btn {
    background: #000;
    color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.entry-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.entry-btn:active {
    transform: translateY(0);
    background: #333;
}

.btn-text {
    font-size: 16px;
    font-weight: 500;
}

/* 通用区块样式 */
.ranking-section,
.about-section {
    background: #fff;
    margin-bottom: 10px;
    padding: 15px;
    width: 100%;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

/* 排名并列容器 */
.ranking-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

/* 排行列表 */
.ranking-list {
    flex: 1;
    min-width: 0;
}

.list-title {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
}

.ranking-items {
    width: 100%;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

.ranking-item:last-child {
    border-bottom: none;
}

.rank {
    width: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    flex-shrink: 0;
}

.industry-name {
    flex: 1;
    font-size: 13px;
    color: #333;
    margin-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.change-rate {
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: 5px;
}

.change-rate.positive {
    color: #000;
}

.change-rate.negative {
    color: #666;
}

.vertical-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 10px;
    align-self: stretch;
    border-radius: 1px;
}

/* 关于区域 */
.about-item {
    margin-bottom: 15px;
    width: 100%;
}

.about-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.about-content {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    width: 100%;
}

.about-content p {
    margin-bottom: 5px;
}

.qrcode-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0 0 0;
}

.qrcode-img {
    width: 110px;
    height: 110px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background: #fff;
}

/* 反馈按钮样式 */
.feedback-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0 0 0;
}

.feedback-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 80px;
    cursor: pointer;
}

.feedback-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.feedback-btn:active {
    transform: translateY(0);
    background: #333;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .entry-buttons {
        padding: 15px 10px;
    }
    
    .entry-btn {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .btn-text {
        font-size: 14px;
    }
    
    .ranking-section,
    .about-section {
        padding: 12px 10px;
        margin-bottom: 8px;
    }
    
    .section-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .ranking-container {
        gap: 8px;
    }
    
    .list-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .ranking-item {
        padding: 8px 0;
    }
    
    .rank,
    .industry-name,
    .change-rate {
        font-size: 12px;
    }
    
    .about-title {
        font-size: 13px;
    }
    
    .about-content {
        font-size: 12px;
    }
    
    .qrcode-img {
        width: 100px;
        height: 100px;
    }
    
    .feedback-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
} 