* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    background: #f5f5f0;
    color: #2c2c2c;
    line-height: 1.8;
    min-height: 100vh;
}

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

/* ===== Category Page Header ===== */
.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 20px;
    border-bottom: 1px solid #e0ddd5;
    margin-bottom: 30px;
    position: relative;
}
.category-icon {
    font-size: 1.3em;
}
.category-label {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c2c2c;
}
.category-desc {
    font-size: 0.8em;
    color: #aaa;
    margin-left: 2px;
}
.back-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9em;
    position: absolute;
    left: 0;
}
.back-link:hover {
    color: #c99700;
}

/* ===== Header ===== */
.site-header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 1px solid #e0ddd5;
    margin-bottom: 40px;
}

.site-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #c99700;
    letter-spacing: 6px;
    margin-bottom: 8px;
}

.site-subtitle {
    color: #888;
    font-size: 0.95em;
    letter-spacing: 2px;
}

/* ===== Category Section ===== */
.category-section {
    margin-bottom: 32px;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0ddd5;
}
.section-icon {
    font-size: 1.2em;
}
.section-title {
    font-size: 1em;
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: 2px;
    flex: 1;
}
.section-more {
    font-size: 0.85em;
    color: #c99700;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-left: auto;
}
.section-more:hover {
    opacity: 1;
    text-decoration: underline;
}
.section-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== Article Card ===== */
.article-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.article-card {
    background: #ffffff;
    border: 1px solid #e0ddd5;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-card:hover {
    border-color: #c99700;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 151, 0, 0.1);
}

.card {
    background: #ffffff;
    border: 1px solid #e0ddd5;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    color: inherit;
    display: block;
}

.card:hover {
    border-color: #c99700;
    box-shadow: 0 4px 20px rgba(201, 151, 0, 0.08);
}

    box-shadow: 0 8px 30px rgba(201, 151, 0, 0.1);
}

.card-title {
    font-size: 1.25em;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
    line-height: 1.5;
}

.card-excerpt {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.card-bottom {
    font-size: 0.8em;
    color: #aaa;
    text-align: right;
}

/* ===== Article View ===== */
.article-header {
    margin: 0 -20px 30px;
    padding: 30px 20px 20px;
    border-bottom: 1px solid #e0ddd5;
    display: flex;
    align-items: center;
    gap: 12px;
}
.home-icon {
    font-size: 1.2em;
    text-decoration: none;
    cursor: pointer;
    margin-right: auto;
}
.home-icon:hover {
    opacity: 0.7;
}

.article-theme {
    font-size: 0.85em;
    color: #c99700;
    background: rgba(201, 151, 0, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
    margin-left: auto;
    text-decoration: none;
    display: inline-block;
}
.article-theme:hover {
    opacity: 0.8;
    text-decoration: none;
}

.article-content {
    padding-bottom: 40px;
}

.article-content h1 {
    font-size: 1.8em;
    color: #2c2c2c;
    margin: 0 0 8px;
    line-height: 1.4;
    text-align: center;
}
.article-date {
    display: block;
    text-align: center;
    color: #aaa;
    font-size: 0.85em;
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 1.3em;
    color: #2c2c2c;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0ddd5;
}

.article-content h3 {
    font-size: 1.1em;
    color: #444;
    margin: 20px 0 10px;
}

.article-content p {
    margin-bottom: 16px;
    color: #444;
    font-size: 1em;
    line-height: 1.9;
}

.article-content strong {
    color: #c99700;
    font-weight: 600;
}

.article-content blockquote {
    border-left: 3px solid #c99700;
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(201, 151, 0, 0.04);
    border-radius: 0 8px 8px 0;
    color: #666;
    font-style: italic;
}

.article-content blockquote p {
    margin: 0;
    color: #666;
}

.article-content hr {
    border: none;
    border-top: 1px solid #e0ddd5;
    margin: 30px 0;
}

.article-content ul,
.article-content ol {
    margin: 10px 0 20px 20px;
    color: #444;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-content a {
    color: #c99700;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content code {
    background: #e8e5dd;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #c99700;
}

/* ===== Footer ===== */
.site-footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e0ddd5;
    color: #999;
    font-size: 0.85em;
    letter-spacing: 1px;
}

/* ===== Beian ===== */
.beian {
    font-size: 0.75em;
    color: #999;
    margin-top: 6px;
}
.beian a {
    color: #999;
    text-decoration: none;
}
.beian a:hover {
    color: #c99700;
    text-decoration: underline;
}

/* ===== Article Footer ===== */
.article-footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e0ddd5;
    margin-top: 40px;
}
.footer-text {
    color: #999;
    font-size: 0.85em;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.footer-icp {
    font-size: 0.75em;
}
.footer-icp a {
    color: #999;
    text-decoration: none;
}
.footer-icp a:hover {
    color: #c99700;
    text-decoration: underline;
}


/* ===== Movie Theater Decoration ===== */
.reel-decoration {
    text-align: center;
    padding: 10px 0;
    color: #ddd8cf;
    font-size: 1.2em;
    letter-spacing: 8px;
}

/* ===== Comments ===== */
.comment-area {
    margin-top: 20px;
    padding-top: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .container { padding: 12px; }
    .site-header { padding: 40px 12px 30px; }
    .site-title { font-size: 1.6em; }
    .article-card { padding: 18px; }
    .card-title { font-size: 1.1em; }
    .article-content h1 { font-size: 1.4em; }
    .article-content h2 { font-size: 1.15em; }
}

/* ===== Category Page Header ===== */
.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 20px;
    border-bottom: 1px solid #e0ddd5;
    margin-bottom: 30px;
    position: relative;
}
.category-header .home-icon {
    position: absolute;
    left: 0;
}
