
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1E90FF, #0074D9);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #FFA500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
p, li {
    font-size: 1rem;
    color: #f0f8ff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
a {
    color: #FFA500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
a:hover {
    color: #FFC107;
    text-decoration: underline;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header h1 {
    font-size: 2rem;
    letter-spacing: 2px;
}
.navbar {
    display: flex;
    gap: 20px;
}
.navbar a {
    padding: 10px 15px;
    border-radius: 5px;
    background: rgba(255, 165, 0, 0.3);
    transition: all 0.3s ease;
}
.navbar a:hover {
    background: rgba(255, 165, 0, 0.6);
}
.main {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}
.tabs li {
    list-style: none;
    padding: 10px 20px;
    border-radius: 5px;
    background: rgba(255, 165, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.tabs li.active {
    background: rgba(255, 165, 0, 0.8);
}
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 165, 0, 0.3);
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    .main {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1200px) {
    .container {
        padding: 40px;
    }
    .card {
        padding: 30px;
    }
}

