:root {
    /* Renk Paleti */
    --bg-main: #09090c;       /* Derin Siyah */
    --bg-panel: #111116;      /* Panel Arka Planı */
    --bg-card: #181820;       /* Kart Arka Planı */
    
    /* NEON MOR TEMA */
    --accent: #b026ff;        /* Ana Mor */
    --accent-glow: rgba(176, 38, 255, 0.4); /* Mor Parlama */
    --accent-hover: #c460ff;  /* Hover Rengi */
    
    --gold: #ffd700;          /* 5 Yıldız Sarısı */
    --text-main: #e0e0e0;
    --text-muted: #888;
    --border: #2a2a35;
    
    --font-main: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Scrollbar Tasarımı */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* --- NAVBAR --- */
.navbar {
    background: rgba(17, 17, 22, 0.95);
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text h1 {
    margin: 0; font-size: 1.1rem; font-weight: 700;
    text-transform: uppercase; color: #fff;
    letter-spacing: 0.5px;
}
.logo-text span {
    font-size: 0.75rem; color: var(--accent);
    font-weight: 600; letter-spacing: 2px;
    text-shadow: 0 0 8px var(--accent-glow);
}

.nav-stats {
    font-size: 0.85rem; color: var(--text-muted); font-weight: 600;
}

/* --- ANA DÜZEN --- */
.main-layout { display: flex; flex: 1; overflow: hidden; position: relative; }

/* --- SIDEBAR --- */
.sidebar {
    width: 320px;
    background: var(--bg-panel);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    padding: 20px; gap: 20px;
    overflow-y: auto; flex-shrink: 0;
}

.sidebar-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.sidebar-header h2 { margin: 0; font-size: 1rem; text-transform: uppercase; color: #fff; }

.btn-reset {
    background: none; border: 1px solid #444; color: #666;
    width: 32px; height: 32px; border-radius: 6px; cursor: pointer; transition: 0.2s;
}
.btn-reset:hover { background: #d32f2f; color: #fff; border-color: #d32f2f; }

.filter-group label {
    display: block; font-size: 0.8rem; color: #aaa; margin-bottom: 8px;
    font-weight: 700; text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
}
.filter-group label i { color: var(--accent); }

/* Input Alanları */
.mini-search, select {
    width: 100%; padding: 10px; background: #0b0b0f; border: 1px solid var(--border);
    color: white; border-radius: 6px; font-family: var(--font-main);
    box-sizing: border-box; outline: none; transition: 0.2s;
}
.mini-search:focus { border-color: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

/* İkon Izgarası */
.icon-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 6px; max-height: 260px; overflow-y: auto; padding: 5px;
    background: #0b0b0f; border-radius: 8px; border: 1px solid var(--border);
}

.filter-item {
    width: 48px; height: 48px;
    background: #1f1f25; border-radius: 4px;
    cursor: pointer; position: relative;
    border: 2px solid transparent; overflow: hidden; transition: 0.15s;
}
.filter-item img { width: 100%; height: 100%; object-fit: cover; }
.filter-item:hover { border-color: #555; transform: scale(1.05); z-index: 2; }

/* SEÇİLİ FİLTRE (Mor Efekt) */
.filter-item.selected {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}
.filter-item.selected::after {
    content: '\f00c'; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.2rem; background: rgba(0,0,0,0.6);
    text-shadow: 0 0 5px #000;
}

/* --- İÇERİK ALANI --- */
.content {
    flex: 1; padding: 25px; overflow-y: auto;
    background: radial-gradient(circle at top right, #15151e 0%, var(--bg-main) 70%);
}

.active-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; min-height: 10px; }
.tag {
    background: rgba(176, 38, 255, 0.1); border: 1px solid var(--accent); color: var(--accent);
    padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
    cursor: pointer; transition: 0.2s;
}
.tag:hover { background: rgba(255, 60, 60, 0.15); border-color: #ff4444; color: #ff4444; }

/* Kart Izgarası */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* --- HESAP KARTI --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.card-header {
    background: rgba(0,0,0,0.2); padding: 10px 15px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border); font-size: 0.8rem; color: #888;
}
.server-badge {
    background: #252530; color: #fff; padding: 2px 8px; border-radius: 4px;
    font-size: 0.75rem; border: 1px solid #333;
}

.card-body { padding: 15px; flex: 1; }

.card-info { margin-bottom: 12px; }
.ar-badge {
    background: #2b2b35; color: #ddd; padding: 3px 10px; border-radius: 4px;
    font-weight: 700; font-size: 0.85rem; border: 1px solid #3a3a45;
}

.account-icons { display: flex; flex-wrap: wrap; gap: 5px; }

.acc-icon {
    width: 40px; height: 40px; border-radius: 4px;
    background: #111; position: relative; border: 1px solid #2a2a35;
}
.acc-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }

/* --- CONSTELLATION BADGE --- */
.cons-badge {
    position: absolute; top: -3px; right: -3px;
    background: #000; color: #fff;
    font-size: 9px; font-weight: 800; padding: 1px 3px;
    border-radius: 3px; border: 1px solid #444;
    z-index: 5; pointer-events: none;
}

/* C6 Altın Parlama */
@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 4px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}
.cons-badge.c6 {
    background: linear-gradient(135deg, #b8860b, #ffd700);
    color: #000; border-color: #fff;
    animation: goldPulse 2s infinite;
}

/* Butonlar */
.btn-buy {
    width: 100%; padding: 12px;
    background: linear-gradient(90deg, #7a1cbd 0%, #b026ff 100%);
    color: white; border: none; font-weight: 700; text-transform: uppercase;
    cursor: pointer; transition: 0.2s; font-size: 0.9rem; letter-spacing: 0.5px;
}
.btn-buy:hover { filter: brightness(1.2); box-shadow: 0 0 15px var(--accent-glow); }

.load-more-wrapper { text-align: center; margin-top: 30px; display: none; }
.btn-secondary {
    padding: 10px 30px; background: #202028; color: #fff;
    border: 1px solid var(--accent); border-radius: 30px;
    cursor: pointer; transition: 0.2s; font-weight: 600;
}
.btn-secondary:hover { background: var(--accent); box-shadow: 0 0 15px var(--accent-glow); }

.btn-reset-text {
    background: none; border: 1px solid var(--accent); color: var(--accent);
    padding: 8px 20px; border-radius: 4px; cursor: pointer; margin-top: 15px;
}

.no-result { display: none; text-align: center; color: #666; margin-top: 60px; flex-direction: column; align-items: center; gap: 10px; }

@media (max-width: 768px) {
    .main-layout { flex-direction: column; overflow-y: auto; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); box-sizing: border-box; }
    .content { overflow-y: visible; }
}