/* BINANCE ELITE STYLE - FULL RESET */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}

:root {
    /* Ana Arka Planlar - Binance Dark Mode */
    --bg-black: #0b0e11;        /* Tam Binance zemin rengi */
    --nav-grey: #181a20;        /* Navigasyon ve yan menü */
    --card-grey: #1e2329;       /* Kart içleri */
    
    /* Premium Vurgular */
    --binance-yellow: #FCD535;  /* Daha parlak, premium Binance sarısı */
    --yellow-hover: #f0b90b;    /* Hover hali */
    
    /* Metin ve Durumlar */
    --text-white: #EAECEF;      /* Göz yormayan kirli beyaz */
    --text-grey: #848E9C;       /* Binance yardımcı metin rengi */
    --up-green: #0ECB81;        /* Canlı işlem yeşili */
    --down-red: #F6465D;        /* Canlı işlem kırmızısı */
    
    /* Kenarlık ve Premium Efektler */
    --border: rgba(71, 77, 87, 0.25);
    --glass-bg: rgba(30, 35, 41, 0.7);
    --premium-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    --glass: rgba(18, 23, 30, 0.7);
    --border: rgba(255, 255, 255, 0.08);
    --binance-yellow: #f0b90b;
    --up-green: #2ebd85;
    --down-red: #f6465d;
}

body { 
    background-color: var(--bg-black); 
    color: var(--text-white); 
    overflow-x: hidden; 
}

.container { 
    width: 92%; 
    max-width: 1200px; 
    margin: 0 auto; 
    position: relative; 
}

.flex-sb { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.yellow { color: var(--binance-yellow); }

/* --- BONUS BANNER STYLE --- */
.bonus-banner {
    background: linear-gradient(90deg, #1e2329 0%, #2b3139 100%);
    padding: 10px 0;
    border-bottom: 1px solid rgba(240, 185, 11, 0.2);
    position: relative;
    z-index: 101;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-white);
}

.bonus-banner i {
    color: var(--binance-yellow);
    font-size: 16px;
    animation: gift-bounce 1.5s infinite;
}

.bonus-banner strong {
    color: var(--binance-yellow);
    font-weight: 800;
}

.btn-bonus-sm {
    background: var(--binance-yellow);
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(240, 185, 11, 0.2);
}

.btn-bonus-sm:hover {
    background: var(--yellow-hover);
    transform: scale(1.05);
}

@keyframes gift-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* NAVBAR */
.navbar { 
    background: var(--bg-black); 
    padding: 15px 0; 
    border-bottom: 1px solid var(--border); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    backdrop-filter: blur(10px); 
}

.nav-brand { display: flex; align-items: center; gap: 20px; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.logo span { color: var(--binance-yellow); }
.menu-toggle { font-size: 20px; cursor: pointer; color: var(--text-grey); }
.nav-links a { color: var(--text-white); text-decoration: none; font-size: 14px; margin-left: 20px; font-weight: 500; }

.btn-text { background: none; border: none; color: var(--text-white); cursor: pointer; font-weight: 600; margin-right: 15px; }
.btn-yellow { 
    background: var(--binance-yellow); 
    color: #000; 
    border: none; 
    padding: 8px 22px; 
    border-radius: 6px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: 0.3s;
}
.btn-yellow:hover { background: var(--yellow-hover); transform: translateY(-1px); }

/* SIDEBAR */
.sidebar { 
    position: fixed; 
    left: -300px; 
    top: 0; 
    width: 280px; 
    height: 100%; 
    background: var(--nav-grey); 
    z-index: 1000; 
    transition: 0.3s; 
    padding: 25px; 
    border-right: 1px solid var(--border);
}

.sidebar.active { left: 0; }
.sidebar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.sidebar-body a { display: block; color: var(--text-white); text-decoration: none; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 15px; }

#overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.7); 
    display: none; 
    z-index: 999; 
    backdrop-filter: blur(4px);
}

#overlay.active { display: block; }

/* HERO BÖLÜMÜ */
.hero { 
    position: relative; 
    padding: 100px 0; 
    min-height: 85vh; 
    display: flex; 
    align-items: center; 
    overflow: hidden; 
}

/* PREMIUM ASSET FLOAT */
.asset-float-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.floating-coin {
    position: absolute;
    font-size: 22px;
    filter: drop-shadow(0 0 15px rgba(240, 185, 11, 0.6));
    animation: assetFloat 3s infinite ease-in-out;
    z-index: 1;
}

.btc-glow { 
    color: var(--binance-yellow); 
    left: -35px; 
    top: -10px;
}

.eth-glow { 
    color: #627eea; 
    left: -20px; 
    top: 15px; 
    font-size: 16px; 
    animation-delay: 1s;
    filter: drop-shadow(0 0 10px rgba(98, 126, 234, 0.5));
}

.money-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--binance-yellow), transparent);
    margin-right: 15px;
    box-shadow: 0 0 15px var(--binance-yellow);
    animation: lineScan 2s infinite linear;
}

