/* 0. GLOBAL DEĞİŞKENLER */
:root {
    --bg-deep: #05070a;
    --bg-card: #0d1117;
    --accent: #3b82f6;   /* Jilet gibi parlayan mavi nokta rengimiz */
    --border: #1e293b;
    --text-dim: #7d8590;
    --text-light: #e6edf3;
    --gold: #ffca28;
}

/* 1. RESET VE TEMEL */
body {
    background-color: var(--bg-deep); 
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    font-size: 13px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Global Link Koruması - Sadece içerik alanındaki linkleri etkilemesi için kısıtlıyoruz */
/* Header ve Logo bu kuraldan etkilenmesin diye :not() ekledik */
a:not(.logo):not(.user-nav-links a) {
    text-decoration: none;
    color: inherit;
}

/* 2. LOGO ÖZEL RENK KİMLİĞİ */
.logo { 
    font-weight: 900; 
    font-size: 1.2rem; 
    letter-spacing: -0.5px; 
    text-decoration: none !important;
    color: #ffffff !important; /* "KRITERYA" yazısı her zaman BEYAZ */
    flex-shrink: 0;
}

/* Sadece noktanın MAVİ kalması için */
.logo .dot {
    color: var(--accent) !important;
}

/* BETA ibaresinin GRİ kalması için */
.logo .beta-tag {
    color: var(--text-dim) !important; 
    font-size: 0.6rem;
    font-weight: 400;
    margin-left: 5px;
    text-transform: uppercase;
}

/* 3. MODÜLER HEADER (Kullanıcı adı ve ikon renklerini korur) */
.user-navigation { 
    background: var(--bg-card); 
    padding: 10px 25px; 
    border-bottom: 1px solid var(--border); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header içindeki kullanıcı adı ve rütbe renklerinin bozulmasını engelliyoruz */
.user-nav-links a {
    text-decoration: none !important;
    font-weight: 600;
}

/* 4. KONTEYNER VE DİĞERLERİ (Hiçbir şeyi eksiltmedik) */
.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 25px 15px;
    box-sizing: border-box;
}

.kriter-box, .kriter-card {
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    transition: 0.2s;
}

.vote-track, .bar-container {
    height: 8px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    margin: 12px 0;
}

.bar-left { background: var(--accent); transition: width 0.8s ease-in-out; }
.bar-right { background: #f59e0b; transition: width 0.8s ease-in-out; flex-grow: 1; }

/* 5. RÜTBE RENKLERİ (Tüm sayfada çalışması için en alta ve !important ile) */
.rank-admin { color: #f85149 !important; }   
.rank-mod { color: #3fb950 !important; }     
.rank-plus { color: #f1c40f !important; }    
.rank-user { color: var(--accent) !important; }

/* BİLDİRİM PENCERESİ VE DİĞERLERİ (Aynı kalıyor) */
#notif-content a.notif-item {
    text-decoration: none !important;
    color: var(--text-light) !important;
}