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

/* 龚帆霸道体（字体文件 fonts/GongFanBaDaoTi-2.ttf） */
@font-face {
    font-family: 'GongFan BaDao';
    src: url('../fonts/GongFanBaDaoTi-2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: #0d0418;
    color: #fff;
    min-width: 1200px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

/* ===== fullpage 整屏滚动 =====
   默认页面保持普通滚动（内容全部可见）。
   仅当 JS 初始化成功后给 body 添加 .fp-enabled，
   才锁定滚动并启用整屏切换模式，避免脚本失败时页面无法使用。 */
.fullpage-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

html.fp-enabled,
body.fp-enabled {
    overflow: hidden;
}

body.fp-enabled #fullpage {
    height: 100vh;
    position: relative;
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.fp-enabled .fullpage-section {
    height: 100vh;
    overflow: hidden;
}

/* 侧边导航圆点（仅 fullpage 模式下显示） */
.fp-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    display: none;
}

body.fp-enabled .fp-nav {
    display: block;
}

.fp-nav li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 14px 0;
}

.fp-nav a {
    display: block;
    width: 28px;
    height: 28px;
    background: url('../image/light-c59efe2f6f.png') center / contain no-repeat;
    transition: all 0.3s;
    cursor: pointer;
}

.fp-nav a:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}

.fp-nav a.active {
    width: 52px;
    height: 52px;
    background-image: url('../image/wing-767c30ed48.png');
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

/* 主视觉 */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-angel {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 1240px;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.hero-angel img {
    width: 100%;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

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

.download-area {
    position: absolute;
    bottom: 210px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:5px;
    width: 650px;
    height: 210px;
    padding: 14px 26px;
    background:
        url('../image/sec1_img_cover-dc44e613e2.png') center / 100% 100% no-repeat;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
}

/* 二维码 */
.qr-box {
    width: 160px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: url('../image/ercode_border-8ae24ee984.png') center / contain no-repeat;
    flex-shrink: 0;
}

.qr-code {
    width: 140px;
    height: 140px;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img,
.qr-code canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.qr-code .qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 3px solid #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.qr-code .qr-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 二维码扫光效果 */
.qr-code .qr-scan {
    position: absolute;
    left: 6px;
    right: 6px;
    top: 12px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.9), transparent);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    pointer-events: none;
    z-index: 3;
    animation: qr-scan-move-hp 2.2s ease-in-out infinite;
}

@keyframes qr-scan-move-hp {
    0% { top: 12px; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { top: 128px; opacity: 0; }
}

/* 下载按钮 */
.download-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    height: 185px;
    flex-shrink: 0;
}

.btn {
    display: block;
    transition: transform 0.2s, filter 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.btn img {
    display: block;
    width: 172px;
    height: auto;
}

/* 礼包码 */
.gift-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gift-card {
    display: block;
    transition: transform 0.2s, filter 0.2s;
}

.gift-card:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.gift-card img {
    display: block;
    width: 130px;
    height: 165px;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
}

/* 近期新服 */
.server-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 视觉隐藏（供 SEO 标题使用，不影响布局） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.server-card {
    display: block;
    position: relative;
    transition: transform 0.2s, filter 0.2s;
}

.server-date {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #c41e3a;
    letter-spacing: 0.5px;
    white-space: nowrap;
    pointer-events: none;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    text-shadow:
        -2px -2px 0 #fff,
         2px -2px 0 #fff,
        -2px  2px 0 #fff,
         2px  2px 0 #fff,
         0 3px 6px rgba(0, 0, 0, 0.45);
}

.server-card:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.server-card img {
    display: block;
    width: 130px;
    height: 165px;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
}

/* ===== 新闻公告区 ===== */
.news-section {
    position: relative;
    padding: 42px 0 46px;
    overflow: hidden;
}

/* 背景图（写在 div 里的 img，铺满整区） */
.news-bg-img,
.features-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}



/* 深色遮罩，保证内容可读 */
.news-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(13, 4, 24, 0.55) 0%, rgba(13, 4, 24, 0.9) 100%);
}

/* 背景光效 */
.news-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 12% 18%, rgba(130, 60, 255, 0.16), transparent 60%),
        radial-gradient(ellipse 55% 45% at 88% 82%, rgba(255, 170, 60, 0.1), transparent 60%);
}

.container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 区块标题 */
.news-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.news-title-img {
    display: block;
    height: 68px;
    width: auto;
}
/* 跑马灯公告条 */
.news-marquee {
    display: flex;
    align-items: stretch;
    height: 38px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), rgba(0, 0, 0, 0.35));
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.marquee-arrow {
    flex-shrink: 0;
    height: 26px;
    width: auto;
    align-self: center;
    margin: 0 10px;
}
.marquee-arrow.right {
    transform: scaleX(-1);
}

