
/* 全局样式 */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0A1F44, #1A2F64);
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #FFFFFF;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

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

/* 容器布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

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

@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* 色彩定义 */
.main-background {
    background-color: #0A1F44;
    color: #FFFFFF;
}

.highlight-button {
    background-color: #00FFFF;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.featured-text {
    color: #6A0DAD;
    font-weight: bold;
}

/* 图片样式 */
.image-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 动画效果 */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

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

.ripple-effect:hover::after {
    width: 200%;
    height: 200%;
    opacity: 1;
}

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

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #FFFFFF;
}

th {
    background-color: #00FFFF;
    color: #0A1F44;
}

td {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 代码块样式 */
pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

code {
    color: #00FFFF;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

/* 提示框 */
.tip-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    pre {
        font-size: 12px;
    }

    table {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    pre {
        font-size: 10px;
    }

    table {
        font-size: 12px;
    }
}

