/* 增强版拟态风格CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    min-height: 100vh;
    padding: 30px;
    position: relative;
    overflow-x: hidden;
}

/* 背景装饰效果 */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(0,0,0,0.1) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 2%) rotate(0deg); }
    75% { transform: translate(-2%, 0) rotate(-1deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 30px;
    box-shadow: 
        20px 20px 40px rgba(0,0,0,0.2),
        -20px -20px 40px rgba(255,255,255,0.1),
        inset 2px 2px 5px rgba(255,255,255,0.5),
        inset -2px -2px 5px rgba(0,0,0,0.1);
}

.title {
    color: #333;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 
        1px 1px 3px rgba(255,255,255,0.8),
        2px 2px 6px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    background: linear-gradient(145deg, #2196f3, #03a9f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.subtitle {
    color: rgba(0,0,0,0.85);
    font-size: 1.3rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.7);
    padding: 15px 30px;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    box-shadow: 
        5px 5px 10px rgba(0,0,0,0.1),
        -5px -5px 10px rgba(255,255,255,0.8);
}

.payment-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.payment-card {
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 
        25px 25px 50px rgba(0,0,0,0.25),
        -25px -25px 50px rgba(255,255,255,0.15),
        inset 5px 5px 10px rgba(255,255,255,0.8),
        inset -5px -5px 10px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.payment-card::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.6s ease;
}

.payment-card:hover::before {
    left: 100%;
}

.payment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        30px 30px 60px rgba(0,0,0,0.3),
        -30px -30px 60px rgba(255,255,255,0.2),
        inset 5px 5px 15px rgba(255,255,255,0.9),
        inset -5px -5px 15px rgba(0,0,0,0.15);
}

.payment-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 
        5px 5px 10px rgba(0,0,0,0.1),
        -5px -5px 10px rgba(255,255,255,0.8);
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.payment-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    display: block;
    border-radius: 20px;
    box-shadow: 
        15px 15px 30px rgba(0,0,0,0.2),
        -15px -15px 30px rgba(255,255,255,0.4),
        inset 2px 2px 5px rgba(255,255,255,0.8),
        inset -2px -2px 5px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 15px;
}

.payment-image:hover {
    transform: scale(1.05);
    box-shadow: 
        20px 20px 40px rgba(0,0,0,0.25),
        -20px -20px 40px rgba(255,255,255,0.5),
        inset 2px 2px 5px rgba(255,255,255,0.9),
        inset -2px -2px 5px rgba(0,0,0,0.15);
}

.payment-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 
        inset 5px 5px 10px rgba(0,0,0,0.05),
        inset -5px -5px 10px rgba(255,255,255,0.8);
}

.donations-section {
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 
        25px 25px 50px rgba(0,0,0,0.25),
        -25px -25px 50px rgba(255,255,255,0.15),
        inset 5px 5px 10px rgba(255,255,255,0.8),
        inset -5px -5px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
    background: linear-gradient(145deg, #2196f3, #03a9f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 40px;
    border-radius: 30px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    box-shadow: 
        5px 5px 10px rgba(0,0,0,0.1),
        -5px -5px 10px rgba(255,255,255,0.8);
}

.donations-list {
    display: grid;
    gap: 25px;
}

.donation-item {
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        10px 10px 20px rgba(0,0,0,0.15),
        -10px -10px 20px rgba(255,255,255,0.9),
        inset 2px 2px 5px rgba(255,255,255,0.8),
        inset -2px -2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.donation-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(145deg, #2196f3, #03a9f4);
    border-radius: 5px 0 0 5px;
}

.donation-item:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 
        15px 15px 30px rgba(0,0,0,0.2),
        -15px -15px 30px rgba(255,255,255,0.95),
        inset 2px 2px 5px rgba(255,255,255,0.9),
        inset -2px -2px 5px rgba(0,0,0,0.08);
}

.donor-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.donor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    background: linear-gradient(145deg, #2196f3, #03a9f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donation-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2196f3;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 
        3px 3px 6px rgba(0,0,0,0.1),
        -3px -3px 6px rgba(255,255,255,0.8);
}

.donation-date {
    color: #888;
    font-size: 1rem;
    margin-bottom: 12px;
    background: rgba(0,0,0,0.05);
    padding: 8px 16px;
    border-radius: 15px;
    display: inline-block;
}

.donation-message {
    color: #666;
    font-style: italic;
    line-height: 1.6;
    background: rgba(255,255,255,0.5);
    padding: 20px;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.05), inset -3px -3px 6px rgba(255,255,255,0.8);
}

.empty-state {
    text-align: center;
    padding: 80px 30px;
    color: #999;
    font-size: 1.2rem;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 20px;
    box-shadow: 
        inset 5px 5px 10px rgba(0,0,0,0.05),
        inset -5px -5px 10px rgba(255,255,255,0.8);
}

.loading {
    text-align: center;
    padding: 60px;
    color: #666;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 20px;
    box-shadow: 
        10px 10px 20px rgba(0,0,0,0.1),
        -10px -10px 20px rgba(255,255,255,0.8);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(33, 150, 243, 0.3);
    border-radius: 50%;
    border-top-color: #2196f3;
    animation: spin 1s ease-in-out infinite;
    margin-left: 15px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }
    
    .container {
        padding: 0;
    }
    
    .header {
        padding: 30px;
        margin-bottom: 40px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        padding: 12px 24px;
    }
    
    .payment-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .payment-card {
        padding: 30px;
    }
    
    .payment-image {
        width: 200px;
        height: 200px;
    }
    
    .donations-section {
        padding: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 15px 30px;
    }
    
    .donation-item {
        padding: 20px;
    }
    
    .donor-name {
        font-size: 1.2rem;
    }
    
    .donation-amount {
        font-size: 1.4rem;
        padding: 6px 16px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #2196f3, #03a9f4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #03a9f4, #2196f3);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header,
.payment-card,
.donations-section,
.donation-item {
    animation: fadeIn 0.8s ease-out forwards;
}

.header {
    animation-delay: 0.1s;
}

.payment-card {
    animation-delay: 0.3s;
}

.donations-section {
    animation-delay: 0.5s;
}

.donation-item {
    animation-delay: 0.7s;
}
