
/* 引入Google字体 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto+Mono&display=swap');

/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: 'Roboto Mono', monospace;
    background: radial-gradient(circle, rgba(10,10,10,1) 0%, rgba(0,0,0,1) 100%);
    color: #FFFFFF;
    overflow-x: hidden;
    transition: background 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #00F0FF;
    margin-bottom: 20px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

pre, code {
    background-color: #1A1A1A;
    color: #39FF14;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
}

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

.item {
    grid-column: span 4;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10,10,10,0.8);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.navbar .logo h1 {
    font-size: 1.5rem;
    color: #39FF14;
}

.navbar .nav-links a {
    color: #00F0FF;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: #39FF14;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: linear-gradient(to right, #8A2BE2, #0000FF);
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.section-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.code-block {
    background: #1A1A1A;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    color: #39FF14;
    margin-bottom: 20px;
}

img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    margin: 10px;
}

.footer {
    background: #0A0A0A;
    color: #999999;
    text-align: center;
    padding: 20px;
    position: relative;
}

/* 按钮样式 */
button {
    background: #00F0FF;
    border: none;
    padding: 10px 20px;
    color: #0A0A0A;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #39FF14;
}

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

body {
    animation: aurora-move 15s linear infinite;
}

.shape {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #00F0FF, #39FF14);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: rotate 5s infinite linear;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

a {
    text-decoration: none;
    color: inherit;
}

a[rel="nofollow"] {
    /* 保持rel="nofollow"属性 */
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        grid-template-columns: repeat(12, 1fr);
    }
}

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

@media (max-width: 1024px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }
    .container {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(6, 1fr);
    }
    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: repeat(4, 1fr);
    }
    h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 320px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
    h1 {
        font-size: 1.2rem;
    }
}

/* 高亮文本 */
.highlight {
    background: linear-gradient(to right, #0000FF, #8A2BE2);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

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

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

th {
    background-color: #00F0FF;
    color: #0A0A0A;
}

tr:nth-child(even) {
    background-color: #1A1A1A;
}

/* 卡片样式 */
.card {
    background: rgba(26, 26, 26, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(26, 26, 26, 1);
}

/* 图片画廊 */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery img {
    margin: 10px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* 使用过渡效果增强视觉层次 */
.transition-effect {
    transition: all 0.5s ease;
}


