:root {
    --bg-dark: #0a0a0a;
    --panel-dark: #121212;
    --accent: #4785B8;
    --accent-hover: #5197D1;
    --text-main: #f0f0f0;
    --text-dim: #a0a0a0;
    --text-reading: #d4d4d4;
    --border-color: #242424;
    --radius-main: 6px;
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    margin: 0; 
    overflow-x: hidden;
}

.container { 
    max-width: 1000px; 
    margin: 60px auto; 
    padding: 0 20px; 
}

/* --- ARTICLE READING VIEW --- */
.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.btn-back {
    display: inline-block;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 30px;
    transition: color 0.2s ease;
}
.btn-back:hover { color: var(--accent); }
.btn-back i { margin-right: 8px; }

.article-header { margin-bottom: 40px; text-align: center; }
.article-meta { 
    color: var(--accent); 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1.5px; 
    margin-bottom: 15px;
}
.article-title { 
    font-size: 3.5rem; 
    font-weight: 800; 
    margin: 0 0 20px 0; 
    line-height: 1.1;
    color: #ffffff;
}
.article-info { 
    color: var(--text-dim); 
    font-size: 1rem; 
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}
.article-info strong { color: var(--text-main); }

.article-banner { 
    width: 100%; 
    height: 400px; 
    background: #1a1a1a; 
    border-radius: var(--radius-main); 
    object-fit: cover; 
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.article-body { 
    font-size: 1.15rem; 
    line-height: 1.8; 
    color: var(--text-reading); 
}

.article-body br {
    display: block;
    margin: 10px 0;
    content: " ";
}

/* --- THE CHANGELOG LINK BOX --- */
.changelog-bridge {
    margin-top: 60px; 
    padding: 30px;
    background: linear-gradient(90deg, #121212 0%, #1a1a1a 100%);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-main) var(--radius-main) 0;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.bridge-text h4 { margin: 0 0 8px 0; color: #fff; font-size: 1.2rem; }
.bridge-text p { margin: 0; font-size: 0.95rem; color: var(--text-dim); }

.btn-patch {
    padding: 12px 24px; 
    background: var(--accent); 
    color: #fff;
    text-decoration: none; 
    border-radius: 3px; 
    font-weight: 700;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.btn-patch:hover { 
    background: var(--accent-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(71, 133, 184, 0.3);
}

/* --- NEWS LIST STYLING (The Grid) --- */
.page-title {
    font-size: 2.5rem; 
    margin: 0 0 40px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px; 
}
.news-card { 
    background: var(--panel-dark); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-main);
    text-decoration: none; 
    color: inherit; 
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}
.news-card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(71, 133, 184, 0.5); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.card-img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-bottom: 1px solid var(--border-color);
}

/* Replaced inline styles with this class */
.card-img-placeholder {
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.card-content { 
    padding: 25px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-meta { 
    color: var(--accent); 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
    margin-bottom: 10px; 
}
.card-title { 
    font-size: 1.3rem; 
    font-weight: 800; 
    margin: 0 0 12px 0; 
    color: #ffffff;
    line-height: 1.3;
}
.card-desc { 
    color: var(--text-dim); 
    font-size: 0.95rem; 
    margin: 0; 
    line-height: 1.6;
}

footer { 
    text-align: center; 
    padding: 40px 20px; 
    border-top: 1px solid var(--border-color); 
    margin-top: 80px; 
    color: #555; 
    font-size: 0.9rem; 
}

/* =========================================
   📱 MOBILE RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 768px) {
    .article-title { font-size: 2.2rem; }
    .article-banner { height: 250px; margin-bottom: 25px; }
    .article-body { font-size: 1.05rem; }
    
    .changelog-bridge {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 15px;
    }
    .btn-patch { width: 100%; justify-content: center; }

    .page-title { font-size: 2rem; }
    .news-grid { grid-template-columns: 1fr; } 
}