@keyframes assetFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

@keyframes lineScan {
    0% { opacity: 0.2; height: 10px; }
    50% { opacity: 1; height: 45px; }
    100% { opacity: 0.2; height: 10px; }
}

.store-badge-wrapper { margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }

/* Coming Soon Tag Geliştirmesi */
.coming-soon-tag {
    font-size: 10px; 
    font-weight: 800; 
    color: var(--binance-yellow); 
    border: 1px solid rgba(240, 185, 11, 0.3); 
    padding: 4px 12px; 
    border-radius: 4px; 
    background: rgba(240, 185, 11, 0.05);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.coming-soon-tag::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

.store-buttons { display: flex; gap: 10px; }
.s-btn { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 8px 14px; 
    border-radius: 8px; 
    font-size: 12px; 
    font-weight: 600; 
    border: 1px solid var(--border); 
}

.appstore { background: #000; color: #fff; }
.googleplay { background: #fff; color: #000; }

.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 400px; 
    gap: 60px; 
    align-items: center; 
    position: relative; 
    z-index: 2; 
}

.hero-text h1 { font-size: 58px; font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1.5px; }
.hero-text p { font-size: 19px; color: var(--text-grey); margin-bottom: 40px; max-width: 550px; line-height: 1.6; }

.hero-form { 
    display: flex; 
    background: var(--card-grey); 
    padding: 6px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    width: fit-content; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-form input { 
    background: none; 
    border: none; 
    color: white; 
    padding: 10px 20px; 
    outline: none; 
    width: 250px; 
}

.btn-yellow-lg { 
    background: var(--binance-yellow); 
    border: none; 
    padding: 14px 35px; 
    border-radius: 8px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: 0.3s;
}
.btn-yellow-lg:hover { background: var(--yellow-hover); transform: scale(1.02); }

/* ARKA PLAN ANIMASYONU */
.hero-bg-animated { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.circle { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; animation: move 20s infinite alternate; }
.c1 { width: 450px; height: 450px; background: var(--binance-yellow); top: -150px; right: 5%; }
.c2 { width: 350px; height: 350px; background: #2ebd85; bottom: -50px; left: 5%; animation-delay: -5s; }

@keyframes move { from { transform: translate(0, 0); } to { transform: translate(60px, 120px); } }

/* MARKET KARTI */
.market-card { 
    background: linear-gradient(145deg, var(--card-grey), #111417); 
    border-radius: 24px; 
    padding: 30px; 
    border: 1px solid var(--border); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.4); 
}

.m-header { display: flex; justify-content: space-between; margin-bottom: 25px; font-size: 13px; font-weight: 700; color: var(--text-grey); }
.live-dot { color: var(--up-green); display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 1px; }
.live-dot::before { content: ''; width: 8px; height: 8px; background: var(--up-green); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.2); } }

.coin-row { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--border); transition: 0.2s; }
.coin-row:hover { background: rgba(255,255,255,0.02); }

.btn-view-all { 
    width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border); 
    color: #fff; padding: 14px; margin-top: 25px; border-radius: 10px; cursor: pointer; font-weight: 600; transition: 0.3s;
}
.btn-view-all:hover { background: rgba(255,255,255,0.07); }

/* --- MODERN AUTH OVERLAY --- */
.auth-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-overlay.active { opacity: 1; display: flex; }

.modern-auth-card {
    background: linear-gradient(160deg, #191c21 0%, #0b0e11 100%);
    border: 1px solid rgba(240, 185, 11, 0.15);
    width: 95%;
    max-width: 420px;
    border-radius: 32px;
    padding: 45px 40px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    transform: translateY(30px);
    transition: 0.4s;
}

.auth-overlay.active .modern-auth-card { transform: translateY(0); }

.auth-close {
    position: absolute; top: 25px; right: 30px;
    font-size: 28px; color: var(--text-grey);
    cursor: pointer; transition: 0.3s;
}
.auth-close:hover { color: var(--binance-yellow); }

.auth-brand { text-align: center; margin-bottom: 30px; }
#auth-subtitle { color: var(--text-grey); font-size: 14px; margin-top: 10px; }

.auth-nav { display: flex; background: rgba(0,0,0,0.3); padding: 6px; border-radius: 14px; margin-bottom: 30px; }
.nav-item {
    flex: 1; border: none; background: none; color: var(--text-grey);
    padding: 12px; cursor: pointer; font-weight: 700; border-radius: 10px; transition: 0.3s;
}
.nav-item.active { background: var(--binance-yellow); color: #000; box-shadow: 0 4px 15px rgba(240, 185, 11, 0.2); }

.input-wrapper { position: relative; margin-bottom: 18px; }
.input-wrapper i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--binance-yellow); opacity: 0.8; }
.input-wrapper input {
    width: 100%; background: rgba(0,0,0,0.4);
    border: 1px solid var(--border); padding: 15px 15px 15px 50px;
    border-radius: 12px; color: #fff; outline: none; transition: 0.3s;
}
.input-wrapper input:focus { border-color: var(--binance-yellow); background: rgba(0,0,0,0.6); }

.auth-submit-btn {
    width: 100%; padding: 18px; background: var(--binance-yellow);
    border: none; border-radius: 12px; font-weight: 800;
    cursor: pointer; margin-top: 15px; transition: 0.3s;
    box-shadow: 0 8px 25px rgba(240, 185, 11, 0.2);
}
.auth-submit-btn:hover { background: var(--yellow-hover); transform: translateY(-2px); }

/* --- SÖZLEŞME MODAL --- */
.policy-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none; align-items: center; justify-content: center;
    z-index: 10000; backdrop-filter: blur(15px);
}

