@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

/* --- TEMA DEĞİŞKENLERİ VE IŞILTI (GLOW) AYARLARI --- */
:root {
    --bg-main: #000000;
    --bg-card: #1C1C1E;
    --text-main: #FFFFFF;
    --text-muted: #8E8E93;
    --accent: #0A84FF;
    --sidebar-width: 260px;
    --brand-glow: rgba(10, 132, 255, 0.35); 
}

body.theme-light {
    --bg-main: #F2F2F7;
    --bg-card: #FFFFFF;
    --text-main: #000000;
    --text-muted: #8E8E93;
    --brand-glow: rgba(0, 0, 0, 0.12); 
}

body.theme-forest {
    --bg-main: #0F1C15;
    --bg-card: #162B20;
    --text-main: #E2F0E9;
    --accent: #2E8B57;
    --brand-glow: rgba(46, 139, 87, 0.55); 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', -apple-system, sans-serif; }
body { background-color: var(--bg-main); color: var(--text-main); overflow: hidden; }

/* --- ANA YAPI --- */
.app-layout { display: flex; height: 100vh; width: 100vw; }
.main-wrapper { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* --- SIDEBAR (SOL MENÜ) --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-card);
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.05);
    z-index: 100;
}
body.theme-light .sidebar { border-color: rgba(0,0,0,0.05); }

.sidebar-header { margin-bottom: 30px; }
.logo h1 { font-size: 28px; margin-bottom: 0; letter-spacing: -0.3px; }

.nav-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 15px;
    text-align: left;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-btn.active, .nav-btn:hover {
    background-color: rgba(10, 132, 255, 0.15); 
    color: var(--accent); 
    box-shadow: inset 4px 0 0 var(--accent); 
}

body.theme-light .nav-btn.active, 
body.theme-light .nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.05); 
    color: #000000; 
    box-shadow: inset 4px 0 0 #000000; 
}

body.theme-forest .nav-btn.active, 
body.theme-forest .nav-btn:hover {
    background-color: rgba(46, 139, 87, 0.2); 
    color: #3CB371; 
    box-shadow: inset 4px 0 0 #3CB371; 
}

/* --- SIDEBAR ALT: REKLAM & MARKA --- */
.sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 20px; }

