:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--bg-color: #F9F7F2;--text-color: #2C2C2C;--accent-color: #C5A059;--accent-light: #E6D5B8;--font-heading: "Playfair Display", serif;--font-script: "Great Vibes", cursive;--font-body: "Lato", sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-color);color:var(--text-color);font-family:var(--font-body);overflow-x:hidden;line-height:1.6}.app-container{width:100%;overflow-x:hidden;position:relative}.app-container:before{content:"";position:absolute;inset:10px;border:2px solid var(--accent-color);z-index:999;pointer-events:none;box-shadow:inset 0 0 20px #c5a05933}.app-container:after{content:"";position:absolute;inset:15px;border:1px solid var(--accent-light);z-index:999;pointer-events:none}.page-section{width:100%;min-height:100vh;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:4rem 2rem}.page-section:before,.page-section:after{content:"❧";position:absolute;font-size:3rem;color:var(--accent-light);opacity:.5;font-family:var(--font-script);z-index:1}.page-section:before{top:2rem;left:2rem;transform:rotate(-45deg)}.page-section:after{bottom:2rem;right:2rem;transform:rotate(135deg)}.hero-section{padding:0;overflow:hidden;border-bottom:8px double var(--accent-light)}.hero-video-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.video-background{width:100%;height:100%;object-fit:cover;filter:sepia(.4) contrast(1.1) brightness(.8)}.video-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle,#2c2c2c66,#2c2c2ccc)}.hero-content{position:relative;z-index:10;text-align:center;color:#fff;max-width:800px;padding:2rem}.ornate-frame{border:1px solid rgba(255,255,255,.4);padding:3rem;position:relative;background:#0000004d;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ornate-frame:before,.ornate-frame:after{content:"❧";font-size:2.5rem;color:var(--accent-color);position:absolute;left:50%;transform:translate(-50%)}.ornate-frame:before{top:-1.8rem}.ornate-frame:after{bottom:-1.8rem;transform:translate(-50%) rotate(180deg)}.main-name{font-family:var(--font-script);font-size:6rem;color:#fff;text-shadow:2px 2px 10px rgba(0,0,0,.5);margin-bottom:1.5rem;line-height:1.1}.hero-description{font-family:var(--font-body);font-size:1.1rem;line-height:1.8;color:#ffffffe6;max-width:600px;margin:0 auto 2rem;padding:0 1rem;text-align:center;font-style:italic;text-shadow:1px 1px 3px rgba(0,0,0,.3)}.hero-subtitle{font-family:var(--font-heading);font-size:1.5rem;letter-spacing:4px;text-transform:uppercase;color:var(--accent-light);margin-bottom:2.5rem;border-top:1px solid rgba(255,255,255,.4);border-bottom:1px solid rgba(255,255,255,.4);padding:.8rem 0;display:inline-block}.cta-button{background:transparent;border:2px solid var(--accent-color);color:#fff;padding:1rem 3rem;font-family:var(--font-heading);font-size:1.1rem;letter-spacing:2px;cursor:pointer;transition:all .3s ease;text-transform:uppercase}.cta-button:hover{background:var(--accent-color);color:#000}.projects-section{background-color:var(--bg-color);background-image:radial-gradient(#E6D5B8 1px,transparent 1px);background-size:30px 30px}.section-heading{text-align:center;margin-bottom:4rem}.section-title{font-family:var(--font-heading);font-size:3.5rem;color:var(--text-color);margin-bottom:1rem}.ornate-divider{display:flex;align-items:center;justify-content:center;gap:1rem;margin:1rem 0}.ornate-divider:before,.ornate-divider:after{content:"";height:1px;width:120px;background:var(--accent-color)}.ornate-divider span{color:var(--accent-color);font-size:2rem}.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:3rem;width:100%;max-width:1400px}.project-card{background:#fff;border:1px solid #e0e0e0;box-shadow:0 10px 30px #0000000d;transition:transform .4s ease;position:relative;padding:1rem}.project-card:before{content:"";position:absolute;inset:6px;border:1px solid var(--accent-light);pointer-events:none;z-index:1}.project-card:after{content:"";position:absolute;inset:-4px;border:1px solid transparent;border-top-color:var(--accent-color);border-bottom-color:var(--accent-color);pointer-events:none;transition:inset .4s ease}.project-card:hover:after{inset:-8px}.project-card:hover{transform:translateY(-10px);box-shadow:0 20px 40px #c5a05926}.project-thumbnail-container{position:relative;aspect-ratio:16/9;overflow:hidden;background:#f0f0f0}.project-thumbnail,.project-video-preview{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.project-card:hover .project-thumbnail{transform:scale(1.05)}.play-overlay{position:absolute;inset:0;background:#0003;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.project-card:hover .play-overlay{opacity:1}.play-btn-circle{width:70px;height:70px;border-radius:50%;background:#fffffff2;display:flex;align-items:center;justify-content:center;color:var(--accent-color);font-size:2rem;box-shadow:0 0 20px #0003}.project-info{padding:1.5rem .5rem .5rem;text-align:center}.project-title{font-family:var(--font-heading);font-size:1.6rem;color:var(--text-color);margin-bottom:.5rem}.project-desc-short{font-size:1rem;color:#666;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.unity-section-wrapper{background:#fff;border-top:8px double var(--accent-light)}.music-control{position:fixed;bottom:2rem;left:2rem;z-index:100;display:flex;align-items:center;gap:1rem;background:var(--bg-color);padding:.5rem;border:2px solid var(--accent-color);border-radius:50px;box-shadow:0 5px 20px #00000026,inset 0 0 15px #c5a0591a;transition:all .3s ease}.music-control:hover{box-shadow:0 8px 30px #c5a05966,inset 0 0 20px #c5a05926;transform:translateY(-2px);border-color:#b08d4b}.music-btn{background:linear-gradient(135deg,var(--accent-color) 0%,#b08d4b 100%);border:2px solid rgba(255,255,255,.3);color:#fff;width:45px;height:45px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.1rem;transition:all .3s ease;flex-shrink:0;padding:0;line-height:1;box-shadow:0 3px 10px #c5a0594d}.music-btn:hover{transform:scale(1.1);box-shadow:0 5px 15px #c5a05980;border-color:#ffffff80}.volume-control{display:flex;align-items:center;width:0;overflow:hidden;transition:width .3s ease}.music-control:hover .volume-control{width:80px}.volume-slider{-webkit-appearance:none;appearance:none;width:100%;height:4px;background:#ddd;border-radius:2px;outline:none}.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;border-radius:50%;background:var(--accent-color);cursor:pointer;transition:transform .2s}.volume-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.youtube-link-btn{background:red;border:none;color:#fff;padding:.5rem .8rem;border-radius:4px;display:flex;align-items:center;gap:.3rem;cursor:pointer;font-size:.85rem;transition:all .2s;text-decoration:none;font-family:var(--font-body);font-weight:600;flex-shrink:0}.youtube-link-btn:hover{background:#c00;transform:translateY(-2px);box-shadow:0 4px 12px #ff00004d}.youtube-icon{font-size:.9rem}.youtube-text{font-size:.75rem;letter-spacing:.5px}.youtube-control{position:fixed;bottom:2rem;right:2rem;z-index:100}.track-info{font-family:var(--font-heading);font-size:.9rem;color:var(--text-color);font-style:italic;white-space:nowrap;max-width:200px;overflow:hidden;position:relative}.track-info span{display:inline-block;padding-left:100%;animation:scroll-text 15s linear infinite}@keyframes scroll-text{0%{transform:translate(0)}to{transform:translate(-100%)}}.modal-overlay{position:fixed;inset:0;background:#2c2c2cf2;z-index:1000;display:flex;justify-content:center;align-items:center;padding:2rem;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-content{background:var(--bg-color);padding:3rem;max-width:900px;width:100%;position:relative;border:1px solid var(--accent-color);box-shadow:0 20px 50px #0006}.modal-content:before,.modal-content:after{content:"";position:absolute;width:20px;height:20px;border:2px solid var(--accent-color)}.modal-content:before{top:10px;left:10px;border-right:none;border-bottom:none}.modal-content:after{bottom:10px;right:10px;border-left:none;border-top:none}.modal-close{position:absolute;top:1rem;right:1.5rem;background:none;border:none;font-size:2.5rem;color:var(--accent-color);cursor:pointer;font-family:var(--font-heading);line-height:1}.modal-video-frame{width:100%;aspect-ratio:16/9;margin-bottom:2rem;background:#000;border:1px solid var(--accent-light)}.modal-form input,.modal-form textarea{width:100%;padding:1rem;margin-bottom:1rem;background:#fff;border:1px solid #ddd;font-family:var(--font-body);color:var(--text-color)}.modal-form input:focus,.modal-form textarea:focus{outline:none;border-color:var(--accent-color)}.modal-submit-btn{background:var(--accent-color);color:#fff;border:none;padding:1rem 2rem;font-family:var(--font-heading);font-size:1.1rem;cursor:pointer;width:100%;letter-spacing:1px}.modal-submit-btn:hover{background:#b08d4b}@media (max-width: 768px){.main-name{font-size:3.5rem}.projects-grid{grid-template-columns:1fr}.page-section{padding:3rem 1rem}}.unity-game-section{max-width:1200px;margin:0 auto;padding:.5rem;background:transparent;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;box-sizing:border-box;width:100%}.section-header{text-align:center;margin-bottom:2rem;width:100%}.section-title{font-family:var(--font-heading);font-size:3.5rem;color:var(--text-color);margin-bottom:.5rem;background:none;-webkit-text-fill-color:initial}.section-subtitle{font-size:1.2rem;color:#666;font-family:var(--font-body);font-style:italic}.game-container{display:flex;justify-content:center;align-items:flex-start;gap:2rem;width:100%;max-width:1080px;margin:0 auto;box-sizing:border-box}@media (max-width: 768px){.game-container{flex-direction:column;align-items:center;gap:1.5rem;padding:0 1rem}.highscore-table-wrapper{width:100%;max-width:342px;margin:0 auto!important}}.unity-game-wrapper{background:#fff;border:1px solid var(--accent-light);border-radius:4px;padding:1rem;box-shadow:0 10px 30px #0000000d;display:flex;flex-direction:column;align-items:center;width:370px;margin:0 auto;box-sizing:border-box;position:relative}.unity-game-wrapper:before{content:"";position:absolute;inset:4px;border:1px solid var(--accent-light);pointer-events:none}.game-title{text-align:center;margin-top:0;color:var(--text-color);font-family:var(--font-heading);display:none}.game-start-container{display:flex;flex-direction:column;align-items:center;gap:1.5rem;width:100%;box-sizing:border-box;padding:2rem 0}.game-preview{background:var(--bg-color);border:1px solid var(--accent-color);border-radius:4px;padding:2rem;text-align:center;color:var(--text-color);width:100%;box-sizing:border-box;position:relative}.game-preview:after{content:"❧";position:absolute;bottom:10px;left:50%;transform:translate(-50%);color:var(--accent-light);font-size:1.5rem}.preview-content{display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%}.game-icon{font-size:3rem;filter:sepia(1) hue-rotate(10deg)}.game-preview h4{margin:0;font-size:1.5rem;color:var(--text-color);font-family:var(--font-heading)}.game-preview p{margin:0;font-size:1rem;color:#666}.start-game-btn{background:transparent;color:var(--text-color);border:2px solid var(--accent-color);padding:1rem 2rem;font-size:1.1rem;border-radius:0;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .3s ease;font-family:var(--font-heading);text-transform:uppercase;letter-spacing:1px}.start-game-btn:hover{background:var(--accent-color);color:#fff;transform:translateY(-2px)}.btn-icon{font-size:1.2rem}.unity-game-frame{position:relative;border:4px double var(--accent-color);box-shadow:0 10px 30px #0000001a;opacity:0;transform:translateY(20px);transition:all .3s ease;width:350px;height:630px;margin:0 auto;box-sizing:border-box;background:#000}.unity-game-frame.visible{opacity:1;transform:translateY(0)}.unity-game-frame iframe{width:100%;height:100%;display:block;border:none}.game-controls{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#fff;border-bottom:1px solid var(--accent-light);position:absolute;top:-40px;left:0;right:0;height:40px}.connection-status{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#666}.status-indicator{width:8px;height:8px;border-radius:50%;background:#ccc}.status-indicator.connected{background:var(--accent-color)}.status-indicator.disconnected{background:#f44336}.end-game-btn{background:transparent;color:#d32f2f;border:1px solid #d32f2f;padding:.2rem .8rem;border-radius:0;cursor:pointer;display:flex;align-items:center;gap:.3rem;font-size:.8rem;font-family:var(--font-body);transition:all .2s}.end-game-btn:hover{background:#d32f2f;color:#fff}.game-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center;background:#000;color:var(--accent-color);width:100%;height:100%}.loading-spinner{width:40px;height:40px;border:2px solid rgba(197,160,89,.3);border-top:2px solid var(--accent-color);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.game-instructions{text-align:center;margin-top:1rem;color:#666;font-size:.9rem;font-style:italic;font-family:var(--font-heading)}.highscore-table-wrapper{background:#fff;border:1px solid var(--accent-light);border-radius:4px;padding:1.5rem;box-shadow:0 10px 30px #0000000d;display:flex;flex-direction:column;align-items:center;width:420px;height:800px;margin:0 auto;box-sizing:border-box;position:relative}.highscore-table-wrapper:before{content:"";position:absolute;inset:4px;border:1px solid var(--accent-light);pointer-events:none}.highscore-title{text-align:center;margin-top:0;color:var(--text-color);font-size:2rem;font-family:var(--font-heading);background:none;-webkit-text-fill-color:initial;border-bottom:1px solid var(--accent-color);padding-bottom:.5rem;width:100%;margin-bottom:1rem}.highscore-table{width:100%;background:var(--bg-color);border:1px solid var(--accent-light);flex-grow:1;overflow:hidden}.table-header{display:grid;grid-template-columns:1fr 2.5fr 1fr 1fr;padding:.8rem;background:var(--accent-light);font-weight:700;color:var(--text-color);font-family:var(--font-heading);font-size:.9rem;border-bottom:1px solid var(--accent-color)}.table-body{margin-top:0}.score-row{display:grid;grid-template-columns:1fr 2.5fr 1fr 1fr;padding:.8rem;border-bottom:1px solid rgba(0,0,0,.05);align-items:center;transition:all .3s ease;font-family:var(--font-body);color:var(--text-color)}.score-row:hover{background:#c5a0591a}.score-row.top-three{background:#c5a0590d;font-weight:700;border-left:3px solid var(--accent-color)}.rank-col{display:flex;align-items:center;gap:.5rem;color:var(--accent-color);font-family:var(--font-heading)}.rank-number{font-size:1.1rem}.rank-crown{font-size:1.2rem;color:var(--accent-color)}.player-col{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-color);font-weight:500;font-size:.85rem}.score-col{text-align:right;font-weight:700;color:var(--text-color);font-size:1rem;font-family:var(--font-heading)}.date-col{text-align:right;color:#999;font-size:.8rem}.scores-loading{display:flex;flex-direction:column;align-items:center;padding:3rem;text-align:center;color:var(--accent-color)}.powered-by{text-align:center;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--accent-light);color:#999;font-size:.8rem;width:100%;font-style:italic}
