/* 1. ШРИФТЫ */
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');

/* --- БАЗА --- */
* { box-sizing: border-box; }
body, html { margin: 0; padding: 0; width: 100%; height: 100%; font-family: 'Courier New', Courier, monospace; overflow: hidden; background-color: #000; background-size: 100% 100%; background-position: center; transition: background-image 0.5s ease-in-out; user-select: none; }

/* --- SEO --- */
#seo-content-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; opacity: 0.01; }

/* --- СОН --- */
#sleep-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 1s ease-in-out; display: block; overflow: hidden; }
#sleep-overlay.visible { opacity: 1; pointer-events: auto; cursor: none; }

/* 🚫 ОТКЛЮЧЕНО (ОПТИМИЗАЦИЯ) */
.dust-system-wrapper { display: none !important; }
.moths-container { display: none !important; }
.moth-entity { display: none !important; }

/* --- ИНТЕРФЕЙС --- */
.stickers-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; opacity: 0; transition: opacity 0.5s; }
.stickers-layer.visible { opacity: 1; }
.stickers-layer.visible .sticker-btn { pointer-events: auto; }
.sticker-btn { position: absolute; background-size: contain; background-repeat: no-repeat; background-position: center bottom; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* СТИКЕРЫ */
.btn-dark-pink { width: 20vh; height: 20vh; bottom: 2%; left: 30%; background-image: url('img/buttons/dark/stik_pink_idle.png'); }
.btn-dark-pink:hover, .btn-dark-pink.active-sticker { background-image: url('img/buttons/dark/stik_pink_hover.png'); }
.btn-dark-blue { width: 20vh; height: 20vh; bottom: 2%; left: 45%; background-image: url('img/buttons/dark/stik_blue_idle.png'); }
.btn-dark-blue:hover, .btn-dark-blue.active-sticker { background-image: url('img/buttons/dark/stik_blue_hover.png'); }
.btn-dark-yellow { width: 20vh; height: 20vh; bottom: 2%; left: 60%; background-image: url('img/buttons/dark/stik_yellow_idle.png'); }
.btn-dark-yellow:hover, .btn-dark-yellow.active-sticker { background-image: url('img/buttons/dark/stik_yellow_hover.png'); }

.btn-light-pink { width: 20vh; height: 20vh; bottom: 2%; left: 30.05%; background-image: url('img/buttons/white/stik_pink_idle_white.png'); }
.btn-light-pink:hover, .btn-light-pink.active-sticker { background-image: url('img/buttons/white/stik_pink_hover_white.png'); }
.btn-light-blue { width: 20vh; height: 20vh; bottom: 1.88%; left: 44.96%; background-image: url('img/buttons/white/stik_blue_idle_white.png'); }
.btn-light-blue:hover, .btn-light-blue.active-sticker { background-image: url('img/buttons/white/stik_blue_hover_white.png'); }
.btn-light-yellow { width: 20vh; height: 20vh; bottom: 1.6%; left: 60.09%; background-image: url('img/buttons/white/stik_yellow_idle_white.png'); }
.btn-light-yellow:hover, .btn-light-yellow.active-sticker { background-image: url('img/buttons/white/stik_yellow_hover_white.png'); }

/* КНОПКИ ТЕМЫ */
.btn-dark-day { width: 225px; height: 60px; bottom: 75%; left: 2.7%; background-image: url('img/buttons/dark/stik_day_idle.png'); }
.btn-dark-day:hover, .btn-dark-day.active-sticker { background-image: url('img/buttons/dark/stik_day_hover.png'); }
.btn-dark-night { width: 225px; height: 60px; bottom: 67%; left: 2.7%; background-image: url('img/buttons/dark/stik_night_idle.png'); }
.btn-dark-night:hover, .btn-dark-night.active-sticker { background-image: url('img/buttons/dark/stik_night_hover.png'); }
.btn-light-day { width: 225px; height: 60px; bottom: 75%; left: 2.7%; background-image: url('img/buttons/white/stik_day_idle_white.png'); }
.btn-light-day:hover, .btn-light-day.active-sticker { background-image: url('img/buttons/white/stik_day_hover_white.png'); }
.btn-light-night { width: 225px; height: 60px; bottom: 67%; left: 2.7%; background-image: url('img/buttons/white/stik_night_idle_white.png'); }
.btn-light-night:hover, .btn-light-night.active-sticker { background-image: url('img/buttons/white/stik_night_hover_white.png'); }

.text-overlay-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 160; pointer-events: none; }
.static-label { position: absolute; width: 20vh; height: 20vh; display: flex; align-items: center; justify-content: center; font-family: 'Indie Flower', cursive; font-size: 4.5vh; color: #202020; opacity: 0.85; line-height: 1; mix-blend-mode: multiply; transform: rotate(-3deg); transition: opacity 0.3s; }
.label-pos-1 { bottom: 2%; left: 30%; }
.label-pos-2 { bottom: 2%; left: 45%; }
.label-pos-3 { bottom: 2%; left: 60%; }

/* --- ЭКРАН --- */
.screen-area { position: absolute; z-index: 20; left: 50.7%; top: 5.5%; width: 71%; height: 70.8%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 2px; background: transparent !important; border: none; }
.screen-content { position: absolute; width: 100%; height: 100%; z-index: 10; display: none; }

/* КНИГИ */
.book-viewer { display: flex; width: 100%; height: 100%; align-items: center; justify-content: space-between; padding: 0 5%; box-sizing: border-box; }
.book-display { display: flex; flex-direction: row; align-items: flex-start; gap: 30px; width: 80%; height: 80%; }
.book-left-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.book-cover-large { height: 55vh; width: 34.375vh; flex-shrink: 0; background-color: rgba(255, 255, 255, 0.03); border: 1px solid rgba(0, 255, 65, 0.4); box-shadow: 0 0 25px rgba(0, 255, 65, 0.15); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; overflow: hidden; transition: opacity 0.5s ease; }
.book-cover-large::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: inherit; background-size: cover; background-position: center; opacity: 0; mix-blend-mode: hard-light; animation: glitch-anim 4s infinite linear alternate-reverse; }
@keyframes glitch-anim { 0% { opacity: 0; clip-path: inset(0 0 0 0); } 92% { opacity: 0; clip-path: inset(0 0 0 0); transform: translateX(0); } 93% { opacity: 1; clip-path: inset(10% 0 70% 0); transform: translateX(-3px); filter: hue-rotate(90deg); } 95% { opacity: 1; clip-path: inset(60% 0 10% 0); transform: translateX(3px); filter: hue-rotate(-90deg); } 96% { opacity: 1; clip-path: inset(40% 0 40% 0); transform: translateX(-2px); } 98% { opacity: 0; } 100% { opacity: 0; } }
.book-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; height: 55vh; width: 100%; padding-top: 10px; }
.book-title-large { font-family: 'Courier New', Courier, monospace; font-size: 3.5vh; color: #00ff41; text-shadow: 0 0 10px #000; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; line-height: 1.2; transition: opacity 0.3s ease; }
.book-desc { font-family: 'Courier New', Courier, monospace; font-size: 1.8vh; color: #ccc; text-shadow: 0 0 5px #000; line-height: 1.4; max-width: 90%; white-space: pre-wrap; min-height: 30vh; }
.btn-read { width: 100%; border: 2px solid #00ff41; background: rgba(0, 255, 65, 0.1); color: #00ff41; padding: 10px 0; font-family: 'Courier New', Courier, monospace; font-size: 2vh; font-weight: bold; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 10px rgba(0, 255, 65, 0.2); }
.btn-read:hover { background: #00ff41; color: #000; box-shadow: 0 0 20px rgba(0, 255, 65, 0.6); }
.nav-arrow { width: 5vh; height: 5vh; border-top: 3px solid #005511; border-right: 3px solid #005511; cursor: pointer; transition: all 0.3s ease; opacity: 0.6; }
.nav-arrow:hover { border-color: #00ff41; opacity: 1; transform: scale(1.1); }
.arrow-left { transform: rotate(-135deg); } .arrow-right { transform: rotate(45deg); }
.nav-arrow.hidden { opacity: 0; pointer-events: none; }

/* АВТОР */
.author-viewer { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; padding: 0 5%; box-sizing: border-box; }
.author-display { display: flex; flex-direction: row; align-items: flex-start; gap: 40px; width: 90%; height: 80%; }
.author-left-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.author-photo-frame { width: 350px; height: 450px; flex-shrink: 0; background-color: rgba(255, 255, 255, 0.03); border: 1px solid rgba(0, 255, 65, 0.4); box-shadow: 0 0 25px rgba(0, 255, 65, 0.15); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.author-anim-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; filter: contrast(1.1); }
.author-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; height: 100%; width: 100%; padding-top: 10px; overflow-y: auto; }
.author-info::-webkit-scrollbar { width: 6px; background-color: #111; }
.author-info::-webkit-scrollbar-thumb { background-color: #005511; border-radius: 2px; }
.author-title { font-family: 'Courier New', Courier, monospace; font-size: 3.5vh; color: #00ff41; text-shadow: 0 0 10px #000; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; line-height: 1.2; }
.author-desc { font-family: 'Courier New', Courier, monospace; font-size: 1.9vh; color: #ddd; text-shadow: 0 0 5px #000; line-height: 1.5; white-space: pre-wrap; }

/* SIGNAL */
.signal-container { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 40px; padding-bottom: 100px; font-family: 'Courier New', monospace; overflow-y: auto; position: relative; }
.signal-container::-webkit-scrollbar { width: 6px; background-color: #111; }
.signal-container::-webkit-scrollbar-thumb { background-color: #005511; border-radius: 2px; }
.signal-section { width: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 30px; flex-shrink: 0; }
.signal-title { color: #00ff41; font-size: 2.2vh; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 15px; text-shadow: 0 0 10px rgba(0, 255, 65, 0.5); border-bottom: 1px solid rgba(0, 255, 65, 0.3); padding-bottom: 5px; width: 100%; text-align: left; }
.signal-books-row { display: flex; flex-direction: row; align-items: flex-start; gap: 40px; background: transparent; border: none; padding: 0; }
.book-unit { display: flex; flex-direction: column; align-items: center; gap: 15px; width: 140px; }
.signal-cover-thumb { width: 120px; height: 180px; background-size: cover; background-position: center; border: 1px solid #005511; box-shadow: 0 0 15px rgba(0,0,0,0.5); transition: transform 0.3s; }
.signal-cover-thumb:hover { transform: scale(1.05); border-color: #00ff41; }
.link-btn { width: 100%; display: flex; align-items: center; justify-content: center; padding: 8px; background: rgba(0,0,0,0.4); border: 1px solid #005511; color: #ccc; text-decoration: none; font-size: 1.4vh; transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.link-btn:hover { background: #00ff41; color: #000; box-shadow: 0 0 10px rgba(0, 255, 65, 0.5); }

/* CAROUSEL */
.carousel-stage { position: relative; width: 400px; height: 220px; perspective: 800px; margin-bottom: 0px; }
.carousel-card { position: absolute; width: 120px; height: 170px; top: 5px; left: 40%; margin-left: -60px; background-size: cover; background-position: center; border: 1px solid #005511; box-shadow: 0 0 10px rgba(0,0,0,0.8); transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); opacity: 0; z-index: 0; }
.pos-hidden-left { transform: translateX(-200px) scale(0) rotateY(0deg); opacity: 0; z-index: 0; }
.pos-left { transform: translateX(-110px) scale(0.85) rotateY(0deg); opacity: 0.7; z-index: 5; filter: brightness(0.7); }
.pos-center { transform: translateX(0) scale(1.3) rotateY(0deg); opacity: 1; z-index: 10; border-color: #00ff41; box-shadow: 0 0 25px rgba(0, 255, 65, 0.4); filter: brightness(1.0); }
.pos-right { transform: translateX(110px) scale(0.85) rotateY(0deg); opacity: 0.7; z-index: 5; filter: brightness(0.7); }
.pos-hidden-right { transform: translateX(200px) scale(0) rotateY(0deg); opacity: 0; z-index: 0; }
.pos-parked { transform: translateX(0) scale(0); opacity: 0; z-index: -1; transition: none; }

/* ЧИТАЛКА */
.reader-layout { display: flex; width: 98%; height: 96%; background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(0, 255, 65, 0.3); box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); }
.reader-sidebar { width: 15%; flex-shrink: 0; border-right: 1px solid rgba(0, 255, 65, 0.2); padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.guardian-login-info { width: 100%; display: flex; flex-direction: column; align-items: center; border-bottom: 1px solid rgba(0, 255, 65, 0.15); padding-bottom: 15px; margin-bottom: 5px; }
.login-label-text { font-size: 1vh; color: #666; margin-bottom: 5px; text-transform: uppercase; }
.user-avatar-small { width: 4vh; height: 4vh; border-radius: 50%; border: 1px solid #00ff41; background: radial-gradient(circle, #005511 0%, #000 100%); box-shadow: 0 0 5px #00ff41; margin-bottom: 5px; background-size: cover; background-position: center; }
.user-name-small { color: #00ff41; font-size: 1.4vh; text-transform: uppercase; letter-spacing: 1px; }
.participants-list { display: flex; flex-direction: column; gap: 8px; width: 100%; align-items: center; }
.sidebar-group { width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.participant-card { width: 90%; padding: 6px; border: 1px solid rgba(0, 255, 65, 0.15); border-radius: 6px; background: rgba(0, 255, 65, 0.03); color: #ccc; cursor: pointer; transition: background 0.5s ease; display: flex; flex-direction: row; align-items: center; gap: 10px; justify-content: flex-start; position: relative; }
.participant-card:hover { background: rgba(0, 255, 65, 0.1); border-color: #00ff41; color: #fff; }
.card-avatar { width: 4.5vh; height: 4.5vh; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.3); background-size: cover; background-position: center; }
.av-spark { background-color: #d67c36; box-shadow: 0 0 5px rgba(214, 124, 54, 0.5); }
.av-lian { background-color: #368ad6; box-shadow: 0 0 5px rgba(54, 138, 214, 0.5); }
.av-monday { background-color: #222; box-shadow: 0 0 5px rgba(200, 200, 200, 0.3); border: 1px solid #666; }
.av-foryou { background-color: #ff3333; box-shadow: 0 0 5px #ff0000; border-color: #ffaaaa; }
.card-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; overflow: hidden; }
.part-name { font-size: 1.6vh; font-weight: bold; line-height: 1; }
.btn-profile-mini { font-size: 1vh; color: #00ff41; border: 1px solid #005511; padding: 1px 4px; border-radius: 2px; text-transform: uppercase; transition: all 0.2s; }
.btn-profile-mini:hover { background: #00ff41; color: #000; }
.mail-icon { position: absolute; right: -5px; top: -5px; width: 2.2vh; height: 2.2vh; filter: drop-shadow(0 0 3px rgba(0,0,0,0.8)); display: none; z-index: 20; }
.mail-icon.active { display: block; animation: mail-bounce 2s infinite; }
@keyframes mail-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
#card-foryou { display: none; } #card-foryou.visible { display: flex; }
.reader-content { flex-grow: 1; display: flex; flex-direction: column; padding: 10px 20px 0 20px; overflow: hidden; }
.reader-header { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(0, 255, 65, 0.2); padding-bottom: 2px; margin-bottom: 5px; height: 8vh; flex-shrink: 0; }
.btn-back-arrow { background: transparent; border: none; color: #00ff41; font-size: 5vh; font-weight: 900; cursor: pointer; transition: transform 0.2s; z-index: 500; pointer-events: auto; height: 100%; width: auto; padding: 0 30px; margin: 0; display: flex; align-items: center; justify-content: center; }
.btn-back-arrow:hover { transform: translateX(-5px); text-shadow: 0 0 5px #00ff41; }
.current-book-label { color: #fff; font-size: 2.2vh; text-transform: uppercase; line-height: 1; margin-top: 0.5vh; }
.chat-area { flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; padding-right: 15px; padding-top: 10px; }
.chat-area::-webkit-scrollbar { width: 12px; background-color: #111; border-left: 1px solid #333; }
.chat-area::-webkit-scrollbar-thumb { background-color: #555; border: 2px solid #111; border-radius: 2px; }
.chat-area::-webkit-scrollbar-thumb:hover { background-color: #777; }
.story-image { max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid rgba(0, 255, 65, 0.3); box-shadow: 0 0 15px rgba(0, 255, 65, 0.1); animation: image-breathe 8s infinite ease-in-out; }
@keyframes image-breathe { 0%, 100% { opacity: 0.9; transform: scale(0.99); filter: brightness(0.95); } 50% { opacity: 1; transform: scale(1); filter: brightness(1.05) drop-shadow(0 0 5px rgba(0,255,65,0.3)); } }
.msg-container { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; max-width: 85%; }
.msg-avatar { width: 5vh; height: 5vh; border-radius: 50%; background-size: cover; background-position: center; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.msg-content-wrapper { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.msg-nickname { font-size: 1.2vh; opacity: 0.7; text-transform: uppercase; margin-left: 5px; letter-spacing: 1px; }
.msg-block { padding: 12px 15px; border-radius: 4px; font-size: 1.8vh; line-height: 1.6; position: relative; white-space: pre-wrap; overflow: hidden; }
.text-content { opacity: 0; transition: opacity 0.5s ease-in-out; } .text-content.visible { opacity: 1; }
.typing-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: flex-start; justify-content: flex-start; padding-left: 15px; padding-top: 14px; background-color: inherit; border-radius: inherit; z-index: 10; }
.typing-dot { width: 6px; height: 6px; background-color: rgba(255,255,255,0.7); border-radius: 50%; margin-right: 4px; animation: bounce 1.4s infinite ease-in-out both; }
.typing-dot:nth-child(1) { animation-delay: -0.32s; } .typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
.msg-guardian { background: rgba(60, 60, 20, 0.6); border: 1px solid #ffd700; color: #ffface; border-radius: 0 10px 10px 10px; }
.msg-iskorka { background: rgba(60, 30, 10, 0.6); border: 1px solid #ff8c00; color: #ffdcb3; border-radius: 0 10px 10px 10px; }
.msg-lian { background: rgba(10, 30, 60, 0.6); border: 1px solid #1e90ff; color: #cceeff; border-radius: 0 10px 10px 10px; }
.msg-character { background: rgba(40, 40, 40, 0.6); border: 1px solid #555; color: #ddd; border-radius: 0 10px 10px 10px; }
.msg-monday { border: 1px solid #666; border-radius: 0 10px 10px 10px; transition: background-color 0.5s ease, color 0.5s ease; }
.letter-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 20px 0; }
.letter-icon-anim { width: 4vh; height: 4vh; margin-bottom: 10px; color: #d67c36; animation: letter-bounce 2s infinite ease-in-out; }
@keyframes letter-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.msg-letter { width: 70%; background: rgba(20, 20, 20, 0.9); border: 1px solid #d67c36; color: #ffcc88; font-family: 'Courier Prime', monospace; text-align: justify; box-shadow: 0 0 15px rgba(214, 124, 54, 0.1); border-radius: 2px; padding: 20px; position: relative; overflow: hidden; }
#profile-tooltip { position: fixed; z-index: 1000; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(5px); padding: 15px; border: 1px solid #333; border-radius: 4px; pointer-events: none; display: none; min-width: 200px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); color: #ddd; font-size: 1.4vh; line-height: 1.4; }
.prof-title { font-weight: bold; font-size: 1.6vh; margin-bottom: 5px; text-transform: uppercase; border-bottom: 1px solid #444; padding-bottom: 3px; display: block;}
.prof-row { display: flex; justify-content: space-between; margin-bottom: 2px; }
.prof-label { color: #888; margin-right: 10px; }
.prof-val { color: #fff; text-align: right; }
.prof-val.locked { color: #444; font-family: 'Courier New', monospace; letter-spacing: -1px; }
@keyframes glitch-skew { 0% { transform: skew(0deg); } 20% { transform: skew(-2deg); } 40% { transform: skew(2deg); } 60% { transform: skew(0deg); } 80% { transform: skew(1deg); opacity: 0.8; } 100% { transform: skew(0deg); opacity: 1; } }
.prof-val.glitch { animation: glitch-skew 0.3s infinite; color: #ff3333; text-shadow: 1px 0 #00ff41; }
.reader-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; padding-top: 10px; border-top: 1px solid rgba(0, 255, 65, 0.2); }
.page-arrow { background: transparent; border: 1px solid rgba(0, 255, 65, 0.3); color: #00ff41; width: 3vh; height: 3vh; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; font-size: 1.5vh; }
.page-arrow:hover { background: #00ff41; color: #000; }
.page-number { color: #888; font-size: 1.5vh; letter-spacing: 2px; }
#page-signal { display: block; } 
#page-books { background: transparent; }
#page-reader { background: transparent; display: flex; align-items: center; justify-content: center;}
#page-author { background: transparent; display: none; }
.monitor-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; pointer-events: none; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%); background-size: 100% 4px; box-shadow: none; }
.ui-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; display: flex; flex-direction: column; padding: 0; pointer-events: none; }
.top-bar { display: flex; justify-content: flex-end; pointer-events: auto; padding-right: 3%; padding-top: 3%; }
.lang-switch { font-size: 2.5vh; cursor: pointer; color: #555; transition: color 0.3s; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 5px #000; font-weight: bold; }
.lang-switch span { transition: color 0.3s, text-shadow 0.3s; }
.lang-switch span.active { color: #00ff41; text-shadow: 0 0 10px #00ff41; }
.lang-switch span:hover { color: #fff; }
.text-layer { position: absolute; width: auto; max-width: 90%; padding: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; transition: filter 3s, opacity 3s, transform 3s; opacity: 0; z-index: 10001; pointer-events: none; }
.console-line { font-size: 2.2vh; line-height: 1.4; white-space: pre-wrap; text-align: left; color: #e0e0e0; text-shadow: 0 0 5px rgba(0, 255, 65, 0.5); display: block; position: relative; }
.path-style { color: #00cc33; font-size: 1.8vh; opacity: 0.8; margin-bottom: 2px; }
.title-style { color: #00ff41; font-weight: bold; font-size: 2.8vh; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.cursor { display: inline-block; width: 0.8vw; height: 1em; background-color: #00ff41; animation: blink 1s infinite; vertical-align: text-bottom; margin-left: 2px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.active-state { opacity: 1 !important; filter: blur(0px) !important; }
.fade-out-final { opacity: 0 !important; transform: translateY(-50px) scale(0.9) !important; transition: opacity 4s, transform 4s !important; }
.system-bar { position: absolute; bottom: 22%; right: 15%; display: flex; gap: 20px; align-items: center; z-index: 2001; font-family: 'Courier New', monospace; color: #00ff41; text-shadow: 0 0 5px #005511; font-size: 1.8vh; pointer-events: none; }
.sys-item { display: flex; align-items: center; gap: 8px; }
.sys-icon-svg { width: 2.5vh; height: 2.5vh; fill: #00ff41; drop-shadow: 0 0 3px #00ff41; }
#terminal-footer { position: fixed; bottom: 208px; left: 306px; width: auto; background: transparent; border: none; color: #004400; font-family: 'Courier New', monospace; font-size: 1.4vh; z-index: 9998; pointer-events: none; user-select: none; text-shadow: 0 1px 2px #000; }
#terminal-footer:hover { color: #00ff41; opacity: 1; }
.glitch-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('img/matrix_glitch.jpg'); background-size: cover; background-position: center; z-index: 5; opacity: 0; pointer-events: none; mix-blend-mode: hard-light; animation: glitch-flash-10s 9.5s infinite linear; }
@keyframes glitch-flash-10s { 0%, 92% { opacity: 0; clip-path: inset(50% 0 50% 0); filter: hue-rotate(0deg); } 92.5% { opacity: 1; clip-path: inset(10% 0 60% 0); transform: translate(-3px, 1px) scale(1.05); filter: contrast(1.5); } 93.5% { opacity: 0.9; clip-path: inset(70% 0 5% 0); transform: translate(3px, -2px) scale(1.02); filter: contrast(2) hue-rotate(90deg); } 94% { opacity: 0.6; clip-path: inset(0 0 0 0); transform: translate(0, 0); filter: none; } 94.5%, 100% { opacity: 0; clip-path: inset(50% 0 50% 0); } }
.social-dock { position: absolute; right: 50px; top: 110px; display: flex; flex-direction: row; gap: 20px; z-index: 1000; align-items: flex-start; }
.social-unit { position: relative; display: flex; flex-direction: column; align-items: center; }
.social-btn { position: relative; width: 100px; height: 100px; cursor: pointer; background-size: cover; background-repeat: no-repeat; background-position: center; transition: background-image 0.2s; display: block; }
.btn-telegram { background-image: url('img/telega/1.png'); } .btn-telegram:hover { background-image: url('img/telega/2.png'); }
.telega-glitch { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('img/telega/3.png'); background-size: cover; pointer-events: none; opacity: 0; animation: telega-glitch-anim 3.5s infinite linear; }
.btn-x { background-image: url('img/telega/4.png'); } .btn-x:hover { background-image: url('img/telega/5.png'); }
.btn-insta { background-image: url('img/telega/6.png'); } .btn-insta:hover { background-image: url('img/telega/7.png'); }
.telegram-label { margin-top: 10px; font-family: 'Courier New', monospace; font-size: 1.6vh; color: #00ff41; text-shadow: 0 0 5px #005511; letter-spacing: 2px; text-transform: uppercase; text-align: center; pointer-events: none; }
.donation-dock { position: absolute; right: 300px; top: 350px; display: flex; flex-direction: column; align-items: center; z-index: 1000; width: 320px; }
.coffee-wrapper { position: relative; width: 80px; height: 80px; margin-bottom: 15px; }
.coffee-icon { width: 100%; height: 100%; background-image: url('img/tok/k1.png'); background-size: contain; background-repeat: no-repeat; background-position: center; }
.coffee-glitch { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('img/tok/k2.png'); background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0; pointer-events: none; animation: telega-glitch-anim 4s infinite linear reverse; }
.crypto-rack { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 15px; padding: 15px; background: rgba(0, 20, 0, 0.4); border: 1px solid rgba(0, 255, 65, 0.3); border-radius: 15px; backdrop-filter: blur(3px); box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); }
.token-unit { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.token-img-box { position: relative; width: 100px; height: 100px; }
.tok-base { width: 100%; height: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; }
.tok-glitch { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0; pointer-events: none; animation: telega-glitch-anim 5s infinite linear; }
.t-btc .tok-base { background-image: url('img/tok/b1.png'); } .t-btc .tok-glitch { background-image: url('img/tok/b2.png'); animation-delay: 0s; }
.t-doge .tok-base { background-image: url('img/tok/d1.png'); } .t-doge .tok-glitch { background-image: url('img/tok/d2.png'); animation-delay: 1.2s; }
.t-eth .tok-base { background-image: url('img/tok/e1.png'); } .t-eth .tok-glitch { background-image: url('img/tok/e2.png'); animation-delay: 0.5s; }
.t-ltc .tok-base { background-image: url('img/tok/l1.png'); } .t-ltc .tok-glitch { background-image: url('img/tok/l2.png'); animation-delay: 2.5s; }
.t-sol .tok-base { background-image: url('img/tok/s1.png'); } .t-sol .tok-glitch { background-image: url('img/tok/s2.png'); animation-delay: 3.1s; }
.t-usdt .tok-base { background-image: url('img/tok/t1.png'); } .t-usdt .tok-glitch { background-image: url('img/tok/t2.png'); animation-delay: 1.8s; }
.copy-btn { background: transparent; border: 1px solid #005511; color: #00ff41; font-family: 'Courier New', monospace; font-size: 14px; padding: 2px 4px; cursor: pointer; text-transform: uppercase; transition: all 0.2s; width: 100%; text-align: center; }
.copy-btn:hover { background: #00ff41; color: #000; }
@keyframes telega-glitch-anim { 0%, 90% { opacity: 0; transform: translateX(0); } 91% { opacity: 1; transform: translateX(-2px); filter: hue-rotate(90deg); } 92% { opacity: 0; } 93% { opacity: 1; transform: translateX(2px); filter: contrast(1.5); } 94% { opacity: 0; } 100% { opacity: 0; } }