:root {
    --primary-dark: #1e3c72;
    --primary-dark-rgb: 30, 60, 114;
    --primary: #2a5298;
    --primary-rgb: 42, 82, 152;
    --primary-light: #4b6cb7;
    --primary-light-rgb: 75, 108, 183;
    --accent: #f39c12;
    --accent-rgb: 243, 156, 18;
    --accent-dark: #e67e22;
    --ticker-start: #1a2a6c;
    --ticker-mid: #b21f1f;
    --ticker-end: #fdbb2d;
    --ticker-border: #fdb52d;
    --link: #3498db;
    --link-hover: #2980b9;
    --welcome-start: #667eea;
    --welcome-end: #764ba2;
    --recommendation-bg: #f8f7d7;
    --recommendation-text: #f81936af;
    --guanzhu-bg: #fef5e8;
}

/* 全局居中的核心容器 */
body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
}

/* 语言切换器 */
.lang-switcher {
    position: fixed;
    top: 42px;
    right: 12px;
    z-index: 1001;
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.95);
    padding: 4px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    backdrop-filter: blur(5px);
    max-width: calc(100% - 24px);
}
.lang-switcher select {
    border: none;
    background: transparent;
    padding: 5px 26px 5px 12px;
    border-radius: 16px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23555' d='M0 1l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    width: auto;
    min-width: max-content;
}

@media (max-width: 480px) {
    .lang-switcher {
        top: 40px;
        right: 8px;
        padding: 2px;
        border-radius: 16px;
    }
    .lang-switcher select {
        font-size: 14px;
        padding: 4px 20px 4px 8px;
        background-position: right 8px center;
    }
}

/* 滚动通知栏 */
.update-notice {
    background: linear-gradient(90deg,
        var(--ticker-start) 0%,
        var(--ticker-mid) 50%,
        var(--ticker-end) 100%
    );
    color: white;
    height: 38px;
    line-height: 38px;
    top: 0;
    z-index: 1000;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border-bottom: 2px solid var(--ticker-border);
    text-align: center;
    font-size: 13px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
}

.ticker-track { animation: tickerScroll 9s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
    display: block;
    height: 38px;
    line-height: 38px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 16px;
    transition: background 0.2s;
}

.ticker-item:hover { background: rgba(255,255,255,0.15); }
.ticker-item .dot { color: var(--ticker-end); margin-right: 4px; }

.new-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin-right: 5px;
    vertical-align: baseline;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #ff6b6b);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: newShimmer 2s linear infinite;
}

@keyframes newShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes tickerScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-152px); }
}

/* 轮播图 */
.carousel {
    max-width: 600px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.carousel-images {
    display: flex;
    animation: slide 15s infinite;
}

.carousel-images img {
    width: 100%;
    flex-shrink: 0;
}

@keyframes slide {
    0% { transform: translateX(0); }
    20% { transform: translateX(-100%); }
    40% { transform: translateX(-200%); }
    60% { transform: translateX(-300%); }
    80% { transform: translateX(-400%); }
    100% { transform: translateX(-500%); }
}

/* 主容器 */
.container {
    max-width: 600px;
    text-align: center;
    padding-top: 86px;
    padding-bottom: 40px;
    margin: 0 auto;
}

.icon-link {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.icon-link:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(var(--primary-light-rgb), 0.4);
    border-color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.6));
}

.icon-link:active .game-icon {
    transform: scale(0.95);
    transition: all 0.1s;
}

/* 游戏标题区域 */
.game-title-container {
    margin: 0px 0;
    text-align: center;
}

.game-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.title-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    letter-spacing: 2px;
}

.title-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: -5px;
    font-style: italic;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 80%;
}

.decoration-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.decoration-ball {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 10px;
}

@media (max-width: 480px) {
    .game-title { font-size: 1.8rem; }
}

