* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
}

body {
    background-color: #e60012;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(135deg, #e60012 0%, #8b0000 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

/* 定义theme-相关样式变量 */
:root {
    --theme-color: #e60012;
    --theme-color-hsl: 0, 100%, 45%;
    --theme-hover: #8b0000;
    --theme-black-color: #333;
    --theme-gray-color: #666;
    --theme-light-color: #999;
    --theme-el-bg-color: #fff;
    --theme-border-radius-s: 5px;
    --theme-container-width: 1200px;
    --theme-sidebar-width: 300px;
    --theme-content-sidebar-gap: 20px;
}

/* 通用容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.nav-logo span {
    color: #ffcc00;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    display: block;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffcc00;
}

.nav-link.active {
    background-color: #ffcc00;
    color: #8b0000;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 0px 0px 10px 0px;
    margin-bottom: 10px;
    color: #333;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #e60012;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #8b0000;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 3px;
    color: rgba(0, 0, 0, 0.5);
}

/* 主要内容区域 */
.main-content {
    display: flex;
    gap: 20px;
}

.article-container {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
}

/* 侧边栏 */
.sidebar {
    width: 300px;
    position: relative;
}

.sidebar-content {
    position: sticky;
    top: 20px;
}

/* 列表头部样式 */
.list-header {
    position: relative;
    color: #fff;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.list-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

.list-header > * {
    position: relative;
    z-index: 2;
}

.list-title {
    color: #ffcc00 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.list-header p{
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* 文章列表样式 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.list-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #333;
    display: flex;
    align-items: stretch;
    min-height: 186px;
}

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

.list-image {
    width: 280px;
    height: 186px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px 0 0 10px;
}

.list-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 186px;
    width: 480px;
}

.list-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.list-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.list-item-title a:hover {
    color: #e60012;
}

.list-item-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 12px;
}

.list-item-description {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex: 1;
    text-overflow: ellipsis;
    max-height: 4.5em;
}

.list-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.list-item-tags a {
    background-color: rgba(230, 0, 18, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #e60012;
    text-decoration: none;
    transition: all 0.3s;
    min-height: 30px;
    display: flex;
    align-items: center;
}

/* 游戏列表板块样式 */
.game-list-section {}

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

.game-list-title {
    color: #e60012;
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-list-title::before {
    content: '🎮';
    font-size: 1.5rem;
}

.game-list-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   游戏列表容器样式 - 修改为一行显示4个游戏资源
   ============================================ */
.game-list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ============================================
   游戏卡片样式 - 移除了hover动画效果
   ============================================ */
.game-list-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 0, 18, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 移除了hover效果 */
.game-list-card:hover {
    transform: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 0, 18, 0.1);
}

.game-thumbnail-container {
    position: relative;
    width: 100%;
    height: 248px;
    overflow: hidden;
}

.game-thumbnail-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    aspect-ratio: 1/1;
}

/* 保留图片缩放效果 */
.game-list-card:hover .game-thumbnail {
    transform: scale(1.05);
}

/* 评分遮罩样式 */
.rating-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 15px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(2px);
    z-index: 2;
}

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

.rating-stars .star {
    color: #ffcc00;
    font-size: 1.2rem;
}

.rating-stars .star.half {
    position: relative;
}

.rating-stars .star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffcc00;
}

.rating-score {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffcc00;
    margin-left: auto;
}

/* ============================================
   修改游戏列表名称和描述样式
   确保名称只显示一行，描述严格显示3行
   桌面端和移动端保持一致
   ============================================ */
.game-list-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 强制游戏名称只显示一行 - 桌面端 */
.game-list-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 强制只显示1行 */
    -webkit-box-orient: vertical;
    min-height: 1.4em; /* 确保有一行的高度 */
    max-height: 1.4em; /* 限制最大高度为一行 */
    text-overflow: ellipsis;
}

.game-list-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-list-name a:hover {
    color: #e60012;
}

/* 强制游戏描述显示3行 - 桌面端 */
.game-list-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 强制显示3行 */
    -webkit-box-orient: vertical;
    min-height: 4.5em; /* 确保有3行的高度 (0.95rem * 1.5 * 3) */
    max-height: 4.5em; /* 限制最大高度为3行 */
    text-overflow: ellipsis;
}

