
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Merriweather', serif;
    background: linear-gradient(135deg, #002366, #8B00FF);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

a {
    color: #00FFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

/* 页面布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.header h1 {
    font-size: 2rem;
    margin: 0;
}

.main-content {
    margin-top: 100px;
    width: 100%;
}

.section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

/* 卡片设计 */
.card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px;
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 按钮与交互 */
button {
    background-color: #00FFFF;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #FFFFFF;
}

button:hover::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid #00FFFF;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .card {
        max-width: 100%;
    }

    p {
        font-size: 0.9rem;
    }
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

code {
    color: #00FFFF;
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 0.8rem;
    color: #CCCCCC;
    margin-top: 20px;
}

