:root {
    --bg-dark: #09090b; 
    --bg-card: #18181b;
    --bg-card-hover: #27272a;
    --bg-item: #141417;
    --bg-item-hover: #1f1f22;
    
    --border-color: #27272a;
    --border-light: #3f3f46;
    
    --primary-yellow: #f59e0b; 
    --primary-yellow-hover: #d97706;
    --primary-dim: rgba(245, 158, 11, 0.1);
    
    --text-white: #fafafa;
    --text-gray: #a1a1aa;
    --text-muted: #71717a;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-gray);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }

.container { 
    max-width: 950px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

svg { flex-shrink: 0; }

.main-wrapper { flex: 1; }

/* Glow Efekti */
.bg-glow {
    position: fixed;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    z-index: -1; 
    pointer-events: none;
}

/* YÜZEN HEADER */
.floating-header {
    position: sticky;
    top: 20px;
    z-index: 100;
    margin-bottom: 20px;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(24, 24, 27, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.brand span { font-size: 15px; color: var(--text-white); letter-spacing: 0.5px; }
.brand strong { color: var(--primary-yellow); }

.nav-menu { display: flex; gap: 24px; align-items: center; }
.nav-menu a { font-size: 13px; font-weight: 600; color: var(--text-gray); transition: 0.2s; }
.nav-menu a:hover { color: var(--text-white); }

.mobile-toggle {
    display: none; background: none; border: none; color: var(--text-white); cursor: pointer;
}

/* HERO */
.hero { text-align: center; padding: 60px 20px; }
.hero-badge { display: inline-block; background: var(--primary-dim); color: var(--primary-yellow); font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 16px; letter-spacing: 1px;}
.hero h2 { font-size: 42px; font-weight: 900; color: var(--text-white); margin-bottom: 16px; letter-spacing: -1px; }
.hero .highlight { color: var(--primary-yellow); }
.hero p { max-width: 500px; margin: 0 auto; color: var(--text-gray); font-size: 15px; }

/* WIDGETS */
.dashboard-widgets { display: grid; grid-template-columns: 320px 1fr; gap: 20px; margin-bottom: 60px; }
.widget-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; }

/* Stats Box */
.widget-header { display: flex; align-items: center; gap: 8px; color: var(--primary-yellow); font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.widget-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.stat-item { background: var(--bg-dark); border: 1px solid var(--border-color); padding: 14px 16px; border-radius: var(--radius-md); display: flex; justify-content: center; align-items: center; transition: 0.2s;}
.stat-item:hover { border-color: var(--border-light); }
.stat-item.active { border-color: var(--primary-yellow); background: var(--primary-dim); }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 700; letter-spacing: 0.5px; }
.stat-item.active .stat-label { color: var(--primary-yellow); }

/* YENİLENMİŞ INFO BOX (Kategoriler) - Tamamen Ortalanmış */
.info-box { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
}
.info-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.info-box .badge { 
    background: rgba(255,255,255,0.05); 
    color: var(--primary-yellow); 
    padding: 6px 14px; 
    font-size: 11px; 
    font-weight: 800; 
    border-radius: var(--radius-pill); 
    margin-bottom: 16px; 
    letter-spacing: 1px;
}
.info-box h3 { 
    font-size: 26px; 
    color: var(--text-white); 
    margin-bottom: 30px; 
    font-weight: 800; 
    letter-spacing: -0.5px;
}
.category-buttons { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
    justify-content: center;
}
.btn-cat { 
    background: var(--bg-dark); 
    border: 1px solid var(--border-color); 
    color: var(--text-white); 
    font-size: 14px; 
    font-weight: 700; 
    padding: 14px 30px; 
    border-radius: var(--radius-pill); 
    transition: 0.2s;
}
.btn-cat:hover { background: var(--border-light); }
.btn-cat.active { 
    background: var(--primary-yellow); 
    color: #000; 
    border-color: var(--primary-yellow); 
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25); 
}
/* İkonu Merkeze Aldık ve Büyüttük */
.bg-icon { 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    color: rgba(255,255,255,0.015); 
    pointer-events: none;
}
.bg-icon svg { width: 350px; height: 350px; }

/* PODIUM */
.podium-section { margin-bottom: 40px; }
.podium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: flex-end; }
.podium-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; text-align: center; position: relative; }
.podium-card.rank-1 { border-color: rgba(245, 158, 11, 0.4); padding-top: 36px; z-index: 2; background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 100%);}
.podium-rank { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--bg-dark); border: 1px solid var(--border-color); padding: 4px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 800; color: var(--text-white); }
.rank-1 .podium-rank { background: var(--primary-yellow); color: #000; border-color: var(--primary-yellow); }
.podium-skin { width: 72px; height: 72px; image-rendering: pixelated; margin-bottom: 16px; border-radius: var(--radius-sm); filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));}
.rank-1 .podium-skin { width: 96px; height: 96px; }
.podium-name { color: var(--text-white); font-size: 16px; margin-bottom: 4px; font-weight: 800; }
.podium-score { color: var(--primary-yellow); font-weight: 700; font-size: 15px; font-family: monospace;}

