/* ===============
   PAGE HEADER
   =============== */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,229,255,0.1) 0%, transparent 70%), var(--bg);
    border-bottom: 1px solid var(--border);
    margin-top: 72px;
}

.page-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===============
   ARCHIVE LIST
   =============== */
.archive-list {
    margin: 48px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.archive-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--speed), border-color var(--speed), box-shadow var(--speed);
    backdrop-filter: blur(8px);
}

.archive-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0,229,255,0.35);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.archive-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-item:hover .archive-img { transform: scale(1.04); }

.archive-item > a:first-child { display: block; overflow: hidden; }

.archive-content {
    padding: 22px;
}

.archive-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    background: rgba(245,197,24,0.1);
    padding: 3px 10px;
    border-radius: 50px;
}

.archive-title {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
    color: var(--text);
    transition: color var(--speed);
}

.archive-item:hover .archive-title { color: var(--primary); }

.archive-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(0,229,255,0.4);
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background var(--speed), color var(--speed), border-color var(--speed);
}

.btn-read-more::after { content: '→'; }

.btn-read-more:hover {
    background: var(--primary);
    color: #0b0c1a;
    border-color: var(--primary);
}

/* ===============
   PAGINATION
   =============== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 64px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
    transition: all var(--speed);
}

.pagination a:hover {
    background: var(--primary);
    color: #0b0c1a;
    border-color: var(--primary);
    box-shadow: var(--glow);
}

/* ===============
   ARTICLE DETAIL
   =============== */
.article-container {
    max-width: 860px;
    margin: 56px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    backdrop-filter: blur(8px);
}

.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.article-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.article-meta {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.article-hero-img {
    margin-bottom: 32px;
    border-radius: 14px;
    overflow: hidden;
}

.article-hero-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}

.article-body p { margin-bottom: 22px; }

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 28px 0;
}

.article-body h2,
.article-body h3 {
    font-family: var(--font-head);
    color: var(--primary);
    margin: 36px 0 16px;
}

.page-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 12px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===============
   LANDING HERO (show.html)
   =============== */
.landing-hero {
    padding: 100px 0 64px;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,229,255,0.1) 0%, transparent 70%), var(--bg);
    border-bottom: 1px solid var(--border);
    margin-top: 72px;
}

.landing-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.landing-hero-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.landing-hero-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.landing-hero-img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    max-height: 340px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 768px) {
    .page-header { padding: 80px 0 48px; }
    .archive-list { margin: 32px 0; gap: 18px; }
    .article-container { padding: 28px 20px; margin: 32px auto; }
    .landing-hero { padding: 80px 0 48px; }
    .landing-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .landing-hero-img { display: none; }
    .pagination { gap: 8px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .archive-list { grid-template-columns: 1fr; }
}
