:root {
    --theme-color: #C4B0E8;
    --theme-color-dark: #9B87D4;
    --theme-color-light: #DDD0F5;
    --theme-color-glow: rgba(196, 176, 232, 0.45);
    --theme-color-soft: rgba(196, 176, 232, 0.1);
    --theme-gradient: linear-gradient(135deg, var(--theme-color-light) 0%, var(--theme-color) 50%, var(--theme-color-dark) 100%);
    --bg-deep: #08060f;
    --bg-section: #0c0a14;
    --bg-glass: rgba(16, 12, 28, 0.75);
    --border-glass: rgba(196, 176, 232, 0.18);
    --text-primary: #f3efff;
    --text-secondary: rgba(243, 239, 255, 0.72);
    --text-muted: rgba(243, 239, 255, 0.45);
    --container-width: 1280px;
    --section-width: 70vw;
    --radius-feature: 20px;
    --font-display: "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-display);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: var(--container-width);
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.container-wide {
    width: var(--section-width);
    max-width: 70vw;
    margin: 0 auto;
}

/* ===== 全局氛围层 ===== */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, var(--theme-color-soft) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(120, 80, 180, 0.14) 0%, transparent 50%),
        var(--bg-deep);
}

.ambient-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-wrap { position: relative; z-index: 1; }

/* ===== 顶栏（悬浮透明） ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
    background: rgba(6, 8, 15, 0.88);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-glass);
}

.header-top {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100% - var(--container-width)) / 2));
    font-size: 13px;
    color: var(--text-muted);
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.platform-logo:hover { color: var(--theme-color); }
.platform-logo img { width: 130px; height: 24px; border-radius: 0; object-fit: contain; }

.platform-auth { display: flex; gap: 20px; }
.platform-auth a { transition: color 0.2s; }
.platform-auth a:hover { color: var(--theme-color); }

/* ===== 游戏导航 ===== */
.game-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 max(24px, calc((100% - var(--container-width)) / 2)) 12px;
}

.game-nav a {
    position: relative;
    padding: 10px 32px;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    transition: color 0.3s, text-shadow 0.3s;
}

.game-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.game-nav a:hover,
.game-nav a.active {
    color: var(--theme-color-light);
    text-shadow: 0 0 20px var(--theme-color-glow);
}

.game-nav a.active::before {
    border-color: var(--theme-color);
    box-shadow: inset 0 0 20px var(--theme-color-soft), 0 0 16px var(--theme-color-soft);
}

/* ===== 全屏 Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-bg-wrap {
    position: absolute;
    inset: -5%;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 22s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes kenBurns {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom,
            rgba(6, 8, 15, 0.55) 0%,
            rgba(6, 8, 15, 0.1) 35%,
            rgba(6, 8, 15, 0.3) 65%,
            rgba(6, 8, 15, 0.95) 100%),
        linear-gradient(to right,
            rgba(6, 8, 15, 0.7) 0%,
            transparent 45%,
            transparent 55%,
            rgba(6, 8, 15, 0.5) 100%);
}

.hero-glow {
    position: absolute;
    bottom: 20%;
    left: 15%;
    width: 500px;
    height: 500px;
    z-index: 1;
    background: radial-gradient(circle, var(--theme-color-glow) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0%   { opacity: 0.25; transform: scale(1); }
    100% { opacity: 0.45; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 140px max(24px, calc((100% - var(--container-width)) / 2)) 80px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    gap: 60px;
}

.hero-main { max-width: 680px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 6px 16px 6px 6px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
}

.hero-badge img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--theme-color);
    box-shadow: 0 0 20px var(--theme-color-glow);
}

.hero-badge span {
    font-size: 13px;
    color: var(--theme-color-light);
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(56px, 8vw, 96px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 8px;
    background: linear-gradient(180deg, #fff 30%, var(--theme-color-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px var(--theme-color-glow));
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    height: 56px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.btn-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-hero:hover::after { transform: translateX(100%); }

.btn-primary {
    background: var(--theme-gradient);
    box-shadow: 0 8px 32px var(--theme-color-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    box-shadow: 0 12px 48px var(--theme-color-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-outline {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--theme-color);
    box-shadow: 0 0 24px var(--theme-color-soft);
}

/* 下载面板 */
.hero-download-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-download-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: var(--theme-gradient);
    opacity: 0.15;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.hero-download-panel { position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }

.qrcode-box {
    padding: 10px;
    background: #fff;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.qrcode-box img { width: 120px; height: 120px; }

.qrcode-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 8px;
    text-align: center;
}

.download-row { display: flex; flex-direction: column; gap: 10px; width: 100%; }

.btn-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--theme-gradient);
    border: 1px solid transparent;
    transition: all 0.25s;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.btn-dl svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-dl:hover {
    background: var(--theme-color-soft);
    border-color: var(--theme-color);
    box-shadow: 0 0 20px var(--theme-color-soft);
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 3px;
    animation: bounceHint 2s ease-in-out infinite;
}

.scroll-hint .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--theme-color), transparent);
}

@keyframes bounceHint {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ===== 区块标题 ===== */
.section {
    position: relative;
    padding: 100px 0;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--theme-color), transparent);
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-head .en {
    font-size: 12px;
    letter-spacing: 6px;
    color: var(--theme-color);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.8;
}

.section-head h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--text-primary);
}

.section-head h2 em {
    font-style: normal;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-head .divider {
    width: 80px;
    height: 2px;
    margin: 20px auto 0;
    background: var(--theme-gradient);
    box-shadow: 0 0 12px var(--theme-color-glow);
}

/* ===== 区块淡色背景图 ===== */
.section-bg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.section-bg-layer {
    position: absolute;
    inset: -2%;
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: var(--section-bg-opacity, 0.38);
    filter: saturate(0.9);
    transform: scale(1.03);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 8%,
        #000 22%,
        #000 78%,
        rgba(0, 0, 0, 0.35) 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 8%,
        #000 22%,
        #000 78%,
        rgba(0, 0, 0, 0.35) 92%,
        transparent 100%
    );
}

.section-bg-mask {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg,
            rgba(8, 6, 15, 0.92) 0%,
            rgba(12, 10, 20, 0.58) 18%,
            rgba(12, 10, 20, 0.62) 50%,
            rgba(12, 10, 20, 0.58) 82%,
            rgba(8, 6, 15, 0.92) 100%);
    pointer-events: none;
}

/* 区块上下缘融合层 */
.section-fusion-top,
.section-fusion-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 140px;
    z-index: 1;
    pointer-events: none;
}

.section-fusion-top {
    top: 0;
    background: linear-gradient(
        180deg,
        var(--bg-deep) 0%,
        rgba(8, 6, 15, 0.88) 25%,
        rgba(8, 6, 15, 0.35) 65%,
        transparent 100%
    );
}

.section-fusion-bottom {
    bottom: 0;
    background: linear-gradient(
        0deg,
        var(--bg-deep) 0%,
        rgba(8, 6, 15, 0.88) 25%,
        rgba(8, 6, 15, 0.35) 65%,
        transparent 100%
    );
}

/* 相邻背景区块重叠衔接 */
.section-bg + .section-bg {
    margin-top: -100px;
    padding-top: 200px;
}

.section-bg + .section-bg .section-fusion-top {
    height: 180px;
    background: linear-gradient(
        180deg,
        var(--bg-deep) 0%,
        rgba(8, 6, 15, 0.75) 35%,
        rgba(8, 6, 15, 0.2) 75%,
        transparent 100%
    );
}

/* 兼容：伪元素背景（CSS 内英文路径） */
.section-bg::before {
    content: "";
    position: absolute;
    inset: -2%;
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: var(--section-bg-opacity, 0.38);
    filter: saturate(0.9);
    transform: scale(1.03);
    pointer-events: none;
}

.section-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg,
            rgba(8, 6, 15, 0.78) 0%,
            rgba(12, 10, 20, 0.68) 45%,
            rgba(8, 6, 15, 0.76) 100%);
    pointer-events: none;
}

.section-bg > .container-wide,
.section-bg > .features-cinema {
    position: relative;
    z-index: 1;
}

.section-bg-login .section-bg-layer,
.section-bg-login::before {
    background-image: url('../assets/login-bg.png');
    background-position: center 40%;
}