.premium-ad-box {
    background: linear-gradient(145deg, rgba(10, 132, 255, 0.1), transparent);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    position: relative;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
body.theme-forest .premium-ad-box { background: linear-gradient(145deg, rgba(46, 139, 87, 0.1), transparent); border-color: rgba(46, 139, 87, 0.2); }
body.theme-light .premium-ad-box { background: linear-gradient(145deg, rgba(10, 132, 255, 0.05), #FFF); }

.ad-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent);
    color: #FFF;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
}
.premium-ad-box h4 { font-size: 14px; margin-bottom: 5px; color: var(--text-main); }
.premium-ad-box p { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.ad-btn {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    color: var(--text-main);
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.ad-btn:hover { background: var(--accent); color: #FFF; }

.brand-info { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; }
body.theme-light .brand-info { border-color: rgba(0,0,0,0.05); }
.brand-info p { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
.brand-mail { opacity: 0.5; font-size: 11px !important; }

/* --- ÜST BAR (TOPBAR) --- */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--bg-main);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
body.theme-light .topbar { border-color: rgba(0,0,0,0.05); }

.topbar-left { display: flex; align-items: center; gap: 15px; }

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 10px;
    transition: background 0.2s;
}
.user-profile:hover { background: rgba(255,255,255,0.05); }
body.theme-light .user-profile:hover { background: rgba(0,0,0,0.05); }

.avatar {
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px var(--brand-glow);
}
.user-details { display: flex; flex-direction: column; }
.user-name { font-size: 15px; font-weight: 600; color: var(--text-main); }
.user-level { font-size: 12px; color: var(--accent); font-weight: 500; }

.topbar-actions { display: flex; align-items: center; gap: 15px; }

.icon-btn {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    width: 40px; height: 40px;
    font-size: 18px; cursor: pointer; color: var(--text-main);
    transition: background 0.2s;
}
body.theme-light .icon-btn { border-color: rgba(0,0,0,0.05); }

.compact-lang {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 8px 12px;
    font-size: 14px; font-weight: 600;
    border-radius: 10px;
    cursor: pointer; outline: none;
}
body.theme-light .compact-lang { border-color: rgba(0,0,0,0.05); }
.compact-lang option { background-color: var(--bg-card); color: var(--text-main); }

/* --- İÇERİK ALANI --- */
#app-content { flex: 1; padding: 30px; overflow-y: auto; }

/* --- DASHBOARD VE MODÜL KARTLARI --- */
.dashboard-wrapper { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.dashboard-header { margin-bottom: 30px; }
.dashboard-header h2 { font-size: 28px; margin-bottom: 5px; }
.dashboard-header p { color: var(--text-muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.module-card { background-color: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 25px 20px; text-align: left; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; color: var(--text-main); display: flex; flex-direction: column; box-shadow: 0 5px 10px var(--brand-glow); }
body.theme-light .module-card { border-color: rgba(0,0,0,0.05); }
.module-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 15px 40px var(--brand-glow), 0 0 15px var(--brand-glow); }
.card-icon { font-size: 32px; margin-bottom: 15px; background: rgba(10, 132, 255, 0.1); width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; border-radius: 12px; }
body.theme-forest .card-icon { background: rgba(46, 139, 87, 0.1); }
.module-card h3 { font-size: 16px; margin-bottom: 8px; }
.module-card p { font-size: 13px; color: var(--text-muted); }
.dashboard-widgets { margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); }
body.theme-light .dashboard-widgets { border-color: rgba(0,0,0,0.05); }
.widget-title { font-size: 18px; margin-bottom: 20px; color: var(--text-muted); }
.widget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.widget-card { background: linear-gradient(145deg, var(--bg-card), var(--bg-main)); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 15px 20px; display: flex; align-items: center; gap: 15px; }
body.theme-light .widget-card { border-color: rgba(0,0,0,0.05); }
.widget-icon { font-size: 24px; background: var(--brand-glow); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.widget-info { display: flex; flex-direction: column; }
.w-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.w-value { font-size: 18px; font-weight: 600; color: var(--text-main); }

/* --- FİNANS VE GENEL MODÜL KARTLARI --- */
.finance-layout { display: flex; gap: 30px; animation: fadeIn 0.4s ease; }
.finance-main { flex: 1.2; }
.finance-sidebar { flex: 0.8; }
.module-header { display: flex; align-items: center; margin-bottom: 30px; }
.back-btn { margin-right: 20px; font-size: 20px; }
.header-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 5px; }
.premium-card { background-color: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 30px; box-shadow: 0 5px 25px var(--brand-glow); }
body.theme-light .premium-card { border-color: rgba(0,0,0,0.08); }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.input-wrapper { position: relative; display: flex; align-items: center; background-color: var(--bg-main); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; transition: all 0.3s; }
body.theme-light .input-wrapper { border-color: rgba(0,0,0,0.1); }
.input-wrapper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2); }
.icon-prefix { padding-left: 15px; font-size: 18px; }
.input-wrapper input { flex: 1; background: transparent; border: none; color: var(--text-main); padding: 15px 10px; font-size: 18px; font-weight: 600; outline: none; width: 100%; }
.input-wrapper .currency { padding-right: 15px; color: var(--text-muted); font-weight: bold; }
.highlight-group .input-wrapper { background: rgba(10, 132, 255, 0.05); border-color: rgba(10, 132, 255, 0.3); }
body.theme-forest .highlight-group .input-wrapper { background: rgba(46, 139, 87, 0.05); border-color: rgba(46, 139, 87, 0.3); }
.primary-action-btn { width: 100%; background: linear-gradient(135deg, var(--accent), #005bb5); color: #FFF; border: none; padding: 18px; border-radius: 12px; font-size: 16px; font-weight: bold; cursor: pointer; margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 10px; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 10px 20px rgba(10, 132, 255, 0.3); }
body.theme-forest .primary-action-btn { background: linear-gradient(135deg, var(--accent), #1E5C3A); box-shadow: 0 10px 20px rgba(46, 139, 87, 0.3); }
.primary-action-btn:hover { transform: translateY(-3px); }
.primary-action-btn:active { transform: scale(0.98); }
.empty-state-card { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; opacity: 0.7; }
.empty-icon { font-size: 48px; margin-bottom: 20px; filter: grayscale(100%); opacity: 0.5; }
.result-card { height: 100%; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, rgba(255, 69, 58, 0.1), var(--bg-card)); border-color: rgba(255, 69, 58, 0.2); }
body.theme-light .result-card { background: linear-gradient(145deg, rgba(255, 69, 58, 0.05), var(--bg-main)); }
.result-icon { font-size: 40px; margin-bottom: 15px; }
.result-card h3 { color: var(--text-main); font-size: 22px; margin-bottom: 10px; }
.result-text { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 25px; }
.highlight-red { color: #FF453A; font-weight: bold; font-size: 18px; }
.result-stats { display: flex; gap: 15px; }
.stat-box { flex: 1; background: rgba(0,0,0,0.2); border-radius: 10px; padding: 15px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
body.theme-light .stat-box { background: rgba(255,255,255,0.5); border-color: rgba(0,0,0,0.05); }
.s-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px;}
.s-value { font-size: 28px; color: #FF453A; font-weight: 800; }

/* =========================================
   MOBİL GÖRÜNÜM (YAPIŞKAN HEADER + KİBAR UBER BAR)
========================================= */
.mobile-logo { display: none; }
#floating-nav { display: none; }

@media (max-width: 768px) {
    body { overflow-y: auto; overflow-x: hidden; }
    .app-layout { flex-direction: column; height: auto; min-height: 100vh; }
    
    .main-wrapper { overflow: visible; }
    .sidebar { display: none; }
    
    .topbar { 
        padding: 10px 15px; 
        position: sticky; 
        top: 0; 
        z-index: 999; 
        box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: rgba(12, 12, 14, 0.78); 
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
    body.theme-light .topbar { background-color: rgba(255, 255, 255, 0.85); box-shadow: 0 4px 15px rgba(0,0,0,0.06); }
    body.theme-forest .topbar { background-color: rgba(15, 28, 21, 0.82); }

    .topbar-left { display: flex; align-items: center; gap: 10px; }
    
    .mobile-logo { 
        display: block; 
        font-size: 19px; 
        font-weight: 800; 
        letter-spacing: -0.5px;
        cursor: pointer; 
        color: var(--text-main);
    }
    
    .user-profile { padding: 0; gap: 8px; }
    .avatar { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; flex-shrink: 0; }
    .user-details { display: flex; flex-direction: column; }
    .user-name { font-size: 12px; line-height: 1.1; }
    .user-level { font-size: 10px; line-height: 1.1; }
    
    .topbar-actions { gap: 8px; }
    .icon-btn { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; }
    .compact-lang { padding: 5px 8px; font-size: 12px; border-radius: 8px; }

    #app-content { 
        padding: 15px; 
        padding-bottom: 85px; 
        overflow-y: visible; 
    }

    .dashboard-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .module-card { padding: 15px 12px; }
    .card-icon { width: 45px; height: 45px; font-size: 22px; margin-bottom: 10px; }
    
    .finance-layout { flex-direction: column; }
    .input-grid { grid-template-columns: 1fr; gap: 15px; }

    #floating-nav {
        display: flex;
        position: fixed;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%) translateY(0);
        width: fit-content;
        background-color: rgba(28, 28, 30, 0.62);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        z-index: 1000;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    }

    #floating-nav.nav-hidden {
        transform: translateX(-50%) translateY(130%);
        opacity: 0;
        pointer-events: none;
    }
    
    body.theme-light #floating-nav { 
        background-color: rgba(255, 255, 255, 0.72); 
        border-color: rgba(0, 0, 0, 0.08); 
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); 
    }
    body.theme-forest #floating-nav { 
        background-color: rgba(22, 43, 32, 0.68); 
        border-color: rgba(60, 179, 113, 0.22);
    }
    
    #floating-nav .nav-btn {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: auto;
        padding: 5px 24px;
        margin: 0;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 600;
        gap: 2px;
        background: transparent !important;
        box-shadow: none !important;
    }
    #floating-nav .nav-btn .icon { font-size: 12px; line-height: 1; }
    #floating-nav .nav-btn.active { 
        color: var(--accent); 
        background: rgba(10, 132, 255, 0.14) !important;
    }
    body.theme-light #floating-nav .nav-btn.active {
        color: #000000;
        background: rgba(0, 0, 0, 0.07) !important;
    }
    body.theme-forest #floating-nav .nav-btn.active {
        color: #3CB371;
        background: rgba(46, 139, 87, 0.22) !important;
    }
}