/* LIST SECTION */
.list-container { margin-bottom: 80px; }
.list-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.list-title h3 { font-size: 20px; color: var(--text-white); font-weight: 800; margin-bottom: 4px; }
.list-title span { font-size: 13px; color: var(--text-muted); }
.list-filters { display: flex; gap: 12px; }
.filter-select { background: var(--bg-card); border: 1px solid var(--border-color); height: 40px; display: flex; align-items: center; padding: 0 16px; border-radius: var(--radius-pill); font-size: 12px; color: var(--text-white); font-weight: 700;}
.filter-select span { color: var(--text-muted); font-weight: 500; margin-right: 6px; }

.list-body { display: flex; flex-direction: column; gap: 10px; }
.list-item { background: var(--bg-item); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; transition: all 0.2s; }
.list-item:hover { background: var(--bg-item-hover); border-color: var(--border-light); transform: scale(1.01); }

.item-left { display: flex; align-items: center; gap: 20px; }
.rank-box { background: var(--bg-dark); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-muted); font-size: 13px; border: 1px solid var(--border-color);}
.player-avatar { width: 44px; height: 44px; border-radius: var(--radius-sm); image-rendering: pixelated; box-shadow: 0 4px 10px rgba(0,0,0,0.3);}
.player-title strong { color: var(--text-white); font-size: 16px; font-weight: 700; }

.item-right { display: flex; align-items: center; }
.score-highlight { font-family: monospace; font-size: 18px; font-weight: 800; color: var(--primary-yellow); letter-spacing: 0.5px;}

.empty-state { text-align: center; padding: 40px; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px dashed var(--border-color); color: var(--text-muted); font-style: italic; }

/* PAGINATION */
.list-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.page-info { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.page-actions { display: flex; gap: 10px; }
.btn-page { background: var(--bg-card); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: var(--radius-pill); color: var(--text-white); font-size: 13px; font-weight: 600; transition: 0.2s; }
.btn-page:hover:not(.disabled) { background: var(--border-light); }
.btn-page.disabled { opacity: 0.5; pointer-events: none; }

/* YENİLENMİŞ SPREAD FOOTER (Sağa Sola Yayılan, Üstten Dar) */
.spread-footer { 
    border-top: 1px solid var(--border-color); 
    background: var(--bg-card); 
    padding: 24px 0; /* Üstten ve alttan darlattık */
    margin-top: auto;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}
.footer-left img { width: 28px; height: 28px; border-radius: 4px; }
.footer-left h2 { font-size: 16px; font-weight: 900; color: var(--text-white); letter-spacing: 0.5px; margin: 0;}
.footer-center {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-right { 
    display: flex; 
    gap: 20px; 
}
.footer-right a { 
    color: var(--text-gray); 
    font-size: 13px; 
    font-weight: 600; 
    transition: 0.2s; 
}
.footer-right a:hover { color: var(--primary-yellow); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .floating-header { top: 10px; }
    .header-inner { border-radius: var(--radius-md); }
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .dashboard-widgets { grid-template-columns: 1fr; }
    .podium-grid { grid-template-columns: 1fr; }
    .list-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .item-left { gap: 12px; }
    .score-highlight { font-size: 16px; }
    
    /* Mobilde Footer Alt Alta Geçsin */
    .footer-grid { flex-direction: column; gap: 16px; text-align: center; }
}

/* --- YENİ EKLENEN İKON AYARLARI --- */

/* Kategori Butonlarındaki ve Arka Plandaki İkonlar */
.cat-icon {
    width: 22px;
    height: 22px;
    image-rendering: pixelated; /* Pikselli yapıyı korur, bulanıklaştırmaz */
    vertical-align: middle;
    margin-right: 8px; /* İkonu yazının solunda tuttuk, sağdan boşluk verdik */
}

/* Skorların ve Paraların Başındaki İkonlar */
.mc-currency {
    width: 1.2em;
    height: 1.2em;
    image-rendering: pixelated;
    vertical-align: middle;
    margin-right: 6px; /* İkon artık solda olduğu için sağdan boşluk bırakıyoruz */
    margin-top: -3px; /* Yazıyla aynı hizaya gelmesi için */
}

/* Kategorilerin Arkasındaki Devasa Dinamik İkon */
.bg-icon { 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    opacity: 0.05; /* Çok hafif gözükmesi için */
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-icon img.cat-icon { 
    width: 320px; 
    height: 320px; 
    margin: 0; /* Ortada durması için margin'i sıfırladık */
}