body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    padding: 20px;
}

header {
    margin-bottom: 3rem;
}

h1 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.lead {
    color: #34495e;
    font-size: 1.2rem;
}

.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.chart-container {
    position: relative;
    height: 60vh;
    width: 100%;
}

/* 排序按钮样式 */
#sortButton {
    background-color: #3498db;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#sortButton:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#sortButton:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#sortButton i {
    margin-right: 5px;
}

/* 捐赠按钮样式 */
.donation-button .btn-success {
    background-color: #e74c3c;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.donation-button .btn-success:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.donation-button .btn-success:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.donation-button i {
    margin-right: 5px;
    color: #fff;
}

/* 分享按钮样式 */
.share-buttons {
    margin-top: 15px;
}

.share-buttons .btn {
    border-radius: 20px;
    padding: 5px 12px;
    transition: all 0.3s ease;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-buttons .btn i {
    margin-right: 5px;
}

/* 动物信息样式 */
.animal-info-container {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.animal-info {
    color: #2c3e50;
}

.animal-info h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.animal-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.animal-info ul {
    list-style-type: none;
    padding-left: 0;
}

.animal-info li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.animal-info li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    color: #7f8c8d;
    font-size: 0.9rem;
}

footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .chart-container {
        height: 40vh;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }

    .animal-info-container {
        padding: 15px;
    }

    .animal-info h3 {
        font-size: 1.3rem;
    }
    
    #sortButton {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .donation-button .btn-success {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .share-buttons .btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
} 