/* 
   紧凑型游戏官网 - 整合样式表
   all.css - 合并自style.css, news.css, downph.css, reg.css
*/

/* ========== 基础样式 ========== */
:root {
    /* 主题颜色 */
    --color-primary: #0071e3;
    --color-primary-dark: #0058b3;
    --color-secondary: #1d1d1f;
    --color-light: #f5f5f7;
    --color-light-gray: #e6e6e6;
    --color-medium-gray: #86868b;
    --color-dark-gray: #424245;
    --color-white: #ffffff;
    
    /* 新闻特有颜色 */
    --color-tag-notice: #ff9800;
    --color-tag-update: #4caf50;
    --color-tag-event: #e91e63;
    --color-tag-match: #9c27b0;
    
    /* 排行榜特有颜色 */
    --color-gold: #ffc107;
    --color-highlight: #0071e3;
    
    /* 字体 */
    --font-primary: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* 尺寸 */
    --header-height: 56px;
    --container-width: 1100px;
    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 16px;
    
    /* 阴影 */
    --shadow-small: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 6px 16px rgba(0, 0, 0, 0.07);
    
    /* 动画 */
    --transition-fast: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.4;
    color: var(--color-secondary);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 按钮样式 ========== */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-small);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-small);
}

.btn-primary.active {
    background-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-light-gray);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid var(--color-light-gray);
}

.btn-outline:hover {
    background-color: var(--color-light);
    transform: translateY(-1px);
}

/* ========== 头部样式 ========== */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: var(--shadow-small);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 400;
    opacity: 0.7;
}

.main-nav ul {
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: var(--color-medium-gray);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-secondary);
}

.main-nav a.active:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* ========== 英雄区域样式 ========== */
.hero {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-medium-gray);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.hero-image {
    flex: 1;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* ========== 特色和新闻部分样式 ========== */
.features-and-news {
    padding: 60px 0;
    background-color: var(--color-white);
}

.features-and-news .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

/* 特色部分 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: var(--color-light);
    border-radius: var(--radius-medium);
    padding: 20px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-small);
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 16px;
}

.feature-content h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.feature-content p {
    color: var(--color-medium-gray);
    font-size: 14px;
}

/* 新闻部分 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.see-all {
    font-size: 14px;
    font-weight: 500;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    background-color: var(--color-light);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-small);
}

.news-image {
    height: 140px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 16px;
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    font-size: 12px;
    color: var(--color-medium-gray);
    display: block;
    margin-bottom: 10px;
}

.read-more {
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more:after {
    content: '→';
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.read-more:hover:after {
    transform: translateX(3px);
}

/* ========== CTA和下载部分样式 ========== */
.cta-and-download {
    padding: 60px 0;
    background-color: var(--color-light);
}

.cta-and-download .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* CTA部分 */
.cta-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 15px;
    color: var(--color-medium-gray);
    margin-bottom: 20px;
}

.cta-form {
    display: flex;
    margin-bottom: 20px;
}

.email-input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-small) 0 0 var(--radius-small);
    font-size: 14px;
    outline: none;
}

.cta-form .btn-primary {
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* 下载部分 */
.download-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.platform-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--color-white);
    border-radius: var(--radius-small);
    color: var(--color-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
    justify-content: center;
}

.platform-btn i {
    font-size: 18px;
}

.platform-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-small);
}

/* ========== 页脚样式 ========== */
.main-footer {
    padding: 50px 0 20px;
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.footer-logo span {
    font-weight: 400;
    opacity: 0.7;
}

.footer-logo p {
    color: var(--color-medium-gray);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-links-column h3 {
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--color-white);
}

.footer-links-column ul li {
    margin-bottom: 8px;
}

.footer-links-column ul li a {
    color: var(--color-medium-gray);
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-links-column ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: 12px;
    color: var(--color-medium-gray);
}

/* 紧凑版页脚 */
.footer.compact {
    padding: 20px 0;
}

/* ========== 新闻中心页面样式 ========== */
.news-section {
    padding: 50px 0 70px;
    min-height: calc(100vh - var(--header-height) - 80px);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
}

.news-section .container {
    max-width: 1200px;
    padding: 0 15px;
}

.news-container {
    display: flex;
    background-color: var(--color-white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

/* 侧边栏样式 */
.news-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #0071e3 0%, #00a3ff 100%);
    color: var(--color-white);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-info h2 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.news-info > p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 15px;
}

/* 新闻分类 */
.news-categories {
    margin-bottom: 30px;
}

.news-categories h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 500;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-small);
    cursor: pointer;
    transition: background-color var(--transition-fast);
    background-color: rgba(255, 255, 255, 0.1);
}

.platform-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.platform-item.active {
    background-color: rgba(255, 255, 255, 0.3);
}

