
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #032b44, #0078d4);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

a {
    color: #00bfff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00a1e4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.header {
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
    animation: aurora-move 15s linear infinite;
}

@keyframes aurora-move {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
}

.tabs {
    display: flex;
    justify-content: space-around;
    background-color: #032b44;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.tab-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.tab-item.active {
    background-color: #0078d4;
}

.tab-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.tab-item:hover::after {
    width: 100%;
    left: 0;
}

.content-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.article {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.article h2, .article h3 {
    color: #ffffff;
}

.code-block {
    background: #000000;
    color: #00ff00;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
}

.data-table th {
    background: rgba(255, 255, 255, 0.2);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .tab-item {
        text-align: center;
        padding: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .code-block {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        gap: 20px;
    }

    .header {
        padding: 30px 10px;
    }

    .header h1 {
        font-size: 1.5rem;
    }
}

