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

:root {
    --gold: #C8922A;
    --gold-light: #F0B840;
    --red: #B01E1E;
    --red-dark: #8A1515;
    --bg: #0E0A06;
    --surface: #1A1208;
    --border: #2E2010;
    --text: #E8DCC8;
    --text-muted: #9A8870;
    --white: #FFFFFF;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Microsoft JhengHei', '微軟正黑體', '蘋方-繁', 'PingFang TC', sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

/* ── Header ── */
.site-header {
    background: #0A0602;
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .logo-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-light);
    text-decoration: none;
    letter-spacing: 0.04em;
}

.site-header nav {
    display: flex;
    gap: 16px;
}

.site-header nav a {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.site-header nav a:hover { color: var(--gold-light); }

/* ── Hero / Page Title ── */
.page-hero {
    background: linear-gradient(135deg, #0A0602 0%, #1A0C04 100%);
    border-bottom: 1px solid var(--border);
    padding: 40px 20px 32px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.4rem, 5vw, 2rem);
    color: var(--gold-light);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 10px;
}

.page-hero .subtitle {
    font-size: clamp(0.82rem, 3vw, 0.95rem);
    color: var(--text-muted);
}

/* ── Blog Listing ── */
.blog-listing {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.cta-banner {
    background: linear-gradient(135deg, #1A0C04, #2A1408);
    border: 1px solid rgba(200,146,42,0.4);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 36px;
    text-align: center;
}

.cta-banner p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.cta-banner .highlights {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 14px;
    line-height: 1.8;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(160deg, #2EE070, #19A84E);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: inherit;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    border-left: 3px solid var(--gold);
    padding-left: 10px;
    margin-bottom: 16px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, background 0.2s;
}

.article-card:hover {
    border-color: rgba(200,146,42,0.5);
    background: #1E1008;
}

.article-card .tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(200,146,42,0.12);
    border: 1px solid rgba(200,146,42,0.25);
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.article-card h2 {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    color: var(--text);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.article-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── Article Page ── */
.article-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.article-meta .tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(200,146,42,0.12);
    border: 1px solid rgba(200,146,42,0.25);
    border-radius: 4px;
    padding: 2px 7px;
}

.article-meta .date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.article-wrap h1 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    color: var(--gold-light);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 28px;
}

.article-wrap h2 {
    font-size: clamp(1.05rem, 4vw, 1.2rem);
    color: var(--gold);
    font-weight: 700;
    margin: 32px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.article-wrap h3 {
    font-size: 1rem;
    color: var(--text);
    font-weight: 700;
    margin: 20px 0 8px;
}

.article-wrap p {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 0.95rem;
}

.article-wrap ul, .article-wrap ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.article-wrap li {
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--text);
}

.article-wrap strong {
    color: var(--gold-light);
    font-weight: 700;
}

/* ── 比較表格 ── */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 0.88rem;
}

.compare-table th {
    background: #1A1208;
    color: var(--gold);
    padding: 10px 12px;
    text-align: center;
    font-weight: 700;
    border: 1px solid var(--border);
}

.compare-table td {
    padding: 9px 12px;
    border: 1px solid var(--border);
    color: var(--text);
    text-align: center;
    vertical-align: middle;
}

.compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.compare-table .good { color: #4DCC7A; font-weight: 700; }
.compare-table .bad  { color: #CC6060; }
.compare-table .label-col { text-align: left; color: var(--text-muted); }

/* ── CTA 區塊 ── */
.cta-block {
    background: linear-gradient(135deg, #12080202, #1E0E04);
    border: 1px solid rgba(200,146,42,0.35);
    border-radius: 16px;
    padding: 28px 24px;
    margin: 40px 0 32px;
    text-align: center;
}

.cta-block h3 {
    font-size: 1.1rem;
    color: var(--gold-light);
    font-weight: 900;
    margin-bottom: 8px;
}

.cta-block p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.cta-block .gift-summary {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 2;
    margin-bottom: 18px;
}

.cta-block .btn-wa {
    font-size: 1rem;
    padding: 14px 32px;
}

/* ── Related Articles ── */
.related {
    margin-top: 40px;
}

.related h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-list a {
    font-size: 0.88rem;
    color: var(--gold);
    text-decoration: none;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: block;
    transition: border-color 0.2s;
}

.related-list a:hover { border-color: rgba(200,146,42,0.4); }

/* ── Footer ── */
.site-footer {
    text-align: center;
    padding: 24px 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .article-wrap, .blog-listing { padding: 24px 16px 60px; }
    .cta-block { padding: 22px 16px; }
}
