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

body {
    font-family: 'Microsoft YaHei', 'SimSun', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.index-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #cd6839 0%, #bb5500 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 180px;
    margin-right: 10px;
    border-radius: 8px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
}

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

.nav-item:hover,
.nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 主要内容区域 */
.main-content {
    background: url(../image/img.jpg) no-repeat fixed;
    background-size: cover;
    padding: 20px 0;
    background-color: #f5f5f5;
    min-height: 100vh;
    position: relative;
}

.content-wrapper {
    background-color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    height: 250px;
}

/* 左侧游戏分类导航 */
.sidebar {
    margin: auto;
    width: 150px;
    height: 150px;
    border-radius: 15px;
}

.category-item {
    width: 150px;
    display: flex;
    height: 50px;
    border-bottom: 1px solid #ddd;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.category-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.category-item.active {
    background: linear-gradient(135deg, #cd6839 0%, #bb5500 100%);
    color: white;
    transform: translateX(5px);
}

.category-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.category-item span {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* 右侧游戏容器 */
.games-container {
    border-radius: 15px;
    padding: 20px;
    flex: 1;
    position: relative;
    min-height: 200px;
}

/* 游戏网格样式 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.games-grid.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
}

.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #cd6839;
    background: #e3f2fd;
}

.game-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-name {
    font-size: 11px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 5px;
}

.game-item:hover .game-name {
    color: #cd6839;
    font-weight: 600;
}

/* 热门和新游戏标记 */
.game-item.hot::before {
    content: '🔥';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
    background: rgba(255, 107, 107, 0.9);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-item.new::before {
    content: '✨';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
    background: rgba(205, 104, 57, 0.9);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-item {
    position: relative;
}

/* 新闻部分样式 */
.news-section {
    margin: auto;
    max-width: 1200px;
    background: white;
    padding: 10px 0;
}

.content-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

/* 轮播图样式 */
.carousel-container {
    flex: 1;
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
}

.carousel-text h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.index-img {
    flex-direction: row;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* 新闻容器样式 */
.news-container {
    flex: 1;
    padding: 0 20px;
}

.news-header {
    margin-bottom: 25px;
}

.news-header h2 {
    width: 29em;
    font-size: 20px;
    color: #ff6b35;
    margin-bottom: 10px;
    line-height: 1.4;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.news-header p {
    width: 40em;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.news-list {
    margin-bottom: 25px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: #e3f2fd;
    padding-left: 10px;
    border-radius: 5px;
}

.news-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-right: 15px;
}

.news-item:hover .news-title {
    color: #cd6839;
}

.news-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* 测试栏目样式 */
.test-section {
    display: flex;
    align-items: center;
    margin: 25px 0;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #bb5500;
}

.test-tag {
    background: #ff6b35;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

.test-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.more-news {
    margin-top: 25px;
}

/* 底部游戏推荐样式 */
.game-recommendations {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 120px;
}

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

.game-card img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-bottom: 10px;
    object-fit: cover;
}

.game-card span {
    font-size: 12px;
    text-align: center;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}

/* 特殊状态样式 */
.game-item.loading {
    opacity: 0.5;
    pointer-events: none;
}

.game-item.error img {
    filter: grayscale(100%);
    opacity: 0.5;
}

.index-games-layout {
    display: flex;
    gap: 30px;
}

.index-games-content {
    width: 800px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.index-games-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.index-games-title img {
    width: 24px;
    height: 24px;
}

.index-games-title span {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.index-games-tabs {
    display: flex;
    align-items: center;
    gap: 20px;
}

.index-more-link {
    color: #bb5500;
    text-decoration: none;
    font-size: 14px;
}

.index-more-link:hover {
    color: #cd6839;
}

.index-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.index-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.index-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #bb5500;
}

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

.index-game-name {
    font-size: 12px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 5em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.index-more-games {
    border: 2px dashed #ccc;
    background: #e3f2fd;
}

.index-more-games:hover {
    border-color: #bb5500;
    background: #e8f4fd;
}

.index-plus-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #999;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #f1f3f4;
}

.index-games-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.index-category-buttons {
    width: 360px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.index-category-btn {
    padding: 12px 16px;
    border: 1px solid #bbdefb;
    background: #fff;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    text-align: center;
}

.index-category-btn:hover {
    border-color: #bb5500;
    color: #bb5500;
    background: #f8fdff;
}

.index-category-btn.active {
    background: #bb5500;
    color: white;
    border-color: #bb5500;
}

.index-featured-game {
    width: 360px;
    height: 260px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.index-featured-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.index-featured-carousel {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
}

.index-featured-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.index-featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.index-featured-slide.active {
    opacity: 1;
    visibility: visible;
}

.index-featured-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.index-featured-slide:hover img {
    transform: scale(1.05);
}

.index-game-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 15px;
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-20px);
}

.index-featured-slide:hover .index-game-info-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.index-game-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.index-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.index-status-indicator.downloading {
    background: #ff9800;
    box-shadow: 0 0 8px #ff9800;
}

.index-status-indicator.completed {
    background: #bb5500;
    box-shadow: 0 0 8px #bb5500;
}

.index-status-indicator.new {
    background: #9c27b0;
    box-shadow: 0 0 8px #9c27b0;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.index-status-text {
    font-weight: bold;
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.index-game-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    align-items: center;
}

.index-status-date {
    font-size: 12px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.index-game-size {
    font-size: 12px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.index-game-rating {
    margin-top: 5px;
}

.index-stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.star.filled {
    color: #FFD700;
    text-shadow: 0 0 8px #FFD700, 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.index-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 10;
}

.index-carousel-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.index-carousel-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.index-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.index-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.index-dot.active,
.index-dot:hover {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* 手机游戏专题区域样式 */
.index-mobile-games-section {
    margin: auto;
    width: 1200px;
    background: #e3f2fd;
    padding: 30px 0;
}

.index-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #bbdefb;
}

.index-mobile-title {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.index-mobile-title img {
    width: 24px;
    height: 24px;
}

.index-mobile-title span {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.index-mobile-more {
    margin-right: 10px;
    color: #bb5500;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.index-mobile-more:hover {
    color: #cd6839;
}

.index-mobile-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.index-mobile-nav-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: white;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    flex-shrink: 0;
}

.index-mobile-nav-btn:hover {
    background: #bb5500;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.index-mobile-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.index-mobile-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.index-mobile-games-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.index-mobile-game-card {
    flex-shrink: 0;
    width: 340px;
    height: 160px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.index-mobile-game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.index-mobile-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.index-mobile-game-card:hover img {
    transform: scale(1.1);
}

.index-mobile-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.index-mobile-game-card:hover .index-mobile-card-overlay {
    transform: translateY(0);
}

.index-mobile-card-overlay h3 {
    margin: 0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.3;
}

/* 滚动动画效果 */
.index-mobile-games-track.scrolling {
    transition-duration: 0.6s;
}

/* 卡片加载动画 */
.index-mobile-game-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.index-mobile-game-card:nth-child(1) {
    animation-delay: 0.1s;
}

.index-mobile-game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.index-mobile-game-card:nth-child(3) {
    animation-delay: 0.3s;
}

.index-mobile-game-card:nth-child(4) {
    animation-delay: 0.4s;
}

.index-mobile-game-card:nth-child(5) {
    animation-delay: 0.5s;
}

.index-mobile-game-card:nth-child(6) {
    animation-delay: 0.6s;
}

.index-mobile-game-card:nth-child(7) {
    animation-delay: 0.7s;
}

.index-mobile-game-card:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 特殊主题卡片样式 */
.index-mobile-game-card:nth-child(1) {
    background: linear-gradient(135deg, #cd6839 0%, #bb5500 100%);
}

.index-mobile-game-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.index-mobile-game-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.index-mobile-game-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.index-mobile-game-card:nth-child(5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.index-mobile-game-card:nth-child(6) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.index-mobile-game-card:nth-child(7) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.index-mobile-game-card:nth-child(8) {
    background: linear-gradient(135deg, #e0c3fc 0%, #9bb5ff 100%);
}

/* 游戏攻略区域样式 */
.index-strategy-section {
    width: 1200px;
    margin: auto;
    background: #e3f2fd;
    padding: 30px 0;
}

.index-strategy-layout {
    margin: 10px;
    display: flex;
    gap: 30px;
    max-width: 1200px;
    /*margin: 0 auto;*/
}

/* 左侧热门攻略 */
.index-strategy-hot {
    flex: 2;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.index-strategy-hot-header {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    padding: 15px 20px;
}

.index-strategy-hot-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.index-strategy-hot-title img {
    width: 24px;
    height: 24px;
}

.index-strategy-hot-title span {
    font-size: 18px;
    font-weight: bold;
}

.index-strategy {
    display: flex;
    padding: 10px 0 0 10px;
}

.index-strategy-hot-list {
    padding: 0;
}

.index-strategy-hot-item {
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #bbdefb;
}

.index-strategy-hot-item:hover {
    background: #e3f2fd;
}

.index-strategy-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
    position: relative;
}

.index-strategy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.index-strategy-hot-item:hover .index-strategy-image img {
    transform: scale(1.05);
}

.index-strategy-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
}

.index-strategy-title {
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    width: 18em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.index-strategy-hot-text-list {
    padding: 20px 20px 8px 20px;
}

.index-strategy-text-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.index-strategy-text-item:hover {
    background: #e3f2fd;
    padding-left: 8px;
}

.index-strategy-bullet {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.index-strategy-bullet.special {
    color: #FF9800;
    font-weight: bold;
}

.index-strategy-text {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
    width: 28em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.index-strategy-text-item.special .index-strategy-text {
    color: #FF9800;
    font-weight: 500;
}

.index-strategy-text-item:hover .index-strategy-text {
    color: #cd6839;
}

/* 右侧最新攻略 */
.index-strategy-latest {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.index-strategy-latest-header {
    background: linear-gradient(135deg, #bb5500 0%, #cd6839 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.index-strategy-latest-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.index-strategy-more {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.index-strategy-more:hover {
    opacity: 1;
}

.index-strategy-latest-list {
    padding: 20px;
}

.index-strategy-latest-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    border-bottom: 1px solid #f0f0f0;
}

.index-strategy-latest-item:last-child {
    border-bottom: none;
}

.index-strategy-latest-item:hover {
    background: #e3f2fd;
    padding-left: 8px;
}

.index-strategy-arrow {
    color: #bb5500;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.index-strategy-latest-text {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

.index-strategy-latest-item:hover .index-strategy-latest-text {
    color: #bb5500;
    font-weight: 500;
}

/* 攻略项目动画 */
.index-strategy-hot-item {
    animation: fadeInLeft 0.6s ease forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.index-strategy-hot-item:nth-child(1) {
    animation-delay: 0.1s;
}

.index-strategy-hot-item:nth-child(2) {
    animation-delay: 0.2s;
}

.index-strategy-hot-item:nth-child(3) {
    animation-delay: 0.3s;
}

.index-strategy-latest-item {
    animation: fadeInRight 0.4s ease forwards;
    opacity: 0;
    transform: translateX(20px);
}

.index-strategy-latest-item:nth-child(1) {
    animation-delay: 0.1s;
}

.index-strategy-latest-item:nth-child(2) {
    animation-delay: 0.15s;
}

.index-strategy-latest-item:nth-child(3) {
    animation-delay: 0.2s;
}

.index-strategy-latest-item:nth-child(4) {
    animation-delay: 0.25s;
}

.index-strategy-latest-item:nth-child(5) {
    animation-delay: 0.3s;
}

.index-strategy-latest-item:nth-child(6) {
    animation-delay: 0.35s;
}

.index-strategy-latest-item:nth-child(7) {
    animation-delay: 0.4s;
}

.index-strategy-latest-item:nth-child(8) {
    animation-delay: 0.45s;
}

.index-strategy-latest-item:nth-child(9) {
    animation-delay: 0.5s;
}

.index-strategy-latest-item:nth-child(10) {
    animation-delay: 0.55s;
}

.index-strategy-latest-item:nth-child(11) {
    animation-delay: 0.6s;
}

.index-strategy-latest-item:nth-child(12) {
    animation-delay: 0.65s;
}

.index-strategy-latest-item:nth-child(13) {
    animation-delay: 0.7s;
}

.index-strategy-latest-item:nth-child(14) {
    animation-delay: 0.75s;
}

.index-strategy-latest-item:nth-child(15) {
    animation-delay: 0.8s;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.index-strategy-banner {
    margin: auto;
    max-width: 1200px;
    width: 100%;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.index-strategy-banner-title {
    padding: 20px;
}

.index-strategy-banner-title {
    display: flex;
    margin: auto;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.index-strategy-banner-title-item {
    display: flex;
    align-items: center;
}

.index-strategy-banner-content {
    width: 780px;

}

.index-strategy-banner-item-container {
    display: flex;
    gap: 10px;
    padding: 20px 0 0 0;
}

.index-strategy-banner-item1 img {
    width: 500px;
    height: 354px;
}

.index-strategy-banner-item2 img {
    width: 245px;
    height: 168px;
    margin-bottom: 10px;
}

.index-strategy-banner-item3 img {
    width: 245px;
    height: 168px;
}

.index-strategy-banner-item4 img {
    padding: 20px 0 0 20px;
    width: 410px;
    height: 267px;
}

/* 底部友情链接和footer样式 */
.footer-section {
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
    padding: 30px 0 20px;
}

/* 友情链接样式 */
.friendship-links {
    margin-bottom: 30px;
}

.friendship-header {
    background: #e3f2fd;
    padding: 12px 20px;
    border-left: 4px solid #cd6839;
    margin-bottom: 20px;
}

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

.friendship-content {
    padding: 0 20px;
}

.link-category {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.category-title {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 120px;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
}

.friendship-link {
    color: #e5885d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.friendship-link:hover {
    color: #e5885d;
    background: #e3f2fd;
    text-decoration: none;
}

/* 底部信息样式 */
.footer-info {
    /*border-top: 1px solid #e9ecef;*/
    padding-top: 25px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-link-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #e5885d;
    background: #e3f2fd;
    text-decoration: none;
}

.footer-disclaimer {
    text-align: center;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    color: #ff6b35;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 10px 20px;
    background: #fff5f0;
    border: 1px solid #ffd6cc;
    border-radius: 6px;
    display: inline-block;
}

.footer-copyright {
    text-align: center;
    color: #999;
    font-size: 12px;
    line-height: 1.6;
}

.footer-copyright p {
    margin: 5px 0;
}

/* 友情链接悬停动画效果 */
.friendship-link {
    position: relative;
    overflow: hidden;
}

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

.friendship-link:hover::before {
    left: 100%;
}

/* 底部链接点击波纹效果 */
.footer-link {
    position: relative;
    overflow: hidden;
}

.footer-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(21, 167, 84, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.footer-link:active::after {
    width: 200px;
    height: 200px;
}

/* 游戏榜单区域样式 */
.game-ranking-section {
    width: 1200px;
    margin: auto;
    background: #e3f2fd;
    padding: 40px 0;
}

.ranking-header {
    text-align: center;
    margin-bottom: 40px;
}

.ranking-title h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #cd6839 0%, #bb5500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ranking-title span {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ranking-content {
    margin: 0 10px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.ranking-column {
    flex: 1;
}

.ranking-category {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranking-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.category-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.ranking-category.hot .category-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
}

.ranking-category.new .category-header {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    color: white;
}

.ranking-category.rising .category-header {
    background: linear-gradient(135deg, #cd6839 0%, #bb5500 100%);
    color: white;
}

.category-icon {
    font-size: 24px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.ranking-list {
    padding: 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.ranking-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.ranking-item.featured {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid;
    padding: 20px;
    margin: 10px 10px;
    border-radius: 10px;
}

.ranking-category.hot .ranking-item.featured {
    border-left-color: #FF6B6B;
}

.ranking-category.new .ranking-item.featured {
    border-left-color: #4ECDC4;
}

.ranking-category.rising .ranking-item.featured {
    border-left-color: #cd6839;
}

.rank-number {
    font-size: 18px;
    font-weight: bold;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.ranking-item:nth-child(1) .rank-number,
.ranking-item:nth-child(2) .rank-number,
.ranking-item:nth-child(3) .rank-number {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.ranking-item:nth-child(n+4) .rank-number {
    background: #f0f0f0;
    color: #666;
}

.game-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.game-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ranking-item:hover .game-avatar img {
    transform: scale(1.1);
}

.game-info {
    flex: 1;
    margin-right: 15px;
}

.game-info h4 {
    width: 8em;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.game-type {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 8px;
}

.game-size {
    font-size: 12px;
    color: #999;
}

.game-info-simple {
    flex: 1;
    margin-right: 15px;
}

.game-info-simple h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.trend-icon {
    font-size: 12px;
    margin-left: 5px;
    color: #bb5500;
    animation: bounce 2s infinite;
}

.trend-icon.up {
    color: #bb5500;
}

.trend-icon.down {
    color: #F44336;
    transform: rotate(180deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-1px);
    }
}

.download-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-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;
}

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

.download-btn.primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.download-btn.primary:hover {
    background: linear-gradient(135deg, #FF5252 0%, #FF7043 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.download-btn.secondary {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.download-btn.secondary:hover {
    background: linear-gradient(135deg, #26C6DA 0%, #00ACC1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.download-btn.tertiary {
    background: linear-gradient(135deg, #cd6839 0%, #bb5500 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.download-btn.tertiary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 榜单项目加载动画 */
.ranking-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.ranking-item:nth-child(1) {
    animation-delay: 0.1s;
}

.ranking-item:nth-child(2) {
    animation-delay: 0.2s;
}

.ranking-item:nth-child(3) {
    animation-delay: 0.3s;
}

.ranking-item:nth-child(4) {
    animation-delay: 0.4s;
}

.ranking-item:nth-child(5) {
    animation-delay: 0.5s;
}

.ranking-item:nth-child(6) {
    animation-delay: 0.6s;
}

.ranking-item:nth-child(7) {
    animation-delay: 0.7s;
}

.ranking-item:nth-child(8) {
    animation-delay: 0.8s;
}

.ranking-item:nth-child(9) {
    animation-delay: 0.9s;
}

.ranking-item:nth-child(10) {
    animation-delay: 1.0s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 排名榜单悬停效果 */
.ranking-category:hover .category-header {
    transform: scale(1.02);
}

.ranking-item:hover .rank-number {
    transform: scale(1.1);
}

.ranking-item.featured:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* JavaScript模态框样式 */
/* 新闻模态框 */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.news-modal .modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.news-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.news-modal .modal-header h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.news-modal .close-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
    line-height: 1;
}

.news-modal .test-badge {
    background: #ff6b35;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}

.news-modal .news-meta {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

.news-modal .news-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.news-modal .news-actions button {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* 游戏模态框 */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.game-modal .modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.game-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-modal .game-preview {
    text-align: center;
}

.game-modal .game-preview img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-modal .game-info {
    display: grid;
    gap: 12px;
}

.game-modal .info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.game-modal .info-label {
    font-weight: 600;
    color: #666;
}

.game-modal .info-value {
    color: #333;
    font-weight: 500;
}

.game-modal .modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.game-modal .modal-actions button:nth-child(1) {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #cd6839 0%, #bb5500 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.game-modal .modal-actions button:nth-child(2) {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.game-modal .modal-actions button:nth-child(3) {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #cd6839 0%, #00f2fe 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
}

/* 手机游戏模态框 */
.mobile-game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-game-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.mobile-game-modal .modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mobile-game-modal .mobile-game-preview {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-game-modal .mobile-game-preview img {
    width: 200px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mobile-game-modal .game-description {
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.mobile-game-modal .game-stats {
    display: grid;
    gap: 10px;
    margin-bottom: 25px;
}

.mobile-game-modal .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-game-modal .modal-actions {
    display: flex;
    gap: 15px;
}

.mobile-game-modal .action-btn.primary {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #bb5500 0%, #cd6839 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.mobile-game-modal .action-btn.secondary {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #bb5500 0%, #cd6839 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
}

/* 手机软件模态框 */
.mobile-software-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-software-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.mobile-software-modal .modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mobile-software-modal .mobile-software-preview {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-software-modal .mobile-software-preview img {
    width: 200px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mobile-software-modal .software-description {
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.mobile-software-modal .software-stats {
    display: grid;
    gap: 10px;
    margin-bottom: 25px;
}

.mobile-software-modal .action-btn.primary {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #cd6839 0%, #bb5500 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.mobile-software-modal .action-btn.secondary {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #cd6839 0%, #1565C0 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
}

/* 攻略模态框 */
.strategy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strategy-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.strategy-modal .modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.strategy-modal .strategy-modal-image {
    text-align: center;
    margin-bottom: 20px;
}

.strategy-modal .strategy-modal-image img {
    max-width: 100%;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.strategy-modal .strategy-meta {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
}

.strategy-modal .meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.strategy-modal .meta-label {
    font-weight: 600;
    color: #666;
}

.strategy-modal .meta-value {
    color: #333;
    font-weight: 500;
}

.strategy-modal .strategy-description {
    margin-bottom: 25px;
}

.strategy-modal .strategy-description h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.strategy-modal .strategy-description p {
    line-height: 1.6;
    color: #666;
    font-size: 14px;
}

.strategy-modal .modal-actions {
    display: flex;
    gap: 15px;
}

/* 攻略模态框按钮样式 - 根据类型动态设置 */
.strategy-modal.hot .action-btn.primary {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.strategy-modal.latest .action-btn.primary {
    background: linear-gradient(135deg, #bb5500 0%, #cd6839 100%);
}

.strategy-modal.special .action-btn.primary {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

.strategy-modal.text .action-btn.primary {
    background: linear-gradient(135deg, #bb5500 0%, #cd6839 100%);
}

.strategy-modal .action-btn.secondary {
    background: linear-gradient(135deg, #607D8B 0%, #455A64 100%);
}

.strategy-modal .action-btn.tertiary {
    background: linear-gradient(135deg, #795548 0%, #5D4037 100%);
}

.strategy-modal .action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    z-index: 11000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notification.success {
    background: #bb5500;
}

.notification.info {
    background: #bb5500;
}

.notification.warning {
    background: #FF9800;
}

.notification.error {
    background: #F44336;
}

/* 模态框动画状态 */
.modal-content.show {
    transform: scale(1) translateY(0) !important;
}

.modal.show {
    opacity: 1 !important;
}

/* 榜单游戏模态框样式 */
.ranking-game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-game-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.ranking-game-modal .modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ranking-game-modal .ranking-game-preview {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.ranking-game-modal .ranking-game-preview img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ranking-game-modal .rank-badge {
    position: absolute;
    top: -10px;
    right: calc(50% - 80px);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.ranking-game-modal .ranking-game-info {
    margin-bottom: 25px;
}

.ranking-game-modal .game-stats {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
}

.ranking-game-modal .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ranking-game-modal .stat-label {
    font-weight: 600;
    color: #666;
}

.ranking-game-modal .stat-value {
    color: #333;
    font-weight: 500;
}

.ranking-game-modal .game-description h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.ranking-game-modal .game-description p {
    line-height: 1.6;
    color: #666;
    font-size: 14px;
}

.ranking-game-modal .modal-actions {
    display: flex;
    gap: 15px;
}

.ranking-game-modal .action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.ranking-game-modal .action-btn.primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}

.ranking-game-modal .action-btn.secondary {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.ranking-game-modal .action-btn.tertiary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.link-item{
    margin-right: 30px;
    text-wrap: nowrap;
    line-height: 36px;
    text-decoration: none;
    color: #1a202c;
}
