:root {
    --color-primary: #345690;
    --color-primary-dark: #1c3057;
    --color-primary-light: #6684c3;
    --color-secondary: #8257a0;
    --color-accent: #f4a950;
    --color-text-light: #e8edf7;
    --color-text-mid: #bcc6d9;
    --color-text-dark: #283547;
    --color-bg-header: #324975;
    --color-bg-main: #1e2c47;
    --color-bg-footer: #1a2540;
    --color-bg-card: #293b5e;
    --color-bg-card-alt: #2a364d;
    --color-border: #3d507a;
    --color-border-highlight: #5a73a8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 3px 8px rgba(0, 0, 0, 0.4);
    --shadow-inner: inset 0 2px 3px rgba(0, 0, 0, 0.2);
    --font-main: 'Oxygen', sans-serif;
    --font-heading: 'Exo', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
body { background: #111827; color: var(--color-text-light); font-family: var(--font-main); line-height: 1.55; font-size: 14px; }
.bg-gradient { position: fixed; inset: 0; background: linear-gradient(135deg, #111827, #1e2b45, #1d2d4d); z-index: -2; }
.bg-stars { position: fixed; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.45) 1px, transparent 1px); background-size: 70px 70px; opacity: .16; z-index: -1; pointer-events: none; }
.bg-moon { position: fixed; top: 18%; right: 8%; width: 250px; height: 250px; background: radial-gradient(circle at 40% 40%, #acb9d8, #8c9ec5, #5d7db8, #2c4680); border-radius: 50%; box-shadow: 0 0 40px rgba(140,170,220,.4); opacity: .13; z-index: -1; pointer-events: none; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: #ffbb6e; text-decoration: underline; }
p { margin-bottom: 1em; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; color: var(--color-text-light); line-height: 1.2; }
h1 { font-size: 28px; margin-bottom: 14px; } h2 { font-size: 22px; } h3 { font-size: 18px; }
.page-container { min-height: 100vh; display: flex; flex-direction: column; }
.header { background: linear-gradient(to bottom, #203359, #1d2d50); border-bottom: 1px solid #3d5796; padding: 12px 0; box-shadow: 0 3px 10px rgba(0,0,0,.3); position: relative; z-index: 1; }
.header-inner { width: 90%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.logo { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--color-text-light); text-shadow: 0 2px 4px rgba(0,0,0,.3); display: flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--color-accent); }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; background: linear-gradient(to bottom, #f5ac58, #d98b31); color: #2b2116 !important; font-size: 15px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--color-text-mid); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; transition: all .2s ease; padding: 6px 10px; border-radius: 3px; }
.nav-links a:hover, .nav-links a.active { color: var(--color-text-light); background-color: rgba(255,255,255,.12); text-decoration: none; }
.main-content { flex: 1; padding: 30px 0; width: 90%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 30px; }
.single-column { grid-template-columns: 1fr; }
.content-left { min-width: 0; }
.game-splash { min-height: 260px; background: linear-gradient(to bottom, rgba(30,44,71,.08), rgba(30,44,71,.78)), url("https://placehold.co/900x320/234172/e0f5ee/png?text=BUGWERKZ") no-repeat center center; background-size: cover; border-radius: 6px; box-shadow: var(--shadow-md); margin-bottom: 20px; border: 1px solid var(--color-border); position: relative; overflow: hidden; }
.splash-content { position: absolute; left: 0; bottom: 0; width: 100%; padding: 22px; }
.splash-title { font-size: 30px; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,.5); }
.splash-desc { font-size: 16px; color: var(--color-text-mid); max-width: 760px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.game-info, .listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-box, .content-card, .sidebar-panel { background: linear-gradient(to bottom, #2b3b59, #253353); border: 1px solid var(--color-border); border-radius: 6px; padding: 16px; box-shadow: var(--shadow-sm); }
.info-box h3 { font-size: 16px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 8px; }
.info-box h3 i, .side-section h3 i { color: var(--color-accent); }
.info-box p, .muted, .small-text { color: var(--color-text-mid); }
.meta { color: var(--color-text-mid); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.lede { color: var(--color-text-mid); font-size: 17px; }
.sidebar-panel { background: linear-gradient(to bottom, #2a3a5e, #263352); padding: 22px; position: relative; align-self: start; }
.sidebar-panel::before, .sidebar-panel::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: var(--color-accent); border-style: solid; }
.sidebar-panel::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.sidebar-panel::after { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.panel-header { text-align: center; margin-bottom: 18px; }
.panel-header p { color: var(--color-text-mid); font-size: 13px; }
.side-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.side-section h3 { display: flex; gap: 8px; align-items: center; font-size: 15px; margin-bottom: 10px; }
.side-list { list-style: none; }
.side-list li { margin-bottom: 8px; }
.btn { display: inline-block; padding: 10px 18px; background: linear-gradient(to bottom, #f5ac58, #e89d45); color: #33261a; border: 0; border-radius: 4px; font-family: var(--font-heading); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; transition: all .2s ease; box-shadow: 0 2px 4px rgba(0,0,0,.3); text-align: center; }
.btn:hover { background: linear-gradient(to bottom, #f8b769, #f0a64f); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,.3); text-decoration: none; color: #33261a; }
.mini-btn { padding: 7px 12px; font-size: 12px; margin-top: 6px; }
.prose-card { max-width: 900px; }
.prose-card ul, .prose-card ol { margin: 0 0 1em 1.5em; }
.prose-card blockquote { border-left: 3px solid var(--color-accent); padding-left: 14px; color: var(--color-text-mid); margin: 1.2em 0; }
.prose-card code { background: rgba(0,0,0,.25); padding: 2px 5px; border-radius: 3px; }
.entry-image { max-width: 100%; border: 1px solid var(--color-border); border-radius: 6px; box-shadow: var(--shadow-md); margin: 12px 0 20px; }
.pagination { grid-column: 1 / -1; display: flex; gap: 12px; margin-top: 8px; }
.footer { background: linear-gradient(to bottom, #1b2943, #172238); border-top: 1px solid #374c79; padding: 30px 0; box-shadow: 0 -3px 10px rgba(0,0,0,.2); margin-top: auto; }
.footer-inner { width: 90%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.footer-col h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 8px; position: relative; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: var(--color-accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--color-text-mid); font-size: 13px; transition: all .2s ease; }
.footer-links a:hover { color: var(--color-text-light); text-decoration: none; padding-left: 5px; }
.footer-links i { margin-right: 8px; color: var(--color-accent); font-size: 10px; }
.copyright-bar { background: #14192e; padding: 12px 0; text-align: center; color: var(--color-text-mid); font-size: 12px; border-top: 1px solid rgba(255,255,255,.05); }
@media (max-width: 900px) { .main-content { grid-template-columns: 1fr; } .game-info, .listing-grid { grid-template-columns: 1fr; } .footer-inner { grid-template-columns: 1fr 1fr; } .footer-col:last-child { grid-column: span 2; } }
@media (max-width: 600px) { .header-inner { flex-direction: column; text-align: center; } .nav-links { justify-content: center; } .footer-inner { grid-template-columns: 1fr; } .footer-col:last-child { grid-column: span 1; } .main-content { padding: 20px 0; } .splash-title { font-size: 24px; } }
