* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(145deg, #d9ecff 0%, #b4d6fc 45%, #7cb8f7 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    padding-top: 105px;   
}

/* ---------- 顶部导航 ---------- */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #e6f0ff, #d0e4ff);
    color: #034b8c;
    padding: 5px 16px 6px;
    box-shadow: 0 6px 16px rgba(78, 132, 196, 0.12);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.top-nav .logo img {
    height: 50px;
    filter: drop-shadow(0 2px 8px rgba(0, 70, 130, 0.15));
}

.nav-notice {
    background: rgba(255, 255, 255, 0.6);
    padding: 5px 16px;
    border-radius: 40px;
    font-size: 13px;
    text-align: center;
    border: 1px solid rgba(130, 180, 240, 0.5);
    color: #00315f;
    font-weight: 700;
    backdrop-filter: blur(4px);
    line-height: 1.3;
    margin-top: 0;
}

.nav-notice strong {
    color: #00234b;
    font-weight: 900;
}

.highlight-link, .highlight-code {
    color: #d45a00;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(255,240,200,0.9);
    background: rgba(255, 215, 120, 0.2);
    padding: 2px 6px;
    border-radius: 30px;
    display: inline-block;
}

.highlight-code {
    color: #c0392b;
}

/* ---------- 主卡片 ---------- */
.container {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(33, 89, 165, 0.2);
    overflow: hidden;
    padding: 25px 22px;
    position: relative;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* 跑马灯 */
.marquee-container {
    background: rgba(235, 247, 255, 0.9);
    border-radius: 24px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid #a6c8ff;
    box-shadow: 0 4px 10px rgba(70, 130, 200, 0.1);
    backdrop-filter: blur(4px);
}

.ad-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 26px;
}

.ad-content {
    display: inline-block;
    animation: scroll 15s linear infinite;
    color: #e65100;
    font-size: 14px;
    font-weight: 900;
    padding-left: 100%;
    text-shadow: 0 2px 6px rgba(255, 255, 180, 0.9), 0 1px 2px #fff;
    letter-spacing: 0.4px;
}

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

/* 按钮行 */
.service-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.service-btn {
    flex: 1;
    margin: 0 5px;
    padding: 12px 12px;
    border-radius: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-shadow: 0 2px 4px #003f7f;
}

