* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    /* 底色（背景图加载前显示，与 bg.svg 同色） */
    background: #0b2560;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

/* 品牌背景：固定在视口，兼容 iOS（iOS 不支持 background-attachment: fixed） */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b2560 url('bg.svg') center / cover no-repeat;
    z-index: 0;
}

/* 随机壁纸层：盖在 bg.svg 上，加载成功后淡入；压暗一点保证白字可读 */
.bg-photo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    filter: brightness(0.72);
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.bg-photo.loaded {
    opacity: 1;
}

.container {
    position: relative;
    z-index: 1;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 15px;
    padding: 50px 40px;
    max-width: 700px;
    width: 100%;
    box-shadow: none;
    border: none;
    text-align: center;
}

.logo-icon {
    display: block;
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.logo {
    font-size: 60px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.notice-box {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 25px 0;
    font-size: 15px;
    color: #fff;
    backdrop-filter: none;
    box-shadow: none;
}

.notice-box p {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

.notice-box strong {
    color: #ffeb3b;
    font-size: 17px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 235, 59, 0.8);
}

.tip {
    color: #fff;
    font-size: 13px;
    margin: 15px 0 25px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
}

.btn {
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    background: rgba(52, 152, 219, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
    background: rgba(41, 128, 185, 0.7);
}

.btn-main {
    background: rgba(231, 76, 60, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-main:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
    background: rgba(192, 57, 43, 0.7);
}

.tg-box {
    background: rgba(0, 136, 204, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 25px 0;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.tg-box:hover {
    background: rgba(0, 102, 153, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
}

.important-box {
    background: rgba(220, 53, 69, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.important-box a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

.warning-box {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 13px;
    color: #fff;
    line-height: 1.8;
    box-shadow: none;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.7);
}

.brand {
    font-size: 22px;
    color: #fff;
    margin: 30px 0 20px;
    font-weight: 500;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.footer {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* 音乐控制按钮 */
.music-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.music-icon {
    width: 26px;
    height: 26px;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.music-btn.playing .music-icon {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }
    
    .logo-icon {
        width: 88px;
        height: 88px;
    }

    .logo {
        font-size: 48px;
    }
    
    .title {
        font-size: 22px;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .music-btn {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .music-icon {
        width: 20px;
        height: 20px;
    }
}

/* 复制通知样式 */
.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.copy-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

