@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Courier+New&display=swap');

/* --- 1. TEMEL AYARLAR & DEĞİŞKENLER --- */
:root {
    --bg-dark: #0b1120;
    --card-bg: #1e293b;
    --sidebar-bg: #0f172a;
    --primary: #22c55e;
    --primary-glow: rgba(34, 197, 94, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0; padding: 0;
    overflow-x: hidden;
}

.wrapper { display: flex; min-height: 100vh; }

/* --- 2. SIDEBAR & LOGO (KRİTİK DÜZELTME) --- */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    padding: 20px;
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: relative; z-index: 10;
}

/* LOGO KUTUSU (Büyük çıkmaması için burası önemli) */
.brand-container {
    background: #000000; /* Siyah Arka Plan */
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid rgba(34, 197, 94, 0.3); /* Hafif Yeşil Çerçeve */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* LOGO RESMİ (Boyut Sınırlaması) */
.brand-logo {
    max-width: 100%;
    height: auto;
    max-height: 50px; /* Maksimum yükseklik 50px */
    width: auto;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5)); /* Hafif parlama */
}

/* LOGO ALTINDAKİ YAZI */
.system-status {
    font-size: 0.65rem; color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    gap: 6px; opacity: 0.9; letter-spacing: 1.5px; font-weight: 700;
}
.pulse-dot {
    width: 6px; height: 6px; background: var(--primary);
    border-radius: 50%; animation: pulse 1.5s infinite;
    box-shadow: 0 0 8px var(--primary);
}

