    /* --- 1. GENEL DEĞİŞKENLER & AYARLAR --- */
    :root {
        --gold: #d4af37;
        --dark: #0a0a0a;
        --panel: rgba(20, 20, 20, 0.95);
        --card-bg: rgba(20, 20, 20, 0.9);
        --border: #333;
        --text: #e0e0e0;
        --shinsoo: #ff4d4d; 
        --chunjo: #ffeaa7; 
        --jinno: #4d79ff;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
        background-color: var(--dark);
        background-image: url('assets/bg-warrior.jpg');
        background-size: cover;
        background-attachment: fixed;
        background-position: center top;
        color: var(--text);
        font-family: 'Poppins', sans-serif;
        overflow-y: scroll;
    }
    body::before { content: ''; position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.85); z-index: -1; }

    /* --- 2. HEADER (ÜST MENÜ) --- */
    .main-header {
        background: rgba(10, 10, 10, 0.95);
        border-bottom: 1px solid var(--gold);
        padding: 15px 0;
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    }
    .header-inner {
        /* GÜNCELLEME: Sabit 1400px yerine ekranın %95'ini kaplasın */
        width: 95%; 
        max-width: 1800px; /* Çok devasa ekranlarda patlamasın diye üst limit */
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .logo-text { font-family: 'Cinzel', serif; color: #fff; letter-spacing: 2px; font-size: 1.8rem; }
    .logo-text span { color: var(--gold); }

    .header-nav { display: flex; gap: 15px; }
.nav-item {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%); /* Hafif metalik siyah zemin */
    color: #bfbfbf !important; /* Gümüş rengi yazı (Soluk değil, metalik) */
    padding: 6px 6px;
    margin: 0 5px;
    border: 1px solid #333; /* İnce koyu çerçeve */
    border-bottom: 2px solid #555; /* Alt tarafı biraz daha belirgin */
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.4s ease; /* Yumuşak geçiş */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); /* Hafif gölge */
    display: inline-flex;
    align-items: center;
    gap: 8px; /* İkon ile yazı arası boşluk */
}
.nav-item:hover {
    background: linear-gradient(180deg, #222 0%, #000 100%);
    color: #d4af37 !important; /* Yazı ALTIN rengi olur */
    border-color: #d4af37; /* Çerçeve ALTIN olur */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); /* Etrafına altın ışık yayar */
    transform: translateY(-2px); /* Hafifçe yukarı kalkar */
}  

.nav-item i {
    color: #777;
    transition: 0.4s;
}

.nav-item:hover i {
    color: #fff; /* Hoverda ikon beyaz parlar */
}
    .header-ep-box {
        background: rgba(0,0,0,0.5);
        padding: 8px 15px;
        border-radius: 4px;
        border: 1px solid #333;
        font-size: 0.9rem;
        color: #fff;
        font-weight: bold;
    }

    /* --- 3. ANA YAPI (LAYOUT - GENİŞLETİLDİ) --- */
    .app-container {
        display: grid; 
        /* GÜNCELLEME: Sidebar'ı 320px'den 360px'e çıkardım, daha tok durur */
        grid-template-columns: 360px 1fr; 
        gap: 30px;
        /* GÜNCELLEME: Genişlik ayarları */
        width: 95%;
        max-width: 1800px; 
        margin: 40px auto; 
        padding: 0 20px; 
        min-height: 80vh;
    }

    /* --- 4. SIDEBAR ELEMANLARI --- */
    .sidebar { position: sticky; top: 100px; height: fit-content; }

    /* Auth Box */
    .auth-box {
        background: var(--panel); border: 1px solid var(--gold); border-radius: 10px;
        overflow: hidden; margin-bottom: 20px; box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }
    .auth-tabs { display: flex; border-bottom: 1px solid #333; }
    .auth-tab {
        flex: 1; padding: 15px; background: #111; color: #888; border: none;
        cursor: pointer; font-family: 'Cinzel', serif; font-weight: bold; transition: 0.3s;
    }
    .auth-tab.active { background: var(--gold); color: #000; }
    .auth-content { padding: 20px; }
    
    .input-group { margin-bottom: 10px; position: relative; }
    .input-group label { display:block; font-size:0.75rem; color:#888; margin-bottom:2px; }
    .input-group input {
        width: 100%; padding: 10px 10px 10px 35px; background: #050505; border: 1px solid #333;
        color: #fff; border-radius: 4px; font-size: 0.9rem;
    }
    .input-group i { position: absolute; left: 12px; bottom: 12px; color: #666; font-size:0.9rem;}
    
    .btn-auth {
        width: 100%; padding: 10px; background: var(--gold); color: #000; border: none;
        font-weight: bold; cursor: pointer; border-radius: 4px; font-family: 'Cinzel', serif; margin-top: 10px;
    }

    /* Profile & Menu */
    .profile-card { text-align: center; padding: 20px; }
    .profile-img { width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--gold); margin-bottom: 10px; }
    .btn-logout { background: #ff4d4d; color: #fff; width: 100%; padding: 8px; border:none; border-radius:4px; cursor:pointer; margin-top:10px; }

/* Kapsayıcı Alan */
.quick-menu {
    display: grid;
    gap: 10px;
    padding: 15px;
    background: #080808;
    border: 1px solid #222;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* Butonun Kendisi */
.menu-btn {
    background: #121212;
    color: #888;
    border: 1px solid #2a2a2a;
    padding: 14px;
    text-align: center; /* Yazılar ortalı */
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 3px;
    /* İçeriye doğru gölge vererek derinlik katalım */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* HOVER (Üzerine Gelince) */
.menu-btn:hover {
    background: #181818;
    color: #d4af37; /* Yazı altın */
    border-color: #d4af37; /* Çerçeve altın */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15), inset 0 0 5px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.menu-btn i { font-size: 1.1rem; }

/* ACTIVE (Seçili Sayfa) */
.menu-btn.active {
    background: linear-gradient(180deg, #d4af37 0%, #b8860b 100%);
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
    /* --- 5. SIDEBAR WIDGETLARI (RANKING) --- */
    .rank-widget {
        background: var(--card-bg);
        border: 1px solid var(--border);
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    .widget-title {
        font-family: 'Cinzel', serif;
        color: var(--gold);
        border-bottom: 1px solid var(--border);
        padding-bottom: 10px;
        margin-bottom: 15px;
        font-size: 0.9rem;
        letter-spacing: 1px;
        display: flex; align-items: center; gap: 10px;
    }
    .mini-rank-container { display: flex; flex-direction: column; gap: 12px; margin-bottom: 15px; }
    
    .rank-item {
        display: flex; align-items: center; background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05); padding: 10px; border-radius: 8px;
        transition: all 0.3s ease; position: relative; overflow: hidden;
    }
    .rank-item:hover { background: rgba(212, 175, 55, 0.05); border-color: rgba(212, 175, 55, 0.3); transform: translateX(5px); }
    
    .rank-number { width: 30px; font-family: 'Cinzel', serif; font-weight: bold; font-size: 1.1rem; color: #555; text-align: center; }
    .rank-item:nth-child(1) .rank-number { color: #FFD700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
    .rank-item:nth-child(2) .rank-number { color: #C0C0C0; }
    .rank-item:nth-child(3) .rank-number { color: #CD7F32; }

    .rank-info { flex: 1; display: flex; flex-direction: column; margin-left: 10px; }
    .rank-name { color: #fff; font-size: 0.9rem; font-weight: 600; }
    .rank-job { font-size: 0.7rem; color: #888; text-transform: uppercase; }
    
    .rank-level-badge {
        background: rgba(0, 0, 0, 0.5); border: 1px solid var(--gold); color: var(--gold);
        padding: 2px 8px; font-size: 0.75rem; font-weight: bold; border-radius: 4px;
        min-width: 45px; text-align: center; font-family: 'Poppins', sans-serif;
    }
    
    .rank-view-all {
        display: block; text-align: center; color: var(--gold); font-size: 0.75rem;
        text-decoration: none; font-weight: bold; letter-spacing: 1px; transition: 0.3s;
        border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px;
    }
    .rank-view-all:hover { color: #fff; letter-spacing: 2px; }

    /* --- 6. MAIN STAGE (İÇERİK ALANI) --- */
    .main-stage { min-height: 500px; animation: fadeIn 0.5s ease; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    /* --- 7. RANKING TABLO STİLLERİ --- */
    .rank-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; }
    .rank-btn {
        background: transparent; border: 1px solid #444; color: #aaa; padding: 10px 25px; cursor: pointer; 
        font-weight: bold; transition: 0.3s; clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    }
    .rank-btn:hover, .rank-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }
    .rank-table-wrapper { background: rgba(20, 20, 20, 0.95); border: 1px solid #333; border-radius: 8px; overflow: hidden; }
    table { width: 100%; border-collapse: collapse; }
    th { background: #1a1a1a; color: var(--gold); padding: 15px; text-align: left; font-family: 'Cinzel', serif; border-bottom: 2px solid #333; }
    td { padding: 15px; border-bottom: 1px solid #222; color: #ddd; }

    /* --- 8. FOOTER (GÜNCELLENDİ) --- */
    .main-footer {
        background: #050505; border-top: 1px solid #222; padding: 60px 0 20px; margin-top: 80px;
    }
    .footer-content {
        /* GÜNCELLEME: Footer da artık %95 genişlikte */
        width: 95%; max-width: 1800px; 
        margin: 0 auto; padding: 0 20px;
        display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px;
    }
    .footer-title { color: var(--gold); font-family: 'Cinzel', serif; margin-bottom: 15px; }
    .footer-subtitle { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a { color: #888; text-decoration: none; transition: 0.2s; font-size: 0.9rem; }
    .footer-links a:hover { color: var(--gold); padding-left: 5px; }
    .footer-socials { display: flex; gap: 15px; margin-top: 20px; }
    .footer-socials a { color: #fff; font-size: 1.2rem; transition: 0.3s; }
    .footer-socials a:hover { color: var(--gold); transform: translateY(-3px); }
    .footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid #111; color: #444; font-size: 0.8rem; }

    /* GÜNCELLEME: Mobil/Tablet kırılma noktası */
    @media (max-width: 1100px) { 
        .app-container { grid-template-columns: 1fr; } 
        .sidebar { position: relative; top: 0; } 
    }
	/* --- YENİ PROFİL DASHBOARD TASARIMI --- */
.profile-dashboard {
    padding: 0;
    background: linear-gradient(180deg, #151515 0%, #0a0a0a 100%);
}

/* Header (Avatar + İsim) */
.pd-header {
    display: flex; align-items: center; gap: 15px; padding: 20px;
    border-bottom: 1px solid #222;
}
.pd-avatar-box { position: relative; }
.pd-avatar {
    width: 60px; height: 60px; border-radius: 10px; 
    border: 2px solid #333; object-fit: cover;
    background: #000;
}
.pd-status-dot {
    position: absolute; bottom: -2px; right: -2px;
    width: 12px; height: 12px; background: #2ecc71;
    border: 2px solid #151515; border-radius: 50%;
}
.pd-info h3 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.pd-server-name { font-size: 0.75rem; color: var(--gold); background: rgba(212,175,55,0.1); padding: 2px 6px; border-radius: 4px; }

/* Bakiye Satırı */
.pd-balance-row {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(0,0,0,0.3); padding: 10px 0; border-bottom: 1px solid #222;
}
.pd-balance-item { flex: 1; text-align: center; }
.pd-balance-item small { display: block; font-size: 0.65rem; color: #666; text-transform: uppercase; margin-bottom: 2px; }
.pd-balance-item span { font-weight: bold; font-family: 'Cinzel', serif; font-size: 1.1rem; }
.pd-balance-sep { width: 1px; height: 25px; background: #333; }

/* Buton Grid'i */
.pd-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: #222; /* Ara çizgiler için */
    border-top: 1px solid #222;
}
.pd-btn {
    background: #111; border: none; color: #aaa; padding: 15px 5px;
    cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px;
    transition: 0.2s; text-decoration: none; font-size: 0.85rem; font-family: 'Poppins', sans-serif;
}
.pd-btn i { font-size: 1.2rem; margin-bottom: 3px; }
.pd-btn:hover { background: #1a1a1a; color: #fff; }

/* Özel Buton Renkleri */
.pd-btn.discord:hover { color: #5865F2; }
.pd-btn.logout:hover { color: #e74c3c; background: rgba(231, 76, 60, 0.1); }

/* --- PREMIUM KARAKTER KARTI TASARIMI --- */
.char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Geniş ekranlarda yan yana */
    gap: 25px;
}

.char-card-premium {
    position: relative;
    height: 350px; /* Senin GIF boyutuyla uyumlu */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    background: #000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.char-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--gold);
}

/* Arka Plan GIF */
.char-bg-gif {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya doldur */
    opacity: 0.8;
    transition: 0.3s;
}
.char-card-premium:hover .char-bg-gif { opacity: 1; transform: scale(1.05); }

/* Karartma Katmanı (Yazılar Okunsun Diye) */
.char-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.1) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Üst Kısım (Derece ve Level) */
.char-top-badge {
    position: absolute; top: 15px; right: 15px;
    display: flex; gap: 10px;
}
.badge-level {
    background: var(--gold); color: #000; font-weight: bold;
    padding: 3px 10px; border-radius: 4px; font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(212,175,55,0.4);
}
.badge-align {
    background: rgba(0,0,0,0.7); border: 1px solid #444; color: #fff;
    padding: 3px 10px; border-radius: 4px; font-size: 0.85rem; font-weight: bold;
}

/* İsim ve Lonca */
.char-header { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.char-name { font-size: 1.6rem; color: #fff; font-family: 'Cinzel', serif; margin-bottom: 2px; text-shadow: 0 2px 4px #000; }
.char-guild { color: #aaa; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }

/* İstatistikler Grid */
.char-stats {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 15px;
}
.c-stat { background: rgba(255,255,255,0.05); padding: 5px; border-radius: 4px; text-align: center; }
.c-stat small { display: block; font-size: 0.65rem; color: #888; }
.c-stat span { display: block; font-size: 0.9rem; font-weight: bold; color: #fff; }

/* Alt Buton */
.btn-unstuck {
    width: 100%; background: rgba(255,255,255,0.1); border: 1px solid #444;
    color: #ddd; padding: 10px; border-radius: 6px; cursor: pointer;
    font-weight: bold; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-unstuck:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }



/* --- HEADER İSTATİSTİK BAR --- */
.header-stats-bar {
    display: inline-flex;
    align-items: center;
	justify-content: space-between;
    background: rgba(255, 255, 255, 0.05); /* Hafif transparan */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px; /* Oval kenarlar */
    padding: 8px 20px;
    gap: 15px;
    backdrop-filter: blur(5px); /* Buzlu cam efekti */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.h-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ddd;
    cursor: help; /* Üzerine gelince soru işareti çıkar */
}

/* İkonlar biraz parlasın */
.h-stat-item i {
    filter: drop-shadow(0 0 5px currentColor);
}

/* Rakamlar biraz daha belirgin ve altın olsun */
.h-stat-item span {
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Ayırıcı Çizgi */
.h-stat-sep {
    width: 1px;
    height: 15px;
    background: rgba(255,255,255,0.2);
}

/* MOBİL GİZLEME (User Choice 2A) */
@media (max-width: 1100px) {
    .header-stats-bar {
        display: none !important;
    }
}



/* --- SEÇENEK 1: DİKKAT ÇEKİCİ (ANİMASYONLU) --- */
.btn-anim {
    background: #e74c3c; /* Kırmızı */
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    /* Nefes alma animasyonu */
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* --- SEÇENEK 2: PREMIUM (ALTIN & ŞIK) --- */
.btn-gold {
    background: linear-gradient(45deg, #b8860b, #ffd700, #b8860b);
    background-size: 200% auto;
    color: #000 !important; /* Yazı siyah olsun ki altın üstünde okunsun */
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 900; /* Kalın font */
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: 0.5s;
    text-shadow: 0px 1px 0px rgba(255,255,255,0.4);
}

.btn-gold:hover {
    background-position: right center; /* Renk geçişi hareket etsin */
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8); /* Parlama artsın */
    transform: translateY(-2px); /* Hafif yukarı kalksın */
    color: #000 !important;
}


/* ==========================================================================
   MOBİL VE TABLET UYUMLULUK AYARLARI (RESPONSIVE)
   ========================================================================== */

/* --- TABLET VE KÜÇÜK LAPTOPLAR (1100px altı) --- */
@media (max-width: 1100px) {
    /* Ana İskelet: Yan yana duran Sidebar ve İçeriği alt alta al */
    .app-container {
        display: flex;
        flex-direction: column; /* Alt alta sırala */
        width: 100%;
        margin-top: 20px;
        gap: 20px;
    }

    /* Sidebar'ı içeriğin üstüne al (Giriş yapmak için önemli) */
    .sidebar {
        position: relative;
        top: 0;
        width: 100%;
        order: 1; /* 1. sırada görünsün */
    }
    
    /* İçerik alanı */
    .main-stage {
        order: 2; /* 2. sırada görünsün */
        width: 100%;
    }

    /* İstatistik Barını Gizle (Zaten senin kodunda vardı, garanti olsun) */
    .header-stats-bar {
        display: none !important;
    }
}

/* --- MOBİL CİHAZLAR (768px altı) --- */
@media (max-width: 768px) {
    
    /* 1. HEADER DÜZENLEMESİ */
    .header-inner {
        flex-direction: column; /* Logoyu ve menüyü alt alta al */
        padding: 15px 10px;
        gap: 15px;
        height: auto; /* Sabit yüksekliği iptal et */
    }

    /* Logo ortalansın */
    .header-logo {
        margin-bottom: 5px;
    }

    /* Menü (Navigasyon) - YATAY KAYDIRMA MODU */
    .header-nav {
        width: 100%;
        overflow-x: auto; /* Sığmayanları kaydır */
        white-space: nowrap; /* Satır başı yapma */
        padding-bottom: 10px; /* Kaydırma çubuğu için boşluk */
        gap: 10px;
        justify-content: flex-start; /* Sola yasla */
        -webkit-overflow-scrolling: touch; /* iOS için akıcı kaydırma */
    }

    /* Menü Butonları */
    .nav-item {
        font-size: 0.8rem; /* Yazıları biraz küçült */
        padding: 8px 12px;
        flex-shrink: 0; /* Küçülmelerini engelle */
    }

    /* Sağ Üst Kullanıcı Alanı */
    .header-user-status {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
    
    /* Kayıt Ol Butonu */
    .btn-header-register {
        width: 100%;
        justify-content: center;
        margin-left: 0; /* Soldaki boşluğu sıfırla */
    }

    /* 2. KARTLAR VE GRIDLER */
    
    /* Karakter Kartları Tek Sütun Olsun */
    .char-grid {
        grid-template-columns: 1fr; /* Tek kolon */
    }
    
    .char-card-premium {
        height: 300px; /* Mobilde kart boyunu biraz kısalt */
    }

    /* Profil Dashboard Grid */
    .pd-actions {
        grid-template-columns: 1fr 1fr 1fr; /* Butonları 3'lü yan yana diz */
    }
    .pd-btn {
        font-size: 0.75rem; /* Buton yazılarını küçült */
        padding: 10px 2px;
    }

    /* Kayıt Formu Grid */
    .reg-grid {
        grid-template-columns: 1fr !important; /* Yan yana olan inputları alt alta al */
        gap: 15px !important;
    }
    .register-wrapper {
        padding: 20px !important; /* Kenar boşluklarını azalt */
    }

    /* 3. TABLOLAR (Patlamayı Önle) */
    .rank-table-wrapper {
        overflow-x: auto; /* Tablo taşarsa kaydır */
    }
    table {
        min-width: 500px; /* Tablo çok sıkışmasın, gerekirse kaydırılsın */
    }
    th, td {
        padding: 10px; /* Hücre boşluklarını azalt */
        font-size: 0.85rem;
    }

    /* 4. FOOTER */
    .footer-content {
        grid-template-columns: 1fr; /* Tek sütun */
        text-align: center;
        gap: 30px;
    }
    
    .footer-socials {
        justify-content: center; /* İkonları ortala */
    }

    /* 5. GENEL METİN AYARLARI */
    h2 { font-size: 1.5rem !important; }
    p { font-size: 0.9rem !important; }
}

/* --- MİNİK EKRANLAR (iPhone SE vb. - 380px altı) --- */
@media (max-width: 380px) {
    .pd-actions {
        grid-template-columns: 1fr 1fr; /* Butonlar sığmazsa 2'li yap */
    }
    .nav-item {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}


    /* --- HYPE BAR TASARIMI --- */
    .top-hype-bar {
        display: block;
        background: #000;
        background: linear-gradient(90deg, #111 0%, #000 50%, #111 100%);
        border-bottom: 2px solid #d4af37; /* Altın Çizgi */
        color: #fff;
        text-decoration: none;
        height: 40px; /* Çubuğun yüksekliği */
        overflow: hidden;
        position: relative;
        font-family: 'Segoe UI', sans-serif;
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); /* Altın Parıltı */
        z-index: 9999; /* Her şeyin üstünde */
    }

    .hype-content {
        max-width: 1400px;
        margin: 0 auto;
        height: 100%;
        display: flex;
        align-items: center;
    }

    /* Sol Taraftaki Sabit Rozet */
    .hype-badge {
        background: #d4af37;
        color: #000;
        font-weight: 900;
        padding: 0 15px;
        height: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 10px 0 20px #000; /* Yazının üstüne binmesini engeller */
        z-index: 2;
        position: relative;
    }
    
    /* Titreyen Çan İkonu */
    .fa-shake {
        animation-duration: 2s; /* Daha yavaş sallasın */
    }

    /* Kayan Yazı Konteyneri */
    .hype-marquee {
        flex: 1;
        overflow: hidden;
        display: flex;
        align-items: center;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); /* Kenarları yumuşatır */
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    /* Kayan Track */
    .marquee-track {
        display: flex;
        align-items: center;
        white-space: nowrap;
        animation: marqueeScroll 30s linear infinite; /* Hızı buradan ayarla (30s) */
        padding-left: 20px;
    }

    /* Durdurma Efekti (Mouse üstüne gelince) */
    .top-hype-bar:hover .marquee-track {
        animation-play-state: paused;
    }

    /* Yazı Stilleri */
    .marquee-track span {
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .separator {
        color: #d4af37;
        margin: 0 20px;
        font-size: 1.2rem;
    }

    .highlight-date {
        color: #d4af37;
        font-weight: 800 !important;
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.6); /* Neon Efekt */
    }

    /* Sonsuz Kayma Animasyonu */
    @keyframes marqueeScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }

    /* Mobil Düzenleme */
    @media (max-width: 768px) {
        .hype-badge {
            padding: 0 10px;
            font-size: 0.7rem;
        }
        .hype-badge i { display: none; } /* Mobilde ikonu gizle yer aç */
        .marquee-track span { font-size: 0.8rem; }
    }
	
	
	
	/* --- LOGO TASARIMI --- */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    /* Yükseklik ayarı: Header'ın boyutuna göre burayı değiştirebilirsin */
    height: 60px; 
    width: auto; /* En-boy oranını korur */
    transition: all 0.3s ease;
    
    /* Hafif gölge verelim ki koyu zeminde belli olsun */
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

/* Mouse ile üzerine gelince efekt */
.site-logo:hover {
    transform: scale(1.05); /* Hafif büyüsün */
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6)); /* Altın rengi parlasın */
}

@media (max-width: 768px) {
    .logo-container {
        display: none; /* 768px ve altındaki cihazlarda tamamen gizler */
    }
}

    .terms-modal-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.85); z-index: 9999; /* En üstte olsun */
        display: none; align-items: center; justify-content: center;
        backdrop-filter: blur(5px);
    }
    .terms-modal-overlay.active { display: flex; animation: fadeIn 0.3s; }
    
    .terms-modal-content {
        background: #101010; width: 90%; max-width: 600px;
        border: 1px solid var(--gold); border-radius: 8px;
        display: flex; flex-direction: column; max-height: 85vh;
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.1);
        position: relative;
    }

    .terms-title {
        background: #151515; padding: 20px; color: var(--gold);
        font-family: 'Cinzel', serif; margin: 0; font-size: 1.4rem;
        border-bottom: 1px solid #333; text-align: center;
    }

    .terms-body {
        padding: 25px; overflow-y: auto; color: #ccc; line-height: 1.6;
        font-size: 0.9rem; flex: 1; text-align: left;
    }
    
    /* İçerik Başlıkları */
    .terms-body h3 { color: #fff; margin-top: 20px; margin-bottom: 10px; font-size: 1.1rem; border-bottom:1px solid #333; padding-bottom:5px; }
    .terms-body p { margin-bottom: 10px; }
    .terms-body ul { padding-left: 20px; margin-bottom: 15px; }
    .terms-body li { margin-bottom: 5px; color: #aaa; }

    .terms-footer {
        padding: 15px; border-top: 1px solid #333; background: #151515; text-align: center;
    }

    .btn-terms-close {
        background: var(--gold); color: #000; border: none; padding: 10px 30px;
        font-weight: bold; cursor: pointer; border-radius: 4px; transition: 0.2s;
    }
    .btn-terms-close:hover { background: #fff; }

    /* Scrollbar */
    .terms-body::-webkit-scrollbar { width: 5px; }
    .terms-body::-webkit-scrollbar-thumb { background: #444; border-radius: 5px; }
	
	
	