body {
    background-color: #0f172a; /* Slate 900 */
    color: #e2e8f0; /* Slate 200 */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-y: scroll;
}
/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e293b;
}
::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.pulse-dot {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
/* 隐藏滚动条但保持滚动功能 */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
/* 移动端优化 */
@media (max-width: 768px) {
    .spec-card {
        min-height: 80px;
    }
    
    /* 导航栏优化 */
    .nav-mobile {
        touch-action: manipulation;
    }
    
    /* 捐款卡片优化 */
    .donation-card-mobile {
        transition: all 0.3s ease;
    }
    
    /* 确保小屏幕下内容不被遮挡 */
    body {
        padding-bottom: 80px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .nav-mobile button {
        padding: 0.5rem 0.75rem;
    }
    
    .donation-card-mobile {
        max-width: 240px;
    }
}
