/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', -apple-system, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 两侧固定装饰图片 */
.side-decoration {
    position: fixed;
    top: 70px;
    z-index: 999;
    pointer-events: none;
    height: 80vh;
    width: 120px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-decoration.scrolled {
    /* JavaScript 控制的滚动状态样式 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.left-decoration {
    left: 10px;
}

.right-decoration {
    right: 10px;
}

.side-decoration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

/* 悬浮效果 */
.side-decoration:hover img {
    opacity: 1;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* 在较小屏幕上隐藏装饰图片 */
@media (max-width: 1400px) {
    .side-decoration {
        display: none;
    }
}

/* 在超大屏幕上调整位置 */
@media (min-width: 1600px) {
    .left-decoration {
        left: 20px;
    }

    .right-decoration {
        right: 20px;
    }

    .side-decoration {
        width: 300px;
    }

    .side-decoration img {
        width: 100%;
        height: 100%;
    }
}

.container {
    margin: 0 auto;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #FF7F7F 0%, #FFB6B6 50%, #667eea 100%);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3)
}

.header .container {
    max-width: 1200px;
    display: flex;
    align-items: center;
}

/* 统一顶部导航样式 */
.top-navigation {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-section img {
    width: 180px;
    height: 70px;
    object-fit: contain;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    color: #FF7F7F;
    text-decoration: none;
}

.primary-menu {
    display: flex;
    gap: 30px;
}

.menu-item {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.menu-item:hover,
.menu-item.active {
    color: #FF7F7F;
    background: linear-gradient(135deg, rgba(241, 64, 147, 0.1), rgba(255, 107, 157, 0.1));
}

.menu-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #FF7F7F, #FFB6B6);
    border-radius: 2px;
}

.wrapper {
    max-width: 1200px;
    margin: auto;
    border-radius: 20px;
    background: url(../img/irecbg.png) no-repeat;
    background-size: 100% auto;
    background-color: #fff;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 35px;
    height: 35px;
    border-radius: 6px;
}

.logo-text {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.main-nav {
    margin-left: 100px;
    display: flex;
    gap: 40px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 20px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-link.active {
    color: #FF7F7F;
    font-weight: bold;
}

/* 主要内容区域 */
.main-content {
    position: relative;
    z-index: 5;
    flex: 1;
}

/* 轮播横幅 */
.banner-section {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
    animation: fadeInScale 1s ease-out; /* 整体淡入放大动画 */
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    z-index: 10;
    transition: all 0.3s ease;
}

/* 轮播容器悬浮效果 */
.banner-slider:hover {
    transform: translateY(-5px); /* 悬浮时轻微上浮 */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2); /* 增强阴影 */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 100%;
    opacity: 0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateX(100%) scale(0.95);
    filter: blur(2px);
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.slide.prev {
    opacity: 0;
    z-index: 1;
    transform: translateX(-100%) scale(0.95);
    filter: blur(2px);
}

.slide.next {
    opacity: 0;
    z-index: 1;
    transform: translateX(100%) scale(0.95);
    filter: blur(2px);
}

.slide img {
    display: block;
    margin: 20px 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.6s ease;
    transform-origin: center center;
}

/* 轮播图悬浮效果 */
.slide:hover img {
    transform: scale(1.05) rotate(0.5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1) contrast(1.05);
}

/* 活跃状态的图片效果 */
.slide.active img {
    animation: slideIn 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

/* 图片进入动画 */
@keyframes slideIn {
    0% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 轮播控制按钮 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1); /* 更平滑的过渡 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    opacity: 0.8; /* 初始半透明 */
}

.slide-title {
    text-align: center;
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    color: #fff;
    padding: 20px 15px 15px;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #FF7F7F;
    transform: translateY(-50%) scale(1.1); /* 悬浮时放大 */
    box-shadow: 0 4px 20px rgba(255, 127, 127, 0.3); /* 淡红色阴影 */
    opacity: 1; /* 悬浮时完全不透明 */
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95); /* 点击时缩小 */
    transition: all 0.1s ease; /* 快速响应点击 */
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 轮播指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    transition: all 0.3s ease;
}

/* 指示器容器悬浮效果 */
.slider-indicators:hover {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 18px; /* 悬浮时稍微放大 */
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: linear-gradient(45deg, #FF7F7F, #FFB6B6);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.6);
    animation: pulse 2s infinite;
}

/* 指示器脉动动画 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1.4);
        box-shadow: 0 0 15px rgba(255, 107, 157, 0.6);
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 20px rgba(255, 107, 157, 0.8);
    }
}

/* 点击波纹效果 */
.indicator:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 107, 157, 0.3);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* 分类导航 */
.category-section {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-tabs {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-indicator {
    color: #FF7F7F;
    font-weight: bold;
    font-size: 14px;
    line-height: 40px;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
}

.category-tab:hover {
    border-color: #FF7F7F;
    color: #FF7F7F;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(241, 64, 147, 0.2);
}

.category-tab.active {
    background: linear-gradient(135deg, #FF7F7F, #FFB6B6);
    color: white;
    border-color: #FF7F7F;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(241, 64, 147, 0.3);
}

.category-tab img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.apps-grid a {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.app-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.app-name {
    font-size: 11px;
    text-align: center;
    color: #555;
    font-weight: 500;
    width: 10em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* 新闻公告区域 */
.news-section {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.news-left {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-tag {
    background: linear-gradient(135deg, #FF7F7F, #667eea);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.news-header p {
    margin: 10px 0 5px 0;
    font-size: 14px;
    color: #666;
}

.news-list h3 {
    margin: 20px 0 15px 0;
    font-size: 16px;
    color: #333;
}

.news-list ul {
    list-style: none;
}

.news-list li {
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.news-right {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ad-banner h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.ad-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ad-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* 主要布局 */
/* .main-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 25px;
} */

.left-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.game-section {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.mobile-games-section {
    flex: 2;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(116, 64, 64, 0.05);

}

.software-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(116, 64, 64, 0.05);
}

.tools-section {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(116, 64, 64, 0.05);

}

.app-section {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 25px;

}

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

.section-header h2 {
    margin-left: 20px;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.section-ranking-list img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
}

.section-ranking-list {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-ranking-list h2 {
    margin-left: 10px;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.tools-tab,
.ranking-tab {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 6px 12px;
    margin-right: 8px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tools-tab.active,
.ranking-tab.active,
.tools-tab:hover,
.ranking-tab:hover {
    background: linear-gradient(135deg, #FF7F7F, #667eea);
    color: white;
}

/* 游戏网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.game-item {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 130px;
}

.game-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.game-item img {
    width: 80px;
    height: 80px;
    margin: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.game-item h4 {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* 配合集区域 */
.tools-content {
    margin-top: 20px;
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tools-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tools-item:hover {
    background: #e9ecef;
}

/* 前三名带图片的样式 */
.tools-item:not(.tools-text-only) {
    min-height: 70px;
}

.tools-rank {
    background: linear-gradient(135deg, #FF7F7F, #667eea);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    min-width: 35px;
    text-align: center;
}

.tools-item img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.tools-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tools-info h4 {
    font-size: 13px;
    margin: 0;
    color: #333;
    font-weight: 500;
}

.tools-size {
    font-size: 11px;
    color: #666;
}

.tools-date {
    font-size: 10px;
    color: #999;
}

.tools-download-btn {
    background: #FF7F7F;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tools-download-btn:hover {
    background: #e55a8a;
    transform: translateY(-1px);
}

/* 4-10名仅文字的样式 */
.tools-text-only {
    min-height: 40px;
    padding: 8px 12px;
}

.tools-number {
    color: #999;
    font-size: 14px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.tools-name {
    flex: 1;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.tools-category {
    font-size: 11px;
    color: #666;
    min-width: 60px;
    text-align: right;
}

/* 软件网格 */
.software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* 攻略快报区域 - 重新设计 */
.strategy-section {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.strategy-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.strategy-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.strategy-icon {
    font-size: 24px;
}

.title-content h2 {
    margin: 0 0 4px 0;
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.title-content .subtitle {
    font-size: 12px;
    color: #999;
}

.hot-news {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hot-label {
    white-space: nowrap;
    background: linear-gradient(135deg, #FF7F7F, #667eea);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.more-link {
    padding-left: 87%;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
}

.more-link:hover {
    color: #FF7F7F;
}

.strategy-layout {
    display: grid;
    grid-template-columns: 300px 500px 300px;
    gap: 25px;
}

/* 左侧主要内容 */
.strategy-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-strategy {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-strategy:hover {
    transform: scale(1.02);
}

.main-strategy img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.strategy-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.strategy-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.strategy-text-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.text-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.text-item:hover {
    background: #f8f9fa;
    padding-left: 8px;
    border-radius: 6px;
}

.item-bullet {
    color: #FF7F7F;
    font-weight: bold;
    font-size: 14px;
}

.item-text {
    flex: 1;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.item-date {
    background: #f0f2f5;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    min-width: 35px;
    text-align: center;
}

.discover-more {
    text-align: center;
    margin-top: 15px;
}

.discover-btn {
    background: linear-gradient(135deg, #FF7F7F, #667eea);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.discover-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
}

/* 中间卡片区域 */
.strategy-center {
    border-radius: 12px;
}

.strategy-grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.strategy-card-item {
    width: 250px;
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.strategy-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-tags {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
}

.tag.purple {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: bold;
}

.strategy-card-item img {
    padding: 10px;
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.strategy-card-item p {
    text-align: center;
    /*padding: 10px;*/
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap; /* 溢出文本不换行 */
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

/* 排行榜区域重构 */
.ranking-section {
    background: url(../img/irankbg.png) no-repeat;
    width: 100%;
    margin: auto;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ranking-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ranking-column {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.column-header h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.column-header img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
}

.view-more {
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.view-more:hover {
    color: #FF7F7F;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 前3名完整显示样式 */
.ranking-item.full {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.ranking-item.full:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rank-badge {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
}

.rank-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-num {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
    border: 2px solid white;
}

.rank-badge.gold .rank-num {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.rank-badge.silver .rank-num {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.rank-badge.bronze .rank-num {
    background: linear-gradient(135deg, #cd7f32, #d2691e);
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-details h4 {
    font-size: 13px;
    margin: 0;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

.item-date {
    font-size: 10px;
    color: #999;
}
/* 4-10名简化显示样式 */
.ranking-item.simple {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.ranking-item.simple:hover {
    background: #f0f8ff;
    border-left-color: #FF7F7F;
}

.simple-rank {
    color: #666;
    font-size: 12px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.simple-name {
    flex: 1;
    font-size: 12px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.simple-date {
    font-size: 10px;
    color: #999;
    min-width: 70px;
    text-align: right;
}

/* 右侧热门资讯区域 */
.strategy-right-news {
    background: white;
    border-radius: 12px;
    padding: 0;
    border: 1px solid #f0f0f0;
}

.hot-news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: #f8f9fa;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item img {
    margin: auto;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-content h4 {
    margin: 0;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.news-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
    align-self: flex-start;
}

.news-date {
    font-size: 10px;
    color: #999;
}

/* 移除旧的样式 */
.strategy-subtitle,
.more-btn,
.strategy-content,
.strategy-main,
.strategy-featured,
.strategy-overlay,
.strategy-list,
.strategy-item-small,
.strategy-date,
.strategy-cards,
.strategy-card,
.card-badges,
.badge-purple {
    display: none;
}

/* 右侧边栏 */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-section h3 {
    color: #333;
    font-size: 16px;
    text-align: center;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background: #e9ecef;
}

.sidebar-item img {
    width: 35px;
    height: 35px;
    border-radius: 6px;
}

.item-info {
    flex: 1;
}

.item-name {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.item-desc {
    font-size: 10px;
    color: #666;
}

.sidebar-btn {
    background: linear-gradient(135deg, #FF7F7F, #667eea);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 10px;
}

/* 更新列表 */
.update-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.update-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.update-title {
    font-size: 12px;
    color: #333;
}

.update-time {
    font-size: 10px;
    color: #999;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

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

.footer-info p {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 5px;
}

/* 公告区域样式 - 重新设计匹配图片 */
.announcement-container {
    background: #f5f7fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaf0;
}

.color-stripe {
    height: 3px;
    background: linear-gradient(to right, #FF7F7F 0%, #c44569 30%, #667eea 70%, #4b79a1 100%);
}

.announcement-content {
    background: #fff;
    padding: 25px;
}

.announcement-title {
    color: #FF7F7F;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.announcement-subtitle {
    color: #FF7F7F;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
}

.hot-strategy-section {
    margin-top: 20px;
}

.hot-strategy-header {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 15px;
}

.hot-badge {
    background: linear-gradient(135deg, #FF7F7F 0%, #FFB6B6 50%, #c44569 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.hot-title {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    margin-right: 15px;
    line-height: 1.4;
}

.hot-date {
    color: #95a5a6;
    font-size: 13px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 10px;
}

.strategy-list-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.strategy-list-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.strategy-list-item:hover {
    background-color: #f8fafe;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.strategy-list-item .bullet {
    color: #7f8c8d;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.strategy-list-item.special .bullet {
    color: #FF7F7F;
    font-size: 16px;
}

.strategy-list-item:hover .bullet {
    opacity: 1;
    transform: translateX(0);
}

.strategy-list-item .title {
    color: #34495e;
    font-size: 14px;
    flex: 1;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.4;
    font-weight: 500;
}

.strategy-list-item .title:hover {
    color: #FF7F7F;
    font-weight: 600;
}

.strategy-list-item .date {
    color: #bdc3c7;
    font-size: 12px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* 移除旧的公告样式 */
.announcement-header,
.announcement-item,
.announcement-text,
.strategy-list,
.hot-strategy,
.hot-strategy-title,
.strategy-items,
.strategy-item,
.strategy-bullet,
.strategy-title,
.strategy-date {
    display: none !important;
}

/* 热门专题区域样式优化 */
.hot-topics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topic-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.topic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.topic-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px 15px 10px;
}

.topic-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 统一顶部导航响应式样式 */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .primary-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-item {
        padding: 8px 12px;
        font-size: 14px;
    }

    .brand-name {
        font-size: 20px;
    }

    .brand-section img {
        width: 35px;
        height: 35px;
    }

    .slide {
        transition: all 0.5s ease; /* 移动端使用更快的动画 */
        transform: translateX(50%) scale(0.98); /* 减少移动距离 */
        filter: blur(1px); /* 减少模糊程度 */
    }

    .slide.active {
        transform: translateX(0) scale(1);
        filter: blur(0);
    }

    .slide.prev {
        transform: translateX(-50%) scale(0.98);
        filter: blur(1px);
    }

    .slide.next {
        transform: translateX(50%) scale(0.98);
        filter: blur(1px);
    }

    .slide img {
        transition: all 0.4s ease; /* 移动端图片动画更快 */
    }

    .slide:hover img {
        transform: scale(1.02) rotate(0deg); /* 移动端减少悬浮效果 */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        filter: brightness(1.05) contrast(1.02);
    }

    /* 移动端指示器简化动画 */
    .indicator {
        transition: all 0.3s ease;
    }

    .indicator.active {
        animation: none; /* 移动端取消脉动动画，节省性能 */
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
    }

    /* 移动端按钮简化效果 */
    .slider-btn {
        backdrop-filter: none; /* 移动端取消毛玻璃效果 */
        transition: all 0.2s ease;
    }

    .slider-btn:hover {
        transform: translateY(-50%) scale(1.05); /* 减少缩放程度 */
    }
}

@media (max-width: 480px) {
    .nav-wrapper {
        padding: 12px 15px;
        gap: 12px;
    }

    .primary-menu {
        gap: 10px;
    }

    .menu-item {
        padding: 6px 10px;
        font-size: 13px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-section img {
        width: 30px;
        height: 30px;
    }
}

/* 减弱动画效果的媒体查询 - 用户偏好设置 */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .slide img,
    .indicator,
    .slider-btn {
        transition: none !important;
        animation: none !important;
    }

    .slide:hover img {
        transform: none !important;
    }
}

.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
}

.sitemap-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

.sitemap-section {
    margin-bottom: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid #FF7F7F;
}

.sitemap-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.sitemap-link {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 12px 15px;
    background: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.sitemap-link:hover {
    background: #FF7F7F;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sitemap-description {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.sitemap-stats {
    background: linear-gradient(135deg, #ffeef5 0%, #ffcdd2 30%, #f8bbd9 70%, #e1bee7 100%);
    color: #333;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.stat-label {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

/* 整体淡入放大动画 */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
