
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F3D, #C4C4C4);
    color: #FFFFFF;
    line-height: 1.6;
}

header {
    background: #0A1F3D;
    padding: 20px;
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #39FF14;
}

.notice {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    color: #FFFFFF;
}

.container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: 40px;
}

.sidebar {
    grid-column: span 3;
    background: #0A1F3D;
    padding: 20px;
    border-radius: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    color: #C4C4C4;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: #39FF14;
}

.content {
    grid-column: span 9;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.content h2, .content h3, .content h4 {
    color: #39FF14;
}

.content pre {
    background: #1E2A38;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.content code {
    color: #FF6F61;
    font-family: 'Courier New', Courier, monospace;
}

.content img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

.button {
    padding: 12px 24px;
    background-color: #39FF14;
    color: #0A1F3D;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: box-shadow 0.3s, background-color 0.3s;
}

.button:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #2ED014;
}

footer {
    background: #0A1F3D;
    color: #C4C4C4;
    text-align: center;
    padding: 20px;
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links li a {
    color: #C4C4C4;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #39FF14;
}

@media (max-width: 1440px) {
    .container {
        padding: 30px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 25px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        grid-column: span 4;
    }

    .content {
        grid-column: span 8;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(6, 1fr);
        padding: 20px;
    }

    .sidebar {
        grid-column: span 6;
    }

    .content {
        grid-column: span 6;
    }

    .sidebar ul li a {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    .container {
        grid-template-columns: repeat(4, 1fr);
        padding: 15px;
    }

    .sidebar {
        grid-column: span 4;
    }

    .content {
        grid-column: span 4;
    }

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

@media (max-width: 320px) {
    header h1 {
        font-size: 1.8em;
    }

    .sidebar ul li a {
        font-size: 0.9em;
    }

    .content h2 {
        font-size: 1.5em;
    }

    .content h3 {
        font-size: 1.3em;
    }
}

@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
    z-index: -1;
    opacity: 0.3;
}

.code-preview {
    background: #1E2A38;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #FF6F61;
    color: white;
    font-weight: bold;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #E65C00;
}

.icon {
    width: 32px;
    height: 32px;
    fill: #C4C4C4;
    transition: transform 0.3s ease-in-out;
}

.icon:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .background-animation {
        display: none;
    }
}