/* 按钮组间距 */
h2 {
    font-weight: bold;
    border-bottom: 2px solid #eee;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 20px;
    font-size: 15px;
    margin: 4px 0 10px 0;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

h2:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* 下载按钮 */
.game-card {
    background: white;
    border-radius: 0px;
    padding: 10px;
    margin: 0px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.promo-video {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    margin: 16px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #eef2f7;
    overflow: hidden;
}

.promo-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    background: #000;
}

.game-header { margin-bottom: 20px; }

.game-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 0px;
}

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

.download-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.download-bt {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
    max-width: 150px;
}

.download-bt span { font-size: 16px; }
.download-bt small { font-size: 12px; opacity: 0.8; margin-top: 3px; }

.android-bt { background: linear-gradient(135deg, #4CAF50, #2E7D32); }
.ios-bt { background: linear-gradient(135deg, #2196F3, #0D47A1); }

.download-bt:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 简化导航 */
.simplified-nav {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    padding: 5px 0;
    border-radius: 0px;
    margin: 0px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.simplified-nav .menu-item {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    cursor: pointer;
}

.simplified-nav .menu-item.active {
    background: rgba(255,255,255,0.2);
    font-weight: bold;
}

.nav-short { display: none; }
@media (max-width: 768px) {
    .nav-long { display: none; }
    .nav-short { display: inline; }
}

.simplified-nav .menu-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.nav-icon { font-size: 18px; }

/* 菜单容器 */
.info {
    padding: 0px;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #fff;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    margin-top: 0px;
    overflow-y: auto;
}

/* 标签内容 */
.tab-content {
    width: 100%;
    box-sizing: border-box;
    align-self: stretch;
    overflow-x: hidden;
    padding: 20px;
    display: none;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #f0f0f0;
    max-width: 100%;
    animation: fadeSlideIn 0.3s ease;
}

.tab-content::-webkit-scrollbar { width: 6px; }
.tab-content::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 10px; }
.tab-content::-webkit-scrollbar-thumb { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); border-radius: 10px; }
.tab-content::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, var(--accent-dark), #d35400); }

.tab-content.active { display: block; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 礼包按钮 */
#gift .copy-text {
    cursor: pointer;
    padding: 6px 15px;
    background-color: var(--recommendation-bg);
    border: none;
    display: inline-block;
    margin: 5px 0px 10px;
    user-select: none;
    border-radius: 4px;
    color: #000000bd;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

#gift .copy-text:hover {
    background-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

#gift .copy-text:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#gift .custom-link {
    display: inline-block;
    margin: 5px 0px;
    padding: 6px 15px;
    background-color: var(--link);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#gift .custom-link:hover {
    background-color: var(--link-hover);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

#gift p, #gift div:not(.copy-text) {
    line-height: 1.8;
    font-size: 14px;
}

#introduce a[href*="youtube"],
#news a[href*="youtube"],
#gift a[href*="youtube"] {
    display: inline-block;
    margin: 10px 0;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

#introduce a[href*="youtube"]:hover,
#news a[href*="youtube"]:hover,
#gift a[href*="youtube"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #cc0000, #990000);
}

@media (max-width: 768px) {
    .tab-content {
        padding: 15px;
        max-height: 500px;
    }

    #gift .copy-text {
        padding: 5px 0px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    #gift .custom-link {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .tab-content { max-height: 450px; }
    #introduce .wenzhang p a { font-size: 14px; }
}

.copy-text {
    cursor: pointer;
    padding: 0px;
    background-color: #04fefe;
    border: 0px solid #0e0e0e;
    display: inline-block;
    margin-bottom: 5px;
    user-select: none;
    border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.txt {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-between;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.footer a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer a img:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover { color: rgb(255, 42, 0); }


/* ===== 游戏介绍 ===== */
.game-intro {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    margin: 16px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #eef2f7;
}

.game-intro-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.game-intro-icon { font-size: 22px; }

.game-intro-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1f2a44;
}

.game-intro-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #4a5568;
    margin: 0 0 14px 0;
}

/* 新游推荐 */
.game-recommendations {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    z-index: 1000;
}

.recommendation-trigger {
    writing-mode: vertical-rl;
    padding: 10px 5px;
    background: var(--recommendation-bg);
    color: var(--recommendation-text);
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    transition: 0.3s;
}

.recommendation-trigger:hover {
    background: var(--recommendation-text);
    color: var(--recommendation-bg);
}

.recommendation-content {
    display: none;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 5px;
}

.recommendation-item { text-align: center; }

.recommendation-item img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.recommendation-item span {
    display: block;
    font-size: 10px;
    color: #333;
}

.game-recommendations:hover .recommendation-content { display: block; }

/* ===== 评论系统 ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s;
}

.popup-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 300px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.popup-header { margin-bottom: 15px; position: relative; }

.popup-header h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.popup-close:hover {
    transform: rotate(90deg);
    background: #ff6b81;
}

.popup-qrcode {
    width: 100%;
    max-height: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    margin: 0 auto 0px;
}

.popup-footer { margin-top: 10px; }

.popup-footer p {
    color: #666;
    margin: 5px 0;
    font-size: 0.9rem;
}

.popup-direct {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.popup-direct:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 社交按钮区 */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 0px 0;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 0px 5px;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-btn img {
    width: 20px;
    height: 20px;
    margin-right: 0px;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.qq-btn { background: #12B7F5; }
.wechat-btn { background: #07C160; }
.official-btn { background: var(--accent); }

/* ===== Discord Plugin ===== */
.discord-plugin {
    background: #2c2f33;
    border-radius: 16px;
    overflow: hidden;
    margin: 16px 0;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.25);
    border: 1px solid #40444b;
}

.discord-plugin-header {
    background: #5865F2;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.discord-logo {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.discord-plugin-body {
    padding: 20px;
    text-align: center;
    color: #dcddde;
}

.discord-server-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.discord-online {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    color: #b9bbbe;
    margin-bottom: 18px;
}

.discord-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3ba55d;
    box-shadow: 0 0 8px #3ba55d;
}

.discord-join-btn {
    display: inline-block;
    background: #3ba55d;
    color: #fff;
    padding: 12px 28px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.discord-join-btn:hover {
    background: #2d7d46;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 165, 93, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 480px) {
    .popup-content { width: 95%; padding: 15px; }
    .social-btn { padding: 0px 5px; font-size: 0.8rem; }
    .social-btn img { width: 18px; height: 18px; }
    .discord-plugin-body { padding: 16px; }
    .discord-server-name { font-size: 16px; }
    .discord-join-btn { padding: 10px 22px; font-size: 13px; }
}

/* ===== 在线客服悬浮球 ===== */
.float-customer-service {
    position: fixed;
    right: 15px;
    bottom: 30px;
    z-index: 9999;
    animation: float 2s ease-in-out infinite;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.float-customer-service.collapsed {
    right: -50px;
    opacity: 0.85;
}

.float-service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}

.float-service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: url('float-service-icon.png') center/cover no-repeat;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    transition: all 0.3s;
}

.float-service-icon img {
    display: none;
}

.float-service-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4757;
    color: white;
    font-size: 12px;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: bold;
    border: 2px solid #fff;
    animation: pulse 1.5s ease-in-out infinite;
}

.float-service-text {
    margin-top: 5px;
    font-size: 12px;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.float-service-link:hover .float-service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

.float-service-link:hover .float-service-text {
    background: #4facfe;
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@media (max-width: 768px) {
    .float-customer-service { bottom: 70px; }
}

.float-service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(79, 172, 254, 0.3);
    animation: ripple 2s ease-out infinite;
    z-index: -1;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* 视频容器 */
.bili-video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bili-video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.bili-video-wrapper iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
}

@media (min-width: 480px) { .bili-video-wrapper iframe { height: 280px; } }
@media (min-width: 600px) { .bili-video-wrapper iframe { height: 338px; } }

/* 欢迎横幅 */
.welcome-banner {
    background: linear-gradient(135deg, var(--welcome-start) 0%, var(--welcome-end) 100%);
    color: white;
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.welcome-banner h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.welcome-banner p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

/* 最新动态卡片 */
.news-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-badge {
    background: var(--accent);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
}

.news-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

/* 移动端横幅 */
.welcome-banner p {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.4 !important;
}

.welcome-banner h4 { color: white !important; }

/* 底部关注公众号 */
.guanzhu {
    background: var(--guanzhu-bg);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
}

.guanzhu1 {
    color: var(--accent-dark);
    font-weight: bold;
    margin-bottom: 8px;
}

.guanzhu2 {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* 视频样式 */
.cropped-video {
    width: 100%;
    max-height: 270px;
    object-fit: cover;
    border: 3px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}


/* ===== 文章卡片 ===== */
.wenzhang {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border-radius: 20px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.54);
    transition: all 0.25s ease;
    border: 0px solid #eff3f8;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.wenzhang:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.12);
    border-color: #e4e9f0;
    background: #ffffff;
}

.article-left {
    flex-shrink: 0;
    line-height: 0;
}

.article-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
}

.article-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.article-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.article-title {
    margin: 0;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
    color: #1f2a44;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-title a:hover { color: var(--accent); }

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.article-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #7f8c8d;
    white-space: nowrap;
    flex-shrink: 0;
}

.meta-author { color: var(--accent-dark); font-weight: 500; }
.meta-date { color: #95a5a6; }

@media (max-width: 480px) {
    .article-icon { width: 70px; height: 70px; }
    .article-title { font-size: 14px; }
    .article-meta-row { gap: 10px; }
    .article-meta-row span { font-size: 11px; }
}

@media (max-width: 420px) { .meta-comments { display: none; } }
@media (max-width: 380px) { .meta-date { display: none; } }

/* ===== 开服安排表 ===== */
.server-schedule {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #eef2f7;
}

.schedule-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.schedule-icon { font-size: 20px; }

.schedule-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

.schedule-sub {
    font-size: 12px;
    opacity: 0.85;
    margin-left: auto;
    background: rgba(255,255,255,0.2);
    padding: 3px 12px;
    border-radius: 20px;
}

.schedule-table { padding: 0 12px; }

.schedule-row {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.2s;
    border-radius: 12px;
}

.schedule-row:last-child { border-bottom: none; }
.schedule-row:hover { background: #f8f9fc; }

.schedule-header-row {
    background: #f4f6fa;
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 8px;
    margin-top: 8px;
    border-bottom: 2px solid #e8ecf2;
    border-radius: 12px 12px 0 0;
}

.schedule-header-row:hover { background: #f4f6fa; }

.schedule-current {
    background: linear-gradient(135deg, #eafaf1, #d5f5e3);
    border-left: 4px solid #27ae60;
    margin: 8px 0;
    box-shadow: 0 2px 12px rgba(39,174,96,0.15);
}

.schedule-current:hover {
    background: linear-gradient(135deg, #d5f5e3, #abebc6);
    box-shadow: 0 4px 16px rgba(39,174,96,0.25);
}

.schedule-current .server-badge {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    box-shadow: 0 2px 8px rgba(39,174,96,0.4);
}

.schedule-next {
    background: linear-gradient(135deg, #fffdf5, #fff8e8);
    border-left: 4px solid var(--accent);
    margin: 8px 0;
    box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.15);
}

.schedule-next:hover {
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.25);
}

.schedule-future {
    background: linear-gradient(135deg, #f3e8ff, #e8d5f5);
    border-left: 4px solid #8e44ad;
    margin: 8px 0;
    box-shadow: 0 2px 12px rgba(142,68,173,0.12);
}

.schedule-future:hover {
    background: linear-gradient(135deg, #e8d5f5, #d2b4de);
    box-shadow: 0 4px 16px rgba(142,68,173,0.22);
}

.schedule-future .server-badge {
    background: linear-gradient(135deg, #8e44ad, #6c3483);
    box-shadow: 0 2px 8px rgba(142,68,173,0.35);
}

.sch-col { text-align: center; }
.sch-server { flex: 1.2; }
.sch-date { flex: 1.8; font-weight: 600; color: #2c3e50; }
.sch-time { flex: 1; color: #7f8c8d; font-size: 13px; }
.sch-status { flex: 1.2; }

.server-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.schedule-next .server-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.4);
}

.sch-countdown {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    animation: countdownPulse 2s ease-in-out infinite;
}

.sch-open {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.sch-pending {
    display: inline-block;
    background: #ecf0f1;
    color: #95a5a6;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

@keyframes countdownPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,107,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255,107,107,0); }
}

.schedule-footer {
    background: #f8f9fc;
    padding: 10px 16px;
    text-align: center;
    font-size: 12px;
    color: #95a5a6;
    border-top: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .schedule-header { padding: 12px 14px; }
    .schedule-title { font-size: 16px; }
    .schedule-sub {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 6px;
    }
    .schedule-row { padding: 10px 4px; }
    .sch-date { font-size: 13px; }
    .server-badge, .sch-countdown, .sch-open, .sch-pending {
        font-size: 11px;
        padding: 2px 8px;
    }
}

@media (max-width: 340px) { .meta-views { display: none; } }


/* ===== 开服倒计时横幅 ===== */
.countdown-banner {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 12px auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(var(--primary-dark-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.countdown-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: bannerShine 3s ease-in-out infinite;
}

@keyframes bannerShine {
    0%, 100% { transform: translateX(-30%) translateY(-30%); }
    50% { transform: translateX(30%) translateY(30%); }
}

.countdown-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-dark-rgb), 0.4);
}

.countdown-left {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.countdown-icon { font-size: 20px; }

.countdown-label {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.countdown-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.countdown-server {
    background: rgba(var(--accent-rgb), 0.3);
    color: #ffd700;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
}

.countdown-time {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

.countdown-arrow {
    color: rgba(255,255,255,0.6);
    font-size: 20px;
    font-weight: bold;
    margin-left: 8px;
    z-index: 1;
}

/* ===== 评分数据面板 ===== */
.stats-panel {
    margin: 15px auto;
    max-width: 700px;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f3f8 100%);
    border-radius: 14px;
    padding: 20px 24px;
    border: 1px solid #e2e6ee;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stats-item { text-align: center; flex: 1; }

.stats-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-value {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.stats-unit { font-size: 18px; }

.stats-stars {
    color: #f5a623;
    font-size: 14px;
    margin: 4px 0;
    letter-spacing: 2px;
}

.stats-sub { font-size: 11px; color: #aaa; }

.stats-divider {
    width: 1px;
    height: 70px;
    background: #e2e6ee;
}

.stats-growth {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 4px 0;
    font-size: 11px;
    color: #27ae60;
    font-weight: 600;
}

.growth-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #27ae60;
}

.stats-today {
    font-size: 11px;
    color: var(--accent-dark);
    margin: 4px 0;
}

/* ===== 评论区 ===== */
.comment-section {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #e8ecf2;
    margin-top: 16px;
}

.comment-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.comment-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.comment-input-wrap {
    flex: 1;
    position: relative;
}

.comment-input-wrap input {
    width: calc(100% - 30px);
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
}

.comment-input-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.submit-hint {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #ccc;
}

.comment-list { padding-right: 5px; }

.comment-more {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.comment-more-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 6px 20px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.comment-more-btn:hover {
    background: #e8f0fe;
    border-color: var(--primary);
    color: var(--primary);
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.comment-item-left { flex-shrink: 0; }

.comment-item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.comment-item-right { flex: 1; }

.comment-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.comment-item-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.comment-me-tag {
    font-size: 10px;
    color: var(--primary);
    background: #e8f0fe;
    padding: 1px 5px;
    border-radius: 3px;
}

.comment-item-time {
    font-size: 11px;
    color: #999;
    margin-left: 6px;
}

.comment-like-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
    color: #e74c3c;
}

.comment-item-text {
    font-size: 13px;
    color: #555;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

.comment-actions { display: flex; gap: 12px; }

.comment-action-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 11px;
    color: #666;
}

/* ===== 视频懒加载占位 ===== */
.video-lazy {
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #fff;
    gap: 10px;
    transition: all 0.3s;
}

.video-lazy:hover .video-placeholder { opacity: 0.8; }

.play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.video-lazy:hover .play-btn {
    background: rgba(var(--accent-rgb), 0.4);
    border-color: var(--accent);
    transform: scale(1.1);
}

.play-text {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.video-loaded { background: #000; }

@media (min-width: 480px) { .video-placeholder { height: 280px; } }
@media (min-width: 600px) { .video-placeholder { height: 338px; } }

/* ===== 实用工具快捷入口 ===== */
.tool-shortcuts {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 12px 4px;
    margin-bottom: 12px;
}

.tool-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 6px;
    background: linear-gradient(135deg, #f8f9fc, #eef2f7);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    border: 2px solid transparent;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.tool-btn:hover {
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.2);
}

.tool-icon {
    font-size: 20px;
    line-height: 1;
}

.tool-label {
    font-size: 11px;
    color: #2c3e50;
    font-weight: 600;
    white-space: nowrap;
}

/* ===== 攻略折叠按钮 ===== */
.guide-toggle-btn {
    background: linear-gradient(135deg, #f8f9fa, #e8ecf2);
    border: 1px solid #d5dbe5;
    border-radius: 20px;
    padding: 8px 28px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.guide-toggle-btn:hover {
    background: linear-gradient(135deg, #e8f0fe, #d5e3f8);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.15);
}

.article-collapse { animation: fadeSlideIn 0.3s ease; }

/* ===== 游戏介绍 移动端适配 ===== */
@media (max-width: 480px) {
    .game-intro {
        padding: 14px 16px;
        margin: 12px 0;
        border-radius: 14px;
    }
    .game-intro-header h3 { font-size: 16px; }
    .game-intro-desc {
        font-size: 13px;
        line-height: 1.7;
    }
}

/* ===== 移动端字体统一优化 ===== */
@media (max-width: 768px) {
    h2 { font-size: 17px; }
    .game-slogan { font-size: 15px; }
    .tool-label { font-size: 12px; }
    .guide-toggle-btn { font-size: 14px; padding: 9px 30px; }
    .news-desc { font-size: 13px; }
    .schedule-title { font-size: 17px; }
    .countdown-server { font-size: 12px; }
    .countdown-label { font-size: 13px; }
    .comment-item-text { font-size: 14px; }
    .comment-item-name { font-size: 14px; }
}

@media (max-width: 480px) {
    h2 { font-size: 16px; padding-left: 10px; margin: 4px 0 8px 0; }
    .download-bt span { font-size: 15px; }
    .stats-value { font-size: 28px; }
    .stats-unit { font-size: 16px; }
    .stats-label { font-size: 10px; }
    .countdown-icon { font-size: 18px; }
    .countdown-server { font-size: 11px; padding: 2px 8px; }
    .countdown-label { font-size: 12px; }
    .countdown-time { font-size: 14px; }
    .news-title { font-size: 15px; }
    .news-desc { font-size: 13px; }
    .news-badge { font-size: 10px; }
    .guanzhu { font-size: 13px; padding: 12px; }
    .comment-title { font-size: 15px; }
    .comment-input-wrap input { font-size: 12px; }
    .comment-item-name { font-size: 12px; }
    .comment-item-text { font-size: 12px; }
    .comment-like-btn { font-size: 11px; }
    .comment-action-btn { font-size: 10px; }
    .guide-toggle-btn { font-size: 14px; padding: 8px 24px; }
    .game-intro-header h3 { font-size: 15px; }
    .game-intro-desc { font-size: 13px; }
    .welcome-banner { padding: 14px; }
    .welcome-banner h4 { font-size: 16px; }
    .welcome-banner p { font-size: 12px; }
    .schedule-header-row { font-size: 11px; }
    .schedule-title { font-size: 16px; }
}
