
/* 基本样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0A1F44, #6C5CE7);
    color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #6C5CE7;
    font-weight: bold;
    margin-bottom: 20px;
}

p, li, code {
    color: #CCCCCC;
    line-height: 1.6;
}

a {
    color: #38E54D;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    padding: 40px;
    background: rgba(10, 31, 68, 0.8);
}

.card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
}

button {
    background: linear-gradient(135deg, #0A1F44, #6C5CE7);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
}

button:hover {
    background: linear-gradient(135deg, #38E54D, #00BFFF);
    transform: translateY(-5px);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #00BFFF;
    margin-bottom: 20px;
}

code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
    color: #38E54D;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #6C5CE7;
    padding: 10px;
    text-align: left;
}

th {
    background-color: rgba(108, 92, 231, 0.7);
}

tr:nth-child(even) {
    background-color: rgba(108, 92, 231, 0.2);
}

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

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

/* 布局调整 */
@media (max-width: 1440px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        grid-template-columns: 1fr;
    }
    button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
    .container {
        grid-gap: 10px;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.2em;
    }
    button {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 列表示例 */
ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.images img {
    width: 48%;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(10, 31, 68, 0.9);
    color: #CCCCCC;
    font-size: 14px;
}

code.language-css {
    color: #38E54D;
}

code.language-js {
    color: #00BFFF;
}

