
/* 基本样式 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #000046, #1cb5e0);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-top: 40px;
}

h2 {
    font-size: 2em;
    font-weight: 700;
    margin-top: 40px;
}

h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 30px;
}

p {
    margin-bottom: 20px;
    font-size: 1em;
}

pre, code {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

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

th {
    background: rgba(255, 255, 255, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.module {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-in-out;
}

.module.active {
    opacity: 1;
    transform: translateY(0);
}

button {
    background-color: #ffdd57;
    border: none;
    padding: 10px 20px;
    color: #000;
    font-size: 1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

button:hover {
    transform: scale(1.05);
}

button:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: pulse 1.5s infinite;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.navbar a {
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ffdd57;
}

.section {
    padding: 60px 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

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

.footer {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.75em;
    }
    h3 {
        font-size: 1.25em;
    }
    .navbar {
        flex-direction: column;
    }
    .navbar a {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

