/*
Theme Name: Riaslink Aero Translator
Theme URI: https://riaslink.fun
Author: Riaslink
Description: Windows XP & Frutiger Aero tasarımlı, Jeton Ekonomisine sahip yapay zeka çeviri teması.
Version: 2.0
Text Domain: riaslink-aero
*/

/* =========================================================
   FRUTIGER AERO & WINDOWS XP AESTHETIC — v2.0
   ========================================================= */

:root {
    --xp-blue-dark:   #1a5099;
    --xp-blue-edge:   #0f3370;
    --aero-glass-bg:  rgba(232, 245, 255, 0.52);
    --aero-glass-brd: rgba(255, 255, 255, 0.88);
    --aero-shadow:    rgba(0, 30, 80, 0.38);
    --border-subtle:  #b3cde8;
    --text-primary:   #1c2b40;
    --text-secondary: #4a5f78;
}

/* BODY: Bliss Gradient */
body {
    margin: 0;
    padding: 20px 10px 60px;
    font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background:
        radial-gradient(ellipse 70% 22% at 18% 26%, rgba(255,255,255,0.18) 0%, transparent 100%),
        radial-gradient(ellipse 50% 16% at 76% 20%, rgba(255,255,255,0.13) 0%, transparent 100%),
        linear-gradient(to bottom,
            #1a4d8e 0%,
            #2a72c4 12%,
            #4a9de8 24%,
            #78bde8 36%,
            #a2d4ef 44%,
            #c4e8e0 49%,
            #8ec84a 51%,
            #6aab2e 58%,
            #4a8c18 70%,
            #2e6810 83%,
            #1a4c0a 100%
        );
    background-attachment: fixed;
}

/* MAIN WINDOW */
.aero-window {
    width: 97%;
    max-width: 1120px;
    background: var(--aero-glass-bg);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--aero-glass-brd);
    border-radius: 10px 10px 6px 6px;
    box-shadow:
        0 22px 70px var(--aero-shadow),
        inset 0 0 0 1px rgba(255,255,255,0.65),
        inset 0 2px 0 rgba(255,255,255,0.9),
        inset 0 40px 60px rgba(255,255,255,0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 20px 0 30px;
}

/* TITLE BAR */
.aero-titlebar {
    background: linear-gradient(180deg,
        #6db3f2 0%,
        #3a94e8 6%,
        #2178cf 20%,
        #1a66ba 50%,
        #155caa 51%,
        #1e6ec0 80%,
        #2a80d4 100%
    );
    padding: 5px 8px 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #0d3d7a;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.55),
        inset 0 0 8px rgba(100,180,255,0.3),
        0 3px 6px rgba(0,0,0,0.25);
    user-select: none;
}

