:root {
    --bg-color: #020617;
    --header-bg: rgba(10, 15, 25, 0.96);
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.15);
    
    --accent: #00ff00;
    --accent-glow: rgba(0, 255, 0, 0.7);
    --hero-overlay: rgba(2, 6, 23, 0.75);

    --btn-bg: linear-gradient(180deg, rgba(50, 65, 90, 0.8) 0%, rgba(20, 25, 40, 0.95) 100%);
    --btn-bg-hover: linear-gradient(180deg, rgba(60, 80, 110, 0.9) 0%, rgba(25, 35, 55, 1) 100%);
    --btn-bg-active: linear-gradient(180deg, rgba(20, 25, 40, 1) 0%, rgba(40, 50, 70, 0.9) 100%);
    --btn-border: rgba(0, 0, 0, 0.8);
    --btn-border-top: rgba(255, 255, 255, 0.2);
    --btn-shadow-base: #020617;
    --btn-shadow-inner: rgba(255, 255, 255, 0.1);
    
    --test-btn-bg: linear-gradient(180deg, var(--accent) 0%, rgba(0,0,0,0.8) 150%);
    --ql-btn-bg: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.2) 100%);
    
    --earth-ocean: rgba(2, 6, 23, 0.8);
    --earth-shadow-dark: rgba(0, 0, 0, 0.95);
    --earth-shadow-light: rgba(255, 255, 255, 0.2);
}

[data-mode="light"] {
    --bg-color: #f8fafc;
    --header-bg: rgba(255, 255, 255, 0.96);
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.15);
    --hero-overlay: rgba(248, 250, 252, 0.85);

    --btn-bg: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
    --btn-bg-hover: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 100%);
    --btn-bg-active: linear-gradient(180deg, #cbd5e1 0%, #e2e8f0 100%);
    --btn-border: rgba(0, 0, 0, 0.2);
    --btn-border-top: #ffffff;
    --btn-shadow-base: #94a3b8;
    --btn-shadow-inner: rgba(255, 255, 255, 0.8);
    
    --test-btn-bg: linear-gradient(180deg, var(--accent) 0%, rgba(255,255,255,0.8) 150%);
    --ql-btn-bg: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(226, 232, 240, 0.5) 100%);
    
    --earth-ocean: rgba(226, 232, 240, 0.8);
    --earth-shadow-dark: rgba(0, 0, 0, 0.3);
    --earth-shadow-light: rgba(255, 255, 255, 0.9);
}

[data-accent="blue"]   { --accent: #0077ff; --accent-glow: rgba(0, 119, 255, 0.6); }
[data-accent="green"]  { --accent: #00ff00; --accent-glow: rgba(0, 255, 0, 0.7); }
[data-accent="red"]    { --accent: #ff003c; --accent-glow: rgba(255, 0, 60, 0.6); }
[data-accent="purple"] { --accent: #bc13fe; --accent-glow: rgba(188, 19, 254, 0.6); }
[data-accent="orange"] { --accent: #ffa600; --accent-glow: rgba(255, 166, 0, 0.6); }
[data-accent="pink"]   { --accent: #ff00cc; --accent-glow: rgba(255, 0, 204, 0.6); }
[data-accent="cyan"]   { --accent: #00f3ff; --accent-glow: rgba(0, 243, 255, 0.6); }

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    width: 100%; max-width: 100%;
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

#header-matrix { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; display: none; pointer-events: none; opacity: 0.15; }
body.fx-active #header-matrix { display: block; }

#bg-matrix { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2 !important; display: none; pointer-events: none; }
body.fx-active #bg-matrix { display: block; }

html[data-mode="dark"] #bg-matrix { mix-blend-mode: screen !important; opacity: 0.8 !important; }
html[data-mode="light"] #bg-matrix { mix-blend-mode: multiply !important; opacity: 0.5 !important; }

.circuit-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; display: none; z-index: 2; }
body.fx-active .circuit-container { display: block; }
.circuit-line { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); width: 200px; opacity: 0; box-shadow: 0 0 10px var(--accent); }
.line-top { top: 0; left: -200px; animation: runLine 3s linear infinite; }
.line-bottom { bottom: 0; right: -200px; animation: runLineReverse 4s linear infinite; animation-delay: 1.5s; }

.hud-navigation { position: fixed; top: 0; width: 100%; height: 95px; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; z-index: 2000; }
.nav-container { width: 98%; max-width: 2500px; padding: 0 30px; position: relative; z-index: 20; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 15px; text-decoration: none; min-width: 320px; cursor: pointer; }

.logo-img { height: 110px; transform: translateX(-40px) translateY(0px); transition: 0.4s; }
.logo-text-wrapper { display: flex; flex-direction: column; justify-content: center; }
.logo-main { display: block; font-family: 'Orbitron', sans-serif; font-size: 36px; font-weight: 700; color: var(--text-main); line-height: 1; transform: translateX(-50px) translateY(0px); }
.dot-bg { color: var(--accent); transition: color 0.3s; }
.logo-slogan { display: block; font-size: 13px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 2px; margin-top: 15px; transform: translateX(-50px) translateY(0px); }
.nav-logo:hover .logo-img { filter: drop-shadow(0 0 15px var(--accent)); transform: translateX(-40px) scale(1.05); }

.hud-main-panel { position: relative; padding: 12px 35px; background: linear-gradient(rgba(10, 15, 25, 0.7), rgba(10, 15, 25, 0.7)), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 100% 100%, 15px 15px, 15px 15px; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 4px; box-shadow: inset 0 0 30px rgba(0,0,0,0.9); }
.hud-main-panel::before, .hud-main-panel::after { content: ''; position: absolute; top: -1px; bottom: -1px; width: 15px; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); z-index: 5; pointer-events: none; }
.hud-main-panel::before { left: -1px; border-left: 2px solid var(--accent); box-shadow: inset 4px 0 10px rgba(0,0,0,0.5), -2px 0 8px var(--accent-glow); }
.hud-main-panel::after { right: -1px; border-right: 2px solid var(--accent); box-shadow: inset -4px 0 10px rgba(0,0,0,0.5), 2px 0 8px var(--accent-glow); }
.hud-sys-text { position: absolute; top: -20px; left: 20px; font-family: 'Orbitron', sans-serif; font-size: 10px; color: var(--accent); letter-spacing: 2px; font-weight: 700; display: flex; align-items: center; gap: 6px; text-shadow: 0 0 5px var(--accent-glow); }
.hud-sys-text .blink-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent-glow); animation: hudBlink 1.5s infinite; }
.hud-comm-line-left { position: absolute; bottom: -15px; left: 30px; width: 120px; height: 1px; background: var(--border-color); }
.hud-comm-line-left::before { content: ''; position: absolute; top: -2px; left: 0; width: 25px; height: 5px; background: var(--accent); box-shadow: 0 0 5px var(--accent-glow); }
.hud-comm-line-right { position: absolute; top: -15px; right: 40px; width: 80px; height: 1px; background: var(--border-color); }
.hud-comm-line-right::before { content: ''; position: absolute; top: -1px; right: 0; width: 40px; height: 3px; background: var(--accent); box-shadow: 0 0 5px var(--accent-glow); }

.nav-links-center { display: flex; gap: 12px; align-items: center; }
.nav-btn-pill { position: relative; background: var(--btn-bg); border: 1px solid var(--btn-border); border-top: 1px solid var(--btn-border-top); color: var(--text-main); padding: 10px 18px; border-radius: 8px; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; text-transform: uppercase; box-shadow: 0 6px 0 var(--btn-shadow-base), 0 6px 0 1px rgba(255, 255, 255, 0.05), 0 12px 15px rgba(0, 0, 0, 0.4), inset 0 2px 3px var(--btn-shadow-inner); transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); margin-bottom: 6px; }
.nav-btn-pill i { color: var(--accent); font-size: 16px; filter: drop-shadow(0 0 5px var(--accent-glow)); transition: 0.3s; }
.nav-btn-pill:hover { background: var(--btn-bg-hover); border-top-color: var(--accent); box-shadow: 0 6px 0 var(--btn-shadow-base), 0 6px 0 1px var(--accent-glow), 0 15px 25px rgba(0, 0, 0, 0.4), inset 0 2px 5px var(--btn-shadow-inner); }
.nav-btn-pill:hover i { transform: scale(1.1); }
.nav-btn-pill:active, .dropdown:hover .nav-btn-pill { transform: translateY(6px); background: var(--btn-bg-active); border-top-color: var(--btn-border); box-shadow: 0 0 0 var(--btn-shadow-base), 0 0 0 0 rgba(255, 255, 255, 0), 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 4px 8px rgba(0, 0, 0, 0.2); }
.nav-btn-pill.active-page { border-color: var(--accent); color: var(--accent); box-shadow: 0 6px 0 var(--btn-shadow-base), 0 6px 0 1px var(--accent), 0 10px 20px var(--accent-glow), inset 0 0 10px var(--btn-shadow-inner); }
.nav-btn-pill.active-page i { color: var(--accent); text-shadow: 0 0 15px var(--accent-glow); }
.test-btn-highlight { background: var(--test-btn-bg) !important; color: #000 !important; border: 1px solid var(--btn-border) !important; border-top: 1px solid var(--btn-border-top) !important; box-shadow: 0 6px 0 var(--btn-shadow-base), 0 6px 0 1px rgba(0, 0, 0, 0.5), 0 12px 20px var(--accent-glow), inset 0 2px 4px var(--btn-shadow-inner) !important; }
.test-btn-highlight i { color: #000 !important; filter: none; }
.test-btn-highlight:hover { background: linear-gradient(180deg, #fff 0%, var(--accent) 100%) !important; box-shadow: 0 6px 0 var(--btn-shadow-base), 0 6px 0 1px var(--accent), 0 15px 30px var(--accent-glow), inset 0 2px 5px rgba(255, 255, 255, 0.8) !important; }
.test-btn-highlight:active { transform: translateY(6px); box-shadow: 0 0 0 rgba(0,0,0,0.7), 0 2px 4px rgba(0,0,0,0.8), inset 0 4px 8px rgba(0,0,0,0.6) !important; }
.setting-highlight { padding: 10px 15px; }

.dropdown { position: relative; padding-bottom: 25px; margin-bottom: -25px; }
.dropdown-content, .settings-panel { display: none; position: absolute; top: 65px; left: 50%; transform: translateX(-50%); background: var(--header-bg); backdrop-filter: blur(20px); border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 20px 50px rgba(0,0,0,0.5); padding: 15px; min-width: 350px; z-index: 3000; }
.dropdown:hover .dropdown-content { display: block; animation: slideUp 0.3s ease-out; }
.dropdown-content a { display: flex; align-items: center; gap: 15px; padding: 14px 20px; color: var(--text-main); text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 16px; }
.dropdown-content a:hover { background: var(--accent); color: white !important; }
.dropdown-content a i { color: var(--accent); font-size: 20px; width: 25px; text-align: center; }
.dropdown-content a:hover i { color: white !important; }

.settings-panel { text-align: left; }
.panel-row { margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.panel-label { font-size: 13px; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; }
.panel-toggle-btn { background: rgba(120, 120, 120, 0.1); border: 1px solid var(--border-color); color: var(--text-main); padding: 8px 15px; border-radius: 6px; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.panel-toggle-btn:hover { border-color: var(--accent); }
.panel-toggle-btn.active { color: var(--accent); border-color: var(--accent); background: rgba(var(--accent), 0.1); }
.theme-grid-compact { display: flex; gap: 8px; }
.color-dot-btn { width: 25px; height: 25px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.color-dot-btn:hover { transform: scale(1.2); box-shadow: 0 0 10px currentColor; }
.color-dot-btn.blue { background: #0077ff; } .color-dot-btn.green { background: #00ff00; } .color-dot-btn.red { background: #ff003c; } .color-dot-btn.purple { background: #bc13fe; } .color-dot-btn.orange { background: #ffa600; } .color-dot-btn.pink { background: #ff00cc; } .color-dot-btn.cyan { background: #00f3ff; }
.panel-divider { height: 1px; background: var(--border-color); margin: 15px 0; }
.panel-reset-btn { width: 100%; padding: 10px; background: rgba(255, 0, 60, 0.1); border: 1px solid transparent; color: #ff003c; font-weight: 700; cursor: pointer; border-radius: 6px; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; }
.panel-reset-btn:hover { background: #ff003c; color: white; }

.mobile-menu-btn { display: none; background: transparent; border: 1px solid var(--border-color); color: var(--text-main); font-size: 24px; padding: 10px 15px; border-radius: 8px; cursor: pointer; flex-shrink: 0; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 3000; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer { position: absolute; top: 0; right: -320px; width: 300px; height: 100%; background: var(--header-bg); backdrop-filter: blur(20px); border-left: 1px solid var(--border-color); display: flex; flex-direction: column; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.mobile-menu-overlay.active .mobile-drawer { right: 0; }
.mobile-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
.mobile-header h3 { margin: 0; font-family: 'Orbitron', sans-serif; color: var(--accent); }
#close-mobile-menu { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
.mobile-content { padding: 20px; overflow-y: auto; flex-grow: 1; }
.mobile-drawer .mobile-link, .mobile-accordion-btn { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border-color); padding: 15px 5px; text-align: left; text-decoration: none; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; color: var(--text-main); font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; }
.mobile-drawer .mobile-link span, .mobile-accordion-btn span { display: flex; align-items: center; gap: 10px; }
.mobile-drawer .mobile-link i, .mobile-accordion-btn i { color: var(--accent); width: 20px; text-align: center; }
.mobile-accordion-btn .arrow { transition: transform 0.3s; font-size: 12px; color: var(--text-muted); }
.mobile-accordion-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.mobile-accordion-btn.active .arrow { transform: rotate(180deg); color: var(--accent); }
.mobile-link.active-page, .mobile-accordion-btn.active-page { color: var(--accent) !important; border-left: 4px solid var(--accent) !important; background: rgba(120, 120, 120, 0.05) !important; padding-left: 15px !important; }
.mobile-link.active-page i, .mobile-accordion-btn.active-page i { color: var(--accent) !important; text-shadow: 0 0 10px var(--accent-glow); }
.mobile-accordion-panel { display: none; padding: 10px 15px 20px 35px; background: rgba(0,0,0,0.02); border-radius: 0 0 8px 8px; }
.mobile-accordion-panel a { display: block; padding: 8px 0; text-decoration: none; color: var(--text-muted); font-size: 15px; font-weight: 600; transition: 0.2s; position: relative; }
.mobile-accordion-panel a:hover { color: var(--accent); padding-left: 5px; }
.mobile-accordion-panel a::before { content: ''; position: absolute; left: -15px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--border-color); transform: translateY(-50%); }
.mobile-accordion-panel a:hover::before { background: var(--accent); }
.mobile-link:hover, .mobile-accordion-btn:hover { color: var(--accent); padding-left: 10px; }
.mobile-footer-section { margin-top: 30px; }
.mobile-divider { border: 0; border-top: 1px solid var(--border-color); margin: 20px 0; }
.mobile-label { font-size: 11px; color: var(--text-muted); font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.mobile-settings-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mobile-setting-btn { background: rgba(120,120,120,0.1); border: 1px solid var(--border-color); color: var(--text-main); padding: 12px 5px; border-radius: 6px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; }
.mobile-setting-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(var(--accent), 0.1); }
.mobile-theme-grid { display: flex; justify-content: center; gap: 12px; margin-top: 10px; padding-bottom: 20px; }

.hero-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; background-color: var(--bg-color); overflow: hidden; z-index: 0; transition: background-color 0.3s ease; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--hero-overlay); z-index: 2; pointer-events: none; transition: background 0.3s ease; }
[data-mode="light"] .hero-video { opacity: 0.3; }

.hud-dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; width: 98%; max-width: 2500px; padding: 130px 0 60px 0; align-items: start; position: relative; z-index: 10; margin: 0 auto; }
.hud-col { display: flex; flex-direction: column; gap: 30px; }
.hud-panel { background: var(--card-bg); backdrop-filter: blur(15px); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; }
.hud-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: var(--accent); box-shadow: 0 0 15px var(--accent-glow); }
.panel-header { background: rgba(120, 120, 120, 0.05); padding: 12px 20px; font-family: 'Orbitron', sans-serif; font-size: 14px; font-weight: 700; color: var(--text-main); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 10px; letter-spacing: 1px; }
.panel-header i { color: var(--accent); font-size: 16px; text-shadow: 0 0 10px var(--accent-glow); }

.danger-panel { border-color: rgba(255, 85, 85, 0.3); }
.danger-panel::before { background: #ff5555; box-shadow: 0 0 15px rgba(255, 85, 85, 0.7); }
.danger-panel .panel-header { color: #ff5555; border-bottom-color: rgba(255, 85, 85, 0.3); }
.danger-panel .panel-header i { color: #ff5555; text-shadow: 0 0 10px rgba(255, 85, 85, 0.7); }
.danger-text { padding: 15px; color: var(--text-main); font-size: 14px; line-height: 1.6; }
.ransom-box { margin-top: 15px; padding: 15px; background: rgba(255, 85, 85, 0.05); border-left: 3px solid #ff5555; border-radius: 4px; }
.ransom-label { display: block; font-family: 'Orbitron', sans-serif; font-size: 11px; color: #ff5555; margin-bottom: 5px; letter-spacing: 1px; }
.ransom-value { font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 700; color: #fff; text-shadow: 0 0 10px rgba(255, 85, 85, 0.5); }
[data-mode="light"] .ransom-value { color: #ff003c; text-shadow: none; }

.news-ticker { padding: 15px; max-height: 280px; overflow-y: auto; }
.news-item { border-left: 2px solid var(--accent); padding: 12px; margin-bottom: 12px; background: rgba(255, 255, 255, 0.02); border-radius: 0 6px 6px 0; transition: 0.3s; cursor: default; }
.news-item:hover { background: rgba(120, 120, 120, 0.1); border-left-color: var(--text-main); transform: translateX(5px); }
.news-date { color: var(--accent); font-family: 'Orbitron', sans-serif; font-size: 11px; display: block; margin-bottom: 5px; }
.news-text { font-size: 15px; color: var(--text-main); font-weight: 600; line-height: 1.4; }

.stats-grid { display: flex; flex-direction: column; padding: 10px 20px; }
.stat-box { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px dashed var(--border-color); }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.stat-num { font-family: 'Orbitron', sans-serif; font-size: 24px; color: var(--text-main); font-weight: 700; text-shadow: 0 0 15px var(--accent-glow); }
.status-critical { color: #ff003c; text-shadow: 0 0 15px rgba(255, 0, 60, 0.8); }

.hologram-container { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.earth-container { width: 250px; height: 250px; position: relative; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; }
.holo-earth { width: 250px; height: 250px; border-radius: 50%; position: absolute; z-index: 5; background: var(--earth-ocean); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 0 30px var(--accent-glow); overflow: hidden; }
.earth-map { position: absolute; top: 0; left: 0; width: 200%; height: 100%; background-color: var(--accent); -webkit-mask-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/World_map_blank_without_borders.svg/1000px-World_map_blank_without_borders.svg.png'); -webkit-mask-size: 50% 100%; -webkit-mask-repeat: repeat-x; opacity: 0.85; animation: spinMap 20s linear infinite; }
.earth-shadow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset -40px -20px 60px var(--earth-shadow-dark), inset 10px 10px 30px var(--earth-shadow-light); z-index: 10; pointer-events: none; }
.hologram-base { width: 200px; height: 35px; margin: -10px auto 0 auto; border-radius: 50%; border: 2px solid var(--accent); background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%); opacity: 0.5; transform: rotateX(75deg); box-shadow: 0 0 30px var(--accent-glow); }
.hologram-text { margin-top: 15px; font-family: 'Orbitron', sans-serif; font-size: 12px; color: var(--accent); letter-spacing: 2px; text-align: center; text-shadow: 0 0 5px var(--accent-glow); }

.quick-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 20px; }
.ql-btn { background: var(--ql-btn-bg); border: 1px solid var(--border-color); padding: 15px; border-radius: 8px; text-decoration: none; color: var(--text-main); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; transition: 0.3s; }
.ql-btn i { font-size: 28px; color: var(--accent); transition: 0.3s; text-shadow: 0 0 10px var(--accent-glow); }
.ql-title { font-family: 'Orbitron', sans-serif; font-size: 13px; font-weight: 700; display: block; margin-bottom: 2px; }
.ql-sub { font-size: 10px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; display: block; }
.ql-btn:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.5), inset 0 0 10px rgba(255,255,255,0.05); }
.ql-btn:hover i { transform: scale(1.1); }

@keyframes spinMap { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes blinkText { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.blink-text { animation: blinkText 1s infinite; }
.fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hud-footer { background: var(--header-bg); backdrop-filter: blur(10px); border-top: 1px solid var(--border-color); padding-top: 40px; }
.footer-container { width: 98%; max-width: 2500px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-section h4 { font-family: 'Orbitron', sans-serif; font-size: 16px; color: var(--accent); margin-bottom: 20px; letter-spacing: 2px; }
.footer-socials { display: flex; gap: 15px; margin-top: 15px; }
.footer-socials a { width: 35px; height: 35px; border-radius: 8px; background: rgba(120, 120, 120, 0.1); display: flex; align-items: center; justify-content: center; color: var(--text-main); text-decoration: none; border: 1px solid var(--border-color); font-size: 14px; }
.footer-socials a:hover { background: var(--accent); color: white; box-shadow: 0 0 15px var(--accent-glow); }
.footer-section ul { padding: 0; margin: 0; }
.footer-section ul li { list-style: none; margin-bottom: 10px; }
.footer-section ul li a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: 0.2s; }
.footer-section ul li a:hover { color: var(--accent); padding-left: 6px; }
.footer-bottom { background: rgba(0,0,0,0.05); border-top: 1px solid var(--border-color); padding: 15px 0; }
.bottom-container { width: 98%; max-width: 2500px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); font-weight: 700; }
.status-dot-static { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; margin-right: 8px; box-shadow: 0 0 10px var(--accent); }

.footer-logo .logo-main {
    font-size: 32px;
    transform: translateX(0px);
    display: inline-block;
}

.cookie-hud-bar { position: fixed; bottom: -250px; left: 0; width: 100%; background: var(--header-bg); backdrop-filter: blur(25px) saturate(180%); border-top: 2px solid var(--accent); box-shadow: 0 -10px 30px rgba(0,0,0,0.3); z-index: 9999; padding: 20px 0; transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.cookie-hud-bar.active { bottom: 0; }
.cookie-bar-container { max-width: 2500px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
.cookie-info { display: flex; align-items: center; gap: 20px; }
.cookie-pulse { font-size: 24px; color: var(--accent); animation: cookie-glow 2s infinite; }
.cookie-label { display: block; font-family: 'Orbitron', sans-serif; font-size: 12px; color: var(--accent); letter-spacing: 1px; margin-bottom: 4px; }
.cookie-text p { font-family: 'Rajdhani', sans-serif; font-size: 15px; color: var(--text-main); margin: 0; }
.cookie-btns { display: flex; gap: 15px; }
.cookie-btn-main, .cookie-btn-link { font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700; padding: 10px 25px; text-decoration: none; border-radius: 8px; transition: 0.3s; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cookie-btn-main { background: var(--accent); color: #000; border: none; }
.cookie-btn-main:hover { background: #fff; box-shadow: 0 0 15px var(--accent); }
.cookie-btn-link { background: transparent; color: var(--text-main); border: 1px solid var(--border-color); }
.cookie-btn-link:hover { border-color: var(--accent); color: var(--accent); }

@keyframes runLine { 0% { left: -200px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes runLineReverse { 0% { right: -200px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { right: 100%; opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes cookie-glow { 0%, 100% { opacity: 1; filter: drop-shadow(0 0 5px var(--accent)); } 50% { opacity: 0.4; } }
@keyframes hudBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hud-panel, .info-card, .page-header, .hud-navigation, .hud-footer, .cookie-hud-bar {
    will-change: transform, backdrop-filter;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.dropdown-content, .settings-panel {
    will-change: transform, backdrop-filter;
    transform: translateX(-50%) translateZ(0);
    backface-visibility: hidden;
}

#bg-matrix, #header-matrix {
    will-change: opacity;
    transform: translateZ(0);
}

@media (max-width: 1300px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hud-dashboard-grid { grid-template-columns: 1fr; padding-top: 130px; gap: 60px; max-width: 800px; margin: 0 auto; }
    .hud-navigation { justify-content: center; padding: 0; }
    .nav-container { padding: 0 20px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .bottom-container { flex-direction: column; gap: 15px; }
    .footer-socials { justify-content: center; }
    .footer-logo .logo-main {
        transform: translateX(0px);
    }
}

@media (max-width: 1024px) {
    .nav-logo {
        min-width: auto;
        max-width: 70%;
        gap: 8px;
    }
    
    .logo-img {
        height: 70px;
        transform: translateX(0) translateY(0);
    }
    
    .logo-main {
        font-size: 28px;
        transform: translateX(0) translateY(0);
        white-space: nowrap;
    }
    
    .logo-slogan {
        font-size: 11px;
        margin-top: 8px;
        transform: translateX(0) translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-logo {
        min-width: auto;
        max-width: 65%;
        gap: 5px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-main {
        font-size: 22px;
    }
    
    .logo-slogan {
        font-size: 10px;
        margin-top: 4px;
        letter-spacing: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .quick-links-grid { grid-template-columns: 1fr; }
    .cookie-bar-container { flex-direction: column; text-align: center; gap: 20px; padding: 0 20px; }
    .cookie-btns { width: 100%; }
    .cookie-btn-main, .cookie-btn-link { flex: 1; }
    .mobile-theme-grid .color-dot-btn { width: 30px; height: 30px; }
}

@media (max-width: 600px) {
    .nav-logo {
        max-width: 60%;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-main {
        font-size: 20px;
    }
    
    .logo-slogan {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        min-width: auto;
        gap: 5px;
        max-width: 75%;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-main {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }
    
    .logo-slogan {
        display: none;
    }
    
    .holo-earth { width: 200px; height: 200px; }
}