
/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Nunito:wght@400;700&display=swap');

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    background-attachment: fixed;
    animation: aurora-move 20s linear infinite;
}

/* Aurora Animation */
@keyframes aurora-move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Header Styling */
header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.2em;
    color: #fdbb2d;
}

/* Section Styling */
section {
    margin-bottom: 40px;
}

section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffd700;
}

section h3, section h4 {
    font-family: 'Montserrat', sans-serif;
    color: #fdbb2d;
    margin-bottom: 10px;
}

section p, section ul, section table, section pre {
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

section ul li {
    list-style: inside square;
}

pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff99;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #444;
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    background-color: #333;
}

td {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 示例数据展示 Styling */
.sample-data {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sample-data-item {
    flex: 1 1 calc(33.333% - 20px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.sample-data-item:hover {
    transform: scale(1.05);
}

.sample-data-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.sample-data-item p {
    font-size: 0.9em;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .sample-data-item {
        flex: 1 1 calc(25% - 20px);
    }
}

@media (max-width: 1200px) {
    .sample-data-item {
        flex: 1 1 calc(33.333% - 20px);
    }
}

@media (max-width: 1024px) {
    .sample-data-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    section h2 {
        font-size: 2em;
    }
    .sample-data-item {
        flex: 1 1 calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    header h1 {
        font-size: 2em;
    }
    section h2 {
        font-size: 1.8em;
    }
}

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

/* Code Block Styling for readability */
pre code {
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Animation for particle effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    pointer-events: none;
}

.particles::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00ff99;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    animation: particles-animation 5s infinite;
}

@keyframes particles-animation {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(100px, 100px);
        opacity: 0;
    }
}

/* Link Styling */
a {
    color: #00ff99;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer Styling */
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 1em;
    color: #fdbb2d;
}

