/*
Theme Name: Jin10 Lite Child
Theme URI: https://ukrainepass.wordpress.com
Description: 金十数据风格的高频快讯主题，集成 RSS 抓取与 DeepSeek 翻译。
Author: AI Pair Programmer
Template: twentytwentythree
Version: 1.2.0
*/

/* Reset & Base */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --bg-color: #f4f6f8;
    --text-color: #333;
    --heading-color: #1a1a1a;
    --white: #ffffff;
    --accent-color: #e74c3c;
    --bottom-nav-height: 60px;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-color);
}

/* Layout */
.jin10-container {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

.jin10-main {
    flex: 2.5;
    /* Approx 70% */
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.jin10-sidebar {
    flex: 1;
    /* Approx 30% */
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    height: fit-content;
}

/* Mobile Bottom Nav (Hidden on Desktop) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #e1e4e8;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: var(--bottom-nav-height);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 11px;
    font-weight: 500;
    gap: 4px;
    flex: 1;
    height: 100%;
}

.mobile-nav-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}

.mobile-nav-item.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .jin10-container {
        flex-direction: column;
        padding: 0 15px;
        margin: 20px auto 80px;
        /* Extra bottom margin for nav */
    }

    .jin10-main,
    .jin10-sidebar {
        padding: 20px;
    }

    .site-nav {
        display: none;
        /* Hide desktop nav */
    }

    .mobile-bottom-nav {
        display: block;
    }

    /* Horizontal Scroll Filters */
    .flash-filter,
    .depth-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .flash-filter::-webkit-scrollbar,
    .depth-filter::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .filter-btn,
    .filter-pill {
        flex-shrink: 0;
    }

    /* Improve Touch Targets */
    .flash-item,
    .sidebar-item {
        padding-top: 10px;
        padding-bottom: 15px;
    }

    /* Header Mobile Improvements */
    .site-tagline {
        display: none !important;
    }

    .site-logo {
        font-size: 20px;
        /* Slightly smaller logo */
    }
}

/* Header (Global if used in front-page.php) */
.site-header {
    background: var(--white);
    border-bottom: 1px solid #e1e4e8;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.site-logo img {
    height: 40px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: center;
}

.site-nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.site-nav a:hover {
    color: var(--primary-color);
}

@media (max-width: 1100px) {
    .site-tagline {
        display: none !important;
    }

    .site-nav {
        gap: 15px;
    }

    .site-nav a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto !important;
        padding: 15px 20px;
    }

    .site-branding {
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .site-nav {
        display: flex !important;
        width: 100%;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        /* Allow wrap if absolutely needed but try not to */
    }

    .site-nav a {
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
    }

    /* Hide bottom nav if we are showing top nav */
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--heading-color);
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    letter-spacing: -0.5px;
}

.live-indicator {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Flash Timeline */
.flash-timeline {
    position: relative;
    padding-left: 10px;
}

.date-break {
    background: #eef2f6;
    color: #555;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin: 20px 0 30px -10px;
    display: inline-block;
    font-weight: 600;
}

.flash-item {
    position: relative;
    padding: 0 0 35px 30px;
    border-left: 2px solid #eef2f6;
}

.flash-item:last-child {
    border-left: none;
}

.flash-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.2s;
}

.flash-item:hover::before {
    transform: scale(1.2);
}

.flash-time {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
    font-family: monospace;
    font-weight: 600;
}

.flash-content {
    background: var(--white);
}

.flash-meta {
    margin-bottom: 8px;
}

.flash-tag {
    display: inline-block;
    background: #e6f0ff;
    color: var(--primary-color);
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.flash-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: var(--heading-color);
}

.flash-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.flash-text p {
    margin: 0;
}

/* Sidebar Articles */
.sidebar-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.sidebar-content h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--heading-color);
}

.sidebar-date {
    font-size: 12px;
    color: #aaa;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .page-numbers {
    padding: 8px 14px;
    border: 1px solid #e1e4e8;
    margin: 0 4px;
    border-radius: 4px;
    color: var(--secondary-color);
    font-weight: 500;
}

.pagination .current,
.pagination .page-numbers:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Add Responsive Pagination */
@media (max-width: 480px) {
    .pagination .page-numbers {
        padding: 6px 10px;
        margin: 0 2px;
        font-size: 14px;
    }
}

/* Branding */
.site-tagline {
    font-size: 13px;
    color: #888;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #ddd;
    line-height: 1.2;
    font-weight: 500;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Filters */
.flash-filter {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: #fff;
    border: 1px solid #e1e4e8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0, 86, 179, 0.2);
}

/* Link Overlay */
.flash-link-overlay {
    text-decoration: none;
    color: inherit;
    display: block;
}

.flash-link-overlay:hover .flash-text {
    color: var(--primary-color);
}

/* Source in List */
.flash-source-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    color: #666;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 4px;
    margin-right: 8px;
    border: 1px solid #e9ecef;
}

.flash-source-tag svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

/* Detail Page Styles (Redesigned) */
.jin10-detail-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.jin10-detail-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    padding: 0;
    transition: transform 0.3s ease;
}

.jin10-detail-card:hover {
    transform: translateY(-2px);
}

/* Navigation & Meta */
.detail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
}

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-back:hover {
    color: var(--primary-color);
}