.section-bg-splash .section-bg-layer,
.section-bg-splash::before {
    background-image: url('../assets/splash-bg.png');
    --section-bg-opacity: 0.34;
}

.section-bg-login-alt .section-bg-layer,
.section-bg-login-alt::before {
    background-image: url('../assets/login-bg.png');
    background-position: center 65%;
    --section-bg-opacity: 0.3;
}

/* 有 HTML 背景层时隐藏重复伪元素 */
.section-bg:has(.section-bg-layer)::before,
.section-bg:has(.section-bg-layer)::after {
    display: none;
}

.section-bg:has(.section-bg-layer) > .container-wide,
.section-bg:has(.section-bg-layer) > .features-cinema {
    position: relative;
    z-index: 2;
}

.section-bg:has(.section-bg-layer) > .section-bg-layer { z-index: 0; }
.section-bg:has(.section-bg-layer) > .section-bg-mask { z-index: 0; }
.section-bg:has(.section-bg-layer) > .section-fusion-top,
.section-bg:has(.section-bg-layer) > .section-fusion-bottom { z-index: 1; }

/* Hero 与首个背景区块衔接 */
.news-section.section-bg {
    padding-top: 120px;
}

.news-section.section-bg .section-fusion-top {
    height: 160px;
    background: linear-gradient(
        180deg,
        var(--bg-deep) 0%,
        rgba(8, 6, 15, 0.9) 30%,
        rgba(8, 6, 15, 0.25) 70%,
        transparent 100%
    );
}

/* ===== 资讯区 ===== */
.news-section {
    background: transparent;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 2px;
    background: var(--border-glass);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-feature);
    overflow: hidden;
}

.news-carousel {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: #000;
}

.news-carousel .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.news-carousel .slide.active { opacity: 1; z-index: 1; }

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

.news-carousel .slide-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 32px 28px;
    background: linear-gradient(to top, rgba(6,8,15,0.95) 0%, transparent 100%);
    font-size: 18px;
    letter-spacing: 1px;
}

.carousel-ctrl {
    position: absolute;
    bottom: 28px;
    right: 28px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.carousel-ctrl button {
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.carousel-ctrl button:hover {
    background: var(--theme-color-soft);
    border-color: var(--theme-color);
}

.carousel-dots {
    position: absolute;
    bottom: 28px;
    left: 32px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.carousel-dots span {
    width: 32px;
    height: 3px;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots span.active {
    background: var(--theme-color);
    box-shadow: 0 0 8px var(--theme-color-glow);
}

/* 新闻面板 */
.news-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    height: 620px;
}

.news-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    padding: 0 8px;
}

.news-tab {
    flex: 1;
    padding: 20px 8px;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    transition: color 0.3s;
}

.news-tab:hover,
.news-tab.active { color: var(--theme-color-light); }

.news-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--theme-gradient);
    box-shadow: 0 0 8px var(--theme-color-glow);
}

.news-more {
    align-self: center;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    transition: color 0.2s;
}

.news-more:hover { color: var(--theme-color); }

.news-content { display: none; flex: 1; overflow: hidden; }
.news-content.active { display: flex; flex-direction: column; }

.news-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    padding: 8px 24px 20px;
}

.news-list::-webkit-scrollbar { width: 3px; }
.news-list::-webkit-scrollbar-thumb { background: var(--theme-color); }

.news-list li { border-bottom: 1px solid rgba(255,255,255,0.04); }

.news-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s, padding-left 0.2s;
}

.news-list a:hover {
    color: var(--theme-color-light);
    padding-left: 8px;
}

.news-tag {
    flex-shrink: 0;
    padding: 2px 10px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--theme-color);
    border: 1px solid var(--theme-color);
    background: var(--theme-color-soft);
}

.news-title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== 游戏特色（全宽沉浸） ===== */
.features-section {
    padding: 100px 0 120px;
    overflow: hidden;
}

.features-section.section-bg {
    padding-bottom: 140px;
}

.features-cinema {
    position: relative;
    width: var(--section-width);
    max-width: 70vw;
    margin: 0 auto;
}

.features-main {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-feature);
    box-shadow: 0 0 100px rgba(0,0,0,0.8), 0 0 60px var(--theme-color-soft);
    border: 1px solid var(--border-glass);
}

