
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgba(0,31,63,1) 0%, rgba(0,124,217,1) 70%, rgba(0,0,0,1) 100%);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    animation: aurora-move 15s linear infinite;
}

h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(90deg, #39ff14, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: #39ff14;
}

h3 {
    font-size: 2rem;
    color: #ffffff;
}

p {
    margin-bottom: 15px;
}

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

code {
    font-family: 'Roboto Mono', monospace;
    color: #39ff14;
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.button {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #39ff14;
}

/* 网格布局 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 图片样式 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    z-index: 1000;
}

.navbar .nav-item {
    display: inline-block;
    margin-right: 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
}

.navbar .nav-item:hover {
    color: #39ff14;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
}

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

@media (max-width: 1024px) {
    .navbar {
        padding: 10px 15px;
    }
    .navbar .nav-item {
        margin-right: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .navbar .nav-item {
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    h3 {
        font-size: 1rem;
    }
}

/* 其他样式 */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
}

.footer p {
    font-size: 1rem;
    color: #ffffff;
}

/* 链接样式 */
a {
    color: #39ff14;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