/* --- DETOX & FOKUS TIMER STİLLERİ --- */
.focus-timer-display {
    text-align: center;
    padding: 25px 15px;
    background-color: var(--bg-main);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 15px;
}
body.theme-light .focus-timer-display { border-color: rgba(0,0,0,0.08); }

#timer-clock {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.timer-presets {
    display: flex;
    gap: 10px;
}

.preset-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--bg-main);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
body.theme-light .preset-btn { border-color: rgba(0,0,0,0.1); }

.preset-btn.active, .preset-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(10, 132, 255, 0.1);
}
body.theme-forest .preset-btn.active { background: rgba(46, 139, 87, 0.15); }

/* --- ODAK UYARI ŞERİDİ & SES KUTUSU --- */
.focus-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: rgba(46, 139, 87, 0.18);
    border: 1px solid rgba(60, 179, 113, 0.4);
    color: #3CB371;
    font-size: 13px;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

.active-task-label {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.sound-selector-box { padding-top: 5px; }
.sound-btn { font-size: 12px; padding: 8px 6px; }

/* --- KI-ZENTRALE (PROMPT KÜTÜPHANESİ) STİLLERİ --- */
.ai-categories { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-cat-btn { font-size: 12px; padding: 8px 12px; flex: none; }

.ai-prompt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
@media (max-width: 900px) {
    .ai-prompt-grid { grid-template-columns: 1fr; }
}

.ai-item-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 30px var(--brand-glow);
}
body.theme-light .ai-item-card { border-color: rgba(0,0,0,0.08); }

.ai-item-card:hover, .ai-item-card.selected {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px var(--brand-glow), 0 0 25px var(--brand-glow);
}

.ai-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.ai-item-top h4 { font-size: 15px; color: var(--text-main); line-height: 1.3; }
.ai-item-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

.ai-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}
.ai-tag.free { background: rgba(10, 132, 255, 0.15); color: var(--accent); }
body.theme-forest .ai-tag.free { background: rgba(46, 139, 87, 0.2); color: #3CB371; }
.ai-tag.pro { background: rgba(255, 159, 10, 0.18); color: #FF9F0A; border: 1px solid rgba(255, 159, 10, 0.35); }

.ai-textarea {
    width: 100%;
    background-color: var(--bg-main);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px;
    font-size: 13.5px;
    line-height: 1.55;
    resize: none;
    outline: none;
    margin-bottom: 18px;
}
body.theme-light .ai-textarea { border-color: rgba(0,0,0,0.12); }
.ai-textarea:focus { border-color: var(--accent); }

/* --- ÖZEL PREMIUM UPSELL MODAL PENCERESİ --- */
.WerkPaxOS-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.25s ease;
}

.WerkPaxOS-modal-card {
    max-width: 420px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 159, 10, 0.35);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 159, 10, 0.2);
}

