
/* 基础样式与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #1a237e, #6200ea);
    color: #ffffff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 20px;
}
p {
    font-size: 16px;
    margin-bottom: 15px;
}
button {
    background-color: #ff4081;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
button:hover {
    transform: scale(1.1);
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header {
    text-align: center;
    margin-top: 40px;
}
.header h1 {
    font-size: 3rem;
    background: linear-gradient(90deg, #ff4081, #6200ea);
    -webkit-background-clip: text;
    color: transparent;
}
.section {
    margin: 40px 0;
    width: 100%;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.image-grid img:hover {
    transform: scale(1.05);
}
.code-block {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    overflow-x: auto;
}
.table-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.table-section th, .table-section td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
}
.table-section th {
    background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .section {
        margin: 20px 0;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 10px;
    }
    .code-block {
        font-size: 12px;
    }
}

