﻿/* 底部双按钮容器：完全贴底，四角圆角 */
.bottom-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 1000;
    background: transparent;
    border-radius: 20px;          /* 上下左右都有圆角 */
    overflow: hidden;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    margin: 0;                    /* 无外边距，紧凑贴边 */
}

.bottom-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
    letter-spacing: 1px;
}

.btn-left {
    background-color: #1e3c72;
}

.btn-left:active {
    background-color: #163158;
}

.btn-right {
    background-color: #f39c12;
}

.btn-right:active {
    background-color: #e67e22;
}

/* 复制提示浮层 */
.copy-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.copy-toast.show {
    opacity: 1;
}

/* 移除 body 底部内边距，避免产生空隙 */
body {
    padding-bottom: 0 !important;
}

/* 页脚版权区域：背景绿色，文字白色，底部内边距加大确保文字完整 */
.footer-copyright {
    background-color: #3CB37C;
    color: #ffffff;
    padding: 15px 12px 80px 12px;   /* 底部内边距足够容纳按钮高度 */
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-copyright a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-copyright a:hover {
    color: #f0f0f0;
    text-decoration: none;
}

/* 弹窗遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}

.modal-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* 弹窗内容 */
.modal-content {
    width: 85%;
    max-width: 320px;
    background: #fff;
    border-radius: 32px;
    text-align: center;
    padding: 30px 20px 30px;
    position: relative;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content h3 {
    font-size: 22px;
    margin: 0 0 8px;
    color: #1e3c72;
    font-weight: 700;
}

.modal-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.modal-wechat-num {
    background: #f0f4fa;
    padding: 14px;
    border-radius: 60px;
    font-size: 22px;
    font-weight: bold;
    color: #1e3c72;
    margin: 15px 0 20px;
    border: 1px solid #d4e0ec;
}

.modal-btn {
    background: #f39c12;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 60px;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-btn:active {
    background: #e67e22;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}