
/* 基础样式与布局 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #F5F5F7, #E8EAF6);
    color: #333;
    line-height: 1.6;
    padding: 20px;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
header {
    text-align: center;
    margin-bottom: 40px;
}
header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: #2C3E50;
    font-size: 2.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
header p {
    font-size: 1.2rem;
    color: #6DD5FA;
    margin-top: 10px;
}

/* 磨砂玻璃效果 */
.frosted-glass {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}
.frosted-glass:hover {
    transform: scale(1.05);
}

/* 图片与装饰 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.image-container img {
    transition: transform 0.3s ease;
}
.image-container:hover img {
    transform: scale(1.1);
}

/* 按钮与交互 */
.button {
    display: inline-block;
    background-color: #FFD700;
    color: #2C3E50;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}
table th {
    background-color: #2C3E50;
    color: #fff;
}
table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .container {
        grid-template-columns: 1fr;
    }
    table {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    header h1 {
        font-size: 1.5rem;
    }
    .button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* 文章排版 */
article {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
article h2, article h3 {
    color: #2C3E50;
    margin-top: 20px;
}
article code {
    background-color: #f4f4f4;
    color: #2C3E50;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
}
article pre {
    background-color: #2C3E50;
    color: #FFD700;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

/* 动画与微交互 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

