@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;overflow:hidden;font-family:Inter,sans-serif;background:url(/Background.webp) center center / cover no-repeat;background-attachment:fixed;color:#333;cursor:default}.gallery-background{position:fixed;top:80px;right:120px;width:300px;height:auto;z-index:2;opacity:.8;pointer-events:none;background-image:url(/Gallery.png);background-size:contain;background-repeat:no-repeat;background-position:center;aspect-ratio:16/10}.character-speech-bubble{position:fixed;top:320px;right:80px;background:#E8DCC8;color:#3e2723;padding:1.5rem;border-radius:0;max-width:300px;box-shadow:0 8px 24px #0000004d;border:4px solid #3E2723;z-index:20;opacity:0;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}.character-speech-bubble.show{opacity:1;transform:translateY(0)}.character-speech-bubble:after{content:"";position:absolute;top:-15px;left:30px;width:0;height:0;border:15px solid transparent;border-bottom-color:#e8dcc8}#character-dialogue-text{margin:0;font-size:1.1rem;line-height:1.4;font-weight:500;color:#3e2723}.skip-intro-button{position:fixed;bottom:2rem;left:2rem;padding:12px 24px;background:rgba(255,255,255,.15);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.3);border-radius:30px;color:#fff;font-family:Inter,sans-serif;font-size:.95em;font-weight:600;cursor:pointer;z-index:1000;pointer-events:all;transition:all .3s ease;animation:fadeIn .5s ease .5s both}.skip-intro-button:hover{background:rgba(255,255,255,.25);border-color:#ffffff80;transform:translateY(-2px)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.music-toggle{position:fixed;bottom:2rem;right:2rem;width:60px;height:60px;border-radius:50%;background:rgba(255,255,255,.95);border:3px solid rgba(0,0,0,.6);cursor:pointer;z-index:100;transition:all .3s ease;display:flex;align-items:center;justify-content:center;pointer-events:all;box-shadow:0 6px 20px #00000080;padding:0}.music-toggle:hover{background:rgba(255,255,255,1);border-color:#000c;transform:scale(1.1);box-shadow:0 8px 25px #0009}.music-toggle img{width:70%;height:70%;object-fit:contain}#webgl-canvas{position:fixed;top:0;left:0;width:100%;height:100%;z-index:5;outline:none;pointer-events:auto}#loading-screen{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;z-index:1000;transition:opacity 1s ease-out}#loading-screen.loaded{opacity:0;pointer-events:none}.loading-content{text-align:center;max-width:400px;padding:2rem}.loading-spinner{width:50px;height:50px;border:3px solid #f3f3f3;border-top:3px solid #333;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1.5rem}.loading-text{font-size:1.1rem;margin-bottom:1.5rem;color:#333}.loading-bar{width:100%;height:4px;background:#f3f3f3;border-radius:2px;overflow:hidden}.loading-progress{height:100%;background:#333;width:0%;transition:width .3s ease}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#ui-container{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10;pointer-events:none}.scene-overlay{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:flex-start;justify-content:center;opacity:0;transition:opacity .8s ease;pointer-events:none;z-index:5}.scene-overlay.active{opacity:1;pointer-events:none}.scene-overlay.active .hero-content{pointer-events:none}.scene-overlay.active .dialogue-container,.scene-overlay.active .transition-content,.scene-overlay.active .gallery-ui{pointer-events:all}.continue-btn,.skip-btn,.nav-btn,.project-link,.scene-overlay.active .skip-btn{pointer-events:all!important}.hero-content{text-align:center;max-width:600px;padding:2rem;pointer-events:none;position:absolute;top:10%;left:50%;transform:translate(-50%)}.hero-title{font-size:clamp(2.5rem,5vw,4rem);font-weight:700;margin-bottom:1rem;color:#333}.hero-subtitle{font-size:1.2rem;color:#666;margin-bottom:3rem;animation:fadeInUp 1s ease-out .5s both}@keyframes titleGlow{0%{filter:brightness(1)}to{filter:brightness(1.1)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:.8;transform:translateY(0)}}.click-indicator{position:absolute;top:70%;left:50%;transform:translate(-50%);animation:bounce 2s infinite;z-index:10}.click-icon,.tap-icon{display:flex;align-items:center;justify-content:center}.click-pulse{animation:clickPulse 2s infinite}@keyframes clickPulse{0%,to{opacity:.5;transform:translateY(0)}50%{opacity:1;transform:translateY(3px)}}.tap-ripple{animation:tapRipple 2s infinite;transform-origin:center}@keyframes tapRipple{0%{r:8;opacity:.8}50%{r:14;opacity:.3}to{r:8;opacity:.8}}.scroll-indicator{position:absolute;top:70%;left:50%;transform:translate(-50%,-50%);animation:bounce 2s infinite;z-index:10}.mouse{width:24px;height:40px;border:2px solid rgba(255,255,255,.5);border-radius:12px;position:relative}.wheel{width:3px;height:8px;background:rgba(255,255,255,.5);border-radius:1.5px;position:absolute;top:8px;left:50%;transform:translate(-50%);animation:scroll 2s infinite}.swipe-icon{font-size:1.2rem;color:#ffffffb3;font-weight:500;text-shadow:0 2px 10px rgba(0,0,0,.5);animation:swipeBounce 2s infinite;display:flex;align-items:center;justify-content:center;text-align:center}@keyframes swipeBounce{0%,20%,50%,80%,to{transform:translateY(0);opacity:.7}40%{transform:translateY(-5px);opacity:1}60%{transform:translateY(-3px);opacity:.9}}@keyframes bounce{0%,20%,50%,80%,to{transform:translate(-50%) translateY(0)}40%{transform:translate(-50%) translateY(-10px)}60%{transform:translate(-50%) translateY(-5px)}}@keyframes scroll{0%{opacity:1;transform:translate(-50%) translateY(0)}to{opacity:0;transform:translate(-50%) translateY(10px)}}.dialogue-container{text-align:center;max-width:500px;padding:2rem}.speech-bubble{background:rgba(255,255,255,.95);color:#333;padding:2rem;border-radius:20px;margin-bottom:2rem;position:relative;box-shadow:0 10px 40px #0000004d;transform:scale(0);transition:transform .5s cubic-bezier(.68,-.55,.265,1.55)}.speech-bubble.show{transform:scale(1)}.speech-bubble:after{content:"";position:absolute;bottom:-15px;left:50%;transform:translate(-50%);width:0;height:0;border:15px solid transparent;border-top-color:#fffffff2}#dialogue-text{font-size:1.3rem;font-weight:500;line-height:1.5}.continue-btn{background:#333;border:none;padding:1rem 2rem;border-radius:8px;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;opacity:0;transform:translateY(20px)}.continue-btn.show{opacity:1;transform:translateY(0)}.continue-btn:hover{background:#555;transform:translateY(-2px)}.transition-content{text-align:center;pointer-events:all}.transition-content h2{font-size:2rem;opacity:.8;animation:pulse 2s ease-in-out infinite alternate;margin-bottom:2rem}.skip-btn{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);color:#fff;padding:.8rem 1.5rem;border-radius:25px;cursor:pointer;transition:all .3s ease;font-size:.9rem;opacity:.7}.skip-btn:hover{background:rgba(255,255,255,.2);opacity:1;transform:translateY(-2px)}@keyframes pulse{0%{opacity:.5}to{opacity:1}}.gallery-ui{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);background:rgba(0,0,0,.8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:2rem;max-width:500px;width:calc(100% - 4rem)}.gallery-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.nav-btn{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:50%;width:45px;height:45px;color:#fff;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;font-size:1.2rem}.nav-btn:hover{background:rgba(255,255,255,.2);transform:scale(1.1)}.nav-btn:disabled{opacity:.3;cursor:not-allowed}.project-counter{font-weight:500;color:#333}.project-info h3{font-size:1.5rem;margin-bottom:.5rem;color:#333}.project-info p{opacity:.8;line-height:1.5;margin-bottom:1rem}.project-links{display:flex;gap:1rem}.project-link{color:#333;text-decoration:none;padding:.5rem 1rem;border:1px solid #333;border-radius:25px;transition:all .3s ease;font-size:.9rem}.project-link:hover{background:#333;color:#fff}.scene-overlay{touch-action:none}#webgl-canvas{touch-action:none;-webkit-tap-highlight-color:transparent}.nav-btn,.continue-btn,.project-link{touch-action:manipulation;-webkit-tap-highlight-color:transparent;min-height:44px;min-width:44px}#gallery-state{flex-direction:column;justify-content:flex-start;align-items:center;padding:5vh 0;gap:2vh}.gallery-content{position:relative;order:1;text-align:center;z-index:10;flex-shrink:0}.gallery-subtitle{font-size:1.2rem;font-weight:400;color:#ffffffe6;margin-bottom:1rem;text-shadow:0 2px 10px rgba(0,0,0,.5)}.swipe-icon-inline{display:inline-block;font-size:1.4rem;font-weight:600;color:#fff;margin:0 .2rem;animation:swipeInlinePulse 2s infinite}.scroll-icon-inline{display:inline-block;font-size:1.4rem;font-weight:600;color:#fff;margin:0 .2rem;animation:scrollInlinePulse 2s infinite}@keyframes swipeInlinePulse{0%,to{transform:scale(1);opacity:.9}50%{transform:scale(1.15);opacity:1}}@keyframes scrollInlinePulse{0%,to{transform:translateY(0) scale(1);opacity:.9}50%{transform:translateY(3px) scale(1.15);opacity:1}}.gallery-scroll-indicator{position:relative;top:auto;left:auto;transform:none;margin-top:1rem;display:none}.gallery-scroll-indicator.hidden{opacity:0;pointer-events:none;transition:opacity .3s ease}.progress-dots{position:fixed;bottom:3rem;left:50%;transform:translate(-50%);display:flex;gap:1rem;z-index:20;opacity:0;transition:opacity .3s ease}#gallery-state.active .progress-dots{opacity:1}.progress-dot{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.3);border:2px solid rgba(255,255,255,.5);cursor:pointer;transition:all .3s ease}.progress-dot:hover{background:rgba(255,255,255,.5);transform:scale(1.2)}.progress-dot.active{background:rgba(78,205,196,.8);border-color:#4ecdc4;box-shadow:0 0 15px #4ecdc499}@media (min-width: 1441px){.gallery-background{width:350px;top:100px;right:140px}.character-speech-bubble{max-width:350px;top:350px;right:100px}}@media (max-width: 1024px){.gallery-background{width:200px;top:60px;right:60px}.character-speech-bubble{top:220px;right:40px;max-width:250px;padding:1.2rem}#character-dialogue-text{font-size:1rem}.music-toggle{width:55px;height:55px;bottom:1.5rem;right:1.5rem}.progress-dot{width:14px;height:14px}.progress-dots{bottom:2.5rem;gap:.8rem}}@media (max-width: 768px){.gallery-background{width:150px;top:200px;right:5vw}.character-speech-bubble{top:18vh;right:2vw;left:2vw;max-width:none;padding:1rem}.character-speech-bubble:after{left:20px;top:-12px;border-width:12px}#character-dialogue-text{font-size:.95rem;line-height:1.3}.music-toggle{width:50px;height:50px;bottom:1.2rem;right:1.2rem}.progress-dots{bottom:2rem;gap:.6rem}.progress-dot{width:16px;height:16px;border-width:2.5px}.hero-content{top:5%;padding:1rem}.hero-title{font-size:2.5rem;will-change:transform}.hero-subtitle{font-size:1rem}.gallery-ui{padding:1.5rem;bottom:1rem;margin:0 1rem;width:calc(100% - 2rem);will-change:transform}.project-links{flex-direction:column;gap:.5rem}.debug-panel{top:auto;bottom:1rem;left:1rem;right:auto;font-size:.75rem}.loading-spinner{width:40px;height:40px}.speech-bubble{padding:1.5rem;margin:0 1rem}.scroll-indicator{bottom:1rem;font-size:.9rem}}@media (max-width: 480px){.gallery-background{width:120px;top:160px;right:3vw}.character-speech-bubble{top:15vh;right:1rem;left:1rem;padding:.9rem}#character-dialogue-text{font-size:.9rem}.music-toggle{width:48px;height:48px;bottom:1rem;right:1rem}.progress-dots{bottom:1.5rem;gap:.5rem}.progress-dot{width:18px;height:18px;border-width:3px}.hero-content{padding:.8rem;top:3%}.hero-title{font-size:2rem}.hero-subtitle{font-size:.9rem}.dialogue-container{padding:1rem}.speech-bubble{padding:1.2rem;font-size:.9rem}#dialogue-text{font-size:1rem}.gallery-ui{padding:1.2rem;bottom:.8rem;margin:0 .8rem;width:calc(100% - 1.6rem)}.scroll-indicator{bottom:.8rem;font-size:.85rem}}@media (hover: none) and (pointer: coarse){.progress-dot{min-width:18px;min-height:18px}.music-toggle{min-width:48px;min-height:48px}.progress-dot:hover,.music-toggle:hover{transform:none}}@media (max-width: 768px) and (orientation: landscape){.gallery-background{top:60px!important}}@media (max-width: 480px) and (orientation: landscape){.gallery-background{top:50px!important}}.mobile-only{display:none}.desktop-only{display:block}@media (max-width: 768px){.mobile-only{display:block}.desktop-only{display:none}#gallery-state{padding:3vh 0!important;gap:1.5vh!important}.gallery-subtitle.gallery-overview-subtitle.mobile-only{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;transform:none!important;order:1!important;width:max-content;text-align:center;z-index:100;margin:0;flex-shrink:0}.gallery-subtitle.gallery-zoomed-subtitle.mobile-only{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;transform:none!important;order:3!important;margin-top:auto!important;margin-bottom:5vh!important;width:max-content;text-align:center;z-index:100;flex-shrink:0}}@media (max-width: 768px){.floating-writeup{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;order:2!important;width:90%!important;max-width:90%!important;max-height:40vh!important;padding:15px!important;font-size:.9rem!important;overflow-y:auto!important;flex-shrink:0!important;margin:0 auto!important}.floating-writeup h3{font-size:1.1em!important}.floating-writeup p,.floating-writeup span{font-size:.85em!important}}@media (max-width: 480px){.floating-writeup{width:94%!important;max-height:38vh!important;padding:12px!important}.floating-writeup h3{font-size:1em!important;margin-bottom:10px!important}.floating-writeup p,.floating-writeup span{font-size:.8em!important;line-height:1.4!important}}