/* 两个价格靠左显示，中间有间距 */
.game-list-meta {
    display: flex;
    justify-content: flex-start; /* 改为靠左显示 */
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    gap: 5px; /* 添加间距 */
}

.game-list-price {
background: linear-gradient(135deg, #e60012, #ff3366);
    color: white;
    padding: 0px 7px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.2);
}

.game-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.game-list-tag {
    background: rgba(230, 0, 18, 0.08);
    color: #e60012;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(230, 0, 18, 0.15);
}

.game-list-platform {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0px;
}

.game-list-platform::before {
    content: '🎮';
    font-size: 0.9rem;
}

/* 侧边栏通用样式 */
.sidebar-section, .flash-news-section, .subscribe-section ,.game-recommend-section{
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    overflow: visible;
}

.sidebar-section h3, .flash-news-section h3, .subscribe-section h3 ,.game-recommend-section h3{
    color: #e60012;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(230, 0, 18, 0.2);
    padding-bottom: 10px;
}

.sidebar-list, .flash-news-list {
    list-style: none;
    overflow: visible;
}

.sidebar-item, .flash-news-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.flash-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    font-size: 0.9rem;
    padding: 8px 0;
}

.sidebar-item a:hover {
    color: #e60012;
}

.sidebar-item .date {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 5px;
}

/* 公众号引导板块样式 */
.subscribe-section {
    text-align: center;
}

.subscribe-section h3::before {
    content: "⭐";
    margin-right: 8px;
    font-size: 1.2em;
}

.subscribe-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

.qr-code-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.qr-code-note {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 200px;
}

/* 游戏推荐板块样式 */
.game-recommend-section h3::before {
    content: "🎮";
    margin-right: 8px;
    font-size: 1.2em;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.game-item {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 0, 18, 0.1);
}

.game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: #e60012;
}

.game-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    aspect-ratio: 1/1;
    display: block;
}

.game-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.8em;
}

.game-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.game-title a:hover {
    color: #e60012;
}

.game-meta {
    font-size: 0.75rem;
    color: #666;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-rating {
    color: #e60012;
    font-weight: bold;
}

.game-price {
    background-color: #e60012;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* 快讯栏目样式 */
.flash-news-section h3::before {
    content: "🔥";
    margin-right: 8px;
    font-size: 1.2em;
}

.flash-news-item {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(230, 0, 18, 0.05);
    border: 1px solid rgba(230, 0, 18, 0.1);
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.flash-news-content {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s;
}

.flash-news-content.expanded {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.flash-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.5);
}

.flash-news-time {
    display: flex;
    align-items: center;
}

.flash-news-time::before {
    content: "🕒";
    margin-right: 4px;
}

.flash-news-expand {
    color: #e60012;
    font-size: 0.7rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    padding: 5px 8px;
}

.flash-news-expand:hover {
    color: #8b0000;
}

/* 图片+标题样式 */
.image-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.image-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.image-item img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    aspect-ratio: 7/5;
}

.image-item-content {
    flex: 1;
    min-width: 0;
}

.image-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
}

.image-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.image-item-title a:hover {
    color: #e60012;
}

.image-item-meta {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 5px;
}

/* 快讯列表基础样式 */
.kx-list {
    padding: 15px;
}

.kx-list .kx-date {
    border-left: 1px dashed hsla(var(--theme-color-hsl), .2);
    color: var(--theme-black-color);
    font-size: 20px;
    line-height: 26px;
    margin-left: 15px;
    padding: 12px 20px;
    position: relative;
}

.kx-list .kx-date:after,
.kx-list .kx-date:before {
    background: var(--theme-color);
    border-radius: var(--theme-border-radius-s);
    content: "";
    height: 16px;
    left: -8px;
    opacity: .6;
    position: absolute;
    top: 17px;
    width: 16px;
}

.kx-list .kx-date:before {
    background: var(--theme-el-bg-color);
    opacity: 1;
}

.kx-list .kx-date.fixed {
    background: var(--theme-el-bg-color);
    border-bottom: 1px solid hsla(var(--theme-color-hsl), .2);
    border-left: 0;
    box-shadow: 0 1px 5px 0 hsla(var(--theme-color-hsl), .2);
    margin-left: -15px;
    padding-left: 50px;
    position: fixed;
    width: calc(var(--theme-container-width) - var(--theme-sidebar-width) - var(--theme-content-sidebar-gap) - 20px);
    z-index: 9;
}

