
/* 基础样式与色彩搭配 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0F1547, #1C2A6D);
    color: #FFD700;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #B8860B;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

blockquote {
    border-left: 4px solid #556B2F;
    padding-left: 15px;
    color: #FFD700;
    background: rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

code {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}

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

/* 网格布局与非对称设计 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.module-1 {
    grid-column: span 2;
    background: linear-gradient(45deg, #1C2A6D, #0F1547);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.module-2 {
    grid-column: span 1;
    background: rgba(255, 215, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* 动画效果与交互设计 */
.button {
    position: relative;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #0F1547;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    border-radius: 5px;
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.button:hover::after {
    width: 100px;
    height: 100px;
    opacity: 1;
}

.nav-item {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0F1547;
    color: #FFD700;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.nav-item:hover {
    background-color: #B8860B;
}

/* 背景材质与响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .module-1, .module-2 {
        grid-column: span 1;
    }
}

.panel {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}

/* 其他视觉元素 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

.notification {
    text-align: center;
    color: #FFD700;
    font-size: 14px;
    margin-top: 20px;
}