.features-main::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--theme-color);
    border-radius: var(--radius-feature);
    opacity: 0.35;
    z-index: 2;
    pointer-events: none;
}

.features-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s;
}

.features-main img.switching {
    transform: scale(1.03);
    opacity: 0.7;
}

.features-strip {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 0 4px;
    overflow-x: auto;
}

.features-strip::-webkit-scrollbar { height: 3px; }
.features-strip::-webkit-scrollbar-thumb { background: var(--theme-color); }

.feature-thumb {
    flex: 1;
    min-width: 180px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    opacity: 0.45;
    transition: all 0.35s;
    position: relative;
}

.feature-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,8,15,0.8) 0%, transparent 50%);
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.feature-thumb:hover { opacity: 0.75; }
.feature-thumb:hover img { transform: scale(1.08); }

.feature-thumb.active {
    opacity: 1;
    border-color: var(--theme-color);
    box-shadow: 0 0 30px var(--theme-color-glow);
}

.feature-thumb .num {
    position: absolute;
    bottom: 8px;
    left: 12px;
    z-index: 1;
    font-size: 24px;
    font-weight: 900;
    color: var(--theme-color-light);
    text-shadow: 0 0 12px var(--theme-color-glow);
}

/* ===== 开服表 ===== */
.server-section {
    background: transparent;
    padding-bottom: 100px;
}

.server-section.section-bg .section-fusion-bottom {
    height: 160px;
    background: linear-gradient(
        0deg,
        var(--bg-deep) 0%,
        rgba(8, 6, 15, 0.92) 35%,
        rgba(8, 6, 15, 0.2) 75%,
        transparent 100%
    );
}

.server-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(16px);
    width: 100%;
    border-radius: var(--radius-feature);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.server-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
}

.server-tab {
    flex: 1;
    padding: 22px;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    transition: color 0.3s;
}

.server-tab:hover,
.server-tab.active { color: var(--theme-color-light); }

.server-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--theme-gradient);
    box-shadow: 0 0 8px var(--theme-color-glow);
}

.server-list { list-style: none; max-height: 360px; overflow-y: auto; }

.server-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.server-list li a:hover {
    background: var(--theme-color-soft);
    color: var(--theme-color-light);
    padding-left: 40px;
}

.server-list .empty {
    justify-content: center;
    color: var(--text-muted);
    cursor: default;
}

.server-list .empty:hover {
    background: transparent;
    padding-left: 32px;
    color: var(--text-muted);
}

.server-name { font-weight: 500; letter-spacing: 1px; }
.server-time { color: var(--text-muted); font-size: 13px; }

/* ===== 页脚 ===== */
.site-footer {
    padding: 48px 0 60px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 2.2;
    background: var(--bg-deep);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 20px 0;
    gap: 8px;
}

.footer-links a {
    padding: 4px 20px;
    color: var(--text-secondary);
    transition: color 0.2s;
    border-right: 1px solid var(--border-glass);
}

.footer-links li:last-child a { border-right: none; }
.footer-links a:hover { color: var(--theme-color); }

/* ===== 视频模块 ===== */
.video-section {
    padding: 120px 0 100px;
    position: relative;
}

.video-section .section-bg-layer {
    background-size: cover;
    background-position: center;
}

.video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-feature);
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .hero-download-panel {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .news-carousel,
    .news-panel { height: 460px; }
}

@media (max-width: 768px) {
    :root {
        --section-width: calc(100vw - 24px);
    }

    .container-wide,
    .features-cinema {
        max-width: calc(100vw - 24px);
    }

    .section-bg + .section-bg {
        margin-top: -60px;
        padding-top: 160px;
    }

    .section-fusion-top,
    .section-fusion-bottom {
        height: 100px;
    }

    .game-nav a { padding: 8px 16px; font-size: 13px; letter-spacing: 1px; }

    .hero-title { letter-spacing: 4px; }

    .hero-cta { flex-direction: column; }
    .btn-hero { width: 100%; }

    .feature-thumb { min-width: 140px; }

    .video-section {
        padding: 100px 16px 80px;
    }

    .video-wrap {
        border-radius: 12px;
    }

    .footer-links a { border-right: none; }
}