.aero-titlebar h1 {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

/* XP Window Control Buttons */
.xp-btn-group { display: flex; gap: 3px; align-items: center; }
.xp-btn {
    width: 22px; height: 22px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: bold;
    cursor: default; border: 1px solid;
    transition: filter 0.1s;
}
.xp-btn:hover { filter: brightness(1.18); }
.xp-btn:active { filter: brightness(0.82); }
.xp-btn.minimize {
    background: linear-gradient(180deg, #fce89a 0%, #e0a820 45%, #c07800 51%, #d89010 100%);
    border-color: #8b5200; color: #5a2800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.xp-btn.maximize {
    background: linear-gradient(180deg, #a0e478 0%, #50c030 45%, #288000 51%, #40aa18 100%);
    border-color: #1a5800; color: #0a3000;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.xp-btn.close {
    background: linear-gradient(180deg, #f88080 0%, #e03030 45%, #aa0000 51%, #d02020 100%);
    border-color: #700000; color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

/* TOKEN BADGE */
.token-badge {
    background: linear-gradient(180deg, #b8f870 0%, #72e030 35%, #38a800 51%, #50c820 100%);
    border: 1px solid #1e6800;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    color: #0a3800;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.75);
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
    display: flex; align-items: center; gap: 7px;
    white-space: nowrap;
}

/* MENU BAR */
.aero-menubar {
    background: linear-gradient(180deg, #daeeff 0%, #c4dff5 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2px 10px;
    display: flex; gap: 2px;
}
.aero-menubar span {
    padding: 3px 10px; font-size: 12px;
    color: var(--text-primary); border-radius: 3px; cursor: default;
}
.aero-menubar span:hover {
    background: linear-gradient(180deg, #3a88d8 0%, #1a60b8 100%);
    color: #fff;
}

/* TOOLBAR */
.aero-toolbar {
    background: linear-gradient(180deg, #edf6ff 0%, #d8ecfc 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 5px 10px;
    display: flex; align-items: center; gap: 6px;
}
.aero-toolbar .sep {
    width: 1px; height: 20px;
    background: linear-gradient(to bottom, transparent, #8ab0d0, transparent);
    margin: 0 4px;
}

/* CONTENT AREA */
.aero-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.72);
    flex-grow: 1;
    overflow-y: auto;
    max-height: 78vh;
}
.aero-content::-webkit-scrollbar { width: 16px; }
.aero-content::-webkit-scrollbar-track {
    background: linear-gradient(to right, #dce8f4, #c8daea);
    border-left: 1px solid #9ab8d4;
}
.aero-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d0e8f8 0%, #7ab0d8 40%, #5090c0 51%, #7ab0d8 100%);
    border: 1px solid #4878a8; border-radius: 3px;
}

/* AERO BOX */
.aero-box {
    background: linear-gradient(to bottom, #ffffff 0%, #edf5ff 100%);
    border: 1px solid var(--border-subtle);
    border-top: 1px solid rgba(255,255,255,0.95);
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,60,140,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}
.aero-box h3 {
    margin: 0 0 12px; font-size: 13px;
    color: var(--xp-blue-dark);
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid #ccddf0;
    padding-bottom: 8px; font-weight: bold;
}

/* INPUTS */
.aero-input, .aero-textarea {
    width: 100%; padding: 6px 9px;
    border: 1px solid #7a98bc;
    border-radius: 4px;
    background: linear-gradient(to bottom, #f0f7ff, #ffffff);
    box-shadow: inset 1px 2px 4px rgba(0,60,140,0.12);
    font-family: inherit; font-size: 12px;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.aero-input:focus, .aero-textarea:focus {
    border-color: #0a7fd4; outline: none;
    box-shadow: inset 1px 2px 4px rgba(0,60,140,0.12), 0 0 0 2px rgba(10,127,212,0.25);
    background: #fff;
}
input[type="file"].aero-input {
    padding: 8px;
    background: linear-gradient(to bottom, #e8f4ff, #f8fbff);
    cursor: pointer;
}

/* OPTIONS PANEL */
.aero-options-panel {
    background: linear-gradient(to bottom, #e8f4ff 0%, #d8eafc 100%);
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    margin-bottom: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.aero-options-panel label {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 7px; font-size: 12px;
    color: var(--text-primary); cursor: pointer;
}
.aero-options-panel label:last-child { margin-bottom: 0; }
.aero-options-panel input[type="checkbox"] { width: 14px; height: 14px; accent-color: #0a7fd4; }

/* GLOSSY BUTTONS */
.glossy-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; padding: 7px 18px;
    font-size: 12px; font-weight: bold;
    font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.55);
    text-decoration: none;
    border: 1px solid #00529b; border-radius: 16px;
    background: linear-gradient(180deg, #6ab4ff 0%, #2a86e0 45%, #0062c8 51%, #1874d8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 2px 5px rgba(0,0,50,0.3);
    cursor: pointer; overflow: hidden;
    transition: all 0.15s ease;
    white-space: nowrap; letter-spacing: 0.1px;
}
.glossy-btn::before {
    content: '';
    position: absolute; top: 0; left: 8%; right: 8%; height: 46%;
    background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0) 100%);
    border-radius: 16px 16px 60% 60%;
    pointer-events: none;
}
.glossy-btn:hover {
    background: linear-gradient(180deg, #7ec4ff 0%, #3a96f0 45%, #0072e0 51%, #2080e8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 4px 10px rgba(0,0,80,0.35);
    transform: translateY(-1px);
}
.glossy-btn:active {
    background: linear-gradient(180deg, #00429a 0%, #002f78 100%);
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.4);
    transform: translateY(0);
}
.glossy-btn.green {
    border-color: #177000;
    background: linear-gradient(180deg, #90e860 0%, #44c020 45%, #1e8c00 51%, #34a810 100%);
}
.glossy-btn.green:hover {
    background: linear-gradient(180deg, #a0f870 0%, #54d030 45%, #289c00 51%, #44b820 100%);
}
.glossy-btn.green:active { background: linear-gradient(180deg, #0e6000 0%, #0a4800 100%); }
.glossy-btn.orange {
    border-color: #a04000;
    background: linear-gradient(180deg, #ffd060 0%, #f08800 45%, #c06000 51%, #e07800 100%);
}
.glossy-btn.orange:hover {
    background: linear-gradient(180deg, #ffe080 0%, #ffa020 45%, #d07000 51%, #f08800 100%);
}
.glossy-btn.orange:active { background: linear-gradient(180deg, #803000 0%, #602000 100%); }
.glossy-btn.silver {
    border-color: #7a8898; color: #2a3848;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
    background: linear-gradient(180deg, #ffffff 0%, #dce8f4 45%, #b8cce0 51%, #ccdaf0 100%);
}
.glossy-btn.silver:hover {
    background: linear-gradient(180deg, #ffffff 0%, #eaf2fc 45%, #c8dcee 51%, #dce8f8 100%);
}
.glossy-btn.silver:active { background: linear-gradient(180deg, #a0b8d0 0%, #88a0b8 100%); }

/* TRANSLATION BLOCKS */
.trans-block {
    background: linear-gradient(to bottom, #ffffff, #f4f9ff);
    border: 1px solid #c8daea;
    border-left: 5px solid #0a7fd4;
    border-radius: 6px; padding: 12px 14px; margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,60,140,0.07);
    transition: box-shadow 0.2s;
}
.trans-block:hover { box-shadow: 0 3px 10px rgba(0,60,140,0.12); }
.trans-block.noise {
    border-left-color: #e03030;
    background: linear-gradient(to bottom, #fff5f5, #fff0f0);
    border-color: #f0c0c0;
}
.trans-block.js-special {
    border-left-color: #e08000;
    background: linear-gradient(to bottom, #fffbf0, #fff6e0);
    border-color: #f0d890;
}
.trans-flex { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.trans-flex textarea { flex: 1; min-width: 200px; resize: vertical; }
.trans-flex .actions { display: flex; flex-direction: column; gap: 5px; min-width: 140px; }

/* AI TRANSLATE BOX */
.ai-translate-box {
    background: linear-gradient(to bottom, #fffde8 0%, #fff8c8 100%);
    border: 1px solid #e8d888; border-radius: 8px;
    padding: 14px 16px; margin-bottom: 16px;
    box-shadow: 0 1px 5px rgba(180,140,0,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}
.ai-translate-box h4 {
    margin: 0 0 12px; font-size: 13px; color: #7a4800;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid #e8d090; padding-bottom: 8px;
}

/* DEBUG CONSOLE */
#debug-console {
    background: linear-gradient(to bottom, #020e02, #0a180a);
    color: #00ff88; padding: 8px 12px;
    font-family: 'Courier New', monospace;
    font-size: 11px; height: 120px; overflow-y: auto;
    border: 2px solid #1a3a1a; border-top: 2px solid #0a2a0a;
    border-radius: 4px; margin-top: 12px;
    text-shadow: 0 0 6px rgba(0,255,100,0.5);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* PROGRESS SHIMMER */
#renpy-progress {
    display: none; margin-top: 12px; padding: 8px 12px;
    background: linear-gradient(to bottom, #daeeff, #c4dcf0);
    border: 1px solid #78a8d0; border-radius: 4px;
    color: #0a3878; font-weight: bold; font-size: 12px;
    text-align: center; position: relative; overflow: hidden;
}
#renpy-progress::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180,220,255,0.5), transparent);
    animation: xp-shimmer 1.8s linear infinite;
}
@keyframes xp-shimmer { 0% { left: -60%; } 100% { left: 140%; } }

/* BULK PROGRESS */
#bulk-progress-text {
    margin-top: 10px; padding: 6px 10px;
    background: linear-gradient(to right, #e0f8e0, #f0fff0);
    border: 1px solid #90d890; border-radius: 4px;
    color: #1a6018; font-weight: bold; font-size: 12px; display: none;
}

/* STATUS BAR */
.aero-statusbar {
    background: linear-gradient(180deg, #d8eafc 0%, #c0d4ec 100%);
    border-top: 1px solid #9ab8d8;
    padding: 3px 14px; font-size: 11px; color: #2a3a50;
    display: flex; align-items: center;
}
.aero-statusbar .sb-item {
    padding: 2px 12px; border-right: 1px solid #9ab8d8;
    display: flex; align-items: center; gap: 5px;
}
.aero-statusbar .sb-item:first-child { padding-left: 2px; }
.aero-statusbar .sb-item:last-child { border-right: none; }

/* RANGE GROUP */
.range-group {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.55);
    padding: 5px 10px; border-radius: 14px;
    border: 1px solid #c0d4e8; font-size: 12px;
}
.range-group input { width: 56px; }

/* TAB ROW */
.tab-sep {
    display: flex; gap: 8px; margin-bottom: 18px;
    border-bottom: 2px solid #b8d4ec;
    padding-bottom: 12px; flex-wrap: wrap; align-items: center;
}

/* WIN ICON */
.win-icon {
    display: inline-flex; align-items: center; flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* SEPARATOR */
.aero-sep {
    border: none;
    border-top: 1px solid #c0d8ef;
    border-bottom: 1px solid rgba(255,255,255,0.9);
    margin: 12px 0 16px;
}

@media (max-width: 640px) {
    body { padding: 8px 4px 50px; }
    .aero-content { padding: 12px; max-height: none; }
    .aero-titlebar h1 { font-size: 11px; }
    .xp-btn { width: 19px; height: 19px; }
    .trans-flex { flex-direction: column; }
    .aero-menubar { display: none; }
}

/* ════════════════════════════════════════════
   SITE HEADER BANNER (Site Adı + Yardım Butonu)
   ════════════════════════════════════════════ */
.aero-site-header {
    background: linear-gradient(180deg,
        #f0f8ff 0%,
        #dceeff 60%,
        #c8dcf0 100%
    );
    border-bottom: 1px solid #a8c8e8;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 3px rgba(0,40,100,0.08);
}

.site-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header-name {
    font-size: 16px;
    font-weight: bold;
    color: #0a3878;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    line-height: 1.2;
}

.site-header-tagline {
    font-size: 10px;
    color: #4a6080;
    line-height: 1.2;
    opacity: 0.8;
}

.help-btn {
    font-size: 12px !important;
    padding: 5px 14px !important;
    border-radius: 14px !important;
    gap: 6px !important;
}

/* ════════════════════════════════════════════
   POPUP / MODAL SİSTEMİ (Aero Glass)
   ════════════════════════════════════════════ */
#rl-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 60, 0.45);
    backdrop-filter: blur(3px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
#rl-overlay.active {
    display: flex;
    animation: rl-fade-in 0.18s ease;
}
@keyframes rl-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#rl-popup {
    background: rgba(240, 248, 255, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow:
        0 25px 70px rgba(0, 20, 80, 0.45),
        inset 0 0 0 1px rgba(255,255,255,0.7),
        inset 0 2px 0 rgba(255,255,255,0.95);
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.92) translateY(-16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
#rl-popup.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Popup Title Bar */
.rl-popup-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: linear-gradient(180deg,
        #6db3f2 0%, #3a94e8 6%, #2178cf 20%,
        #1a66ba 50%, #155caa 51%, #1e6ec0 100%
    );
    border-bottom: 2px solid #0d3d7a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    user-select: none;
    flex-shrink: 0;
}
.rl-popup-titlebar.tb-warning {
    background: linear-gradient(180deg,
        #fce89a 0%, #e8a820 10%, #c87800 50%, #d89010 100%
    );
    border-bottom-color: #8b5200;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: #3a1a00;
}
.rl-popup-titlebar.tb-info {
    background: linear-gradient(180deg,
        #6db3f2 0%, #2989d8 10%, #1e5799 100%
    );
    border-bottom-color: #0f3370;
}
.rl-popup-titlebar.tb-green {
    background: linear-gradient(180deg,
        #90e860 0%, #44c020 10%, #1e8c00 50%, #34a810 100%
    );
    border-bottom-color: #115500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: #0a2800;
}

.rl-popup-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Popup Body */
.rl-popup-body {
    padding: 18px 20px;
    flex: 1;
    overflow-y: auto;
    font-size: 13px;
    color: #2a3848;
}
.rl-popup-body::-webkit-scrollbar { width: 10px; }
.rl-popup-body::-webkit-scrollbar-track { background: #d0e4f4; }
.rl-popup-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #90c8ec, #5090c0);
    border-radius: 3px;
}

/* Popup Footer */
.rl-popup-footer {
    padding: 10px 20px 14px;
    background: linear-gradient(180deg, #e0eef8 0%, #ccdaec 100%);
    border-top: 1px solid #b0cce0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════
   FOOTER (Aero + XP Taskbar)
   ════════════════════════════════════════════ */
.aero-footer {
    width: 97%;
    max-width: 1120px;
    background: rgba(224, 238, 252, 0.75);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.85);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow:
        0 10px 40px rgba(0,30,80,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.5);
    overflow: hidden;
    margin-bottom: 30px;
}

.aero-footer-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    flex-wrap: wrap;
}

/* Footer Brand */
.footer-brand {
    flex: 1;
    min-width: 200px;
}
.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #0a3878;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    margin-bottom: 4px;
}
.footer-copy {
    font-size: 11px;
    color: #4a6080;
}

/* Footer Social */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.footer-social-label {
    font-size: 10px;
    font-weight: bold;
    color: #4a6080;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.footer-social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Social Buttons */
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    flex-shrink: 0;
}
.social-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}
.social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    filter: brightness(1.1);
}
.social-btn:active { transform: translateY(0) scale(0.96); }

.social-twitter   { background: linear-gradient(135deg, #1da1f2, #0d8bd9); color: #fff; border: 1px solid #1a91da; box-shadow: 0 2px 6px rgba(29,161,242,0.35); }
.social-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; border: 1px solid #c01880; box-shadow: 0 2px 6px rgba(200,50,100,0.35); }
.social-youtube   { background: linear-gradient(135deg, #ff4444, #cc0000); color: #fff; border: 1px solid #bb0000; box-shadow: 0 2px 6px rgba(200,0,0,0.35); }
.social-discord   { background: linear-gradient(135deg, #7289da, #5b73e4); color: #fff; border: 1px solid #4a60d0; box-shadow: 0 2px 6px rgba(90,115,210,0.35); }
.social-telegram  { background: linear-gradient(135deg, #2ca5e0, #1e88c8); color: #fff; border: 1px solid #1a7ab5; box-shadow: 0 2px 6px rgba(44,165,224,0.35); }
.social-github    { background: linear-gradient(135deg, #444, #222); color: #fff; border: 1px solid #111; box-shadow: 0 2px 6px rgba(0,0,0,0.35); }

/* Footer Token Section */
.footer-token-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 160px;
}
.footer-token-info {
    font-size: 10px;
    color: #4a6080;
    text-align: right;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    max-width: 180px;
    line-height: 1.4;
}

/* ── XP TASKBAR (Footer Alt Çubuğu) ── */
.aero-taskbar {
    background: linear-gradient(180deg,
        #1a5fb8 0%,
        #1245a0 20%,
        #0e3888 50%,
        #0c3078 51%,
        #1245a0 100%
    );
    border-top: 2px solid #3a90ee;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.3);
}

/* Start Button */
.start-btn {
    background: linear-gradient(180deg, #5ab85a 0%, #2e8b2e 45%, #1a6a1a 51%, #2e8b2e 100%);
    border: 1px solid #145014;
    border-radius: 14px;
    padding: 3px 12px 3px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    cursor: default;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.3);
    transition: filter 0.1s;
    white-space: nowrap;
}
.start-btn:hover { filter: brightness(1.15); }

.taskbar-window-btn {
    background: linear-gradient(180deg, #3a78cc 0%, #1a58aa 100%);
    border: 1px solid #0a3878;
    border-radius: 3px;
    padding: 3px 10px;
    color: #ddeeff;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: default;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
}
.taskbar-window-btn.active {
    background: linear-gradient(180deg, #2060b8 0%, #0e448a 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
    color: #fff;
}

.taskbar-clock {
    margin-left: auto;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

/* token-label on small screens */
@media (max-width: 500px) {
    .token-label { display: none; }
    .aero-footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-token-section { align-items: flex-start; }
    .footer-social { align-items: flex-start; }
}
