
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #001f3f, #0074D9);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-weight: bold;
    color: #FF851B;
}
p {
    font-size: 16px;
    margin-bottom: 20px;
}
a {
    text-decoration: none;
    color: #3D9970;
}
a:hover {
    text-shadow: 0 0 5px rgba(61, 153, 112, 0.8);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(to right, #001f3f, #0074D9);
    margin-bottom: 20px;
}
.header h1 {
    font-size: 36px;
    color: white;
}
.navbar {
    display: flex;
    justify-content: space-around;
    background-color: #111;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar a {
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.navbar a:hover {
    background-color: #FF851B;
}
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(33.333% - 40px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.tabs {
    display: flex;
    margin-top: 40px;
}
.tabs nav {
    flex: 1;
    background: #222;
    padding: 20px;
    border-radius: 10px;
}
.tabs nav a {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}
.tabs .content {
    flex: 3;
    background: #333;
    padding: 20px;
    border-radius: 10px;
}
.code-block {
    background: #222;
    color: #00ff00;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    padding: 10px;
    border: 1px solid #444;
    text-align: left;
}
th {
    background-color: #333;
}
/* 响应式设计 */
@media (max-width: 1024px) {
    .card {
        flex: 1 1 calc(50% - 40px);
    }
}
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }
    .card {
        flex: 1 1 100%;
    }
}

