/* --- TEMEL AYARLAR --- */
:root {
    --ana-renk: #f39c12;
    --arka-plan: #0f0f0f;
    --kutu-renk: #1a1a1a;
    --yazi-renk: #ffffff;
}

/* --- KRİTİK ARKA PLAN ÇÖZÜMÜ --- */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: transparent !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--yazi-renk);
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), 
                url('banner.png') no-repeat center center fixed !important;
    background-size: cover !important;
}

/* --- NAVİGASYON (DÜZELTİLDİ) --- */
nav {
    display: flex;
    justify-content: space-between; /* İçerikleri iki uca yayar */
    align-items: center;
    padding: 15px 10%;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 3px solid var(--ana-renk);
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    z-index: 1000;
}

.logo { display: flex; align-items: center; font-size: 24px; font-weight: 900; }
.logo img { max-height: 45px; margin-right: 12px; }
.logo span { color: var(--ana-renk); }

nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
nav ul li { margin: 0 15px; }
nav ul li a { color: white; text-decoration: none; font-weight: 700; font-size: 14px; transition: 0.3s; }
nav ul li a:hover { color: var(--ana-renk); }

/* --- GİRİŞ/KAYIT BUTONLARI (DÜZELTİLDİ) --- */
.auth { 
    display: flex; 
    align-items: center; 
    gap: 15px; /* Butonlar arasına boşluk ekler */
}

.auth a {
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: 0.3s;
}

/* Giriş Yap Linki */
.auth a:not(.btn-register) {
    color: white;
}
.auth a:not(.btn-register):hover {
    color: var(--ana-renk);
}

/* Kayıt Ol Butonu */
.btn-register { 
    background: var(--ana-renk); 
    color: black !important; 
    padding: 10px 25px; 
    border-radius: 8px; 
    font-weight: 900; 
}
.btn-register:hover {
    background: white;
    transform: translateY(-2px);
}

/* --- HERO ALANI --- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 { font-size: 55px; font-weight: 900; margin: 0; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero h1 span { color: var(--ana-renk); }
.hero p { font-size: 18px; color: #ccc; margin-top: 10px; }

/* --- IP KOPYALAMA --- */
.ip-container {
    margin-top: 30px;
    background: rgba(0,0,0,0.6);
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    border: 2px solid var(--ana-renk);
}

#serverIP { font-weight: 900; font-size: 20px; color: var(--yazi-renk); }

.copy-ip {
    background: var(--ana-renk);
    border: none;
    color: black;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}
.copy-ip:hover { background: white; }

/* --- USER MENU & DROPDOWN --- */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: rgba(243, 156, 18, 0.1);
    color: var(--ana-renk);
    padding: 10px 22px;
    border: 2px solid var(--ana-renk);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.user-btn:hover {
    background: var(--ana-renk);
    color: black;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    /* top: 120% yerine 100% yaparak butona yapıştırdık */
    top: 100%; 
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(15px);
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    border-radius: 15px;
    border: 1px solid rgba(243, 156, 18, 0.3);
    z-index: 9999;
    overflow: visible; /* İçindeki görünmez köprü için visible yaptık */
    margin-top: 5px; /* Butonla arasında çok az estetik bir boşluk bırakır */
    animation: menuAnim 0.3s ease-out;
}

/* KÖPRÜ HİLESİ: Menü ile buton arasındaki boşlukta farenin algılanmasını sağlar */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -15px; /* Boşluğu kapatan görünmez alan */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-content a {
    color: #eee;
    padding: 14px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-content a:first-child { border-radius: 15px 15px 0 0; }
.dropdown-content a:last-child { border-radius: 0 0 15px 15px; border-bottom: none; }

.dropdown-content a:hover {
    background: rgba(243, 156, 18, 0.15);
    color: var(--ana-renk);
    padding-left: 25px;
}

.user-menu:hover .dropdown-content {
    display: block;
}

@keyframes menuAnim {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- FOOTER --- */
footer {
    padding: 30px;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    border-top: 1px solid #222;
    font-size: 14px;
}
/* MODAL STİLLERİ */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 9999;
}
.modal-content {
    position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #1a1a1a; width: 90%; max-width: 500px; padding: 40px;
    border-radius: 25px; border: 2px solid var(--ana-renk); text-align: center;
}
.close-modal { position: absolute; top: 20px; right: 25px; color: #fff; font-size: 30px; cursor: pointer; }
.modal-title span { color: var(--ana-renk); }

.pay-option {
    display: flex; align-items: center; background: rgba(255,255,255,0.05);
    padding: 15px; border-radius: 12px; margin-bottom: 15px; cursor: pointer;
    text-decoration: none; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s;
}
.pay-option:hover { background: rgba(243, 156, 18, 0.1); border-color: var(--ana-renk); }
.pay-icon { font-size: 28px; margin-right: 15px; }
.pay-text { text-align: left; }
.pay-text strong { display: block; color: #fff; font-size: 16px; }
.pay-text span { color: #888; font-size: 13px; }

.bank-info { display: none; margin-top: 20px; padding: 15px; background: #000; border-radius: 10px; border: 1px dashed var(--ana-renk); text-align: left; }
.bank-row { margin-bottom: 8px; color: #fff; font-size: 14px; }
.bank-note { font-size: 12px; color: #e74c3c; margin-top: 10px; font-weight: bold; }

/* NAVBAR TASARIMI */
.main-nav {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--ana-renk);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo a {
    font-size: 24px;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo span { color: var(--ana-renk); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #bbb;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--ana-renk);
}

/* Depo Butonu Özel Stil */
.nav-depo {
    background: rgba(243, 156, 18, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--ana-renk);
}

.nav-depo:hover {
    background: var(--ana-renk) !important;
    color: black !important;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; }
    .nav-links { gap: 15px; font-size: 12px; }
}