:root {
    --bg: #0a0a0f;
    --bg-card: rgba(20, 18, 30, 0.95);
    --bg-card-alt: rgba(30, 25, 40, 0.95);
    --gold: #c9a84c;
    --gold-light: #f0d68a;
    --text: #e0d5c0;
    --text-dim: #8a7e6b;
    --text-faint: #6a5e4b;
    --border: rgba(201, 168, 76, 0.2);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(60, 30, 90, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 60, 120, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(90, 40, 30, 0.1) 0%, transparent 50%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.7;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 860px;
    width: 100%;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
}

h1.site-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-dim);
    letter-spacing: 6px;
    text-transform: uppercase;
}

nav.top-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap;
}

nav.top-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav.top-nav a:hover {
    color: var(--gold);
}

.card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-alt));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.intro {
    text-align: center;
}

.intro p {
    color: var(--text-dim);
    font-size: 1.05rem;
}

.intro a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.4);
    transition: color 0.3s, border-color 0.3s;
}

.intro a:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.section-title {
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.entry-list {
    list-style: none;
}

.entry-list li {
    padding: 22px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.entry-list li:last-child {
    border-bottom: none;
}

.entry-list a {
    text-decoration: none;
}

.entry-title {
    font-size: 1.25rem;
    color: var(--gold);
    font-weight: 600;
    transition: color 0.3s;
    display: block;
    margin-bottom: 6px;
}

.entry-list a:hover .entry-title {
    color: var(--gold-light);
}

.entry-date {
    font-size: 0.85rem;
    color: var(--text-faint);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.entry-summary {
    color: var(--text-dim);
    font-size: 0.98rem;
}

.entry-status {
    display: inline-block;
    font-size: 0.72rem;
    color: #0a0a0f;
    background: var(--gold);
    border-radius: 10px;
    padding: 1px 9px;
    margin-left: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    vertical-align: middle;
}

.loading,
.error {
    text-align: center;
    color: var(--text-dim);
    padding: 30px 0;
}

.error {
    color: #c96a4c;
}

.article {
    line-height: 1.8;
}

.article h1,
.article h2,
.article h3 {
    color: var(--gold-light);
    margin: 32px 0 14px;
    font-weight: 600;
}

.article h1:first-child {
    margin-top: 0;
}

.article h1 { font-size: 1.9rem; }
.article h2 { font-size: 1.5rem; }
.article h3 { font-size: 1.2rem; }

.article p {
    margin-bottom: 16px;
}

.article ul,
.article ol {
    margin: 0 0 16px 28px;
}

.article code {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    padding: 2px 7px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.88em;
    color: var(--gold-light);
}

.article pre {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    overflow-x: auto;
    margin-bottom: 18px;
}

.article pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--text);
    font-size: 0.88em;
    line-height: 1.6;
}

.article blockquote {
    border-left: 3px solid var(--gold);
    margin: 0 0 16px;
    padding: 8px 20px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.03);
}

.article img {
    max-width: 100%;
    border-radius: 10px;
    margin: 10px 0;
}

.article a {
    color: var(--gold);
}

.article hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 28px 0;
}

.article iframe {
    display: block;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 10px;
    margin: 10px 0 18px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    letter-spacing: 1px;
}

.back-link:hover {
    color: var(--gold);
}

.footer {
    margin-top: auto;
    padding: 30px 0;
    text-align: center;
    color: #4a4030;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    h1.site-title { font-size: 1.9rem; }
    .card { padding: 26px 20px; }
}
