@import "https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap";@import "https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Style+Script&display=swap";@import "https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap";body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0;font-family:"Press Start 2P",cursive}#root{width:100%;height:100vh}.valentine-calendar-overlay{z-index:2000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000c;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.valentine-calendar{background:linear-gradient(135deg,#fff0f5 0%,pink 100%);border:4px solid #ff1744;border-radius:20px;flex-direction:column;width:90%;max-width:400px;padding:20px;font-family:"Press Start 2P",cursive;animation:.3s cubic-bezier(.175,.885,.32,1.275) popIn;display:flex;position:relative;box-shadow:0 0 0 4px #fff,0 0 20px #ff174480}@keyframes popIn{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.calendar-header{color:#d50000;justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.calendar-nav-btn{color:#fff;cursor:pointer;background:#ff1744;border:2px solid #000;border-radius:8px;padding:5px 10px;font-size:.8rem;box-shadow:2px 2px #0003}.calendar-nav-btn:hover{transform:scale(1.1)}.current-month{text-transform:uppercase;text-shadow:1px 1px #fff;font-size:.8rem}.calendar-grid{grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:20px;display:grid}.calendar-day-header{text-align:center;color:#ff1744;padding:5px 0;font-size:.6rem;font-weight:700}.calendar-day{aspect-ratio:1;cursor:pointer;color:#333;background:#fff;border:2px solid #ffb7b2;border-radius:8px;justify-content:center;align-items:center;font-size:.8rem;transition:all .2s;display:flex;position:relative}.calendar-day:hover:not(.empty){z-index:1;border-color:#ff1744;transform:scale(1.1)}.calendar-day.selected{color:#fff;background:#ff1744;border-color:#000;transform:scale(1.1);box-shadow:2px 2px #0003}.calendar-day.empty{cursor:default;background:0 0;border:none}.calendar-day.today{background:#fff0f5;border-color:#ff1744}.confirm-date-btn{color:#fff;text-transform:uppercase;cursor:pointer;background:#d50000;border:3px solid #000;border-radius:12px;width:100%;padding:15px;font-size:.9rem;transition:all .2s;box-shadow:0 4px #000}.confirm-date-btn:disabled{cursor:not-allowed;background:#ccc;border-color:#888;box-shadow:0 4px #666}.confirm-date-btn:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px #000}.confirm-date-btn:not(:disabled):active{transform:translateY(2px);box-shadow:0 2px #000}.no-btn:hover{transform:scale(1.05)}.no-modal-overlay{z-index:2100;background:#000000e6;justify-content:center;align-items:center;width:100%;height:100%;animation:.3s fadeIn;display:flex;position:fixed;top:0;left:0}.no-modal-content{text-align:center;background:#fff;border:4px solid #ff1744;border-radius:20px;width:350px;max-width:90%;padding:15px;animation:.3s cubic-bezier(.175,.885,.32,1.275) popIn}.close-no-modal{color:#fff;cursor:pointer;background:#ff1744;border:3px solid #000;border-radius:10px;margin-top:15px;padding:10px 20px;font-family:"Press Start 2P",cursive;font-size:.7rem;box-shadow:0 4px #000}.close-no-modal:hover{transform:translateY(-2px);box-shadow:0 6px #000}.insist-no-btn{color:#888;cursor:pointer;background:0 0;border:none;width:100%;margin-top:15px;font-family:"Press Start 2P",cursive;font-size:.5rem;text-decoration:underline;display:block}.insist-no-btn:hover{color:#ff1744}.letter-modal-content{text-align:left;background:#fdf5e6;border:1px solid tan;border-radius:5px;flex-direction:column;width:450px;max-width:90%;max-height:85vh;padding:25px;animation:.8s ease-out fadeIn;display:flex;position:relative;box-shadow:0 10px 30px #0000004d}.letter-paper{background:#fdf5e6 linear-gradient(#e1d4c0 1px,#0000 1px) 0 0/100% 1.5em local;flex:1;min-height:200px;padding:10px;overflow-y:auto}.cursive-text{color:#4a3728;margin:0;font-family:Dancing Script,cursive;font-size:1.4rem;font-weight:700;line-height:1.5}.cursive-text-2{color:#4a3728;margin:0;font-family:cursive;font-size:1.2rem;line-height:1.5}.food-picker{max-width:450px!important}.food-picker-title{color:#d50000;text-align:center;text-shadow:2px 2px #fff;margin-bottom:10px;font-size:1.1rem;line-height:1.4}.food-picker-subtitle{color:#666;text-align:center;margin-bottom:20px;font-size:.6rem;line-height:1.5}.suggestions-container{flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:20px;display:flex}.suggestion-btn{cursor:pointer;color:#333;background:#fff;border:2px solid #ff1744;border-radius:20px;padding:8px 15px;font-family:"Press Start 2P",cursive;font-size:.5rem;transition:all .2s}.suggestion-btn:hover{background:#fff0f5;border-color:#d50000;transform:scale(1.05)}.food-textarea{resize:none;border:3px solid #ff1744;border-radius:12px;outline:none;width:100%;height:100px;margin-bottom:20px;padding:15px;font-family:"Press Start 2P",cursive;font-size:.7rem;line-height:1.6}.food-textarea:focus{box-shadow:0 0 10px #ff17444d}*{box-sizing:border-box;margin:0;padding:0}body,html{width:100%;height:100%;overflow:hidden}.app{background:#000;width:100%;min-height:100vh;font-family:"Press Start 2P",cursive;position:relative}canvas{width:100%;height:100vh;display:block}.mute-toggle{cursor:pointer;z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:3px solid #fff;border-radius:10px;padding:10px 15px;font-family:"Press Start 2P",cursive;font-size:1.2rem;transition:all .3s;position:fixed;top:20px;right:20px}.mute-toggle:hover{background:#ffffff4d;transform:scale(1.1)}.controls-hint{color:#fff;z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-shadow:2px 2px #000;background:#000000b3;border:3px solid #ff1744;border-radius:15px;padding:15px 20px;position:fixed;top:20px;left:20px}.controls-hint p{margin:5px 0;font-size:clamp(.5rem,1.5vw,.8rem);line-height:1.6}.menu-screen{z-index:1000;text-align:center;background-color:#0000;background-image:repeating-linear-gradient(0deg,#0000,#0000 2px,#0000001a 2px 4px),repeating-linear-gradient(90deg,#0000,#0000 2px,#0000001a 2px 4px),linear-gradient(45deg,#1e3a8a 0%,#7c2d12 50%,#be123c 100%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100vh;padding:20px;animation:5s ease-in-out infinite backgroundPulse;display:flex;position:fixed;top:0;left:0}@keyframes backgroundPulse{0%,to{filter:brightness()}50%{filter:brightness(1.15)}}.game-title{color:#fff;text-shadow:4px 4px #ff1744,-2px -2px #000,2px -2px #000,-2px 2px #000,2px 2px #000;margin-bottom:30px;font-size:clamp(2rem,8vw,4rem);line-height:1.3;animation:2s ease-in-out infinite titleBounce}@keyframes titleBounce{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-15px)scale(1.05)}}.game-subtitle{color:#feca57;text-shadow:3px 3px #000,-1px -1px #000,1px -1px #000,-1px 1px #000;margin-bottom:50px;font-size:clamp(.8rem,2.5vw,1.2rem);animation:2s ease-in-out infinite pulse}.game-hint{color:#ffffffb3;max-width:600px;margin-top:30px;font-size:clamp(.5rem,1.5vw,.7rem);line-height:1.6}button{cursor:pointer;border:none;outline:none;font-family:"Press Start 2P",cursive;transition:all .3s}.start-button,.restart-button{color:#fff;text-shadow:2px 2px #00000080;background:linear-gradient(#ff1744,#d50000);border:4px solid #000;border-radius:15px;padding:20px 40px;font-size:clamp(.9rem,2.5vw,1.3rem);box-shadow:0 8px #000,0 10px 20px #00000080}.start-button:hover,.restart-button:hover{background:linear-gradient(#ff5252,#ff1744);transform:scale(1.05)translateY(-2px);box-shadow:0 12px #000,0 15px 30px #00000080}.start-button:active,.restart-button:active{transform:translateY(4px);box-shadow:0 4px #000,0 6px 10px #00000080}.bounce{animation:1.5s ease-in-out infinite bounce}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.countdown-overlay{z-index:999;pointer-events:none;background:#00000080;justify-content:center;align-items:center;width:100%;height:100vh;display:flex;position:fixed;top:0;left:0}.countdown-number{color:#fff;text-shadow:5px 5px #ff1744,-3px -3px #000,3px -3px #000,-3px 3px #000,3px 3px #000;font-size:clamp(4rem,15vw,10rem);animation:1s ease-out countdownPulse}@keyframes countdownPulse{0%{opacity:0;transform:scale(0)}50%{opacity:1;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}.finish-screen{z-index:1000;text-align:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);flex-direction:column;justify-content:center;align-items:center;width:100%;height:100vh;padding:20px;animation:.5s ease-out fadeIn;display:flex;position:fixed;top:0;left:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.finish-title{color:#feca57;text-shadow:4px 4px #000,-2px -2px #000,2px -2px #000,-2px 2px #000;margin-bottom:30px;font-size:clamp(2rem,7vw,3.5rem);animation:.6s ease-out successPop}@keyframes successPop{0%{opacity:0;transform:scale(0)rotate(-10deg)}50%{transform:scale(1.2)rotate(5deg)}to{opacity:1;transform:scale(1)rotate(0)}}.finish-text{color:#fff;text-shadow:3px 3px #000,-1px -1px #000,1px -1px #000,-1px 1px #000;margin:15px 0;font-size:clamp(.9rem,2.5vw,1.3rem);animation:.8s ease-out backwards slideIn}.finish-text:nth-child(2){animation-delay:.2s}.finish-text:nth-child(3){animation-delay:.4s}.finish-text:nth-child(4){animation-delay:.6s}@keyframes slideIn{0%{opacity:0;transform:translate(-100px)}to{opacity:1;transform:translate(0)}}.hearts{flex-wrap:wrap;justify-content:center;gap:20px;margin:30px 0;display:flex}.floating-heart{filter:drop-shadow(0 0 10px #ff69b4cc);font-size:2.5rem;animation:3s ease-in-out infinite float}@keyframes float{0%,to{transform:translateY(0)rotate(0)scale(1)}25%{transform:translateY(-15px)rotate(5deg)scale(1.1)}50%{transform:translateY(-25px)rotate(-5deg)scale(1.15)}75%{transform:translateY(-15px)rotate(5deg)scale(1.1)}}.restart-button{margin-top:20px;animation:.8s ease-out backwards slideIn}@keyframes pulse{0%,to{opacity:.7}50%{opacity:1}}@media (max-width:768px){.controls-hint{padding:10px 15px;top:10px;left:10px}.controls-hint p{margin:3px 0;font-size:.5rem}.mute-toggle{padding:8px 12px;font-size:1rem;top:10px;right:10px}.game-title{font-size:2rem}.start-button,.restart-button{padding:15px 30px;font-size:.9rem}}@media (max-width:480px){.controls-hint p{font-size:.45rem}.game-hint{padding:0 10px;font-size:.5rem}.start-button,.restart-button{padding:12px 25px;font-size:.8rem}.hearts{gap:10px}.floating-heart{font-size:2rem}}.game-title,.game-subtitle,.finish-title,.finish-text,button{-webkit-user-select:none;user-select:none}.loading{color:#fff;text-shadow:2px 2px #000;font-size:1.5rem;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.touch-controls{z-index:2000;pointer-events:none;justify-content:space-between;width:100%;padding:0 20px;display:flex;position:fixed;bottom:20px;left:0}.touch-dpad,.touch-action{pointer-events:auto;align-items:flex-end;gap:15px;display:flex}.touch-btn{color:#fff;-webkit-user-select:none;user-select:none;touch-action:none;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-tap-highlight-color:transparent;background:#00000080;border:4px solid #ffffff80;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;font-size:1.5rem;transition:all .1s;display:flex}.touch-btn:active{background:#ff1744cc;border-color:#fff;transform:scale(.95)}.touch-btn.gas{background:#4caf5099;width:70px;height:70px;font-size:2rem}.touch-btn.brake{background:#f4433699}.touch-btn.left,.touch-btn.right{background:#2196f399}@media (max-height:500px) and (orientation:landscape){.touch-controls{bottom:10px}.touch-btn{width:60px;height:60px;font-size:1.2rem}.touch-btn.gas{width:60px;height:60px}}