.platform-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.platform-item-info {
    display: flex;
    flex-direction: column;
}

.platform-name {
    font-weight: 500;
    font-size: 14px;
}

.platform-version {
    font-size: 12px;
    opacity: 0.7;
}

.download-content {
    flex: 1;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
}

.download-header {
    margin-bottom: 25px;
}

.download-title h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.download-desc {
    font-size: 15px;
    color: var(--color-medium-gray);
    max-width: 600px;
}

.download-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: var(--color-light);
    border-radius: var(--radius-medium);
    padding: 40px;
    margin-bottom: 30px;
}

.download-icon {
    width: 100px;
    height: 100px;
    background-color: var(--color-primary);
    border-radius: var(--radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon i {
    font-size: 50px;
    color: var(--color-white);
}

.download-info-box {
    text-align: center;
}

.download-info-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.download-info-box p {
    font-size: 15px;
    color: var(--color-medium-gray);
    margin-bottom: 20px;
    max-width: 500px;
}

.download-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-medium-gray);
}

.meta-item i {
    color: var(--color-primary);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: var(--radius-small);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.download-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-small);
}

.download-steps {
    margin-top: 20px;
}

.download-steps h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-item {
    background-color: var(--color-white);
    border-radius: var(--radius-medium);
    padding: 20px;
    box-shadow: var(--shadow-small);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
}

.step-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

/* ========== 注册页面样式 ========== */
.register-section {
    padding: 50px 0 70px;
    min-height: calc(100vh - var(--header-height) - 80px);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
    display: flex;
    align-items: center;
}

