
/* 页面整体样式 */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1E2147, #80CCFF);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1, h2, h3, p {
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: #F7B93E;
}
.container {
    width: 95%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.header {
    position: sticky;
    top: 0;
    background: rgba(30, 33, 71, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}
.header h1 {
    text-align: center;
    font-size: 2rem;
    color: #F7B93E;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.navbar {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.navbar a {
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(128, 204, 255, 0.3);
}
.navbar a:hover {
    background: #F7B93E;
    color: #1E2147;
    transform: scale(1.1);
}
.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 204, 255, 0.3), rgba(247, 185, 62, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.card:hover::before {
    opacity: 1;
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}
.card img:hover {
    transform: scale(1.1);
}
.footer {
    text-align: center;
    padding: 20px 0;
    background: rgba(30, 33, 71, 0.9);
    width: 100%;
    margin-top: auto;
}
.footer p {
    font-size: 0.9rem;
    color: #ccc;
}
@media (max-width: 768px) {
    .navbar {
        justify-content: space-around;
    }
    .container {
        grid-template-columns: 1fr;
    }
    .header h1 {
        font-size: 1.5rem;
    }
}
@media (min-width: 1200px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

