
/* 基础样式与背景设置 */
body {
    margin: 0;
    font-family: 'Roboto Mono', sans-serif;
    background: linear-gradient(135deg, #0A1F3E, #050505);
    color: #FFFFFF;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3 {
    color: #8A2BE2;
    font-weight: bold;
    letter-spacing: 2px;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.75rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

p, li {
    font-size: 1rem;
    color: #D3D3D3;
    margin-bottom: 15px;
}

a {
    color: #00FFFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    background-color: #050505;
    color: #00FFFF;
    padding: 5px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

pre {
    background-color: #0A1F3E;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 20px;
    background-color: #050505;
    color: #FFFFFF;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    background-color: #8A2BE2;
    transform: scale(1.1);
}

.tab.active {
    background-color: #8A2BE2;
}

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

    .tab {
        width: 100%;
        text-align: center;
    }
}

@keyframes starExpansion {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.star {
    width: 20px;
    height: 20px;
    background-color: #FFFFFF;
    border-radius: 50%;
    animation: starExpansion 2s ease-in-out infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.notice {
    text-align: center;
    font-size: 1.2rem;
    color: #FF69B4;
    margin-bottom: 30px;
}

