/* ============================================
   INDEX.HTML - 首页样式
   ============================================ */

/* 英雄区 */
.hero {
    height: 60vh;
    background: linear-gradient(to right, rgba(18, 15, 30, 0.8), rgba(18, 15, 30, 0.4)), url('../../images/banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #ddd;
}

.coupon {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: monospace;
}

/* 英雄区 - 全屏轮播 Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    overflow: hidden;
    margin-bottom: 0;
}

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

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 15, 30, 0.85) 0%, rgba(18, 15, 30, 0.4) 50%, rgba(18, 15, 30, 0.2) 100%);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #ddd;
    line-height: 1.5;
}

.banner-content .btn {
    float: none;
}

/* Banner 左右箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #020302;
    border: 0px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
}

.hero-banner:hover .banner-arrow {
    opacity: 1;
}

.banner-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.banner-arrow svg {
    width: 22px;
    height: 22px;
}

.banner-arrow-left {
    left: 20%;
}

.banner-arrow-right {
    right: 20%;
}

/* Banner 指示器 */
.banner-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.indicator.active {
    background: var(--primary);
    border-color: #fff;
    transform: scale(1.2);
}

/* 快捷入口 */
.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.card-quick {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.card-quick img {
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
}

.card-quick:hover img {
    transform: scale(1.05);
}

.card-text {
    position: absolute;
    right: 30px;
    transform: translateY(-50%);
    text-align: left;
    width: 80%;
    top: 50%;
    max-width: 250px;
}

.card-text h3 {
    font-size: 40px;
    margin-bottom: 5px;
    height: 160px;
    font-weight: normal;
    line-height: 50px;
}

.card-text p {
    font-family: "Poppins", Sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 40px;
    color: #ffffff;
}

/* 通用区块标题 */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    display: block;
}

/* 首页热门游戏 */
.hot-games {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.game-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-img {
    height: 260px;
    overflow: hidden;
}

.game-info {
    padding: 20px;
}

.tags {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.tag {
    font-size: 12px;
    padding: 2px 8px;
    font-weight: 400;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    white-space: nowrap;
}

.tag:hover {
    background-color: #fff;
    color: #000;
}

/* 优势模块 */
.features {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 80px;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 12px;
    flex: 1;
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Features 箭头按钮 */
.features-arrow-left,
.features-arrow-right {
    display: none;
}

/* 新闻模块 */
.news-section {
    margin-bottom: 80px;
}

.news-slider-wrapper {
    position: relative;
}

.news-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px;
    cursor: grab;
    user-select: none;
}

.news-slider::-webkit-scrollbar {
    display: none;
}

.news-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 首页轮播新闻卡片 */
.home-news-card {
    min-width: 450px;
    flex: 0 0 450px;
    background: var(--bg-panel);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.home-news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.home-news-card:hover img {
    transform: scale(1.05);
}

.home-news-card-content {
    padding: 20px;
    color: #fff;
}

.home-news-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.home-news-card-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.5;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-news-card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

 
/* 新闻卡片包装器 */
.news-card-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.news-card-wrapper:hover {
    text-decoration: none;
    color: inherit;
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-wrapper:hover .news-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-card-wrapper:hover .news-card-title {
    color: var(--primary);
}

 

.read-more {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
    transition: all 0.2s;
}

.read-more:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-hover);
}

.news-card {
    display: flex;
    gap: 30px;
    background: var(--bg-panel);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 218px;
    align-items: stretch;
}

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

.news-card.active {
    background: #1e2535;
}

.news-card-image {
    height: 100%;
    width: 380px;
    overflow: hidden;
    border-radius: 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    flex: 1;
    padding: 28px 30px 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.news-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.news-card-title a:hover {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 0.95rem;
    color: #8b9dc3;
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.news-author span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.news-date {
    font-size: 0.9rem;
    color: #8b9dc3;
    position: relative;
    padding-left: 12px;
}

.news-date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        height: auto;
    }

    .news-card-image {
        flex: none;
        height: 200px;
    }

    .news-card-content {
        padding: 20px;
    }

    .news-card-title {
        font-size: 1.1rem;
    }
}

/* 新闻列表页面 */
.news-page {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 30px;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-card {
    display: flex;
    gap: 25px;
    background: var(--bg-panel);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 218px;
}

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

.news-card.active {
    background: #1e2535;
}

.news-card-image {
    height: 218px;
    overflow: hidden;
}

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

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    flex: 1;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.news-card-title a:hover {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 10px;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-author img {
    width: 18px;
    height: 18px;
}

.news-author span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-panel);
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover {
    background: rgba(255, 59, 92, 0.2);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    color: #fff;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 5px;
}

/* 侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 25px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: 12px;
}

.widget-list li:last-child {
    margin-bottom: 0;
}

.widget-list li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: block;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.widget-list li:last-child a {
    border-bottom: none;
}

.widget-list li a:hover {
    color: var(--primary);
}
 

/* 响应式 */
@media (max-width: 1024px) {
    .news-page {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .news-page {
        padding: 0 15px;
        gap: 20px;
    }

    /* 移动端侧边栏样式 */
    .news-sidebar {
        order: -1;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .news-sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar-widget {
        min-width: 200px;
        flex-shrink: 0;
        padding: 20px;
    }

    .widget-title {
        font-size: 1rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .widget-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .widget-list li {
        margin: 0;
    }

    .widget-list a {
        display: inline-block;
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* 新闻卡片样式 */
    .news-card {
        flex-direction: column;
        height: auto;
    }

    .news-card-image {
        flex: none;
        height: 200px;
        width: 100%;
    }

    .news-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-card-content {
        padding: 20px;
    }

    .news-card-title {
        font-size: 1rem;
        line-height: 1.4;
    }

    .news-card-excerpt {
        font-size: 0.85rem;
        margin: 10px 0;
    }

    .news-card-meta {
        margin-top: 15px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}// ... existing code ...

/* 响应式 */
@media (max-width: 1024px) {
    .news-page {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        order: -1;
        position: static;
    }
}

@media (max-width: 768px) {
    .news-page {
        padding: 0 15px;
        gap: 20px;
    }

    /* 移动端侧边栏样式 - 移除 sticky 定位 */
    .news-sidebar {
        order: -1;
        position: static !important;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .news-sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar-widget {
        min-width: 200px;
        flex-shrink: 0;
        padding: 20px;
    }

    .widget-title {
        font-size: 1rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .widget-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .widget-list li {
        margin: 0;
    }

    .widget-list a {
        display: inline-block;
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* 新闻卡片样式 */
    .news-card {
        flex-direction: column;
        height: auto;
    }

    .news-card-image {
        flex: none;
        height: 200px;
        width: 100%;
    }

    .news-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-card-content {
        padding: 20px;
    }

    .news-card-title {
        font-size: 1rem;
        line-height: 1.4;
    }

    .news-card-excerpt {
        font-size: 0.85rem;
        margin: 10px 0;
    }

    .news-card-meta {
        margin-top: 15px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .news-page {
        padding: 0 10px;
    }

    .news-sidebar {
        flex-direction: column;
        overflow-x: visible;
    }

    .sidebar-widget {
        min-width: auto;
        width: 100%;
        padding: 15px;
    }

    .news-card-image {
        height: 160px;
    }

    .news-card-title {
        font-size: 0.95rem;
    }

    .news-card-content {
        padding: 15px;
    }

    .news-author img {
        width: 20px;
        height: 20px;
    }

    .news-author span {
        font-size: 12px;
    }

    .news-date {
        font-size: 12px;
    }
}



/**
 * contact us
 */
.elementor-widget-container {
    line-height: 1.6;
    font-size: 12px;
}

.elementor-widget-container p {
    padding-bottom: 20px;
}

.elementor-widget-container p a {
    color: var(--primary);
}


/* ========== Gold 购买页面样式 ========== */

/* 主要内容区域布局 */
.main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    margin-top: 30px;
}

/* 数量选择面板 */
.quantity-panel {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 25px;
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.qty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

/* 数量按钮 */
.qty-btn {
    width: 100%;
     background: #24303f;
    border: 1px solid transparent;
    color: var(--text-main);
    padding: 15px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qty-btn:hover {
    background: #2a2a3d;
    border-color: rgba(255, 255, 255, 0.1);
}

.qty-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 59, 92, 0.3);
}

/* 数量按钮中的折扣标签 */
.qty-btn .qty-discount-badge {
    position: absolute;
    top: -8px;
    right: -5px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 10px;
    z-index: 2;
    white-space: nowrap;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 4px rgba(46, 204, 113, 0.3);
    line-height: 1;
}

/* 自定义输入栏 */
.custom-input-bar {
    display: flex;
    align-items: center;
    background: #15151e;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.input-btn:hover {
    background: #333;
}

.qty-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--primary);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    outline: none;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* 价格面板 */
.price-panel {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
}

.price-display {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.price-text-group {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-top: 4px;
}

.gold-icon {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: gold;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.summary-value {
    color: white;
    font-weight: 600;
}

.discount-highlight {
    color: #00d2ff;
}

.buy-btn {
    width: 100%;
    background: var(--primary);
    border: none;
    color: white;
    padding: 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 10px;
}

.buy-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Gold 页面响应式 */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .header-cart-wrap {
        top: 90px;
        right: 15px;
    }

    .cart-panel {
        width: 100%;
        right: -100%;
    }
}

/* ========== 商城筛选 & 商品模块 ========== */
/* 顶部标签页 */
.main-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--main);
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #26232e;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 59, 92, 0.3);
}

/* 服务器选择 */
.server-section {
    margin-bottom: 25px;
}

.server-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.server-btn {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.server-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.server-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* 分类选择 */
.category-section {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 自定义滚动条 */
.category-grid::-webkit-scrollbar {
    width: 6px;
}

.category-grid::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.cat-item {
    display: flex;
    align-items: center;
    background: var(--bg-inner);
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    user-select: none;
}

.cat-item:hover {
    background: #2a2a3d;
}

.cat-item.active {
    background: var(--primary);
    color: #fff;
}

.cat-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #555;
    border-radius: 3px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.cat-item.active .cat-checkbox {
    background: #fff;
    border-color: #fff;
    position: relative;
}

.cat-item.active .cat-checkbox::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 9px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
    margin-left: 3px;
}

.cat-text {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 已选标签 */
.selected-tags-bar {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-check {
    background: #fff;
    color: var(--primary);
    border-radius: 2px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    position: relative;
}

.tag-check::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 7px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* 列表头部控制栏 */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.list-title {
    font-size: 20px;
    font-weight: 700;
}

.controls {
    display: flex;
    gap: 15px;
}

.search-box {
    position: relative;
}

.search-input {
    background: var(--bg-inner);
    border: 1px solid #333;
    color: #fff;
    padding: 10px 40px 10px 15px;
    border-radius: 6px;
    width: 250px;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    cursor: pointer;
}

.sort-select {
    background: var(--bg-inner);
    border: 1px solid #333;
    color: #fff;
    padding: 10px 35px 10px 15px;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* 商品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 71, 87, 0.3);
}

/* 卡片头部（图片区域） */
.card-header {
    position: relative;
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px 12px 0 0;
    padding: 20px;
    overflow: visible;
}

/* 商品图片 */
.item-img {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.card:hover .item-img {
    transform: scale(1.05);
}

/* 商品卡片中的折扣标签 */
.card .card-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #FF4757;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
    white-space: nowrap;
    min-width: 50px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    line-height: 1.2;
}

/* 卡片内容区域 */
.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 商品标题 */
.item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

/* 价格行 */
.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.new-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FF4757;
}

/* 商品卡片操作区域 */
.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

/* 数量选择器 */
.card .qty-selector {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 数量按钮（商品卡片内） */
.card .qty-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.card .qty-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.card .qty-btn:active {
    transform: scale(0.95);
}

/* 数量输入框 */
.card .qty-input {
    width: 40px;
    height: 36px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    outline: none;
}

/* 加入购物车按钮 */
.card .add-to-cart {
    width: 42px;
    height: 42px;
    background: #FF4757;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card .add-to-cart:hover {
    background: #ff6b7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.card .add-to-cart:active {
    transform: translateY(0);
}

/* Boosting 商品卡片样式 */
.card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

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

/* 图片包装器 */
.img-wrapper {
    height: 220px;
    width: 100%;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

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

.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s;
}

.card:hover .item-img {
    transform: scale(1.05);
}

/* 商品卡片中的折扣标签 */
.card .card-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #fff;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0;
}

.features-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.features-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.continue-btn {
    background: var(--primary);
    border: none;
    color: white;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: auto;
    letter-spacing: 0.5px;
}

.continue-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* HOT 标签 */
.hot-badge {
    background: #ffaa00;
    color: #000;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 服务器按钮样式优化 */
.server-btn {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.server-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.server-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-tabs {
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 45vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .quick-links,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .hot-games {
        grid-template-columns: 1fr;
    }

    .list-header {
        flex-direction: column;
        align-items: stretch;
    }

    .controls {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-banner {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
    }

    .banner-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .banner-arrow {
        width: 40px;
        height: 40px;
    }

    .banner-arrow svg {
        width: 18px;
        height: 18px;
    }

    .banner-arrow-left {
        left: 10px;
    }

    .banner-arrow-right {
        right: 10px;
    }

    .banner-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .features {
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 10px 5px 15px;
        gap: 15px;
        justify-content: flex-start;
    }

    .features::-webkit-scrollbar {
        height: 4px;
    }

    .features::-webkit-scrollbar-track {
        background: var(--bg-inner);
        border-radius: 2px;
    }

    .features::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 2px;
    }

    .features::-webkit-scrollbar-thumb:hover {
        background: var(--primary-hover);
    }

    .features {
        -ms-overflow-style: none;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) var(--bg-inner);
    }

    .feature-item {
        min-width: 260px;
        flex: 0 0 260px;
    }

    .features-arrow-left,
    .features-arrow-right {
        display: flex;
    }

    .features-arrow-left {
        left: 0;
    }

    .features-arrow-right {
        right: 0;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        height: 50vh;
        min-height: 350px;
        max-height: 500px;
    }

    .banner-content h1 {
        font-size: 1.6rem;
    }

    .banner-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .banner-arrow {
        width: 36px;
        height: 36px;
    }

    .banner-arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* --- 顶部欢迎区域 --- */
.welcome-banner {
    background-color: var(--bg-panel);
    border-left: 5px solid var(--primary);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.welcome-banner h1 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.welcome-banner p {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- 主体布局 (Grid) --- */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* --- 左侧表单区域 --- */
.form-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: span 2;
}

.form-group {
    margin-bottom: 10px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-main);
}

.required-mark {
    color: var(--primary);
    margin-left: 4px;
}

/* 输入框与下拉框样式 */
.form-control {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    background-color: #2a2a3d;
}

/* 自定义 Select 箭头 */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

/* 错误提示文字 */
.error-msg {
    display: block;
    color: var(--error-color);
    font-size: 12px;
    margin-top: 6px;
    opacity: 0;
    transition: opacity 0.3s;
    height: 0;
}

.form-group.has-error .error-msg {
    opacity: 1;
    height: auto;
}

.form-group.has-error .form-control {
    border-color: rgba(255, 77, 79, 0.5);
}

/* Other Contact Means 组合框 */
.contact-combo {
    display: flex;
    gap: 10px;
}

.contact-combo select {
    width: 35%;
}

.contact-combo input {
    width: 65%;
}

/* 提交按钮 */
.submit-btn-container {
    margin-top: 30px;
    text-align: center;
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
    width: 100%;
    max-width: 400px;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

/* --- 右侧侧边栏 (Quick Contact) --- */
.sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-card {
    background-color: var(--bg-panel);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.contact-card:hover {
    transform: translateY(-2px);
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.discord-icon {
    background: #5865F2;
    color: white;
}

.twitter-icon {
    background: #000000;
    color: white;
    border: 1px solid #333;
}

.email-icon {
    background: #007bff;
    color: white;
}

.contact-info {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-highlight {
    color: var(--primary);
    font-weight: 500;
}

.illustration-placeholder {
    margin-top: 30px;
    text-align: center;
    opacity: 0.8;
}

.illustration-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* --- 响应式调整 --- */
@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .contact-combo {
        flex-direction: column;
    }

    .contact-combo select,
    .contact-combo input {
        width: 100%;
    }
}

/* 热门游戏轮播 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hot-games-wrapper {
    position: relative;
    margin-bottom: 80px;
}

.hot-games-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px;
    cursor: grab;
    user-select: none;
}

.hot-games-slider::-webkit-scrollbar {
    display: none;
}

.hot-games-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hot-games-slider::-webkit-scrollbar-track {
    background: var(--bg-inner);
    border-radius: 4px;
}

.hot-games-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.hot-games-slider::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

.game-card {
    position: relative;
    min-width: 300px;
    flex: 0 0 300px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.02);
}

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

.game-card:hover img {
    transform: scale(1.08);
}

.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent);
}

.game-card-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.game-card-overlay .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.game-card-overlay .tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.game-card-overlay .tag:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}

/* 轮播箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 59, 92, 0.4);
}

.hot-games-wrapper:hover .slider-arrow,
.news-slider-wrapper:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--primary-hover);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-arrow-left {
    left: 10px;
}

.slider-arrow-right {
    right: 10px;
}

.slider-arrow:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
}

/* News 区域 */
.news-section {
    margin-top: 60px;
}

.news-section .section-title {
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 新闻图片区域 */
.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

/* 悬停遮罩层 */
.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 30, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 25px;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-overlay-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.news-overlay-content .news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-decoration: underline;
    text-decoration-color: #FF4757;
    text-underline-offset: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-overlay-content .news-excerpt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    display: inline-block;
    background: #0066FF;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: underline;
    text-align: center;
    transition: all 0.3s;
    margin-top: 10px;
}

.read-more-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

/* 新闻内容区域（正常状态） */
.news-content {
    padding: 20px;
}

.news-content .news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 12px 0;
    text-decoration: underline;
    text-decoration-color: #FF4757;
    text-underline-offset: 3px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content .news-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* G3页面 News 区域 */
.g3-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.g3-news-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.g3-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 新闻图片区域 */
.g3-news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.g3-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.g3-news-card:hover .g3-news-image img {
    transform: scale(1.05);
}

/* 正常内容区域 */
.g3-news-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.g3-news-content .g3-news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 12px 0;
    text-decoration: underline;
    text-decoration-color: #FF4757;
    text-underline-offset: 3px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g3-news-content .g3-news-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g3-news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 悬停遮罩层 - 覆盖整个卡片 */
.g3-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 25, 40, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.g3-news-card:hover .g3-news-overlay {
    opacity: 1;
    pointer-events: auto;
}

.g3-news-overlay-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.g3-news-overlay .g3-news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-decoration: underline;
    text-decoration-color: #FF4757;
    text-underline-offset: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g3-news-overlay .g3-news-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g3-news-overlay .g3-news-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-top: auto;
    margin-bottom: 20px;
}

.g3-read-more-btn {
    display: block;
    width: 100%;
    background: #0066FF;
    color: white;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: underline;
    text-align: center;
    transition: all 0.3s;
    margin-top: auto;
}

.g3-read-more-btn:hover {
    background: #0052cc;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.5);
}

/* All Games 页面 */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.filter-btn.active {
    background: #FF4757;
    border-color: #FF4757;
    color: white;
}

/* 字母筛选 */
.letter-filters {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.letter-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.letter-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.letter-btn.active {
    background: #FF4757;
    border-color: #FF4757;
    color: white;
}

/* 游戏卡片网格 */
.all-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.all-game-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.all-game-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.all-game-card.hidden {
    display: none;
}

.all-game-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FF4757;
    margin: 0 0 12px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    line-height: 1.3;
}

.all-game-card-services {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========== Items 商品卡片样式 ========== */

/* 操作行 */
.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
}

/* 数量控制 */
.product-qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 5px;
}

/* 数量按钮 */
.product-qty-btn {
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border: none;
    color: var(--text-main);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.product-qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 数量值 */
.product-qty-val {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* 购物车按钮 */
.product-cart-btn {
    background: var(--primary);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.product-cart-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* Reviews 区域 */
.reviews-section {
    margin-top: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.view-more {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.view-more:hover {
    color: var(--primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}


.reviews-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
}

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

.reviewer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.star {
    color: #FF4757;
    font-size: 1.2rem;
}

.review-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* FAQ 区域 */
.faq-section {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 3px solid #FF4757;
}

.faq-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-content p {
    margin: 0 0 15px 0;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-content ol li {
    margin-bottom: 10px;
}

.faq-content ol li:last-child {
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.feature-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    font-style: italic;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.highlight-orange {
    color: #FF6B4A;
}

.link-orange {
    color: #FF6B4A;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.link-orange:hover {
    opacity: 0.8;
}

/* 新闻详情页样式 */
.news-detail-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    padding: 10px 0;
}

/* 左侧新闻内容 */
.news-content-main {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    line-height: 1.8;
    color: var(--text-color);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.text-link {
    color: #ff6b4a;
    text-decoration: none;
    transition: color 0.3s;
}

.text-link:hover {
    color: #ff8566;
    text-decoration: underline;
}

.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-color);
}

/* 上下篇导航 */
.article-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.prev-post,
.next-post {
    cursor: pointer;
}

.next-post {
    text-align: right;
}

.nav-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    font-size: 16px;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s;
}

.nav-title:hover {
    color: var(--primary);
}

/* 右侧边栏 */
.news-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-info {
    flex: 1;
}

.post-title {
    font-size: 15px;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s;
}

.post-title:hover {
    color: var(--primary);
}
 

/* 响应式 */
@media (max-width: 1024px) {
    .news-page {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .news-page {
        padding: 0 15px;
    }

    .news-card {
        flex-direction: column;
        height: auto;
    }

    .news-card-image {
        flex: none;
        height: 200px;
        width: 100%;
    }

    .news-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-card-content {
        padding: 20px;
    }

    .news-card-title {
        font-size: 1rem;
        line-height: 1.4;
    }

    .news-card-excerpt {
        font-size: 0.85rem;
        margin: 10px 0;
    }

    .news-card-meta {
        margin-top: 15px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .news-card-image {
        height: 160px;
    }

    .news-card-title {
        font-size: 0.95rem;
    }

    .news-card-content {
        padding: 15px;
    }

    .news-author img {
        width: 20px;
        height: 20px;
    }

    .news-author span {
        font-size: 12px;
    }

    .news-date {
        font-size: 12px;
    }
}
 

/* 新闻卡片链接 */
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-link:hover .news-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-card-link:hover .news-card-title {
    color: var(--primary);
}

/* ... existing code ... */

.news-card-link:hover .news-card-title {
    color: var(--primary);
}

/* ============================================
   新闻详情页移动端响应式样式
   ============================================ */

/* 平板端 */
@media (max-width: 1024px) {
    .news-detail-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-detail-container .news-sidebar {
        position: static !important;
    }
}

/* 移动端 */
@media (max-width: 768px) {
    .news-detail-container {
        padding: 0 15px;
        gap: 20px;
    }

    .news-detail-container .news-content-main {
        padding: 15px;
    }

    .news-detail-container .article-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .news-detail-container .article-date {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .news-detail-container .featured-image {
        margin: 15px -15px;
    }

    .news-detail-container .featured-image img {
        border-radius: 0;
    }

    .news-detail-container .article-body p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .news-detail-container .article-tags {
        margin: 20px 0;
    }

    .news-detail-container .tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .news-detail-container .article-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .news-detail-container .prev-post,
    .news-detail-container .next-post {
        padding: 15px;
    }

    .news-detail-container .nav-label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .news-detail-container .nav-title {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* 移动端侧边栏 - 横向滚动 */
    .news-detail-container .news-sidebar {
        order: -1;
        position: static !important;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .news-detail-container .news-sidebar::-webkit-scrollbar {
        display: none;
    }

    .news-detail-container .sidebar-widget {
        min-width: 260px;
        flex-shrink: 0;
    }

    .news-detail-container .widget-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .news-detail-container .recent-post-item {
        gap: 10px;
    }

    .news-detail-container .recent-post-item img {
        width: 50px;
        height: 50px;
    }

    .news-detail-container .post-title {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .news-detail-container {
        padding: 0 10px;
        gap: 15px;
    }

    .news-detail-container .news-content-main {
        padding: 12px;
    }

    .news-detail-container .article-title {
        font-size: 1.2rem;
    }

    .news-detail-container .article-body p {
        font-size: 0.9rem;
    }

    .news-detail-container .featured-image {
        margin: 12px -12px;
    }

    /* 小屏手机 - 侧边栏改为纵向 */
    .news-detail-container .news-sidebar {
        flex-direction: column;
        overflow-x: visible;
    }

    .news-detail-container .sidebar-widget {
        min-width: 100%;
    }
}