
/* CSS样式代码 */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #8e44ad, #2980b9, #27ae60);
    animation: gradient 10s infinite;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
header {
    text-align: center;
    padding: 50px 20px;
    position: relative;
}
header h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
header p {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.8;
}
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #ff7f50;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(255, 127, 80, 0.5);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}
.card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}
.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.card p {
    font-size: 0.9rem;
    opacity: 0.8;
}
footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}
footer a {
    color: #ff7f50;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #fff;
}
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #8e44ad;
    border-top-color: #2980b9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .card h3 {
        font-size: 1rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1200px) {
    header h1 {
        font-size: 4rem;
    }
    .card h3 {
        font-size: 1.5rem;
    }
}

