body {
    font-family: 'Noto Sans SC', sans-serif;
    margin: 0;
    color: #333;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #f9f9f9;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://source.unsplash.com/random/1920x1080/?newspaper');
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(1.2);
    z-index: -1;
    transition: filter 0.5s ease;
    backdrop-filter: blur(5px);
}

body.loading::before {
    filter: blur(20px) brightness(0.7);
}

header {
    background-color: #ffffff;
    color: #333;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-family: "KaiTi", "楷体", serif;
    font-weight: normal;
    font-size: 2.5rem;
    padding-left: 20px;
    text-align: left;
}

nav ul {
    padding: 0;
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #555;
    text-decoration: none;
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.content {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.content p {
    margin-bottom: 1.5em;
    text-indent: 2em;
}

.content h2, .content h3, .content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 500;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #f5f5f5;
    animation: spin 1s ease-in-out infinite;
    z-index: 1000;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #f5f5f5;
    color: #444;
    position: fixed;
    bottom: 0;
    width: 100%;
}

#articles article {
    border-bottom: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #222;
    border-radius: 6px;
    transition: all 0.3s ease;
    transform-origin: top center;
}

#articles article:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#articles article:last-child {
    border-bottom: none;
}

.full-article {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out forwards;
    transform-origin: top center;
}

.full-article .content {
    line-height: 1.8;
    font-size: 1.1em;
}

.back {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 15px;
    background-color: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.back:hover {
    background-color: #0d5bb7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}