/* --- LIFE RPG STİLLERİ --- */
.rpg-list { display: flex; flex-direction: column; gap: 10px; }

.rpg-habit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background-color: var(--bg-main);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}
body.theme-light .rpg-habit-item { border-color: rgba(0,0,0,0.08); }

.rpg-habit-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--brand-glow);
}

.rpg-habit-item.completed {
    opacity: 0.65;
    border-color: rgba(60, 179, 113, 0.35);
}
.rpg-habit-item.completed .rpg-habit-text {
    text-decoration: line-through;
    color: var(--text-muted);
}

.dopamine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) {
    .dopamine-grid { grid-template-columns: 1fr; }
}

.dopamine-btn { font-size: 12.5px; padding: 12px; text-align: left; }

.rpg-tree-stage {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 15px auto 20px auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.25) 0%, transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.rpg-tree-icon {
    font-size: 72px;
    animation: floatTree 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes floatTree {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.rpg-progress-box {
    background-color: var(--bg-main);
    padding: 15px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
body.theme-light .rpg-progress-box { border-color: rgba(0,0,0,0.08); }

.rpg-bar-track {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
}
body.theme-light .rpg-bar-track { background: rgba(0,0,0,0.08); }

.rpg-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #3CB371);
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- LIFE RPG ROADMAP STİLLERİ --- */
.roadmap-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.roadmap-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background-color: var(--bg-main);
    border: 1px solid rgba(255,255,255,0.05);
    opacity: 0.6;
    transition: all 0.25s ease;
}
body.theme-light .roadmap-item { border-color: rgba(0,0,0,0.06); }

.roadmap-item.reached {
    opacity: 1;
    border-color: rgba(60, 179, 113, 0.35);
    background: rgba(46, 139, 87, 0.08);
}

/* --- PROFESYONEL DIN A4 FATURA ÖNİZLEME & YARDIM STİLLERİ --- */
.pro-a4-sheet {
    background-color: #FFFFFF;
    color: #111111;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #E5E5EA;
    font-size: 11px;
}

.a4-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2.5px solid #0A84FF;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.a4-brand-title { font-size: 15px; font-weight: 800; color: #111; }
.a4-muted { font-size: 10px; color: #666; }
.a4-doc-badge { font-size: 13px; font-weight: 800; color: #0A84FF; letter-spacing: 1px; }

.a4-meta-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.a4-recipient-box {
    background: #F5F7FA;
    padding: 8px 10px;
    border-radius: 6px;
    border-left: 3px solid #0A84FF;
    flex: 1;
}

.a4-tiny-label { font-size: 8px; font-weight: 700; color: #777; margin-bottom: 2px; }
.a4-meta-box { text-align: right; font-size: 10px; line-height: 1.5; color: #333; }

.a4-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.a4-table th { background: #1C1C1E; color: #FFF; font-size: 9px; padding: 6px 8px; text-transform: uppercase; }
.a4-table td { padding: 7px 8px; border-bottom: 1px solid #EEE; font-size: 10.5px; color: #222; }

.a4-totals-wrapper { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.a4-totals-box { width: 225px; background: #F9FAFB; padding: 10px 12px; border-radius: 6px; }
.a4-total-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10.5px; margin-bottom: 4px; color: #444; }
.a4-grand-total { border-top: 1.5px solid #111; padding-top: 6px; margin-top: 6px; font-size: 12px; font-weight: 800; color: #000; }
.nowrap-val { white-space: nowrap; }

.a4-payment-note { font-size: 9.5px; color: #555; background: #F5F7FA; padding: 8px; border-radius: 5px; margin-bottom: 12px; }
.a4-footer { display: flex; justify-content: space-between; border-top: 1px solid #DDD; padding-top: 8px; font-size: 9px; color: #666; }
.a4-watermark { text-align: center; font-size: 9px; color: #888; margin-top: 10px; padding-top: 6px; border-top: 1px dashed #CCC; }

.help-badge-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background: rgba(10, 132, 255, 0.15);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.help-badge-btn:hover {
    background: var(--accent);
    color: #FFF;
}

/* --- MEMENTO MORI 1080 AYLIK ÖMÜR TAKVİMİ --- */
.memento-grid {
    display: grid;
    grid-template-columns: repeat(36, 1fr);
    gap: 3px;
    padding: 12px;
    background-color: var(--bg-main);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
body.theme-light .memento-grid { border-color: rgba(0,0,0,0.08); }

@media (max-width: 600px) {
    .memento-grid { grid-template-columns: repeat(24, 1fr); gap: 2.5px; }
}

.mem-dot {
    aspect-ratio: 1 / 1;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s;
}
body.theme-light .mem-dot { background-color: rgba(0, 0, 0, 0.09); }

.mem-dot.past {
    background-color: var(--accent);
    opacity: 0.78;
}

.mem-dot.current {
    background-color: #FF453A;
    box-shadow: 0 0 8px #FF453A;
    transform: scale(1.35);
    z-index: 2;
}

/* --- 1. MASAÜSTÜ DASHBOARD 5x2 SİMETRİK 10 KART DÜZENİ --- */
@media (min-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 16px !important;
    }
}

/* ==========================================================================
   EVRENSEL KART IŞILTI (GLOW), HAREKET VE RENK BÜTÜNLÜĞÜ MOTORU
   (Start, KI-Zentrale, Memento Mori, Finanz, Fokus, RPG ve Tüm Alt Modüller)
========================================================================== */
.module-card,
.ai-item-card,
.premium-card,
.widget-card,
.stat-box,
.focus-timer-display,
.rpg-progress-box,
.memento-grid {
    background-color: var(--bg-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 5px 30px var(--brand-glow) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.3s ease !important;
}

body.theme-light .module-card,
body.theme-light .ai-item-card,
body.theme-light .premium-card,
body.theme-light .widget-card,
body.theme-light .stat-box,
body.theme-light .focus-timer-display,
body.theme-light .rpg-progress-box,
body.theme-light .memento-grid {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Fare Üzerine Geldiğinde (Hover) Bütün Sayfalardaki Kartlar Hareketlenir ve Parlar */
.module-card:hover,
.ai-item-card:hover,
.premium-card:hover,
.widget-card:hover,
.stat-box:hover,
.focus-timer-display:hover,
.rpg-progress-box:hover,
.memento-grid:hover,
.premium-ad-box:hover {
    transform: translateY(-6px) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 15px 40px var(--brand-glow), 0 0 25px var(--brand-glow) !important;
}