/* MENÜ LİNKLERİ */
.nav-links { list-style: none; padding: 0; flex: 1; margin-top: 10px; }
.nav-links li { margin-bottom: 8px; }
.nav-links a {
    display: flex; align-items: center; padding: 12px 15px;
    color: var(--text-muted); text-decoration: none;
    border-radius: 8px; transition: 0.3s; font-weight: 500;
    border: 1px solid transparent;
}
.nav-links a i { margin-right: 10px; width: 20px; text-align: center; font-size: 1.1rem; }
.nav-links a:hover, .nav-links a.active {
    background: rgba(34, 197, 94, 0.08);
    color: var(--primary);
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.05);
}
.logout-btn:hover { background: rgba(239, 68, 68, 0.1) !important; color: #ef4444 !important; border-color: rgba(239, 68, 68, 0.2) !important; }

.sidebar-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.user-mini-profile { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), #14532d); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: white; box-shadow: 0 0 10px var(--primary-glow); }
.info .name { display: block; font-size: 0.9rem; font-weight: bold; color: white; }
.info .role { font-size: 0.75rem; color: var(--text-muted); }

/* --- 3. ANA İÇERİK & HEADER --- */
.main-content {
    flex: 1; padding: 30px 40px; overflow-y: auto;
    background-image: radial-gradient(circle at 90% 10%, rgba(34,197,94,0.05) 0%, transparent 40%);
}
.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.welcome-text h1 { font-size: 2.2rem; margin: 0 0 5px 0; font-weight: 800; }
.subtitle { color: var(--text-muted); font-size: 0.95rem; }
.text-green { color: var(--primary); }
.text-red { color: #ef4444; }

/* --- 4. DASHBOARD BİLEŞENLERİ --- */
.live-earnings-container {
    background: linear-gradient(90deg, #1e293b 0%, #111827 100%);
    border: 1px solid var(--primary); padding: 20px;
    border-radius: 12px; margin-bottom: 30px;
    position: relative; overflow: hidden;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}
.earning-header { color: var(--text-muted); font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.earning-values { display: flex; align-items: baseline; gap: 10px; }
.earning-values .value { font-size: 2.5rem; font-weight: 700; color: var(--primary); font-family: 'Courier New', monospace; }
.earning-values .currency { color: var(--text-main); font-weight: 600; }
.progress-bar { height: 4px; background: #334155; border-radius: 2px; margin-top: 15px; overflow: hidden; }
.progress-bar .fill { height: 100%; background: var(--primary); width: 0%; animation: loading 3s infinite linear; }
.info-text { display: block; margin-top: 10px; color: var(--text-muted); font-size: 0.8rem; }

/* İstatistik Kartları */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-bottom: 30px; }
.stat-card {
    background: var(--card-bg); padding: 25px; border-radius: 18px;
    border: 1px solid var(--border); position: relative; overflow: hidden;
    transition: all 0.4s ease; display: flex; align-items: center; gap: 20px;
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.glow-card { border: 1px solid rgba(34, 197, 94, 0.3); box-shadow: 0 0 20px rgba(34, 197, 94, 0.05); }
.glow-card .bg-pattern { position: absolute; right: 0; bottom: 0; width: 100px; height: 100px; background: radial-gradient(circle, var(--primary) 0%, transparent 70%); opacity: 0.1; pointer-events: none; }

.card-icon {
    width: 60px; height: 60px; border-radius: 14px;
    background: rgba(34, 197, 94, 0.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.card-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.card-icon.orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.card-icon.gold { background: rgba(255, 215, 0, 0.05) !important; color: #ffd700 !important; }
.card-icon.red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.card-info h3 { margin: 0 0 5px 0; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.card-info .number { font-size: 1.8rem; font-weight: 800; color: white; letter-spacing: -0.5px; }
.card-info .trend { font-size: 0.75rem; margin-top: 5px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.trend.up { color: var(--primary); }
.trend.neutral { color: #3b82f6; }
.neon-green { color: var(--primary); text-shadow: 0 0 15px rgba(34, 197, 94, 0.5); }

/* --- 5. GRAFİK & TERMİNAL ALANI --- */
.dashboard-split { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; margin-top: 30px; }
.chart-container, .terminal-container { background: #1e293b; border: 1px solid var(--border); border-radius: 18px; }
.chart-container { padding: 25px; }
.terminal-container { padding: 0; overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 350px; background: #0f172a; }

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.terminal-container .card-header { padding: 15px 20px; border-bottom: 1px solid #334155; margin-bottom: 0; background: #1e293b; }
.card-header h3 { margin: 0; font-size: 1.1rem; color: white; }

.terminal-body { padding: 20px; font-family: 'Courier New', monospace; font-size: 0.85rem; color: #22c55e; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.log-line { display: flex; gap: 10px; animation: fadeIn 0.3s ease; }
.log-time { color: #64748b; }
.log-info { color: #cbd5e1; }
.live-tag { background: rgba(34, 197, 94, 0.1); color: var(--primary); padding: 4px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 800; }
.live-dot { width: 10px; height: 10px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 10px #22c55e; animation: pulse 1s infinite; }
.chart-wrapper { height: 300px; width: 100%; }

/* --- 6. WALLET & WITHDRAW (YENİ) --- */
.wallet-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; }
.metric-card { background: #1e293b; padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 20px; transition: transform 0.3s; }
.metric-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.1); }
.metric-card.main-balance { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border: 1px solid var(--primary); box-shadow: 0 0 20px rgba(34, 197, 94, 0.1); }
.metric-card.locked { border-left: 3px solid #ef4444; }

.m-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; }
.m-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.m-icon.neon { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.m-icon.red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.m-content span { display: block; font-size: 0.8rem; color: #94a3b8; margin-bottom: 5px; }
.m-content h3 { margin: 0; font-size: 1.5rem; color: white; }

.wallet-split-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.investment-breakdown { background: #1e293b; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.section-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.2); }
.section-header h3 { margin: 0; font-size: 1.1rem; color: white; }

.inv-table { width: 100%; border-collapse: collapse; }
.inv-table th { text-align: left; padding: 15px 20px; color: #94a3b8; font-size: 0.8rem; background: rgba(255,255,255,0.02); }
.inv-table td { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #cbd5e1; font-size: 0.9rem; }
.mini-timer { background: rgba(239, 68, 68, 0.1); color: #ef4444; padding: 5px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: bold; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(239, 68, 68, 0.2); }
.status-badge.success { background: rgba(34, 197, 94, 0.1); color: #22c55e; padding: 5px 10px; border-radius: 6px; font-weight: bold; font-size: 0.75rem; }

.wallet-action-area { background: #1e293b; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.withdraw-form-modern { padding: 30px; }
.form-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
.status-pill.active { background: rgba(34,197,94,0.1); color: #22c55e; padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; border: 1px solid rgba(34,197,94,0.2); }

.input-box { margin-bottom: 20px; }
.input-box label { display: block; color: #94a3b8; font-size: 0.85rem; margin-bottom: 8px; }
.input-3d { width: 100%; padding: 14px; background: #0f172a; border: 1px solid #334155; border-radius: 10px; color: white; font-family: 'Inter', sans-serif; transition: 0.3s; box-sizing: border-box; }
.input-3d:focus { border-color: var(--primary); box-shadow: 0 0 10px rgba(34,197,94,0.1); outline: none; }

.btn-withdraw-neon { width: 100%; padding: 16px; background: linear-gradient(90deg, #22c55e, #15803d); color: white; border: none; border-radius: 10px; font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 5px 20px rgba(34,197,94,0.3); transition: 0.3s; }
.btn-withdraw-neon:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(34,197,94,0.5); }
.btn-withdraw-neon.disabled { background: #334155; color: #94a3b8; cursor: not-allowed; box-shadow: none; border: 1px solid #475569; }

/* --- 7. PACKAGES (PAKETLER) --- */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; padding: 20px 0; }
.package-card { background: linear-gradient(145deg, #1e293b, #0f172a); border-radius: 20px; padding: 30px; position: relative; overflow: hidden; transition: all 0.4s ease; border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.package-card:hover { transform: translateY(-15px) scale(1.02); box-shadow: 0 30px 60px -15px rgba(34, 197, 94, 0.3); border-color: var(--primary); }
.card-glow { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 70%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.package-card:hover .card-glow { opacity: 1; }
.pkg-header { text-align: center; margin-bottom: 20px; position: relative; z-index: 2; }
.pkg-header h3 { font-size: 1.8rem; margin: 0; text-transform: uppercase; letter-spacing: 2px; background: linear-gradient(to right, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pkg-header .price { font-size: 2.5rem; font-weight: 800; color: var(--primary); text-shadow: 0 0 20px rgba(34, 197, 94, 0.4); margin-top: 10px; }
.roi-badge { background: rgba(34, 197, 94, 0.1); color: var(--primary); text-align: center; padding: 10px; border-radius: 50px; font-weight: 700; border: 1px dashed var(--primary); margin-bottom: 25px; }
.pkg-features { list-style: none; padding: 0; margin-bottom: 30px; }
.pkg-features li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #cbd5e1; display: flex; justify-content: space-between; }
.btn-buy-3d { width: 100%; padding: 18px; border: none; border-radius: 12px; background: linear-gradient(90deg, #22c55e, #16a34a); color: white; font-weight: 800; font-size: 1.1rem; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4); transition: 0.3s; }
.btn-buy-3d:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(34, 197, 94, 0.6); }

/* Paket Renkleri */
.tier-pro { border-top: 4px solid #3b82f6; }
.tier-pro .price { color: #60a5fa; }
.tier-pro .btn-buy-3d { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.tier-elite { border-top: 4px solid #f59e0b; }
.tier-elite .price { color: #fbbf24; }
.tier-elite .btn-buy-3d { background: linear-gradient(90deg, #f59e0b, #d97706); }

/* --- 8. WITHDRAWAL FEE MODAL (POPUP) --- */
.modal-overlay { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; }
.modal-card { background: #0f172a; width: 100%; max-width: 450px; border-radius: 20px; border: 1px solid rgba(34, 197, 94, 0.3); box-shadow: 0 0 50px rgba(34, 197, 94, 0.15); transform: scale(0.95) translateY(20px); transition: all 0.3s ease; overflow: hidden; }
.modal-overlay.active .modal-card { transform: scale(1) translateY(0); }
.modal-header { background: linear-gradient(180deg, rgba(34,197,94,0.1) 0%, rgba(15,23,42,0) 100%); padding: 25px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); position: relative; }
.header-icon { width: 60px; height: 60px; background: rgba(34, 197, 94, 0.2); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 15px auto; }
.modal-header h3 { margin: 0; color: white; font-size: 1.4rem; letter-spacing: 1px; }
.close-btn { position: absolute; right: 20px; top: 20px; font-size: 24px; color: #64748b; cursor: pointer; }
.close-btn:hover { color: white; }
.modal-body { padding: 30px; }
.order-summary { display: flex; justify-content: space-between; background: #1e293b; padding: 15px; border-radius: 10px; margin-bottom: 20px; border: 1px dashed #334155; }
.summary-item { display: flex; flex-direction: column; }
.summary-item .label { font-size: 0.8rem; color: #94a3b8; margin-bottom: 5px; }
.summary-item .value { font-weight: bold; font-family: 'Inter', sans-serif; color: white; }
.fee-warning { background: rgba(239, 68, 68, 0.1); border-left: 3px solid #ef4444; color: #fca5a5; font-size: 0.85rem; padding: 12px; margin-bottom: 20px; border-radius: 4px; line-height: 1.4; }
.text-red { color: #ef4444; }
.crypto-box { display: flex; gap: 15px; background: #020617; padding: 15px; border-radius: 12px; border: 1px solid #1e293b; margin-bottom: 25px; align-items: center; }
.qr-placeholder { width: 50px; height: 50px; background: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: black; }
.wallet-details { flex: 1; overflow: hidden; }
.wallet-details label { display: block; font-size: 0.75rem; color: #94a3b8; margin-bottom: 5px; }
.wallet-input-group { display: flex; background: #1e293b; border-radius: 6px; border: 1px solid #334155; cursor: pointer; }
.wallet-input-group input { flex: 1; background: transparent; border: none; color: #cbd5e1; padding: 8px 10px; font-family: monospace; outline: none; }
.copy-icon { background: none; border: none; color: var(--primary); padding: 0 10px; cursor: pointer; }
.input-group label { display: block; margin-bottom: 8px; color: white; font-weight: 500; font-size: 0.9rem; }
.neon-input { width: 100%; padding: 15px; background: #1e293b; border: 1px solid #334155; border-radius: 10px; color: white; font-size: 1rem; margin-bottom: 20px; box-sizing: border-box; transition: 0.3s; }
.neon-input:focus { border-color: var(--primary); box-shadow: 0 0 15px rgba(34, 197, 94, 0.2); outline: none; }
.btn-confirm { width: 100%; padding: 16px; background: linear-gradient(135deg, #22c55e 0%, #15803d 100%); color: white; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: bold; cursor: pointer; box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3); transition: 0.3s; }
.btn-confirm:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5); }

/* --- 9. REFERRALS (REFERANS SAYFASI) --- */
.invite-container { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border-radius: 24px; padding: 35px; margin-bottom: 40px; border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; }
.invite-content { position: relative; z-index: 2; }
.invite-text h3 { margin: 0 0 10px 0; font-size: 1.4rem; color: white; }
.invite-text p { color: #94a3b8; margin-bottom: 25px; }
.copy-box { display: flex; background: #020617; padding: 8px; border-radius: 12px; border: 1px solid #334155; transition: 0.3s; }
.copy-box:focus-within { border-color: #22c55e; box-shadow: 0 0 15px rgba(34,197,94,0.2); }
.copy-box input { flex: 1; background: transparent; border: none; color: #22c55e; font-family: 'Courier New', monospace; font-size: 1.1rem; padding: 0 15px; outline: none; }
.btn-copy { background: #22c55e; color: white; border: none; padding: 12px 30px; border-radius: 10px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.btn-copy:hover { box-shadow: 0 0 20px rgba(34,197,94,0.5); }
.logic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 40px; }
.logic-step { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 30px 20px; border-radius: 18px; text-align: center; transition: 0.3s; }
.logic-step:hover, .logic-step.active { background: rgba(34,197,94,0.05); border-color: #22c55e; transform: translateY(-5px); }
.step-icon { width: 60px; height: 60px; background: rgba(30, 41, 59, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #94a3b8; margin: 0 auto 20px auto; border: 1px solid rgba(255,255,255,0.1); }
.logic-step.active .step-icon { color: #22c55e; border-color: #22c55e; box-shadow: 0 0 15px rgba(34,197,94,0.2); }
.logic-step h4 { color: white; margin-bottom: 10px; font-size: 1.1rem; }
.logic-step p { color: #94a3b8; font-size: 0.9rem; line-height: 1.5; }

/* --- 10. PAYOUT TOAST (CANLI BİLDİRİM) --- */
.payout-toast { position: fixed; bottom: 20px; left: -400px; background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(34, 197, 94, 0.3); border-left: 4px solid #22c55e; border-radius: 12px; padding: 15px 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 9999; backdrop-filter: blur(10px); transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 320px; }
.payout-toast.show { left: 20px; }
.payout-icon { width: 40px; height: 40px; background: rgba(34, 197, 94, 0.2); color: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.payout-info { display: flex; flex-direction: column; }
.p-user { font-size: 0.85rem; color: #94a3b8; font-weight: bold; }
.p-amount { font-size: 1.1rem; color: white; font-weight: 800; font-family: 'Courier New', monospace; }
.p-text { font-size: 0.7rem; color: #22c55e; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* GENEL TABLOLAR & ALERTS */
.modern-table { width: 100%; border-collapse: collapse; }
.modern-table th { text-align: left; padding: 15px; color: #94a3b8; border-bottom: 1px solid #334155; font-size: 0.9rem; }
.modern-table td { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #cbd5e1; }
.alert-box { background: rgba(59, 130, 246, 0.1); border: 1px solid #3b82f6; color: #60a5fa; padding: 20px; border-radius: 8px; text-align: center; margin-bottom: 20px; }
.alert-box.success { background: rgba(34, 197, 94, 0.1); border-color: #22c55e; color: #22c55e; }
.alert-box.error { background: rgba(239, 68, 68, 0.1); border-color: #ef4444; color: #ef4444; }

/* ANIMASYONLAR */
@keyframes loading { 0% { width: 0%; opacity: 1; } 50% { width: 50%; opacity: 0.5; } 100% { width: 100%; opacity: 0; } }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .dashboard-split, .wallet-split-container { grid-template-columns: 1fr; }
    .stats-grid, .logic-grid { grid-template-columns: 1fr; }
    .wallet-visual { display: none; }
    .payout-toast { bottom: 70px; left: -400px; }
    .payout-toast.show { left: 50%; transform: translateX(-50%); }
    .sidebar { display: none; }
}





/* =========================================
   ULTRA-ADVANCED NODE EXPLORER STYLES
   ========================================= */

/* 1. Perspective Grid (Zemin Izgarası) */
.main-content:has(.map-container) {
    background-image: 
        linear-gradient(rgba(34, 197, 94, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center bottom;
    perspective: 1000px;
}

/* 2. Map Container Geliştirme */
.map-container {
    background: #020617 !important;
    border: 2px solid rgba(34, 197, 94, 0.4) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(34, 197, 94, 0.1) !important;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* Scanlines (Ekranda gezen tarama çizgileri) */
.map-container::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 2;
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
}

/* Hareketli Yatay Işık Hattı */
.map-container::after {
    content: "";
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(34, 197, 94, 0.05), transparent);
    animation: scanMove 8s linear infinite;
    z-index: 3;
    pointer-events: none;
}

@keyframes scanMove {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* 3. Node Points (Daha Güçlü Parlama) */
.node-point {
    width: 14px !important;
    height: 14px !important;
    background: #22c55e !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 25px #22c55e, 0 0 10px #fff !important;
    z-index: 10;
}

.node-point::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { width: 14px; height: 14px; opacity: 1; }
    100% { width: 80px; height: 80px; opacity: 0; }
}

/* 4. AI Status Card Geliştirme */
.ai-status-card {
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    backdrop-filter: blur(15px);
    position: relative;
}

.ai-status-card::before {
    content: "AI ANALYSIS IN PROGRESS";
    position: absolute;
    top: 10px; right: 20px;
    font-size: 0.6rem;
    color: var(--primary);
    letter-spacing: 2px;
    font-family: monospace;
    animation: pulse 1.5s infinite;
}

.prediction-grid .p-item {
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: 0.3s;
}

.prediction-grid .p-item:hover {
    background: rgba(34, 197, 94, 0.05) !important;
    border-color: var(--primary) !important;
    transform: translateY(-5px);
}

/* Telemetry Terminal */
#telemetry-logs {
    background: #020617 !important;
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.1) !important;
    box-shadow: inset 0 0 20px #000;
}

#telemetry-logs div {
    border-left: 2px solid var(--primary);
    padding-left: 10px;
    margin-bottom: 5px;
    animation: fadeIn 0.5s ease forwards;
}

/* Sayfa Başlığı Altı Şeridi */
.node-map-header h1 {
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    letter-spacing: -1px;
}