@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@600;700&display=swap');

.fv-live-page {
    --fv-font: 'Inter', -apple-system, sans-serif;
    --fv-font-mono: 'Roboto Mono', monospace;
    --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --fv-primary: #ec4899;       
    --fv-text-dark: #0f172a;
    --fv-text-muted: #475569;
    --fv-bg-white: #ffffff;
    --fv-bg-soft: #f8fafc;
    --fv-border: #e2e8f0;
    --fv-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --fv-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --fv-radius-lg: 24px;
    --fv-radius-md: 16px;

    /* Dashboard Dark Theme */
    --dash-bg: linear-gradient(145deg, #09090b 0%, #1e1b4b 100%);
    --dash-border: rgba(255, 255, 255, 0.05);

    width: 100%; max-width: 950px; margin: 0 auto; padding: 20px 0;
    font-family: var(--fv-font); color: var(--fv-text-dark); line-height: 1.6;
    box-sizing: border-box; transition: all 0.3s ease;
}

.fv-live-page * { box-sizing: border-box; }

body.dark .fv-live-page {
    --fv-text-dark: #f8fafc; --fv-text-muted: #94a3b8;
    --fv-bg-white: #1e293b; --fv-bg-soft: #0f172a; --fv-border: #334155;
    --dash-bg: linear-gradient(145deg, #020617 0%, #0f172a 100%);
}

.fv-live-page .fv-breadcrumb {
    width: 100%; max-width: 800px; margin: 0 auto 35px auto; padding: 10px 20px;
    background: rgba(241, 245, 249, 0.6); border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 50px; backdrop-filter: blur(8px);
}
body.dark .fv-live-page .fv-breadcrumb { background: rgba(30, 41, 59, 0.6); border-color: rgba(51, 65, 85, 0.8); }
.fv-live-page .fv-bc-wrapper { display: flex; align-items: center; overflow-x: auto; gap: 10px; scrollbar-width: none; }
.fv-live-page .fv-bc-wrapper::-webkit-scrollbar { display: none; }
.fv-live-page .fv-bc-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--fv-text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.fv-live-page .fv-bc-item svg { stroke: var(--fv-primary); }
.fv-live-page .fv-bc-item:hover { color: var(--fv-primary); }
.fv-live-page .fv-bc-item.active { color: var(--fv-text-dark); font-weight: 700; background: var(--fv-bg-white); padding: 6px 14px; border-radius: 20px; box-shadow: var(--fv-shadow-md); border: 1px solid var(--fv-border); }
body.dark .fv-live-page .fv-bc-item.active { background: #0f172a; color: #f8fafc; border-color: #334155; }
.fv-live-page .fv-bc-divider { font-size: 10px; color: #94a3b8; opacity: 0.6; }

.fv-live-header { text-align: center; margin-bottom: 45px; padding: 0 20px; }
.fv-live-header .fv-service-title { font-size: 34px; font-weight: 800; color: var(--fv-text-dark); margin: 0 0 15px 0; letter-spacing: -0.03em; line-height: 1.3; }
.fv-live-header .fv-title-highlight { background: var(--ig-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; display: inline-block; padding: 0 4px; }
.fv-live-header .fv-live-subtitle { font-size: 16px; color: var(--fv-text-muted); font-weight: 500; max-width: 650px; margin: 0 auto; }

.fv-live-widget { width: 100%; margin-bottom: 60px; }
.fv-search-section { position: relative; z-index: 100; width: 100%; margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; }
.fv-search-box { position: relative; width: 100%; max-width: 700px; display: flex; align-items: center; background: var(--fv-bg-white); border: 2px solid var(--fv-border); border-radius: 20px; padding: 6px; box-shadow: var(--fv-shadow-lg); transition: border-color 0.3s ease; }
body.dark .fv-search-box { background: var(--fv-bg-soft); }
.fv-search-box:focus-within { border-color: #ec4899; }

.fv-live-icon { font-size: 22px; margin-left: 15px; color: var(--fv-primary); animation: radarPulse 2s infinite; }
@keyframes radarPulse { 0% { opacity: 0.5; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0.5; transform: scale(0.9); } }

.fv-search-box input { flex: 1; padding: 18px 20px; background: transparent; border: none; font-family: var(--fv-font); font-size: 16px; color: var(--fv-text-dark); font-weight: 600; outline: none; }
.fv-btn-track { background: var(--ig-gradient); color: #fff; border: none; border-radius: 14px; padding: 0 30px; height: 50px; font-family: var(--fv-font); font-weight: 800; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
.fv-btn-track:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -5px rgba(236, 72, 153, 0.4); }
.fv-btn-track:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.fv-turnstile-container { margin-top: 15px; display: flex; justify-content: center; }

.fv-empty-state { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; animation: fadeIn 0.5s ease; }
.empty-state-card { background: var(--fv-bg-white); border: 1px solid var(--fv-border); padding: 25px 20px; border-radius: var(--fv-radius-md); box-shadow: var(--fv-shadow-md); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s; }
body.dark .empty-state-card { background: var(--fv-bg-soft); }
.empty-state-card:hover { transform: translateY(-5px); border-color: rgba(236, 72, 153, 0.3); }
.empty-state-card .es-icon { width: 50px; height: 50px; background: rgba(236, 72, 153, 0.1); color: var(--fv-primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 15px; }
.empty-state-card h3 { margin: 0 0 10px 0; font-size: 16px; color: var(--fv-text-dark); font-weight: 700; }
.empty-state-card p { margin: 0; font-size: 13.5px; color: var(--fv-text-muted); line-height: 1.5; }

/* ⚡ YENİ GENİŞ (YATAY) LIVE DASHBOARD ⚡ */
.fv-live-dashboard { max-width: 850px; margin: 0 auto; background: var(--dash-bg); border-radius: var(--fv-radius-lg); padding: 35px 40px; border: 1px solid var(--dash-border); box-shadow: 0 30px 60px -15px rgba(0,0,0,0.4); color: #fff; position: relative; overflow: hidden; animation: fadeIn 0.5s ease; }
.fv-live-dashboard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--ig-gradient); }

/* Live Indicator & Sync Status */
.fv-live-status-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.fv-live-indicator { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #ffffff !important; display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(5px); }
.live-dot { width: 10px; height: 10px; background-color: #ef4444; border-radius: 50%; box-shadow: 0 0 10px #ef4444; animation: flashRed 1.5s infinite; }
.live-dot.paused { background-color: #f59e0b; box-shadow: none; animation: none; }
@keyframes flashRed { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }
.fv-sync-status { font-size: 13px; font-weight: 600; color: #94a3b8 !important; display: flex; align-items: center; gap: 6px;}
.fv-sync-status.syncing { color: #f59e0b !important; }
.fv-sync-status.synced { color: #10b981 !important; }

/* Dashboard Core Flex */
.fv-dashboard-core { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; gap: 20px;}

.fv-profile-col { display: flex; align-items: center; gap: 20px; flex: 1; }
.fv-live-avatar { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #ec4899; box-shadow: 0 10px 25px rgba(0,0,0,0.3); object-fit: cover; flex-shrink: 0; }
.fv-live-user-info { text-align: left; }
.fv-live-user-info h3 { margin: 0 0 5px 0; font-size: 22px; font-weight: 800; color: #ffffff !important; display: flex; align-items: center; gap: 6px; letter-spacing: -0.5px;}
.fv-verified-badge { color: #3b82f6; font-size: 18px; }
.fv-live-user-info p { margin: 0; font-size: 15px; font-weight: 500; color: #94a3b8 !important; }

.fv-counter-col { text-align: right; flex: 1.2; display: flex; flex-direction: column; align-items: flex-end;}
.fv-counter-label { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: #cbd5e1 !important; margin: 0 0 5px 0; text-transform: uppercase; }

/* DİNAMİK FONT BÜYÜKLÜĞÜ MASAÜSTÜ KORUMASI */
.fv-huge-counter { font-family: var(--fv-font-mono); font-size: clamp(40px, 5.5vw, 65px); font-weight: 700; color: #ffffff !important; line-height: 1; letter-spacing: -2px; text-shadow: 0 0 40px rgba(255,255,255,0.2); transition: color 0.3s, text-shadow 0.3s; white-space: nowrap; }
.fv-huge-counter.up { color: #34d399 !important; text-shadow: 0 0 40px rgba(52,211,153,0.4); }
.fv-huge-counter.down { color: #ef4444 !important; text-shadow: 0 0 40px rgba(239,68,68,0.4); }

.fv-dashboard-footer { display: flex; justify-content: space-between; align-items: stretch; gap: 20px; }
.fv-live-substats { display: flex; gap: 15px; flex: 1; }
.substat-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 15px 25px; flex: 1; text-align: left;}
.substat-label { display: block; font-size: 12px; font-weight: 700; color: #94a3b8 !important; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.substat-val { display: block; font-size: 24px; font-weight: 800; color: #ffffff !important; font-family: var(--fv-font-mono); }

.fv-btn-stop { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5 !important; padding: 0 35px; border-radius: 16px; font-family: var(--fv-font); font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px;}
.fv-btn-stop:hover { background: rgba(239, 68, 68, 0.2); color: #ffffff !important; }

/* SEO & FAQ */
.fv-dynamic-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 50px auto 60px; }
.fv-dynamic-seo .info-container, .fv-dynamic-seo .article-container { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); box-shadow: var(--fv-shadow-md); padding: 40px; }
.fv-dynamic-seo h2 { font-size: 20px; color: var(--fv-text-dark); margin-top: 0; margin-bottom: 20px; font-weight: 800; border-bottom: 2px solid var(--fv-primary); padding-bottom: 10px; display: inline-block;}
.fv-dynamic-seo p { color: var(--fv-text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 15px; }
.fv-dynamic-seo ul { padding-left: 20px; color: var(--fv-text-muted); font-size: 15px; line-height: 1.7; }
.fv-dynamic-seo li { margin-bottom: 10px; }
.fv-dynamic-seo strong { color: var(--fv-text-dark); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 📱 EKRANLARI YIRTAN ULTRA GENİŞ MOBİL TASARIM (DÜZELTİLDİ) 📱 */
@media screen and (max-width: 768px) {
    .fv-live-page { padding: 15px 5px; } 
    .fv-empty-state, .fv-dynamic-seo { grid-template-columns: 1fr; }
    
    .fv-search-box { flex-direction: column; padding: 0; background: transparent; border: none; box-shadow: none; gap: 12px; }
    body.dark .fv-search-box { background: transparent; }
    .fv-search-box input { width: 100%; border-radius: 16px; background: var(--fv-bg-white); border: 2px solid var(--fv-border); padding: 18px 15px; box-shadow: var(--fv-shadow-md); text-align: center; }
    .fv-btn-track { width: 100%; height: 55px; justify-content: center; border-radius: 16px; }
    .fv-live-icon { display: none; }
    
    .fv-live-dashboard { padding: 30px 15px; border-radius: 20px; margin: 0; width: 100%; max-width: 100%; box-sizing: border-box;}
    .fv-live-status-bar { flex-direction: column; gap: 10px; margin-bottom: 20px; padding-bottom: 15px; }
    
    .fv-dashboard-core { flex-direction: column; align-items: center; text-align: center; gap: 20px; margin-bottom: 20px; width: 100%;}
    
    .fv-profile-col { flex-direction: row; text-align: left; align-items: center; width: 100%; justify-content: center; gap: 15px;}
    .fv-live-avatar { width: 70px; height: 70px; border-width: 2px; }
    .fv-live-user-info h3 { font-size: 19px; }
    
    .fv-counter-col { text-align: center; width: 100%; background: rgba(0,0,0,0.15); padding: 25px 10px; border-radius: 16px; align-items: center; box-sizing: border-box;}
    
    /* ⚡ SİHİRLİ DOKUNUŞ: FONT DAHA DA KÜÇÜLDÜ, WHITE-SPACE EKLENDİ ⚡ */
    .fv-huge-counter { font-size: clamp(26px, 8.5vw, 42px); letter-spacing: -1px; width: 100%; display: block; white-space: nowrap; }
    
    .fv-dashboard-footer { flex-direction: column; gap: 15px; width: 100%;}
    .fv-live-substats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .substat-box { padding: 15px 10px; text-align: center; border-radius: 12px; }
    .substat-val { font-size: 20px; }
    .substat-label { font-size: 11px; }
    
    .fv-btn-stop { padding: 15px; width: 100%; border-radius: 12px;}
    
    .fv-dynamic-seo .info-container, .fv-dynamic-seo .article-container { padding: 25px 15px; }
}

/* Swal2 Popup CSS */
body.swal2-shown:not(.swal2-no-backdrop) .swal2-container { background-color: rgba(15, 23, 42, 0.8) !important; backdrop-filter: blur(10px); }
.fv-modal__popup.swal2-popup { border-radius: 24px !important; padding: 40px 30px 30px !important; font-family: 'Inter', sans-serif !important; }
.fv-modal__title { font-size: 22px !important; font-weight: 800 !important; color: var(--fv-text-dark) !important; margin-bottom: 15px !important; }
.fv-btn-confirm { background: var(--ig-gradient) !important; color: white !important; padding: 14px 30px !important; border-radius: 12px !important; font-weight: 700 !important; width: 100%; margin-top: 15px;}