
/* 引入字体 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;500&display=swap');

/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: linear-gradient(135deg, #00b09b, #96c93d);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin-top: 0;
}

a {
    color: #ffd700;
    text-decoration: none;
    rel: nofollow;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin: 20px 0;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2em;
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.navigation a {
    font-size: 1em;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    transition: background 0.3s ease;
}

.navigation a:hover {
    background: rgba(255, 215, 0, 0.5);
}

.main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.left-column, .right-column {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.left-column h2, .right-column h2 {
    color: #ffd700;
}

.article-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.article-section h3 {
    color: #00f5d4;
}

.article-section pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

.article-section code {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

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

.footer {
    text-align: center;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin: 20px 0;
}

.button {
    position: relative;
    padding: 10px 20px;
    background-color: #007B5E;
    color: white;
    border: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.button::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%);
    animation: ripple 1s ease-out;
}

.button:hover::after {
    width: 200%;
    height: 200%;
    opacity: 0;
}

@keyframes ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: move 5s infinite;
}

@keyframes move {
    0% { transform: translate(0, 0); }
    50% { transform: translate(50px, -50px); }
    100% { transform: translate(0, 0); }
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8em;
    }

    .navigation a {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

