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

body {
    background: linear-gradient(145deg, #d0e4ff 0%, #a8ccf5 45%, #7ab0e8 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, #2a5ea0, #3d7ec5);
    color: #ffffff;
    padding: 5px 16px 6px;
    box-shadow: 0 6px 16px rgba(0, 30, 80, 0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    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, 0, 0, 0.15));
}

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

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

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

.highlight-code {
    color: #ffb347;
}

/* ---------- 主卡片 ---------- */
.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(230, 242, 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: #c0392b;
    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 rgba(0, 50, 100, 0.4);
}

/* 客服1：柔和蓝色渐变 */
.service-btn:first-of-type {
    background: linear-gradient(145deg, #4d8fd9, #326bb5);
    box-shadow: 0 8px 14px rgba(38, 116, 214, 0.3);
}

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

/* 客服2：暖橙红渐变，与蓝色搭配 */
.service-btn:last-of-type {
    background: linear-gradient(145deg, #f08a5d, #e85d3a);
    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, #f4a07a, #eb6f4d);
    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, #b3d4f7, #8ab8e8);
    border-radius: 40px;
    color: #003366;
    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, #c6e0ff, #9cc6f2);
    box-shadow: 0 12px 20px rgba(43, 113, 199, 0.35);
    color: #002244;
}

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

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

/* ========== 立即加入按钮 · 匹配蓝色调 ========== */
.join-btn {
    display: inline-block;
    padding: 14px 90px;
    background: linear-gradient(145deg, #2d81ec, #1362cf);
    color: white;
    font-size: 24px;
    font-weight: 900;
    border-radius: 60px;
    box-shadow: 0 0 0 4px rgba(45, 129, 236, 0.3), 
                0 12px 28px rgba(19, 98, 207, 0.5),
                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, #4292ff, #2273e0);
    box-shadow: 0 0 0 6px rgba(45, 129, 236, 0.4), 
                0 18px 36px rgba(19, 98, 207, 0.6),
                0 6px 16px rgba(0, 0, 0, 0.15);
}

.join-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px rgba(45, 129, 236, 0.5), 
                0 8px 20px rgba(19, 98, 207, 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, #c7ddff, #a6c6f5);
    border-radius: 48px;
    padding: 16px 18px;
    margin-bottom: 25px;
    color: #002244;
    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, #d6e6ff, #b5d1ff);
    box-shadow: 0 12px 22px rgba(44, 115, 202, 0.35);
}

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

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

.xinzhou-content span {
    color: #d32f2f;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    background: rgba(255, 200, 200, 0.3);
    padding: 2px 8px;
    border-radius: 30px;
    margin-left: 4px;
}

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

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

.xinzhou-service.copied .xinzhou-copy {
    color: #002d5e;
    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: #003366;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px white;
}

.qrcode-text i {
    font-size: 20px;
    color: #1e5aab;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    background: linear-gradient(145deg, #bdd6f5, #9dbde8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002244;
    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, #2a6eb8, #1a4f8a);
    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 #001a33;
}

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

.game-btn:hover {
    transform: translateY(-5px) scale(1.03);
    background: linear-gradient(145deg, #3a80cc, #2060a0);
    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: #1a4a7a;
    font-size: 13px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid #7eaad4;
}

/* 移动端适配 */
@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;
}