*{margin:0;padding:0;box-sizing:border-box}:root{--bg: #0d0d1a;--bg-light: #1a1a2e;--text: #e8e6e3;--text-light: #9d9d9d;--accent: #c9a87c;--accent-glow: rgba(201, 168, 124, .3);--border: #3d3d5c;--success: #7cb87c}html{height:100%;background-color:var(--bg)}body{min-height:100%;min-height:100dvh;font-family:Cormorant Garamond,Georgia,serif;background:linear-gradient(180deg,var(--bg) 0%,var(--bg-light) 100%);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;overflow-x:hidden}.stars-bg{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}.star{position:absolute;width:2px;height:2px;background:#fff;border-radius:50%;opacity:.4;animation:twinkle 3s ease-in-out infinite}.star:nth-child(3n){width:3px;height:3px;opacity:.6}.star:nth-child(5n){width:1px;height:1px;opacity:.3}@keyframes twinkle{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.8;transform:scale(1.2)}}.stars-bg.celebration .star{animation:twinkle-fast .5s ease-in-out infinite}@keyframes twinkle-fast{0%,to{opacity:.5}50%{opacity:1}}#app{position:relative;z-index:1;min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:2rem}.screen{width:min(100%,500px);display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80vh;min-height:80dvh;text-align:center}.hidden{display:none!important}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes glow{0%,to{box-shadow:0 0 20px var(--accent-glow)}50%{box-shadow:0 0 40px var(--accent-glow),0 0 60px var(--accent-glow)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.fade-in{animation:fadeIn .4s ease-out forwards}.fade-out{animation:fadeOut .4s ease-out forwards}.title{font-size:clamp(2.5rem,8vw,4rem);font-weight:400;letter-spacing:-.02em;margin-bottom:.5rem;text-align:center;background:linear-gradient(135deg,var(--text) 0%,var(--accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subtitle{font-size:1.1rem;color:var(--text-light);font-style:italic;margin-bottom:3rem}.form-container{width:min(100%,320px);display:flex;flex-direction:column;align-items:center;gap:1.5rem}.input-group{width:100%;text-align:center;position:relative}.input-group label{display:block;font-size:.95rem;color:var(--text-light);margin-bottom:.5rem}input[type=date]{width:100%;padding:1rem 1.25rem;font-family:inherit;font-size:1.1rem;background:#ffffff0d;border:1px solid var(--border);border-radius:8px;color:var(--text);transition:all .2s ease;cursor:pointer;-webkit-appearance:none;appearance:none}input[type=date]::-webkit-calendar-picker-indicator{filter:invert(.8);cursor:pointer}input[type=date]:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}.zodiac-badge{display:block;margin-top:.5rem;font-size:.9rem;color:var(--accent);opacity:0;transform:translateY(-5px);transition:all .3s ease}.zodiac-badge.visible{opacity:1;transform:translateY(0)}.submit-btn{margin-top:1rem;padding:1rem 2rem;background:linear-gradient(135deg,var(--accent) 0%,#a08060 100%);border:none;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s ease;color:var(--bg);font-family:inherit;font-size:1rem}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 20px var(--accent-glow)}.submit-btn:disabled{opacity:.4;cursor:not-allowed}.star-icon{width:18px;height:18px}.result-content{text-align:center;display:flex;flex-direction:column;align-items:center;opacity:0}.result-content.animate{animation:fadeIn .6s ease-out .2s forwards}.zodiac-pair{display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:1.5rem}.zodiac-large{font-size:3.5rem;line-height:1}.heart-connector{font-size:1.5rem;animation:pulse 2s ease-in-out infinite}.compatibility-meter{margin-bottom:2rem;text-align:center;display:flex;flex-direction:column;align-items:center}.compat-box{padding:1.5rem 2.5rem;border-radius:16px;display:flex;flex-direction:column;align-items:center;gap:.25rem}.compatibility-meter.match .compat-box{background:linear-gradient(135deg,#ffd70026,#ff6b6b26);border:1px solid rgba(255,215,0,.3)}.compatibility-meter.nomatch .compat-box{background:#ffffff0d;border:1px solid var(--border)}.compat-number{display:block;font-size:clamp(3rem,12vw,5rem);font-weight:600;line-height:1}.compatibility-meter.match .compat-number{background:linear-gradient(135deg,gold,#ff6b6b,gold);background-size:200% 200%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:gradient-shift 3s ease infinite}@keyframes gradient-shift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.compatibility-meter.nomatch .compat-number{color:var(--text-light)}.compat-label{font-size:1rem;color:var(--text-light);text-transform:uppercase;letter-spacing:.1em}.result-title{font-size:clamp(1.75rem,5vw,2.5rem);font-weight:400;margin-bottom:.75rem}.result-subtitle{font-size:1.1rem;color:var(--text-light);line-height:1.5}.reset-btn{margin-top:2rem;width:44px;height:44px;background:#ffffff1a;border:1px solid var(--border);border-radius:50%;font-size:1.25rem;color:var(--text-light);cursor:pointer;transition:all .2s ease}.reset-btn:hover{border-color:var(--accent);color:var(--accent)}.nudge-text{margin-top:1rem;font-size:.85rem;color:var(--text-light);opacity:.6;font-style:italic}.easter-egg-icon{font-size:4rem;margin-bottom:1.5rem;line-height:1}.easter-egg-small{font-size:.9rem;opacity:.7;display:block;margin-top:.5rem}@media(max-width:480px){#app{padding:1.5rem}.screen{min-height:70vh;min-height:70dvh}.zodiac-large{font-size:3rem}.result-actions{flex-direction:column;gap:.75rem}.share-btn{width:100%}}.constellation-bg{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}.constellation-wrapper{position:absolute;transition:transform .1s ease-out}.constellation-wrapper.left{left:5%;top:20%;width:150px;height:150px}.constellation-wrapper.right{right:5%;top:25%;width:150px;height:150px}.constellation{width:100%;height:100%;opacity:0;transition:opacity 1s ease;transform-origin:center;animation:slowRotate 120s linear infinite}.constellation.visible{opacity:.6}.constellation.right{animation-direction:reverse}.constellation circle{fill:#fff;opacity:0;transform-origin:center;animation:starPulse 3s ease-in-out infinite}.constellation.visible circle{animation:starAppear .5s ease forwards,starPulse 3s ease-in-out infinite}.constellation.visible circle:nth-child(1){animation-delay:0s,.5s}.constellation.visible circle:nth-child(2){animation-delay:.1s,.6s}.constellation.visible circle:nth-child(3){animation-delay:.2s,.7s}.constellation.visible circle:nth-child(4){animation-delay:.3s,.8s}.constellation.visible circle:nth-child(5){animation-delay:.4s,.9s}.constellation.visible circle:nth-child(6){animation-delay:.5s,1s}.constellation.visible circle:nth-child(7){animation-delay:.6s,1.1s}.constellation.visible circle:nth-child(8){animation-delay:.7s,1.2s}.constellation line{stroke:#fff6;stroke-width:1;stroke-dasharray:100;stroke-dashoffset:100}.constellation.visible line{animation:drawLine 1s ease forwards}.constellation.visible line:nth-of-type(1){animation-delay:.8s}.constellation.visible line:nth-of-type(2){animation-delay:.9s}.constellation.visible line:nth-of-type(3){animation-delay:1s}.constellation.visible line:nth-of-type(4){animation-delay:1.1s}.constellation.visible line:nth-of-type(5){animation-delay:1.2s}.constellation.visible line:nth-of-type(6){animation-delay:1.3s}.constellation.visible line:nth-of-type(7){animation-delay:1.4s}.constellation-bg.celebration .constellation{animation:celebrationPulse .5s ease-in-out infinite alternate,celebrationGlow 1s ease-in-out infinite}.constellation-bg.celebration .constellation circle{animation:starBurst .3s ease-out forwards,starPulse .5s ease-in-out infinite!important;filter:drop-shadow(0 0 8px #ffd700)}.constellation-bg.celebration .constellation line{stroke:#ffd700cc;stroke-width:2;filter:drop-shadow(0 0 4px #ffd700)}.particles{position:fixed;inset:0;pointer-events:none;z-index:2;overflow:hidden}.particle{position:absolute;width:4px;height:4px;background:gold;border-radius:50%;opacity:0;box-shadow:0 0 6px currentColor}.particle.sparkle{border-radius:2px;transform:rotate(45deg);box-shadow:0 0 10px currentColor,0 0 20px currentColor}.particle.mini{box-shadow:0 0 4px currentColor}.particle.floater{background:none;box-shadow:none;width:auto;height:auto;text-shadow:0 0 10px rgba(255,215,0,.8)}.particles.active .particle{animation:particleExplode 2s ease-out forwards}.particles.active .particle.sparkle{animation:sparkleExplode 2s ease-out forwards}.particles.active .particle.floater{animation:floatUp 4s ease-out forwards}@keyframes slowRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes starPulse{0%,to{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.3)}}@keyframes starAppear{0%{opacity:0;transform:scale(0)}to{opacity:.8;transform:scale(1)}}@keyframes starBurst{0%{transform:scale(1)}50%{transform:scale(2);filter:brightness(2)}to{transform:scale(1)}}@keyframes drawLine{to{stroke-dashoffset:0}}@keyframes celebrationPulse{0%{transform:scale(1) rotate(0);filter:brightness(1)}to{transform:scale(1.1) rotate(5deg);filter:brightness(1.5)}}@keyframes celebrationGlow{0%,to{filter:drop-shadow(0 0 10px rgba(255,215,0,.5))}50%{filter:drop-shadow(0 0 30px rgba(255,215,0,.9)) drop-shadow(0 0 60px rgba(255,107,107,.5))}}@keyframes particleExplode{0%{opacity:1;transform:translate(0) scale(1) rotate(0)}20%{opacity:1}to{opacity:0;transform:translate(var(--tx),var(--ty)) scale(0) rotate(var(--rot, 360deg))}}@keyframes sparkleExplode{0%{opacity:1;transform:translate(0) scale(1) rotate(45deg);filter:brightness(2)}30%{opacity:1;filter:brightness(1.5)}to{opacity:0;transform:translate(var(--tx),var(--ty)) scale(0) rotate(calc(45deg + var(--rot, 360deg)));filter:brightness(1)}}@keyframes floatUp{0%{opacity:0;transform:translateY(0) translate(0) scale(.5)}10%{opacity:1;transform:translateY(-20px) translate(var(--float-x, 0)) scale(1)}80%{opacity:1}to{opacity:0;transform:translateY(-100vh) translate(calc(var(--float-x, 0) * 2)) scale(.8) rotate(10deg)}}.parallax-layer{transition:transform .1s ease-out}@media(max-width:480px){.constellation-wrapper.left{left:-5%;top:10%;width:120px;height:120px}.constellation-wrapper.right{right:-5%;top:15%;width:120px;height:120px}}
