
/* 全局样式定义 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    color: #FFFFFF;
}
h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 50px;
    position: relative;
    animation: fadeIn 3s ease-in-out;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #785EF0;
}
p {
    font-size: 1rem;
    color: #CCCCCC;
    margin-bottom: 20px;
    text-align: justify;
}
ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
}
li {
    color: #EAEAEA;
    margin-bottom: 10px;
}
a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #3E8E41;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.9);
    color: #FFFFFF;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.navbar .menu {
    display: flex;
    gap: 20px;
}
.navbar .menu a {
    color: #FFFFFF;
    font-size: 1rem;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.cta-button:hover {
    background-color: #3E8E41;
    transform: translateY(-2px);
}
.main-content {
    margin-top: 100px;
    padding: 20px;
    background: linear-gradient(to bottom, #0A192F, #785EF0);
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}
pre {
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}
code {
    color: #FFC107;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
th {
    background-color: rgba(120, 94, 240, 0.8);
    color: #FFFFFF;
}
td {
    color: #EAEAEA;
}
.star {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.footer {
    background-color: #000000;
    color: #CCCCCC;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}
.footer p {
    font-size: 0.9rem;
}
.button {
    position: relative;
    overflow: hidden;
    background-color: #785EF0;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
    animation-fill-mode: forwards;
    visibility: hidden;
    opacity: 0;
}
.button:hover::before {
    visibility: visible;
    opacity: 1;
    animation: ripple 0.6s ease-out;
}
@keyframes ripple {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .navbar .menu {
        flex-direction: column;
        align-items: center;
    }
    table {
        font-size: 0.9rem;
    }
}