/* 客服1：蓝紫色渐变 */
.service-btn:first-of-type {
    background: linear-gradient(145deg, #7eb4ff, #4793f5);
    box-shadow: 0 8px 14px rgba(38, 116, 214, 0.3);
}

.service-btn:first-of-type:hover {
    background: linear-gradient(145deg, #92c2ff, #5fa3ff);
    box-shadow: 0 12px 18px rgba(28, 109, 208, 0.4);
}

/* 客服2：橙红色渐变（与客服1区分） */
.service-btn:last-of-type {
    background: linear-gradient(145deg, #ff9f7e, #ff6b4a);
    box-shadow: 0 8px 14px rgba(230, 80, 30, 0.3);
    text-shadow: 0 2px 4px #a03010;
}

.service-btn:last-of-type:hover {
    background: linear-gradient(145deg, #ffb59e, #ff8566);
    box-shadow: 0 12px 18px rgba(210, 70, 20, 0.4);
}

.service-btn i {
    margin-right: 8px;
    font-size: 18px;
    color: white;
}

.download-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.download-btn {
    flex: 1;
    margin: 0 5px;
    padding: 14px;
    background: linear-gradient(145deg, #b7ddff, #8bc2ff);
    border-radius: 40px;
    color: #002a57;
    cursor: pointer;
    font-weight: 900;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 8px 14px rgba(53, 127, 217, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px white;
}

.download-btn:hover {
    transform: translateY(-4px);
    background: linear-gradient(145deg, #cae6ff, #9fceff);
    box-shadow: 0 12px 20px rgba(43, 113, 199, 0.35);
    color: #001e3c;
}

.download-btn i {
    margin-right: 8px;
    font-size: 20px;
    color: #014a92;
}

/* 立即加入 */
.join {
    margin: 28px 0 22px;
    cursor: pointer;
    text-align: center;
}

/* ========== 立即加入按钮 · 超级醒目 ========== */
.join-btn {
    display: inline-block;
    padding: 14px 90px;                /* 稍微加大内边距 */
    background: linear-gradient(145deg, #1e90ff, #0059b3);
    color: white;
    font-size: 24px;                  /* 字号加大 */
    font-weight: 900;
    border-radius: 60px;
    /* 强烈多层阴影 + 外发光效果 */
    box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.3), 
                0 12px 28px rgba(0, 89, 179, 0.6),
                0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    letter-spacing: 4px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-shadow: 0 3px 8px #002856;
    position: relative;
    overflow: hidden;
    /* 微光扫过动画（保留） */
}

.join-btn:hover {
    transform: translateY(-6px) scale(1.03);
    background: linear-gradient(145deg, #3a9bff, #0066cc);
    box-shadow: 0 0 0 6px rgba(30, 144, 255, 0.4), 
                0 18px 36px rgba(0, 89, 179, 0.7),
                0 6px 16px rgba(0, 0, 0, 0.15);
}

.join-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.5), 
                0 8px 20px rgba(0, 89, 179, 0.6);
}

/* 扫光动画增强 */
.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.join-btn:hover::before {
    left: 100%;
}

/* 心舟客服 */
.xinzhou-service {
    background: linear-gradient(135deg, #d2e9ff, #afd1ff);
    border-radius: 48px;
    padding: 16px 18px;
    margin-bottom: 25px;
    color: #002753;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(59, 130, 210, 0.25);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    position: relative;
}

.xinzhou-service:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #dfedff, #c0dbff);
    box-shadow: 0 12px 22px rgba(44, 115, 202, 0.35);
}

.xinzhou-service i {
    margin-right: 10px;
    font-size: 22px;
    color: #014f9c;
}

.xinzhou-content {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

/* 心舟客服号码 xg8888 单独红色突出 */
.xinzhou-content span {
    color: #e60000;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    background: rgba(255, 220, 220, 0.3);
    padding: 2px 8px;
    border-radius: 30px;
    margin-left: 4px;
}

.xinzhou-copy {
    font-size: 14px;
    color: #013a70;
    display: flex;
    align-items: center;
    font-weight: 800;
}

.xinzhou-copy i {
    font-size: 14px;
    margin-right: 6px;
}

.xinzhou-service.copied .xinzhou-copy {
    color: #003e7e;
    font-weight: 900;
}

.copy-notification {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #003b70;
    color: white;
    padding: 8px 22px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 6px 14px #5c8fc9;
    white-space: nowrap;
}

.copy-notification.show {
    opacity: 1;
}

/* 二维码区域 */
.qrcode-section {
    margin: 28px 0 18px;
    text-align: center;
}

.qrcode-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
}

.qrcode-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 16px;
    color: #003a70;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px white;
}

.qrcode-text i {
    font-size: 20px;
    color: #0360c0;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    background: linear-gradient(145deg, #c7e1ff, #a5cafc);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002e5a;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 20px rgba(33, 105, 189, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.qrcode-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-img::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    top: -20px;
    left: -25%;
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% { left: -25%; }
    100% { left: 125%; }
}

/* 立即游戏 */
.game-access {
    margin-top: 20px;
    text-align: center;
}

.game-btn {
    display: inline-block;
    padding: 18px 30px;
    background: linear-gradient(145deg, #2275db, #0c59be);
    color: white;
    font-size: 22px;
    font-weight: 900;
    border-radius: 60px;
    box-shadow: 0 16px 28px rgba(17, 78, 158, 0.5);
    transition: all 0.4s;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-shadow: 0 3px 6px #002f63;
}

.game-btn span {
    font-size: 20px;
}

.game-btn:hover {
    transform: translateY(-5px) scale(1.03);
    background: linear-gradient(145deg, #3589f5, #1667d4);
    box-shadow: 0 22px 34px rgba(10, 72, 153, 0.6);
}

.game-btn i {
    margin-left: 12px;
    font-size: 22px;
    animation: bounce 1.8s infinite;
}

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

.pulse {
    animation: pulseBlue 2.2s infinite;
}

@keyframes pulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(27, 109, 202, 0.55); }
    70% { box-shadow: 0 0 0 20px rgba(27, 109, 202, 0); }
    100% { box-shadow: 0 0 0 0 rgba(27, 109, 202, 0); }
}

/* 页脚 */
.footer {
    text-align: center;
    margin-top: 25px;
    color: #014282;
    font-size: 13px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid #8ab3e6;
}

/* 移动端适配 */
@media (max-width: 400px) {
    body {
        padding-top: 100px;
    }
    .container {
        padding: 20px 15px;
    }
    .join-btn {
        padding: 10px 50px;
        font-size: 20px;
    }
    .top-nav {
        padding: 4px 12px 5px;
    }
    .top-nav .logo img {
        height: 48px;
    }
    .nav-notice {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* 跑马灯内嵌图片 */
    .ad-content .marquee-icon {
        display: inline-block;
        vertical-align: middle;
        height: 25px;          /* 与文字高度适配 */
        width: auto;
        margin-right: 4px;
        position: relative;
        top: -1px;            /* 微调垂直位置 */
    }