/* =========================================
   bs_s_donate.css - 关于捐献 页面样式
   ========================================= */

.donate-wrapper {
    max-width: var(--sectionHTMLWidth);
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: slideUp 0.8s ease-out;
    color: #333;
}

.donate-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.donate-desc {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 50px;
    position: relative;
}

.donate-desc::before {
    content: '"';
    font-size: 4rem;
    color: #e5e7eb;
    position: absolute;
    top: -30px;
    left: -20px;
    z-index: -1;
    font-family: serif;
}

.qr-grid {
    display: flex;
    justify-content: center;
    gap: 160px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    /* 核心：平时微微晃动 */
   animation: gentle-float 5s ease-in-out infinite;
}

.qr-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    width: 240px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.qr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.qr-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: height 0.3s;
}
.wechat-card::after { background: #07c160; }
.alipay-card::after { background: #1677ff; }
.qr-card:hover::after { height: 6px; }

.qr-image-box {
    width: 180px;
    height: 180px;
    background: #f9fafb;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e5e7eb;
    transition: border-color 0.3s;
}

.qr-card:hover .qr-image-box {
    border-color: #d1d5db;
    background: #fff;
}

.qr-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.platform-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wechat-text { color: #07c160; }
.alipay-text { color: #1677ff; }

.platform-sub {
    font-size: 0.85rem;
    color: #9ca3af;
}

.thanks-section {
    background: #f9fafb;
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid #f3f4f6;
    /* 核心：平时微微晃动 */
   animation: gentle-float 5s ease-in-out infinite;
}

.thanks-title {
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.thanks-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #6b7280;
}

.thanks-tag {
    background: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.thanks-tag:hover {
    border-color: #07c160;
    color: #07c160;
    transform: scale(1.05);
}

/* --- 动画定义 --- */
@keyframes gentle-float {
   0%, 100% { transform: translateY(0) rotate(0deg); }
   25% { transform: translateY(-3px) rotate(0.5deg); }
   75% { transform: translateY(3px) rotate(-0.5deg); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .qr-grid { gap: 20px; }
    .qr-card { width: 100%; max-width: 280px; }
    .donate-title { font-size: 1.8rem; }
}