/* ========================================================== */
/* 🎨 GENEL AYARLAR (DARK GAMING - STATİK)                   */
/* ========================================================== */
:root {
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --bg-hover: #27272a;
    --primary: #8b5cf6;
    --secondary: #06b6d4;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
    font-family: 'Inter', sans-serif;
}

a { text-decoration: none !important; }

/* ========================================================== */
/* 👤 OYUNCU PANELİ (DASHBOARD)                               */
/* ========================================================== */

/* 1. Oyuncu Kartı (Header) */
.player-dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4); 
}

.player-info-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 280px;
}

.player-avatar-container {
    position: relative;
}

.player-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    border: 4px solid var(--bg-dark);
}

.player-status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: #10b981; /* Yeşil */
    border: 2px solid var(--bg-card);
    border-radius: 50%;
}

.player-identity h2 { margin: 0; font-weight: 700; color: #fff; font-size: 1.75rem; }
.player-role { 
    display: inline-block;
    color: var(--primary); 
    font-size: 0.85rem; 
    font-weight: 600; 
    background: rgba(139, 92, 246, 0.1); 
    padding: 4px 10px; 
    border-radius: 6px; 
    margin-top: 5px;
}

/* 2. İstatistik Kutuları */
.player-stats-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.p-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    text-align: center;
}

.stat-value { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.2; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }


/* ========================================================== */
/* 📰 HABER KARTLARI                                          */
/* ========================================================== */
.news-card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}
.news-card-modern:hover {
    border-color: var(--primary);
}

.news-image-wrapper {
    height: 180px;
    position: relative;
    background-color: #000;
}
.news-image-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.9;
}

.news-placeholder {
    width: 100%; height: 100%;
    background: #27272a;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: #3f3f46;
}

.news-meta-top {
    position: absolute; bottom: 10px; left: 10px;
    display: flex; gap: 5px;
}
.news-badge {
    font-size: 0.7rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; 
    text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.2);
}
.news-badge.interview {
    background: rgba(245, 158, 11, 0.8); /* Amber */
    border-color: rgba(245, 158, 11, 0.4);
}

.news-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.news-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; color: #fff; }
.news-excerpt { font-size: 0.9rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }


/* ========================================================== */
/* 🧩 WIDGET KUTULARI                                         */
/* ========================================================== */
.widget-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.widget-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
}

/* Liste Elemanları */
.match-row, .forum-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: #fff;
    gap: 1rem;
    transition: background-color 0.2s;
}
.match-row:last-child, .forum-row:last-child { border-bottom: 0; }
.match-row:hover, .forum-row:hover { background: var(--bg-hover); }

/* Maç Detayları */
.match-info-block { flex: 1; }
.match-league { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; font-weight: bold; display: block; margin-bottom: 2px; }
.match-vs { font-size: 0.9rem; font-weight: 600; }

/* Forum Detayları */
.forum-icon { color: var(--text-muted); font-size: 1.2rem; }
.forum-content { flex: 1; min-width: 0; }
.forum-title { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.forum-meta { font-size: 0.8rem; color: var(--text-muted); }

/* Boş Durum */
.empty-state-container {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
}
.empty-icon-circle {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}


/* ========================================================== */
/* 🌟 MİSAFİR GÖRÜNÜMÜ (YENİLENDİ)                            */
/* ========================================================== */

/* 1. HERO BÖLÜMÜ (ARKAPLANLI) */
.guest-hero {
    position: relative;
    /* Yüksekliği artırıp ferah bir karşılama alanı yapalım */
    padding: 10rem 0 8rem 0; 
    
    /* Arkaplan Resmi ve Üzerine Koyu Katman (Overlay) */
    background-image: 
        linear-gradient(to bottom, rgba(9, 9, 11, 0.7), rgba(9, 9, 11, 1)), 
        url('../assets/arkaplan1.png'); /* */
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti (sabit arkaplan) */
    
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 2. GLOBAL İSTATİSTİKLER (HERO'NUN HEMEN ALTINDA) */
.global-stats-container {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.global-stats-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.gs-item {
    text-align: center;
    position: relative;
}
/* Araya ayırıcı çizgiler */
.gs-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: var(--border-color);
}

.gs-value { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: #fff; 
    display: block; 
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3); /* Hafif neon */
}
.gs-label { 
    color: var(--text-muted); 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 1px; 
}

/* 3. LİG KARTLARI (VİTRİN) */
.league-card-public {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    transition: all 0.2s ease;
    height: 100%;
}
.league-card-public:hover {
    border-color: var(--primary);
    background: var(--bg-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
.lc-logo {
    width: 60px; height: 60px; border-radius: 12px; background: #000;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; border: 1px solid var(--border-color);
    flex-shrink: 0;
}
.lc-logo img { width: 100%; height: 100%; object-fit: cover; }
.lc-info h5 { margin: 0 0 4px 0; font-weight: 700; font-size: 1.1rem; }
.lc-info span { font-size: 0.85rem; color: var(--text-muted); }


/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .guest-hero { padding: 6rem 0 4rem 0; }
    .global-stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .gs-item:not(:last-child)::after { display: none; } /* Mobilde çizgileri kaldır */
    .player-dashboard-card { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; }
    .player-info-section { flex-direction: column; }
    .player-stats-section { justify-content: center; width: 100%; }
}