    /* 全局平滑滚动与配色 */
    html {
        scroll-behavior: smooth;
    }

    :root {
        --bg-main: #a00000;              /* 第一页背景 */
        --bg-section2: #380808;          /* 第二页背景 */
        --text-title: #ffffff;
        --text-subtitle: #f3c4c4;
        --accent-gold: #ffd166;
        --btn-bg: rgba(255, 255, 255, 0.12);
        --btn-border: rgba(255, 255, 255, 0.25);
        --btn-hover-bg: #ffffff;
        --btn-hover-text: #5a0e0e;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    body {
        background-color: var(--bg-main);
        color: var(--text-title);
        overflow-x: hidden;
    }

    /* ---------------- 第一页 HEADER & HERO ---------------- */
    .Header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1.5rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
    }

    .Nav {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .Nav--link {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
    }

    .CloudflareLogo svg {
        height: 24px;
        width: auto;
        display: block;
    }

    .language-selector {
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .logo {
        display: block;
        width: 120px;                
        height: 40px;                
        background: url('./static/images/logo.gif') center center / contain no-repeat;
        cursor: pointer;
        transition: opacity 0.25s ease;
    }

    .logo:hover {
        opacity: 0.85;
    }

    .HeroSection {
        width: 100%;
        min-height: 100vh;
        padding: 6rem 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .HeroSection--content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1100px;
        margin: auto 0;
    }

    .HeroSection--logo {
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 520px;
    }

    .OneDotLogoAnimated--aspect-ratio-container {
        position: relative;
        width: 100%;
        padding-bottom: 29.34%;
        height: 0;
    }

    .OneDotLogoAnimated--canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .HeroSection--title-wrapper {
        text-align: center;
        margin-bottom: 2rem;
        max-width: 800px;
    }

    .HeroSection--title {
        color: var(--text-title);
        font-size: clamp(2rem, 4.5vw, 3.5rem);
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 0.8rem;
    }

    .HeroSection--subtitle {
        color: var(--text-subtitle);
        font-size: clamp(1rem, 2vw, 1.35rem);
        opacity: 0.9;
    }

    .grid-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .Button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.85rem 1.8rem;
        background-color: var(--btn-bg);
        color: var(--text-title);
        border-radius: 9999px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.25s ease;
        border: 1px solid var(--btn-border);
        backdrop-filter: blur(10px);
        min-width: 160px;
    }

    .Button:hover {
        background-color: var(--btn-hover-bg);
        color: var(--btn-hover-text);
        transform: translateY(-2px);
    }

    .Button--icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        fill: currentColor;
    }

    .HeroSection--scroll-indicator {
        margin-top: auto;
        padding-bottom: 1rem;
        width: 40px;
        animation: bounce 2s infinite;
        cursor: pointer;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-10px); }
        60% { transform: translateY(-5px); }
    }

    /* ---------------- 第二页区域：750px 自适应容器与组件样式 ---------------- */
    .ContentSection {
        width: 100%;
        min-height: 100vh;
        background-color: var(--bg-section2);
        padding: 3rem 1rem;
        display: flex;
        justify-content: center;
    }

    #page, #content {
        width: 100%;
        max-width: 750px;
        margin: 0 auto;
    }

    #page ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* 1. 跑马灯 noticebox */
    .noticebox {
        display: flex;
        align-items: center;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        padding: 8px 12px;
        margin-top: 15px;
        gap: 10px;
    }

    .noticebox img {
        width: 64px;
        height: 14px;
        flex-shrink: 0;
    }

    .noticebox marquee {
        color: var(--text-subtitle);
        font-size: 0.95rem;
        line-height: 24px;
    }

    /* 2. VIP 线路测速列表 testing */
    .testing {
        margin-top: 20px;
    }

    .speedlist {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .speedlist li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(255, 255, 255, 0.12);
        padding: 12px 18px;
        border-radius: 10px;
    }

    .speedlist .link {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .speedlist .ms {
        background: #28a745;
        color: #ffffff;
        font-size: 0.8rem;
        padding: 3px 8px;
        border-radius: 4px;
        font-weight: bold;
        min-width: 68px;
        text-align: center;
    }

    .speedlist .url a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.05rem;
    }

    .speedlist .btn-open img {
        height: 28px;
        width: auto;
        display: block;
        transition: transform 0.2s;
    }

    .speedlist .btn-open img:hover {
        transform: scale(1.1);
    }

    /* 3. 标题与品牌快捷 Logo 列表 */
    .container {
        margin-top: 25px;
    }

    .game-title {
        display: block;
        max-width: 100%;
        margin: 0 auto 15px;
        height: auto;
    }

    .quickmain-logo #list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .quickmain-logo .item a {
        display: block;
        background: rgba(0, 0, 0, 0.35);
        border: 1.5px solid var(--accent-gold);
        border-radius: 12px;
        padding: 6px;
        transition: all 0.25s ease;
        overflow: hidden;
    }

    .quickmain-logo .item a:hover {
        border-color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    .quickmain-logo .item a img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }

    /* 4. 客服图片按钮 */
    .service {
        display: block;
        margin: 20px auto;
        text-align: center;
    }

    .service img {
        max-width: 100%;
        height: auto;
    }

    /* 5. 数字奖池组件 number-box */
    .number-box {
        width: 100%;
        max-width: 713px;
        aspect-ratio: 713 / 176;
        margin: 20px auto;
        background: url(./static/images/scroll-bg.png) center center / 100% 100% no-repeat;
        display: grid;
        grid-template-rows: 54.1% 20% 1fr;
        grid-template-columns: 30.8% 48% 1fr;
        box-sizing: border-box;
    }

    .number-box .numbers {
        grid-row: 2;
        grid-column: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        gap: clamp(2px, 0.6vw, 6px);
    }

    .number-box .digit-col {
        flex: 1;
        height: 100%;
        overflow: hidden;
        position: relative;
        background: linear-gradient(180deg, #252525 0%, #0a0a0a 100%);
        border: 1px solid #ffd166;
        border-radius: 4px;
        box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.8);
    }

    .number-box .digit-track {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 1000%;
        transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
    }

    .number-box .digit-item {
        width: 100%;
        height: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: clamp(0.7rem, 2.2vw, 1.2rem);
        font-weight: 800;
        color: #ffd166;
        font-style: normal;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    }

    .lightgap {
        width: 100%;
        display: block;
    }

    /* 移动端细化调优 */
    @media (max-width: 480px) {
        .Header { padding: 1rem 1.25rem; }
        .HeroSection { padding: 5rem 1.25rem 1.5rem; }
    }