.kx-list .kx-date.fixed:after,
.kx-list .kx-date.fixed:before {
    left: 22px;
}

.kx-list .kx-item {
    border-left: 1px dashed hsla(var(--theme-color-hsl), .2);
    margin-left: 15px;
    padding: 20px 0 20px 20px;
    position: relative;
}

.kx-list .kx-time {
    color: var(--theme-color);
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    margin-bottom: 15px;
    position: relative;
}

.kx-list .kx-time:after,
.kx-list .kx-time:before {
    background: var(--theme-el-bg-color);
    border: 4px solid var(--theme-color);
    border-radius: 6px;
    box-sizing: content-box;
    content: "";
    height: 4px;
    left: -26px;
    opacity: .4;
    position: absolute;
    top: 2px;
    width: 4px;
}

.kx-list .kx-time:before {
    border: 4px solid var(--theme-el-bg-color);
    opacity: 1;
}

.kx-list .kx-content {
    overflow: hidden;
}

.kx-list .kx-content h2 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 15px;
}

.kx-list .kx-content h2 a {
    color: var(--theme-black-color);
}

.kx-list .kx-content h2 a:hover {
    color: var(--theme-hover);
    text-decoration: none;
}

.kx-list .kx-content p {
    color: var(--theme-gray-color);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.kx-list .kx-img {
    display: block;
    margin-top: 10px;
    max-width: 60%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kx-list .kx-img img {
    display: block;
    height: auto;
    width: 200px;
    height: 133px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.kx-list .kx-img.expanded img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
}

.kx-list .kx-new {
    background: #d9f9d1;
    color: #3c763d;
    cursor: pointer;
    display: none;
    line-height: 30px;
    text-align: center;
}

.kx-list .kx-new.fixed {
    margin-left: -15px;
    position: fixed;
    width: calc(var(--theme-container-width) - var(--theme-sidebar-width) - var(--theme-content-sidebar-gap) - 20px);
    z-index: 10;
}

.kx-list .kx-meta {
    text-align: right;
}

.kx-list .kx-meta .j-mobile-share {
    float: left;
}

/* 元数据样式 */
.kx-meta {
    color: var(--theme-light-color);
    font-size: 0;
    margin-top: 20px;
}

.kx-meta a,
.kx-meta span,
.kx-meta time {
    font-size: 14px;
    line-height: 22px;
    margin-right: 15px;
}

.kx-meta .j-mobile-share {
    cursor: pointer;
}

.kx-meta .j-mobile-share:hover {
    color: var(--theme-hover);
}

.kx-meta .share-icon {
    color: var(--theme-light-color);
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    vertical-align: top;
}

.kx-meta .share-icon:hover {
    color: var(--theme-hover);
}

.kx-meta .weibo:hover {
    color: #e05244 !important;
}

.kx-meta .wechat:hover {
    color: #44b549 !important;
}

.kx-meta .qq:hover {
    color: #22a4ff !important;
}

.kx-meta .qzone:hover {
    color: #fdbf2f !important;
}

.kx-meta .douban:hover {
    color: #33b045 !important;
}

.kx-meta .linkedin:hover {
    color: #0077b5 !important;
}

.kx-meta .facebook:hover {
    color: #44619d !important;
}

.kx-meta .twitter:hover {
    color: #55acee !important;
}

/* 更多链接样式 */
.kx-more {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 8px;
}

.kx-more:hover {
    color: var(--theme-hover);
    text-decoration: underline;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 12px 18px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination a:hover {
    background-color: #e60012;
    color: white;
}

.pagination .current {
    background-color: #e60012;
    color: white;
}

.pagination .prev, .pagination .next {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e60012;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #8b0000;
    transform: translateY(-3px);
}

/* Toast 提示 */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    margin-top: 15px;
    font-size: 14px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 8px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* HTML5 元素支持 */
article, section, main, aside, nav {
    display: block;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-item {
        margin-left: 15px;
    }
    
    .sidebar {
        width: 250px;
    }
    
    .list-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .list-image {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }
    
    .list-content {
        height: auto;
        min-height: 180px;
        width: 100%;
    }
    
    .game-list-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .game-thumbnail-container {
        height: 250px;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .game-image {
        height: 100px;
    }
    
    .qr-code-img {
        width: 160px;
        height: 160px;
    }
    
    /* 快讯相关响应式 */
    .kx-list .kx-date.fixed {
        width: 684px;
    }
    
    @media (max-width: 991px) {
        .kx-list .kx-new.fixed {
            left: 15px;
            margin-left: 0;
            right: 15px;
            width: auto;
        }
    }
}

/* 移动端统一响应式样式 - 确保移动端也实现相同效果 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 15px;
    }
    
    .navbar {
        margin-bottom: 10px;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .sidebar,.breadcrumb {
        display: none;
    }
    
    .sidebar-content {
        position: static;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-item {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        padding: 12px 15px;
        display: block;
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: block;
        min-width: 44px;
        min-height: 44px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .footer-links a {
        margin: 0 6px;
    }
    
    .list-item {
        flex-direction: column;
    }
    
    .list-image {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }
    
    .list-content {
        height: auto;
        min-height: 180px;
        width: 100%;
    }
    
    .list-item-title {
        font-size: 1.2rem;
    }
    
    .list-item-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .game-list-section {
        padding: 0px;
        margin-bottom: 25px;
    }
    
    .game-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .game-list-title {
        font-size: 1.5rem;
        color: #ffcc00 !important; /* 移动端改为 #ffcc00 颜色 */
    }
    
    .game-list-subtitle {
        color: #ffffff !important; /* 移动端副标题改为白色 */
    }
    
    .game-list-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-thumbnail-container {
        height: 280px;
    }
    
    .game-list-content {
        padding: 15px;
    }
    
    /* 移动端：强制游戏名称只显示一行 */
    .game-list-name {
        font-size: 1.2rem;
        line-height: 1.4;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1; /* 强制只显示1行 */
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        margin-bottom: 10px;
    }
    
    .game-list-name a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    
    /* 移动端：强制游戏描述显示3行 */
    .game-list-description {
        font-size: 0.9rem;
        line-height: 1.5;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* 强制显示3行 */
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        margin-bottom: 12px;
    }
    
    /* 移动端去掉.article-container、.wechat-section的样式 */
    .article-container {
        padding: 10px!important;
    }
    
    .wechat-section {
        background-color: transparent;
        margin-bottom: 0;
        padding: 0;
    }
    
    .wechat-section h2 {
        font-size: 1.5rem;
    }
    
    .search-guide-section, .tutorial-section {
        background-color: transparent!important;
        min-height: auto;
        width: 100%;
        padding: 0px;
        box-shadow: none!important;
        border: 0px;
    }
    
    .tutorial-container {
        flex: none;
    }
    
    .tutorial-image {
        width: 100px;
        height: 100px;
    }
    
    .tutorial-info {
        height: 100px;
        gap: 5px;
    }
    
    .tutorial-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tutorial-header h2 {
        text-align: center;
        width: 100%;
    }
    
    .tutorial-name, .tutorial-name a {
        font-size: 1.1rem;
    }
    
    .tutorial-link-title {
        font-size: 0.9rem;
    }
    
    .tutorial-link-date {
        font-size: 0.75rem;
    }
    
    .news-content {
        padding: 12px;
        min-height: 100px;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .news-content p {
        padding: 8px 10px;
        font-size: 0.9rem;
        backdrop-filter: blur(2px) brightness(0.95);
    }
    
    .list-header {
        padding: 15px;
    }
    
    .list-title {
        font-size: 1.5rem;
    }
    
    .list-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .game-recommend-section {
        padding: 15px;
    }
    
    .game-recommend-section h3 {
        font-size: 1.2rem;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .game-image {
        height: 100px;
    }
    
    .game-info {
        padding: 10px;
    }
    
    .game-title {
        font-size: 0.85rem;
    }
    
    .qr-code-img {
        width: 150px;
        height: 150px;
    }
    
    /* 移动端价格显示优化 */
    .game-list-meta {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    /* 快讯相关响应式 */
    .kx-list {
        padding: 0;
    }
    
    .kx-list .kx-date.fixed {
        margin-left: 0;
    }
    
    .kx-list .kx-img {
        max-width: 100%;
    }
    
    .kx-list .kx-img img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
    
    .kx-list .kx-new.fixed {
        left: 15px;
        margin-left: 0;
        right: 15px;
        width: auto;
    }
    
    .el-boxed .mix-tabs .kx-list {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .nav-logo span {
        font-size: 1.3rem;
    }

    .image-item {
        flex-direction: column;
    }
    
    .image-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 7/5;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .footer-links a {
        margin: 0 4px;
        display: inline-block;
    }
    
    .list-item-title {
        font-size: 1.1rem;
    }
    
    .game-list-container {
        grid-template-columns: 1fr;
    }
    
    .game-thumbnail-container {
        height: 280px;
    }
    
    .list-header {
        padding: 12px;
    }
    
    .list-title {
        font-size: 1.3rem;
    }
    
    .list-description {
        font-size: 0.85rem;
        padding: 0;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.5);
    }
    
    .game-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .game-item {
        flex-direction: row;
    }
    
    .game-image {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    
    .qr-code-img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 360px) {
    .footer-links a {
        margin: 0 3px;
    }
    
    .list-content {
        padding: 15px;
        width: 100%;
    }
    
    .list-item-title {
        font-size: 1rem;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .game-item {
        flex-direction: column;
    }
    
    .game-image {
        width: 100%;
        height: 100px;
    }
    
    .qr-code-img {
        width: 130px;
        height: 130px;
    }
    
    .list-title {
        font-size: 1.2rem;
    }
    
    .list-description {
        font-size: 0.8rem;
    }
}


	/* 悬浮按钮样式 - 固定在视口中间 */
			.floating-game-btn {
				position: fixed;
				top: 50%;
				transform: translateY(-50%);
				z-index: 1000;
				display: flex;
				flex-direction: column;
				align-items: center;
				transition: all 0.3s ease;
			}
			
			/* 在桌面端大屏幕显示 */
			@media (min-width: 1200px) {
				.floating-game-btn {
					left: calc((100% - 1200px) / 2 - 80px);
				}
			}
			
			@media (min-width: 992px) and (max-width: 1199px) {
				.floating-game-btn {
					left: calc((100% - 960px) / 2 - 70px);
				}
			}
			
			.floating-game-btn .btn-main {
				background-color: #ff3b30;
				color: white;
				border: none;
				padding: 12px 20px;
				border-radius: 25px;
				cursor: pointer;
				font-weight: bold;
				font-size: 16px;
				box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
				transition: all 0.3s ease;
				writing-mode: vertical-rl;
				text-orientation: mixed;
				letter-spacing: 2px;
				white-space: nowrap;
			}
			
			.floating-game-btn .btn-main:hover {
				background-color: #ff1f1f;
				box-shadow: 0 6px 16px rgba(255, 59, 48, 0.4);
				transform: translateY(-2px);
			}
			
			.floating-game-btn .qr-container {
				position: absolute;
				left: 100%;
				top: 50%;
				transform: translateY(-50%) scale(0.9);
				opacity: 0;
				visibility: hidden;
				transition: all 0.3s ease;
				margin-left: 15px;
				background: white;
				padding: 15px;
				border-radius: 10px;
				box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
				width: 200px;
				text-align: center;
				pointer-events: none;
				z-index: 1000;
			}
			
			.floating-game-btn:hover .qr-container {
				transform: translateY(-50%) scale(1);
				opacity: 1;
				visibility: visible;
				pointer-events: auto;
			}
			
			.floating-game-btn .qr-img {
				width: 170px;
				height: 170px;
				border-radius: 5px;
				margin-bottom: 10px;
			}
			
			.floating-game-btn .qr-title {
				font-weight: bold;
				color: #333;
				margin: 0;
				font-size: 16px;
			}
			
			.floating-game-btn .qr-desc {
				color: #666;
				font-size: 12px;
				margin: 5px 0 0 0;
				line-height: 1.4;
			}
			
			/* 响应式调整 */
			@media (max-width: 1200px) {
				.floating-game-btn {
					left: 10px;
				}
				
				.floating-game-btn .btn-main {
					padding: 10px 16px;
					font-size: 14px;
				}
				
				.floating-game-btn .qr-container {
					width: 180px;
					padding: 12px;
				}
				
				.floating-game-btn .qr-img {
					width: 150px;
					height: 150px;
				}
			}
			
			@media (max-width: 992px) {
				.floating-game-btn {
					display: none; /* 在较小屏幕隐藏悬浮按钮 */
				}
			}