/* ===== 乞钱网页样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #fdf4e3 0%, #f5e6c8 100%);
    color: #3a3a3a;
    line-height: 1.7;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 820px;
    margin: 30px auto;
    background: #fffdf8;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* 顶部头部 */
header {
    background: linear-gradient(135deg, #8b6f47 0%, #6b4f2c 100%);
    color: #fff;
    padding: 40px 20px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

header .subtitle {
    font-size: 1em;
    opacity: 0.92;
    font-style: italic;
}

/* 头部主推访问地址 */
.site-bar {
    margin: 18px auto 0;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 26px;
    font-size: 0.95em;
}

.site-bar .site-label {
    color: #ffe9c8;
    font-size: 0.82em;
    letter-spacing: 1px;
}

.site-bar .site-url {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
    padding-bottom: 1px;
    transition: opacity 0.25s;
}

.site-bar .site-url:hover {
    opacity: 0.75;
}

/* 语言切换 */
.lang-switcher {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.lang-switcher button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.25s;
}

.lang-switcher button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lang-switcher button.active {
    background: #fff;
    color: #6b4f2c;
    font-weight: bold;
}

/* 内容区 */
.content {
    padding: 35px 30px;
}

.letter {
    background: #fff8ec;
    border-left: 4px solid #c8a878;
    padding: 22px 26px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 1.05em;
    color: #4a4035;
}

.letter p {
    margin-bottom: 14px;
}

.letter p:last-child {
    margin-bottom: 0;
}

.signature {
    text-align: right;
    margin-top: 18px;
    font-style: italic;
    color: #8b6f47;
}

/* 支付区 */
.donate-section {
    margin-top: 10px;
}

.donate-section h2 {
    text-align: center;
    color: #6b4f2c;
    font-size: 1.6em;
    margin-bottom: 8px;
}

.donate-section .hint {
    text-align: center;
    color: #8a7a6a;
    font-size: 0.92em;
    margin-bottom: 28px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.pay-card {
    background: #fff;
    border: 1px solid #ece1d0;
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pay-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pay-card .pay-title {
    font-size: 1.15em;
    font-weight: bold;
    margin-bottom: 14px;
}

.pay-card.wechat .pay-title { color: #09b76b; }
.pay-card.alipay .pay-title { color: #1677ff; }
.pay-card.paypal .pay-title { color: #003087; }

.qr-wrap {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border: 1px solid #e0d4c0;
    border-radius: 8px;
    margin-bottom: 12px;
}

.qr-wrap img {
    width: 180px;
    height: 180px;
    display: block;
}

.pay-btn {
    display: inline-block;
    padding: 12px 26px;
    color: #fff;
    text-decoration: none;
    border-radius: 26px;
    font-weight: bold;
    font-size: 0.98em;
    transition: opacity 0.25s;
    margin-top: 6px;
}

.pay-btn:hover { opacity: 0.88; }

.pay-btn.wechat { background: #09b76b; }
.pay-btn.alipay { background: #1677ff; }
.pay-btn.paypal { background: #0070ba; }

.pay-note {
    font-size: 0.8em;
    color: #999;
    margin-top: 8px;
    word-break: break-all;
}

/* 致谢 */
.thanks {
    text-align: center;
    margin-top: 36px;
    padding: 22px;
    background: #faf0dc;
    border-radius: 10px;
    color: #6b4f2c;
    font-size: 1.05em;
}

.thanks .heart {
    font-size: 1.4em;
}

/* 页脚 */
footer {
    padding: 22px 18px 26px;
    background: #6b4f2c;
    color: #e8d9c0;
    text-align: center;
}

footer .footer-thanks {
    font-size: 0.92em;
    margin-bottom: 14px;
    color: #f0e0c8;
}

/* 镜像访问地址列表 */
.mirror-list {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.mirror-list .mirror-label {
    font-size: 0.78em;
    color: #c7b393;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.mirror-urls {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
}

.mirror-urls li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.98em;
    letter-spacing: 0.5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    padding-bottom: 1px;
    transition: color 0.25s;
}

.mirror-urls li a:hover {
    color: #ffd98a;
}

/* 移动端适配 */
@media (max-width: 600px) {
    header h1 { font-size: 1.6em; }
    .content { padding: 25px 18px; }
    .qr-wrap img { width: 150px; height: 150px; }
    .payment-grid { grid-template-columns: 1fr; }
}
