/* 背景图配置 - 使用img标签 */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    overflow: hidden;
    position: relative;
}

/* 背景图片 */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#initial-loader {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#initial-loader,
.svg-loading {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

/* 按钮样式 */
.main {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1px; /* 减少上边距，使按钮更靠近SVG动画 */
}

.content {
    text-align: center;
}

.btn {
    margin-top: 1px; /* 减少上边距 */
}

.btn a {
    display: inline-block;
    padding: 15px 40px;
    background: #005dfe; /* 改为纯色背景 */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    /* 移除阴影效果 */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn a:hover:before {
    left: 100%;
}

.btn a:hover {
    transform: translateY(-3px);
    /* 移除悬停阴影 */
}

.btn a:active {
    transform: translateY(1px);
}

/* 微信提示样式 */
#wechat-exit-guide {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.wechat-guide-content {
    background: #2dc36a;
    border-radius: 16px;
    padding: 30px 35px;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 12px 30px rgba(45, 195, 106, 0.4);
    text-align: center;
}

.wechat-logo {
    width: 200px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.wechat-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.wechat-desc {
    font-size: 14px;
    opacity: 0.85;
    margin: 0 0 25px;
    line-height: 1.5;
}

#wechat-copy-url-btn {
    background: #fff;
    color: #2dc36a;
    border: none;
    border-radius: 25px;
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(45, 195, 106, 0.3);
    transition: background-color 0.25s ease, color 0.25s ease;
}

#copy-feedback {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.9;
    color: #d4f4d4;
    font-weight: 500;
    display: none;
}