.policy-content {
    background: var(--nav-grey); border: 1px solid var(--binance-yellow);
    border-radius: 24px; padding: 40px; width: 90%; max-width: 500px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}

.policy-content h3 { margin-bottom: 20px; color: var(--binance-yellow); font-size: 20px; letter-spacing: -0.5px; }
.policy-content p { font-size: 14px; color: #eaecef; line-height: 1.7; margin-bottom: 15px; }

/* Fiyat Değişim Animasyonları */
.price-value.price-up {
    color: var(--up-green);
    text-shadow: 0 0 8px rgba(46, 189, 133, 0.4);
}

.price-value.price-down {
    color: var(--down-red);
    text-shadow: 0 0 8px rgba(246, 70, 93, 0.4);
}

/* --- YENİ EKLENEN KURUMSAL BÖLÜMLER --- */
.trust-bar {
    background: var(--nav-grey);
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--binance-yellow);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-item p {
    color: var(--text-grey);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-section { padding: 100px 0; position: relative; }
.section-title {
    font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 60px; letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.f-card {
    background: linear-gradient(145deg, #191c21 0%, #111417 100%);
    padding: 45px 35px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.f-card:hover {
    transform: translateY(-10px);
    border-color: rgba(240, 185, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.f-icon {
    width: 60px; height: 60px; background: rgba(240, 185, 11, 0.1);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--binance-yellow); margin-bottom: 25px; transition: 0.3s;
}

.f-card:hover .f-icon {
    background: var(--binance-yellow); color: #000; transform: rotateY(360deg);
}

.f-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 15px; color: var(--text-white); }
.f-card p { font-size: 15px; color: var(--text-grey); line-height: 1.7; }

/* --- MOBİL AYARLAR (Tüm düzeltmeler dahil) --- */
@media screen and (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 38px; }
    .desktop-only { display: none !important; }
    .hero-form { margin: 0 auto; }
}

@media screen and (max-width: 768px) {
    .container { width: 92% !important; }
    .hero-text h1 { font-size: 32px !important; }
    .modern-auth-card { padding: 40px 25px; }

    /* Asset Float Fix */
    .store-badge-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: visible;
    }

    .asset-float-container {
        justify-content: center;
        width: 100%;
        margin-bottom: 30px;
    }

    .btc-glow { left: 20%; top: -15px; font-size: 18px; }
    .eth-glow { left: 30%; top: 5px; font-size: 14px; }
    .money-line { margin-right: 10px; height: 30px; }

    .store-buttons { gap: 8px; justify-content: center; }
    .s-btn { padding: 6px 12px; font-size: 11px; }

    .trust-bar { padding: 40px 20px; }
    .stat-item { flex: 1 1 150px; }
    .stat-item h3 { font-size: 24px; }
    .features-section { padding: 60px 0; }
    .section-title { font-size: 28px; margin-bottom: 40px; }
    .f-card { padding: 30px 25px; }
}

@media screen and (max-width: 600px) {
    .bonus-banner span { font-size: 11px; }
    .bonus-banner i { display: none; }
}

.input-wrapper input[placeholder*="Referans"] + i {
    opacity: 0.5;
}
/* TÜM SAYFAYI KAPLA */
body.dash-body {
    margin: 0;
    padding: 0;
    background-color: #080a0c; /* Daha derin bir siyah */
    font-family: 'Inter', sans-serif;
    color: white;
    overflow-x: hidden;
}

.dash-container {
    width: 100%; /* Genişliği %100 yaptık */
    max-width: 100%; /* Sınırı kaldırdık */
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box; /* Padding genişliği bozmasın */
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px;
    max-width: 600px; /* Mobil odaklı genişlik */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: radial-gradient(circle at top, #1e2329 0%, #0b0e11 100%);
    min-height: 100vh;
}

/* KARTLARI DAHA DOLGUN YAP */
.glass-card {
    background: linear-gradient(135deg, rgba(25, 30, 38, 0.9), rgba(15, 18, 22, 0.95)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    width: 100%; /* Kartlar satırı tamamen kaplasın */
    box-sizing: border-box;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    padding: 30px;
    margin-bottom: 20px;
}

/* MOBİLDE YAN YANA OLANLARI DÜZELT */
.sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mobilde bile yan yana kalır */
    gap: 15px;
    width: 100%;
}

/* ARBİTRAJ TRAFİĞİNİ BÜYÜT */
.arbitrage-engine {
    height: 150px; /* Biraz daha yükseklik */
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

/* DEĞERLERİ PARLAT */
.value {
    font-size: clamp(24px, 8vw, 40px); /* Ekran küçüldükçe yazı tipi de küçülür */
    margin: 10px 0;
    font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}

.yellow { color: var(--binance-yellow); }
.green { color: var(--up-green); text-shadow: 0 0 10px rgba(46, 189, 133, 0.2); }

/* Butonlar */
.btn-action {
    padding: 12px 30px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer;
    transition: 0.3s; margin-top: 15px; flex: 1;
}
.deposit { background: var(--binance-yellow); color: #000; }
.withdraw { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border); }

/* Alt Grid */
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* Arbitraj Trafiği */
.arb-box { overflow: hidden; }
.arbitrage-engine { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.node { 
    font-size: 10px; font-weight: 900; padding: 6px 12px; 
    background: #2b3139; border-radius: 6px; border: 1px solid var(--border);
}
.track { flex: 1; height: 2px; background: rgba(255,255,255,0.05); position: relative; margin: 0 10px; }
.particle { 
    position: absolute; width: 5px; height: 5px; background: var(--binance-yellow); 
    border-radius: 50%; box-shadow: 0 0 8px var(--binance-yellow);
    top: -1.5px; animation: flowRight linear forwards;
}

@keyframes flowRight {
    from { left: 0; opacity: 1; }
    to { left: 100%; opacity: 0; }
}

/* İşlem Tablosu */
.tx-header { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 11px; color: #848e9c; }
.tx-list { height: 200px; overflow: hidden; }
.tx-row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.02); }

.status-badge { 
    font-size: 10px; background: rgba(46, 189, 133, 0.1); color: var(--up-green); 
    padding: 4px 8px; border-radius: 4px; font-weight: 700;
}
.dot { height: 6px; width: 6px; background: var(--up-green); border-radius: 50%; display: inline-block; margin-right: 4px; animation: pulse 1s infinite; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
/* --- YAN MENÜ VE DESTEK STİLLERİ --- */

/* Üst Header */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--card-color);
    border-bottom: 1px solid var(--border);
}
.menu-trigger { font-size: 20px; color: var(--accent-yellow); cursor: pointer; }
.dash-logo { font-weight: 800; letter-spacing: 1px; color: #fff; }

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0; left: -280px; width: 280px; height: 100%;
    background: #111418; z-index: 1000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}
.sidebar.active { left: 0; }
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    z-index: 999; display: none;
}
.overlay.active { display: block; }

.sidebar-header { padding: 40px 25px; background: linear-gradient(to bottom, #1e2329, #111418); }
.sidebar-user { display: flex; align-items: center; gap: 15px; }
.avatar-large { width: 50px; height: 50px; background: var(--accent-yellow); border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #000; font-size: 24px; }
.u-name { display: block; font-weight: 700; font-size: 16px; }
.u-status { font-size: 11px; color: var(--accent-yellow); }

.sidebar-nav { padding: 20px; display: flex; flex-direction: column; gap: 5px; }
.nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 15px; border-radius: 12px;
    text-decoration: none; color: var(--text-dim);
    font-size: 14px; font-weight: 600; transition: 0.2s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nav-item i { width: 20px; font-size: 18px; }
.nav-item:hover, .nav-item.active { background: rgba(240, 185, 11, 0.1); color: var(--accent-yellow); }
.logout { margin-top: 20px; color: #f6465d; }
.nav-divider { height: 1px; background: var(--border); margin: 15px 0; }

/* Sağ Alt Destek Butonu */
.support-trigger {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px; background: var(--accent-yellow);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 24px; box-shadow: 0 10px 25px rgba(240, 185, 11, 0.4);
    cursor: pointer; z-index: 998; transition: 0.3s;
}
.support-trigger:hover { transform: scale(1.1) rotate(-10deg); }

/* Destek Modalı */
.support-modal {
    position: fixed; bottom: 100px; right: 30px;
    width: 320px; background: #181a20; border-radius: 20px;
    border: 1px solid var(--border); box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    z-index: 1001; display: none; flex-direction: column; overflow: hidden;
    animation: slideUp 0.3s ease-out;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.support-header { padding: 20px; background: #22262c; display: flex; justify-content: space-between; align-items: center; }
.support-header h3 { margin: 0; font-size: 16px; }
.close-support { cursor: pointer; font-size: 24px; color: var(--text-dim); }
.support-form { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.support-form input, .support-form select, .support-form textarea {
    background: #2b3139; border: 1px solid var(--border); padding: 12px;
    border-radius: 10px; color: #fff; font-family: inherit;
}
.user-status-card {
    background: linear-gradient(90deg, #1e2329 0%, #111418 100%);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    margin-bottom: 5px;
}

.status-left { display: flex; align-items: center; gap: 15px; }

.status-icon {
    width: 45px; height: 45px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    background: rgba(255,255,255,0.05);
}

.status-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    margin-top: 4px;
    display: inline-block;
}

.status-right { text-align: right; }
.status-label { display: block; font-size: 10px; color: var(--text-dim); text-transform: uppercase; }
.status-text { font-weight: 700; font-size: 14px; }

/* Statü Renkleri */
.level-entry { color: #5eb5f8; border: 1px solid #5eb5f8; } /* Başlangıç - Mavi */
.level-pro { color: #a35ef8; border: 1px solid #a35ef8; }   /* Orta - Mor */
.level-whale { color: #f0b90b; border: 1px solid #f0b90b; } /* Balina - Altın */

.bg-entry { background: rgba(94, 181, 248, 0.1); color: #5eb5f8; }
.bg-pro { background: rgba(163, 94, 248, 0.1); color: #a35ef8; }
.bg-whale { background: rgba(240, 185, 11, 0.1); color: #f0b90b; }
/* Bildirim Paneli Tasarımı */
#notif-panel {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    z-index: 1000;
    overflow: hidden;
    animation: slideDown 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.notif-header {
    padding: 15px;
    background: var(--bg-card-hover);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    transition: background 0.2s;
}

.notif-item:hover {
    background: rgba(255,255,255,0.03);
}

.notif-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

/* Kırmızı bildirim noktası */
.notif-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: #ff4b2b;
    border: 2px solid var(--bg-body);
    border-radius: 50%;
    display: none;
}
.news-item {
    display: flex;
    gap: 20px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    transition: var(--transition);
    cursor: pointer;
}
.news-item:hover {
    border-color: var(--emerald-primary);
    background: var(--bg-card-hover);
    transform: translateX(5px);
}
.news-img-sm {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .news-item { flex-direction: column; }
    .news-img-sm { width: 100%; height: 150px; }
}

.plan-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08) !important;
}

.plan-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 15px;
}

.plan-rate span {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

/* Renk Tanımlamaları */
.bg-entry { background-color: #5eb5f8 !important; color: #000000 !important; }
.bg-pro { background-color: #a35ef8 !important; color: #ffffff !important; }
.bg-whale { background-color: #f0b90b !important; color: #000000 !important; }

/* Buton Parlama Efektleri */
.btn-glow-entry { background: #5eb5f8; border: none; padding: 12px; border-radius: 10px; font-weight: bold; cursor: pointer; }
.btn-glow-pro { background: #a35ef8; border: none; color: #fff; padding: 12px; border-radius: 10px; font-weight: bold; cursor: pointer; }
.btn-glow-whale { background: #f0b90b; border: none; padding: 12px; border-radius: 10px; font-weight: bold; cursor: pointer; }

/* Bu kodu CSS dosyanın en altına ekle */
.reinvest-btn {
    background-color: #FCD535 !important;
    color: #000000 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: inline-flex !important; /* Görünürlüğü zorla */
    align-items: center !important;
    gap: 8px !important;
    min-width: 80px !important; /* Kutu boş görünmesin diye */
    min-height: 35px !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Bildirim Kutusu Stili */
.notification-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none; /* Başlangıçta gizli */
    z-index: 2001;
    overflow: hidden;
    position: absolute;
    top: 45px; /* Zil butonunun hemen altında başlar */
    right: 0;
    width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    z-index: 9999;
}

.notification-dropdown.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
}

.notification-body {
    max-height: 350px;
    overflow-y: auto;
}

.notif-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: 0.2s;
    cursor: default;
    padding: 10px; border-bottom: 1px solid var(--border-color); background: rgba(255,255,255,0.02);
}

.notif-item:hover {
    background: var(--bg-card-hover);
}

.notif-content {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.4;
}

.notif-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 5px;
}

.no-notif {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 20px; text-align: center; color: var(--text-muted);
}

.notif-header { padding: 12px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; font-size: 13px; font-weight: bold; }
.notif-body { max-height: 250px; overflow-y: auto; font-size: 12px; }
.notif-item:last-child { border-bottom: none; }
.btn-reinvest { 
    background: var(--emerald-primary) !important; /* Rengi zorla */
    color: #0b0e11 !important; /* Yazı rengini siyah yap */
    border: none; 
    padding: 12px 16px; 
    border-radius: var(--radius-md); 
    font-weight: 800; 
    font-size: 13px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Ortala */
    gap: 8px;
    transition: var(--transition); 
    box-shadow: 0 4px 12px rgba(252, 213, 53, 0.2);
    width: 100%; /* Kartı kaplasın, daha şık durur */
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.btn-reinvest:hover { 
    background: var(--emerald-hover) !important; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 15px rgba(252, 213, 53, 0.3);
}

.btn-reinvest:active {
    transform: scale(0.95);
}
/* Paket Görsel Konteynırı */
.pkg-visual-container {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

/* Arka Plan Parlama Efekti */
.pkg-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(20px);
    opacity: 0.15;
    z-index: -1;
    background: var(--emerald-primary); /* Varsayılan renk */
    border-radius: 50%;
}

/* Paketlere Göre Otomatik Renklendirme (Opsiyonel Manuel Müdahale) */
/* Eğer JS ile sınıf eklemek istemiyorsan, genel tasarımı böyle bırakabiliriz */
/* Ama en azından şu hover efektini ekleyelim: */
#activePackageDisplay:hover .pkg-visual-container {
    transform: scale(1.05) rotate(5deg);
    background: rgba(252, 213, 53, 0.1);
    border-color: var(--emerald-primary);
}

#activePackageDisplay:hover .pkg-glow {
    opacity: 0.4;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999; /* Sidebar 1000 olduğu için hemen altında kalmalı */
    display: none;
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: block;
}
/* Başlangıçta alt menüleri gizle */
.submenu {
    display: none;
    padding-left: 45px;
    background: rgba(255, 255, 255, 0.03); /* Çok hafif bir arka plan farkı */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.15); /* Mobilde açıldığı belli olsun */
    display: block !important; /* display:none yerine max-height kullanıyoruz */
}

/* 'active' class'ı gelince göster */
.submenu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
    /* JavaScript üzerinden otomatik hesaplanacak ama yedek kalsın */
    max-height: 200px; 
}

.arrow-icon {
    transition: transform 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- MOBİL İYİLEŞTİRMELERİ (ZİL VE ÜST BAR) --- */
@media (max-width: 768px) {
    /* Ana ekranın sağa sola kaymasını engelle */
    body, html {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }

    .header {
        gap: 5px;
        margin-bottom: 20px;
        padding: 0 4px;
    }

    /* İkonların ve kullanıcı adının olduğu sağ alanı sabitle */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px; /* Boşlukları daralt */
        flex-shrink: 0;
    }

    /* Kullanıcı badge'ini mobilde biraz daralt */
    .user-badge {
        padding: 4px 8px 4px 4px;
        max-width: 130px; /* Çok uzayıp zili itmesin */
    }

    #userNameDisplay {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* İsim çok uzunsa üç nokta koy */
        font-size: 11px;
    }

    /* Zil butonunun mobildeki yerleşimi */
    .icon-btn {
        width: 36px;
        height: 36px;
        order: 2; /* Zili en sağa veya sola sabitlemek için */
        flex-shrink: 0;
    }

    /* Bildirim kutusunun mobilde ekrandan taşmasını önle */
    .notification-dropdown {
        position: fixed; /* Absolute yerine Fixed yaparak ekranı ortala */
        top: 60px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: calc(100vw - 20px);
    }
}

/* Tablo taşmalarını engellemek için ek önlem */
.table-responsive {
    -webkit-overflow-scrolling: touch;
}