
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Helvetica+Neue:wght@400;700&display=swap');

:root {
    --main-color: #1E3A8A; /* 深蓝色 */
    --secondary-color: #6D28D9; /* 紫色 */
    --accent-color: #10B981; /* 青绿色 */
    --neon-pink: #FF69B4;
    --gradient-bg: linear-gradient(135deg, #1E3A8A, #6D28D9, #10B981);
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-color: #FFFFFF;
    --font-main: 'Roboto', sans-serif;
    --font-secondary: 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: var(--gradient-bg);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
}

header {
    text-align: center;
    padding: 50px 20px;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--neon-pink);
}

h2, h3, h4 {
    font-family: var(--font-secondary);
    color: var(--accent-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
}

pre {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 15px;
}

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

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

th, td {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    text-align: left;
}

th {
    background-color: rgba(255, 255, 255, 0.2);
}

a {
    color: var(--neon-pink);
    text-decoration: none;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--neon-pink);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.image-grid img {
    width: 100%;
    border-radius: 10px;
}

.footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    h1 {
        font-size: 2rem;
    }
    pre {
        padding: 10px;
    }
}