.marquee-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}
.marquee-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: marquee 24s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.marquee-track p {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 60px 0 16px;
    font-size: 13px;
    color: #d8cff0;
    white-space: nowrap;
}
.marquee-track b {
    color: #ffd700;
    font-weight: normal;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 主体网格 */
.news-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
    align-items: stretch;
}

/* 左侧游戏截图轮播 */
.screenshot-slider {
    position: relative;
    padding: 14px 14px 10px;
    background: linear-gradient(160deg, rgba(40, 18, 70, 0.85), rgba(13, 4, 24, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(150, 80, 255, 0.18);
}

.slider-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 2px 12px;
    font-size: 13px;
    letter-spacing: 2px;
    color: #1a0b2e;
    background: linear-gradient(90deg, #ffd700, #ffcf6b);
    border-radius: 3px;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}

.slider-viewport {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.slider-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    background: rgba(13, 4, 24, 0.55);
    color: #ffd700;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    transition: all 0.3s;
}
.slider-arrow:hover {
    background: #ffd700;
    color: #1a0b2e;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
    opacity: 1;
}
.slider-arrow.prev { left: 8px; }
.slider-arrow.next { right: 8px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 11px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: url('../image/game_circle.png') center/contain no-repeat;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 26px;
    height: 26px;
    background: url('../image/game_circle1.png') center/contain no-repeat;
    transform: scale(1.1);
}

/* 公告面板 */
.announcement {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 18px 20px 8px;
    background: linear-gradient(160deg, rgba(40, 18, 70, 0.7), rgba(13, 4, 24, 0.85));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.announcement-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ann-head-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffe9a8;
}
.ann-head-icon {
    width: 22px;
    height: 22px;
    margin-right: 6px;
}

.ann-more {
    font-size: 13px;
    color: #a090c0;
    transition: color 0.3s;
}
.ann-more:hover { color: #ffd700; }

.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 6px;
}

.tab {
    position: relative;
    padding: 8px 16px;
    cursor: pointer;
    color: #a090c0;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.tab:hover { color: #ffd700; }

.tab.active {
    color: #ffd700;
    font-weight: bold;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, transparent);
    box-shadow: 0 0 8px #ffd700;
}

.tab-content {
    display: none;
    flex: 1;
    overflow: hidden;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s;
}

/* 公告列表 */
.news-list li {
    display: flex;
    align-items: center;
    padding: 11px 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}
.news-list li:last-child { border-bottom: none; }
.news-list li:hover {
    background: rgba(255, 215, 0, 0.06);
    transform: translateX(4px);
}

.news-list .tag {
    flex-shrink: 0;
    margin-right: 10px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
.tag-hot   { color: #ffd700;   background: rgba(255, 215, 0, 0.14);   border: 1px solid rgba(255, 215, 0, 0.35); }
.tag-new   { color: #9d8cff;   background: rgba(157, 140, 255, 0.14); border: 1px solid rgba(157, 140, 255, 0.35); }
.tag-gift  { color: #ff7d6b;   background: rgba(255, 125, 107, 0.14); border: 1px solid rgba(255, 125, 107, 0.35); }
.tag-guide { color: #5fd0ff;   background: rgba(95, 208, 255, 0.14);  border: 1px solid rgba(95, 208, 255, 0.35); }

.news-list a {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #e0d8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s;
}
.news-list li:hover a { color: #fff; }

.news-list .date {
    flex-shrink: 0;
    margin-left: 12px;
    font-size: 12px;
    font-family: Consolas, monospace;
    color: #777;
}

.news-list .arr {
    flex-shrink: 0;
    margin-left: 8px;
    font-style: normal;
    color: transparent;
    transition: color 0.25s;
}
.news-list li:hover .arr { color: #ffd700; }

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

/* 开服列表横排 */
.server-list {
    margin-top: 22px;
    padding: 14px 18px 16px;
    background: linear-gradient(90deg, rgba(30, 12, 55, 0.75), rgba(13, 4, 24, 0.8));
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.server-list-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.server-title-img {
    display: block;
    height: 34px;
    width: auto;
}

.server-sub {
    font-size: 12px;
    letter-spacing: 1px;
    color: #8a7aa8;
}

.server-more {
    margin-left: auto;
    font-size: 13px;
    color: #a090c0;
    transition: color 0.3s;
}
.server-more:hover { color: #ffd700; }

.server-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.server-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 6px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.server-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 215, 0, 0.12);
}

.server-name {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
}

.server-time {
    font-size: 11px;
    font-family: Consolas, monospace;
    color: #8a7aa8;
}

.server-status {
    align-self: center;
    padding: 1px 8px;
    font-size: 11px;
    border-radius: 8px;
}
.server-item:nth-child(1) .server-status,
.server-item:nth-child(2) .server-status {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    animation: pulse 1.6s ease-in-out infinite;
}
.server-item:nth-child(3) .server-status,
.server-item:nth-child(4) .server-status {
    color: #ff8c6b;
    background: rgba(255, 140, 107, 0.12);
    border: 1px solid rgba(255, 140, 107, 0.35);
}
.server-item:nth-child(n+5) .server-status {
    color: #5fd0ff;
    background: rgba(95, 208, 255, 0.1);
    border: 1px solid rgba(95, 208, 255, 0.3);
}

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

/* 游戏特色 */
.features {
    position: relative;
    padding: 0;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(13,4,24,0.85) 100%);
}

.section-title {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 170px;
    margin: 40px 0 20px;
    background-image: url('../image/tese_xtt-2a8b92c0de.png');
    background-repeat: no-repeat;
    background-position: center center; /* 左右偏移改这里，例如 left 30px center */
    background-size: 780px auto;
}

.section-title h2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;
    padding-top: 8px;
    font-size: 38px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 4px;
    text-align: center;
}

.feature-content {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 900px;
    max-height: calc(100vh - 180px);
    margin: 0 auto;
    text-align: center;
}

.features-title {
    font-family: 'GongFanBaDao', 'GongFanBaDaoTi', 'FZShuTi', 'KaiTi', serif;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 12px;
    margin: 0 0 28px;
    text-align: center;
    background: linear-gradient(180deg, #fff5d6 0%, #ffd66b 35%, #ff9a2a 65%, #c8511a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 6px rgba(255, 170, 60, 0.75)) drop-shadow(0 0 18px rgba(255, 110, 30, 0.55)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}

.feature-frame {
    position: relative;
    border: none;
    border-radius: 0;
    padding: 0;
    aspect-ratio: 707 / 520;
    background: url('../image/sec1_bg.png') center / 100% 100% no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-viewport {
    overflow: hidden;
    border-radius: 6px;
    width: 72%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 320px);
}

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

.slide-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.94);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
}

.slide-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url('../image/tese_b-6626b254d5.png') center / 100% 100% no-repeat;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide-item img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.feature-dots {
    position: absolute;
    bottom: 12%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.fdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.fdot.active {
    background: #4dabf7;
    border-color: #4dabf7;
    box-shadow: 0 0 10px #4dabf7;
}

/* 官网二维码区 */
.official-qrcode {
    padding: 90px 0 220px;
    background:
        url('../image/page3.jpg') center / cover no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 书卷装饰与标题绑定，随 flex 居中一起移动，避免窗口变化时错位。
   容器宽高比 = 书卷图原始比例（1502:770），背景 100% 填充不会变形 */
.book-wrap {
    position: relative;
    z-index: 1;
    width: 70%;
    max-width: 950px;
    aspect-ratio: 1502 / 770;
    margin: 0 auto 30px;
    text-align: center;
    background: url('../image/p3_book.png') center / 100% 100% no-repeat;
}

.official-qrcode::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.official-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'GongFan BaDao', "STKaiti", "KaiTi", "楷体", serif;
    font-size: clamp(22px, 2.1vw, 30px);
    letter-spacing: clamp(2px, 0.35vw, 5px);
    color: #000;
    white-space: nowrap;
    width: max-content;
}

.qrcode-deco {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.qr-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.qr-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.qr-code.big {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.line {
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, transparent, #ffd700, transparent);
    position: relative;
}

.line::before, .line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid #ffd700;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.line.left::before { left: 20px; border-right: none; border-top: none; }
.line.left::after { right: 20px; border-left: none; border-bottom: none; }
.line.right::before { left: 20px; border-right: none; border-bottom: none; }
.line.right::after { right: 20px; border-left: none; border-top: none; }

.enter-btn {
    position: relative;
    display: inline-block;
    padding: 12px 45px;
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #ffd700;
    font-size: 16px;
    letter-spacing: 4px;
    border-radius: 4px;
    transition: all 0.3s;
    background: rgba(0,0,0,0.3);
}

.enter-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* 页脚（合并进官网底部装饰区） */
.footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 210px;
    background-color: #05020a;
    background-image: url('../image/rolebg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    padding: 3px 20px 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo .brand {
    color: #ff3333;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.footer-logo span:last-child {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.footer-info p {
    color: #777;
    font-size: 12px;
    line-height: 1.8;
}

.footer .friend-links {
    width: 100%;
    flex-shrink: 0;
    text-align: center;
    color: #999;
    font-size: 20px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .friend-links a {
    color: #aaa;
    margin: 0 2px;
    transition: color 0.3s;
}

.footer .friend-links a:hover {
    color: #ffd700;
}