.detail-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #999;
    font-size: 13px;
    font-family: monospace;
}

.meta-tag {
    background: rgba(0, 86, 179, 0.08);
    /* primary color with low opacity */
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Content */
.detail-content {
    padding: 50px 40px;
    font-size: 22px;
    line-height: 1.7;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.detail-content p {
    margin-bottom: 25px;
}

/* Source Card */
.source-card {
    margin: 0 40px 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.source-card-header {
    background: #edf2f7;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #718096;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

.source-origin {
    color: var(--primary-color);
}

.source-card-body {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.source-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.source-details {
    flex: 1;
}

.source-title {
    margin: 0;
    font-weight: 700;
    color: #2d3748;
    font-size: 15px;
}

.source-url {
    margin: 2px 0 0;
    font-size: 13px;
    color: #a0aec0;
}

.source-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.source-action:hover {
    background: #004494;
    /* darker primary */
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

/* Footer & Share */
.detail-footer {
    padding: 20px 40px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    text-align: right;
}

.share-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #718096;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.share-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 86, 179, 0.05);
}

@media (max-width: 768px) {
    .jin10-detail-wrapper {
        padding: 0;
        margin-top: 20px;
    }

    .jin10-detail-card {
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .detail-nav,
    .detail-content,
    .source-card,
    .detail-footer {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .source-card {
        margin: 0 20px 30px;
    }

    .detail-content {
        font-size: 19px;
    }
}

/* Article Page Specifics */
.article-body {
    padding: 40px;
}

.article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-text {
    padding: 0;
    /* Override default detail-content padding */
    font-size: 18px;
    /* Slightly smaller than flash news for long reading */
    line-height: 1.8;
    color: #2c3e50;
}

.article-text h2,
.article-text h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.article-text h2 {
    font-size: 24px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.article-text h3 {
    font-size: 20px;
}

.article-text p {
    margin-bottom: 25px;
}

.article-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-tags {
    margin-top: 40px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    background: #f1f3f5;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-link:hover {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 768px) {
    .article-body {
        padding: 25px;
    }

    .article-title {
        font-size: 24px;
    }
}

/* Depth Articles (Grid Layout) */
.jin10-main-full {
    width: 100%;
    padding: 20px;
}

.page-header-block {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.page-subtitle {
    color: #718096;
    font-size: 16px;
    margin: 0;
}

.depth-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.15);
}

.depth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.depth-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.depth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.depth-thumb-link {
    display: block;
    position: relative;
    padding-top: 60%;
    /* 3:5 aspect ratio */
    overflow: hidden;
    background: #f8fafc;
}

.depth-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.depth-card:hover .depth-thumb-img {
    transform: scale(1.05);
}

.depth-thumb-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
}

.depth-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
}

.depth-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.depth-meta-top {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.depth-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: #1e293b;
}

.depth-title a:hover {
    color: var(--primary-color);
}

.depth-excerpt {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.depth-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 8px;
}

@media (max-width: 768px) {
    .depth-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-title {
        font-size: 26px;
    }

    .page-header-block {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .jin10-main-full {
        padding: 10px 0;
        /* Reduce padding since container has padding */
    }

    .depth-body {
        padding: 20px;
    }

    .depth-title {
        font-size: 18px;
    }
}

/* Search Button in Nav */
.nav-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 0 10px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.nav-search-btn:hover {
    color: var(--primary-color);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    width: 100%;
    max-width: 700px;
    position: relative;
    padding: 40px;
    text-align: center;
}

.close-search {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    font-size: 40px;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.search-form {
    display: flex;
    border-bottom: 2px solid #ddd;
    transition: border-color 0.3s;
}

.search-form:focus-within {
    border-color: var(--primary-color);
}

.search-field {
    flex: 1;
    border: none;
    background: none;
    font-size: 24px;
    padding: 15px 0;
    outline: none;
    color: #333;
    font-weight: 600;
}

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 18px;
    padding: 0 15px;
    transition: transform 0.2s;
}

.search-submit:hover {
    transform: scale(1.1);
}



/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 150px !important;
    right: 30px;
    background: var(--white);
    border: 1px solid #eee;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2147483647 !important;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    #back-to-top {
        bottom: 180px !important;
        /* Above mobile nav */
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 100px 20px;
}

.error-title {
    font-size: 100px;
    font-weight: 800;
    color: #eef2f6;
    line-height: 1;
    margin: 0;
}

.error-subtitle {
    font-size: 24px;
    color: #333;
    margin: 20px 0;
    font-weight: 700;
}

.error-text {
    color: #666;
    margin-bottom: 30px;
}

.error-home-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.error-home-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
    transform: translateY(-2px);
}

/* Loading Spinner */
.jin10-loader {
    text-align: center;
    padding: 30px;
    color: #999;
}

.jin10-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.no-more-posts {
    text-align: center;
    padding: 20px;
    color: #bbb;
    font-size: 13px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}
/* New Flash Item Animation */
.flash-new-enter {
    animation: slideInHighlight 2s ease-out;
}

@keyframes slideInHighlight {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        background-color: #fff3cd;
    }
    20% {
        opacity: 1;
        transform: translateY(0);
        background-color: #fff3cd;
    }
    100% {
        background-color: transparent;
    }
}