.register-container {
    display: flex;
    background-color: var(--color-white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

/* 侧边栏样式 */
.register-sidebar {
    width: 320px;
    background: linear-gradient(135deg, #0071e3 0%, #00a3ff 100%);
    color: var(--color-white);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.register-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.register-info p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-list i {
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.testimonial {
    margin-top: 40px;
}

.quote {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    padding: 20px;
    position: relative;
}

.quote i {
    font-size: 24px;
    opacity: 0.5;
    margin-bottom: 10px;
    display: block;
}

.quote p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    font-style: italic;
}

.user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.user-info span {
    font-size: 12px;
    opacity: 0.7;
}

/* 注册表单容器样式 */
.register-form-container {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.register-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.register-header h2 {
    font-size: 24px;
    font-weight: 600;
}

.register-header p {
    font-size: 14px;
    color: var(--color-medium-gray);
}

.login-link {
    font-weight: 500;
}

.register-iframe-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: var(--radius-medium);
}

#register-iframe {
    border: none;
    width: 800px;
    height: 700px;
    max-width: 100%;
}

.register-footer {
    margin-top: 20px;
    text-align: center;
}

.register-footer p {
    font-size: 13px;
    color: var(--color-medium-gray);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1500px) {
    .ranking-container, .download-container {
        max-width: 100%;
        margin: 0 15px;
    }
}

@media (max-width: 1300px) {
    .ranking-iframe-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-and-download .container {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .news-container, .ranking-container, .download-container, .register-container {
        flex-direction: column;
    }
    
    .news-sidebar, .ranking-sidebar, .download-sidebar, .register-sidebar {
        width: 100%;
        padding: 25px;
    }
    
    .category-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .news-search, .ranking-intro, .current-time {
        max-width: 500px;
        margin: 0 auto 25px;
    }
    
    .featured-news {
        max-width: 700px;
        margin: 0 auto 30px;
    }
    
    .ranking-features {
        grid-template-columns: repeat(3, 1fr);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .customer-service {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-box {
        display: flex;
        gap: 10px;
    }
    
    .service-item {
        flex: 1;
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }
    
    .platform-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial {
        margin-top: 30px;
    }
    
    .ranking-container, .download-container {
        max-width: 1203px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 12px;
    }
    
    .main-nav ul {
        justify-content: center;
        gap: 16px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-section, .ranking-section, .download-section, .register-section {
        padding: 30px 15px;
    }
    
    .news-content, .ranking-content, .download-content, .register-form-container {
        padding: 20px;
    }
    
    .category-list, .ranking-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-header, .ranking-header, .download-header, .register-header {
        text-align: center;
    }
    
    .news-desc, .ranking-desc, .download-desc {
        margin: 0 auto;
    }
    
    .platform-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .download-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .register-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-box {
        justify-content: space-between;
        gap: 10px;
    }
    
    .service-item {
        padding: 10px;
        border-radius: var(--radius-small);
        background-color: rgba(255, 255, 255, 0.05);
        border: none !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    .ranking-features, .platform-list, .footer-links {
        grid-template-columns: 1fr;
    }
    
    .ranking-iframe-wrapper, .news-iframe-wrapper, .register-iframe-wrapper {
        margin: 0 -10px;
    }
    
    .service-box {
        flex-direction: column;
    }
    
    .service-item:not(:last-child) {
        margin-bottom: 10px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-bottom: 10px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .download-main {
        padding: 30px 15px;
    }
    
    #register-iframe {
        width: 100%;
        height: 600px;
    }
    
    .service-item:last-child {
        margin-bottom: 0 !important;
    }
} 8px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: var(--radius-small);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.category-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.category-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.category-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* 搜索部分 */
.news-search {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    padding: 20px;
    margin-bottom: 25px;
}

.news-search h3 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.search-form {
    display: flex;
    overflow: hidden;
    border-radius: var(--radius-small);
}

.search-input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
}

.search-button {
    background-color: var(--color-primary-dark);
    color: white;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-button:hover {
    background-color: var(--color-primary);
}

/* 热门公告 */
.featured-news {
    margin-bottom: 30px;
}

.featured-news h3 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 12px;
}

.featured-news h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 16px;
    width: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-label {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.2);
}

.news-item-title {
    flex: 1;
    font-size: 14px;
}

/* 客服联系信息盒子 */
.customer-service {
    margin-top: auto;
}

.customer-service h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.service-box {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-medium);
    padding: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.service-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.service-item i {
    font-size: 24px;
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.service-info {
    display: flex;
    flex-direction: column;
}

.service-label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.service-value {
    font-size: 16px;
    font-weight: 600;
}

/* 新闻内容区域样式 */
.news-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.news-header {
    margin-bottom: 25px;
}

.news-title h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-desc {
    font-size: 15px;
    color: var(--color-medium-gray);
    max-width: 600px;
}

.news-iframe-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: var(--radius-medium);
    overflow: auto;
    height: 600px;
    border: 1px solid var(--color-light-gray);
}

#news-iframe {
    border: none;
    width: 800px;
    height: 2000px; /* 设置足够高以支持下滑 */
    display: block;
}

.news-update {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-medium-gray);
}

.news-update i {
    color: var(--color-highlight);
}

.news-update p {
    font-size: 14px;
}

/* ========== 排行榜页面样式 ========== */
.ranking-section {
    padding: 50px 0 70px;
    min-height: calc(100vh - var(--header-height) - 80px);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
}

.ranking-section .container {
    max-width: 1500px;
    padding: 0 15px;
}

.ranking-container {
    display: flex;
    background-color: var(--color-white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
}

/* 侧边栏样式 */
.ranking-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #0071e3 0%, #00a3ff 100%);
    color: var(--color-white);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ranking-info h2 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.ranking-info > p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 15px;
}

/* 排行榜介绍 */
.ranking-intro {
    margin-bottom: 30px;
}

.ranking-intro h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 500;
}

.ranking-intro p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 16px;
}

.ranking-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.feature {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-small);
    padding: 12px 8px;
    text-align: center;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.feature:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.feature i {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.feature span {
    font-size: 12px;
    font-weight: 500;
}

/* 当前时间样式 */
.current-time {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    padding: 20px;
    margin-bottom: 25px;
}

.current-time h3 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.time-display {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-small);
    padding: 12px;
}

.date {
    font-size: 15px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.time {
    font-size: 28px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

/* 排行榜内容区域样式 */
.ranking-content {
    flex: 1;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
}

.ranking-header {
    margin-bottom: 25px;
}

.ranking-title h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ranking-desc {
    font-size: 15px;
    color: var(--color-medium-gray);
    max-width: 600px;
}

.ranking-iframe-wrapper {
    width: 100%;
    max-width: 1203px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: var(--radius-medium);
    overflow: visible;
    border: none;
}

#ranking-iframe {
    border: none;
    width: 1203px;
    height: 1000px;
    max-width: none;
    display: block;
}

.ranking-note {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-medium-gray);
}

.ranking-note i {
    color: var(--color-highlight);
}

.ranking-note p {
    font-size: 14px;
}

/* ========== 下载页面特定样式 ========== */
.download-section {
    padding: 50px 0 70px;
    min-height: calc(100vh - var(--header-height) - 80px);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
}

.download-section .container {
    max-width: 1500px;
    padding: 0 15px;
}

.download-container {
    display: flex;
    background-color: var(--color-white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    max-width: 1500px;
    margin: 0 auto;
}

.download-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #0071e3 0%, #00a3ff 100%);
    color: var(--color-white);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-info h2 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.download-info > p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 15px;
}

.download-platforms {
    margin-bottom: 30px;
}

.download-platforms h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 500;
}

.platform-list {
    display: flex;
    flex-direction: column;
    gap: