/*!
 * dimki.net - Brain Exercises
 * Copyright (c) 2025 Dimitri
 * All rights reserved.
 * 
 * UNAUTHORIZED COPYING, MODIFICATION, DISTRIBUTION OR USE
 * OF THIS SOFTWARE IS STRICTLY PROHIBITED.
 * 
 * Licensed under proprietary license.
 * Contact: d@dimki.net for licensing inquiries.
 */
@keyframes scanlines{0%{transform:translateY(0)}to{transform:translateY(10px)}}@keyframes slideInAndRoll{0%{opacity:0;transform:translateX(0) translateY(0) scale(.05)}3%{opacity:.2;transform:translateX(0) translateY(0) scale(.1)}15%{opacity:.7;transform:translateX(0) translateY(0) scale(.5)}25%,70%{opacity:1;transform:translateX(0) translateY(0) scale(1)}85%{opacity:.3;transform:translateX(0) translateY(0) scale(2);filter:blur(2px)}90%{opacity:0;transform:translateX(0) translateY(0) scale(3);filter:blur(4px)}to{opacity:0;transform:translateX(0) translateY(0) scale(.05);filter:blur(0)}}@keyframes dotAnimation{0%,to{opacity:0;transform:translate(-50%,-50%) scale(0)}}@keyframes tvSweep{0%,to{opacity:0;width:40px;height:40px;border-width:2px}}@keyframes tvSweepOuter{0%,to{opacity:0;width:80px;height:80px;border-width:1px}}@keyframes catAsciiAppear{0%,90%{opacity:1;transform:scale(1)}94%,to{opacity:0;transform:scale(0)}}@keyframes float-in{0%{opacity:0;transform:translateY(120vh) scale(.3) rotate(0deg)}10%{opacity:.5}20%{opacity:.7;transform:translateY(var(--start-y)) scale(1) rotate(45deg)}50%{opacity:.8;transform:translateY(calc(var(--start-y) - 150px)) scale(1.1) rotate(180deg)}80%{opacity:.5;transform:translateY(calc(var(--start-y) - 300px)) scale(.8) rotate(360deg)}to{opacity:0;transform:translateY(-200px) scale(.5)}}@keyframes rippleEffect{0%{width:10px;height:10px;opacity:1;border-width:3px}50%{opacity:.6;border-width:2px}to{width:300px;height:300px;opacity:0;border-width:1px}}@keyframes splashEffect{0%{width:20px;height:20px;opacity:.4;filter:blur(0)}30%{opacity:.3;filter:blur(5px)}60%{opacity:.15;filter:blur(15px)}to{width:400px;height:400px;opacity:0;filter:blur(30px)}}*{margin:0;padding:0;box-sizing:border-box}.container,body{position:relative;display:flex;align-items:center;justify-content:center}body{font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;background:linear-gradient(180deg,#1a1410 0,#0a0a0a 50%,#000 100%);min-height:100vh;overflow:hidden;transition:background 2s cubic-bezier(.4,0,.2,1)}body::before{content:"";width:100%;height:100%;background:repeating-linear-gradient(0deg,rgba(0,255,200,.03)0,rgba(0,255,200,.03) 1px,transparent 1px,transparent 2px),repeating-linear-gradient(90deg,rgba(255,0,200,.05)0,rgba(255,0,200,.05) 1px,transparent 1px,transparent 2px);pointer-events:none;z-index:1;animation:scanlines 8s linear infinite}#gameOfLife,body::after,body::before{position:fixed;top:0;left:0}body::after{content:"";width:100%;height:100%;background:radial-gradient(ellipse at 20% 50%,rgba(0,255,200,.1)0,transparent 50%),radial-gradient(ellipse at 80% 80%,rgba(255,0,200,.1)0,transparent 50%),radial-gradient(ellipse at 40% 20%,rgba(0,150,255,.08)0,transparent 50%);pointer-events:none;z-index:0}.container{width:100%;height:100vh;z-index:2}.animation-wrapper{position:relative;width:400px;height:200px;perspective:1000px;text-decoration:none;display:block;cursor:pointer}.cat-ascii{font-size:40px;color:gold;text-shadow:0 0 10px rgba(255,215,0,.9),0 0 20px rgba(255,184,82,.7);animation:catAsciiAppear 8.5s ease-in-out infinite;display:inline-block;vertical-align:middle}.cat-ascii.left-cat{margin-right:8px}.cat-ascii.right-cat{margin-left:8px}.text-container{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;gap:8px;justify-content:center;align-items:center;min-width:300px}.letter{font-size:48px;font-weight:900;font-family:"Orbitron",sans-serif;color:gold;text-shadow:0 0 10px rgba(255,215,0,.9),0 0 20px rgba(255,184,82,.7);animation:slideInAndRoll 25s ease-in-out infinite;animation-delay:0s;display:inline-block;position:relative;transform-origin:center;will-change:transform,opacity;transition:background 1.5s cubic-bezier(.4,0,.2,1),-webkit-text-fill-color 1.5s cubic-bezier(.4,0,.2,1),text-shadow 1.5s cubic-bezier(.4,0,.2,1),filter 1.5s cubic-bezier(.4,0,.2,1)}.dot,.dot::after,.dot::before{position:absolute;top:50%;left:50%;border-radius:50%}.dot{width:8px;height:8px;background:radial-gradient(circle at 30% 30%,gold,#ff8c00);box-shadow:0 0 20px rgba(255,215,0,.8);opacity:0;will-change:opacity,transform;animation:dotAnimation 25s ease-in-out infinite}.dot::after,.dot::before{content:"";width:40px;height:40px;border:2px solid rgba(255,215,0,.5);transform:translate(-50%,-50%);animation:tvSweep 25s ease-in-out infinite}.dot::after{width:80px;height:80px;border:1px solid rgba(255,215,0,.2);animation:tvSweepOuter 25s ease-in-out infinite}#gameOfLife{z-index:1;display:block}.floating-emoji,.floating-emojis{display:none}.cat-corner{display:inline-block;line-height:1}.floating-emoji,.floating-emojis{position:fixed;pointer-events:none}.floating-emojis{top:0;left:0;width:100%;height:100%;z-index:5;overflow:hidden}.floating-emoji{font-size:24px;opacity:.7;animation:float-in 25s ease-in-out infinite;transition:color 1.5s cubic-bezier(.4,0,.2,1),text-shadow 1.5s cubic-bezier(.4,0,.2,1),filter 1.5s cubic-bezier(.4,0,.2,1),font-size 1.5s cubic-bezier(.4,0,.2,1),opacity 1.5s cubic-bezier(.4,0,.2,1);filter:drop-shadow(0 0 2px rgba(0,212,255,.4))}@media (max-width:768px){.letter{font-size:36px}.text-container{gap:4px}}@media (max-width:480px){.letter{font-size:28px}.text-container{gap:2px}}.system-info{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:9999;font-size:13px;font-weight:600;color:#fff;text-shadow:0 0 4px rgba(0,212,255,.8),0 0 8px rgba(0,212,255,.6);font-family:"Courier New",monospace;background:rgba(10,10,20,.95);backdrop-filter:blur(10px);padding:18px 24px;border:2px solid #00d4ff;border-radius:6px;max-width:90vw;width:auto;min-width:320px;max-height:70vh;overflow-y:auto;word-break:break-word;white-space:pre-wrap;line-height:1.6;text-align:center;transition:color 1.5s cubic-bezier(.4,0,.2,1),border-color 1.5s cubic-bezier(.4,0,.2,1),background 1.5s cubic-bezier(.4,0,.2,1),box-shadow 1.5s cubic-bezier(.4,0,.2,1);box-shadow:0 0 30px rgba(0,212,255,.8),0 0 60px rgba(0,212,255,.4),inset 0 0 20px rgba(0,212,255,.2)}@media (max-width:768px){.system-info{font-size:11px;padding:15px 18px;max-width:95vw;min-width:280px;line-height:1.5;bottom:10px}}@media (max-width:480px){.system-info{font-size:10px;padding:12px 15px;max-width:98vw;min-width:260px;line-height:1.4}}#info-text{display:block;white-space:pre-wrap;transition:background 1.5s cubic-bezier(.4,0,.2,1),-webkit-text-fill-color 1.5s cubic-bezier(.4,0,.2,1),text-shadow 1.5s cubic-bezier(.4,0,.2,1);color:#00d4ff;text-shadow:0 0 8px #00d4ff}.ripple,.ripple-splash{position:fixed;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;opacity:0}.ripple{border:2px solid #00d4ff;width:10px;height:10px;z-index:9998;will-change:width,height,opacity,border-width;animation:rippleEffect 1.5s ease-out}.ripple-splash{width:20px;height:20px;z-index:9997;will-change:width,height,opacity,filter;animation:splashEffect 1.5s ease-out}