:root{--bg1:#0F0C1A;--bg2:#2E1A5F;--card:#1B1030;--muted:#BDB2FF;--accent-start:#7C3AED;--accent-end:#9D4EDD;--orange:#FF8C42;--white:#EDE9FE;--box-w:80px;--box-h:64px;--content-max:820px;--font-heading: "Poppins", sans-serif;--font-body: "Inter", sans-serif;--green-start: #34D399;--green-end: #10B981}*{box-sizing:border-box}html,body{min-height:100%;margin:0;font-family:var(--font-body);-webkit-font-smoothing:antialiased}body{background:linear-gradient(135deg,var(--bg1),var(--bg2));color:var(--white)}h1,h2,h3{font-family:var(--font-heading)}.bottom-ad-container{display:flex;justify-content:center;padding:24px 0}.main-layout{display:flex;justify-content:center;align-items:flex-start;gap:24px;padding:0 16px}.sidebar{display:flex;flex-direction:column;gap:24px;width:160px;flex-shrink:0;position:sticky;top:24px;max-height:calc(100vh - 48px);overflow-y:auto}.sidebar.sidebar-right{padding-top:180px}.wrap{max-width:var(--content-max);width:100%;margin:0}.side-ad{flex-shrink:0;display:flex;align-items:flex-start}.calculator{background:var(--card);padding:24px;border-radius:16px;box-shadow:0 8px 30px #2e1a5f59}.birth-container{border:1px solid rgba(255,140,66,.25);padding:16px;border-radius:10px;background:#0000001a;margin:16px 0}.birth-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.birth-title{font-weight:600;color:var(--muted);font-size:1rem;animation:pulse 2.5s infinite cubic-bezier(.4,0,.6,1);font-family:var(--font-heading)}.date-inputs-grid{display:grid;grid-template-columns:1.5fr 1fr 1.2fr;gap:12px}.select-container{position:relative}.select-display-button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 12px;background:#2e1a5f;border-radius:8px;border:1px solid #3a2750;transition:border-color .2s,box-shadow .2s;color:var(--white);font-size:1rem;font-family:var(--font-body);text-align:left;cursor:pointer}.select-display-button:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 2px #ff8c4280}.select-display-button:disabled{cursor:not-allowed;background:#3a2750;opacity:.7}.select-display-button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.select-display-button.placeholder span{color:var(--muted)}.select-icon{width:20px;height:20px;color:var(--muted);transition:transform .2s;flex-shrink:0;margin-left:8px}.select-icon.open{transform:rotate(180deg)}.select-options{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--card);border:1px solid #3a2750;border-radius:8px;padding:4px;margin:0;list-style:none;max-height:200px;overflow-y:auto;z-index:10;box-shadow:0 4px 12px #00000040}.select-options li{padding:8px 12px;border-radius:6px;cursor:pointer;transition:background-color .2s;color:var(--white);font-size:.95rem}.select-options li:hover{background-color:var(--bg2)}.select-options li.selected{background-color:var(--accent-start);font-weight:600;color:var(--white)}.select-options::-webkit-scrollbar{width:8px}.select-options::-webkit-scrollbar-track{background:#0003;border-radius:4px}.select-options::-webkit-scrollbar-thumb{background:#3a2750;border-radius:4px}.select-options::-webkit-scrollbar-thumb:hover{background:#4a3760}.button-row{display:flex;justify-content:flex-end;margin-top:16px}.btn{padding:10px 16px;border-radius:8px;border:none;cursor:pointer;font-weight:700;font-size:.95rem;transition:all .2s}.btn.reset{background:linear-gradient(45deg,var(--accent-start),var(--accent-end));color:var(--white)}.btn.reset:hover{opacity:.9;transform:scale(1.02)}.btn.reset:disabled{opacity:.5;cursor:not-allowed;background:#3a2750}.results{margin-top:24px}.age-rows-container{display:flex;gap:12px;justify-content:center;margin-bottom:12px;flex-wrap:wrap}.age-row{display:contents}.box{background:#2e1a5f;width:var(--box-w);height:var(--box-h);min-width:60px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform .2s}.box:hover{transform:translateY(-4px)}.box span{font-size:2.25rem;font-weight:700;font-family:var(--font-heading);line-height:1.2}.box small{display:block;font-size:.875rem;color:var(--muted);margin-top:4px;text-align:center}.generation-box{background:#2e1a5f80;border:1px solid #3a2750;border-radius:10px;padding:16px;margin-top:0;text-align:center}.generation-prefix{color:var(--muted);font-size:1rem}.generation-name{font-family:var(--font-heading);font-weight:700;font-size:2.25rem;color:var(--orange);margin:4px 0;line-height:1.2}.generation-trait{display:inline-block;background-color:#ff8c421a;color:var(--orange);padding:4px 12px;border-radius:9999px;font-weight:600;font-size:.9rem;margin-bottom:8px;border:1px solid rgba(255,140,66,.2)}.generation-years{color:var(--muted);font-size:1rem;margin-bottom:12px}.generation-desc{color:var(--muted);font-size:1rem;line-height:1.5;white-space:pre-line}.notice{margin-top:16px;color:var(--muted);font-size:.875rem;text-align:center}.btn-smartlink{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:16px;margin:24px 0;border:none;border-radius:12px;background:linear-gradient(45deg,var(--green-start),var(--green-end));color:#fff;font-family:var(--font-heading);font-size:1.25rem;font-weight:700;cursor:pointer;text-decoration:none;transition:all .3s cubic-bezier(.25,.8,.25,1);box-shadow:0 4px 15px #34d39933;animation:pulse-green 2s infinite}.btn-smartlink:hover{transform:translateY(-3px);box-shadow:0 8px 25px #34d3994d;animation-play-state:paused}.btn-smartlink svg{width:28px;height:28px}.funny-message{margin-bottom:24px;padding:16px;border-radius:8px;background-color:#ff8c421a;border:1px solid rgba(255,140,66,.2);text-align:center}.funny-message-title{font-family:var(--font-heading);font-size:1.1rem;font-weight:600;color:var(--orange);margin:0 0 8px}.funny-message-text{color:#ffd3b8;font-style:italic;font-size:.95rem;margin:0}.gen-section{margin-top:32px;padding-bottom:32px}.gen-section h2{margin:0 0 16px;font-size:1.5rem;text-align:center}.gen-cards{display:grid;gap:12px}.gen-card{background:#0000001a;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:16px;transition:all .2s ease-in-out;display:flex;align-items:flex-start;gap:16px}.gen-card.highlight{border-color:var(--orange);box-shadow:0 0 15px #ff8c4233;transform:scale(1.01)}.gen-card-header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.gen-card-title{font-family:var(--font-heading);font-size:1.125rem;font-weight:600;color:var(--white)}.gen-card-years{font-size:.9rem;color:var(--muted);font-weight:500;white-space:nowrap}.gen-card-desc{margin-top:8px;font-size:.9rem;color:var(--muted);line-height:1.6;white-space:pre-line}.gen-card-icon-wrapper{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background-color:#7c3aed26;border-radius:8px;transition:all .2s ease-in-out}.gen-card-icon{width:24px;height:24px;color:var(--muted);transition:color .2s ease-in-out}.gen-card.highlight .gen-card-icon-wrapper{background-color:#ff8c4226}.gen-card.highlight .gen-card-icon{color:var(--orange)}.gen-card-content{flex-grow:1}.birth-title.animation-stopped{animation:none;opacity:1;transform:scale(1)}.header-wrapper{display:flex;flex-direction:column;align-items:center;position:relative}.header-content{flex-grow:1;text-align:center}.language-selector-wrapper{position:relative}.language-selector-button{display:flex;align-items:center;gap:8px;padding:6px 12px;background-color:var(--bg2);border:1px solid #3a2750;color:var(--muted);border-radius:8px;font-size:.875rem;font-family:var(--font-body);cursor:pointer;transition:background-color .2s}.language-selector-button:hover{background-color:#3a2750}.language-selector-chevron{width:16px;height:16px;transition:transform .2s}.language-selector-chevron.open{transform:rotate(180deg)}.language-dropdown-menu{position:absolute;top:100%;right:0;margin-top:4px;padding:8px;list-style:none;background-color:var(--card);border:1px solid #3a2750;border-radius:8px;box-shadow:0 4px 12px #00000040;z-index:10;width:150px}.language-dropdown-menu li{padding:8px 12px;border-radius:6px;cursor:pointer;font-size:.875rem;transition:background-color .2s}.language-dropdown-menu li:hover{background-color:var(--bg2)}.header-title-container{display:flex;align-items:center;justify-content:center;gap:1rem}.header-icon-container{display:inline-flex;padding:1rem;border-radius:9999px;background-color:#ff8c421a;border:1px solid rgba(255,140,66,.2);cursor:pointer;transition:transform .2s,box-shadow .2s}.header-icon-container:hover{transform:scale(1.05);box-shadow:0 0 15px #ff8c424d}.header-icon{width:2.5rem;height:2.5rem;color:var(--orange)}.help-section{padding:1rem;border-radius:.5rem;background-color:#0003;border:1px solid rgba(124,58,237,.3);text-align:left;margin-top:1.5rem}.help-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.help-title{font-family:var(--font-heading);font-weight:600;font-size:1.125rem;color:var(--muted)}.help-list{list-style-position:inside;list-style-type:"✧ ";color:#bdb2ffcc;font-size:.875rem;padding-left:4px}.help-list li+li{margin-top:.25rem}.share-buttons{display:flex;justify-content:center;gap:12px;margin-top:16px;flex-wrap:wrap}.btn-share{display:inline-flex;align-items:center;gap:8px;color:#fff;padding:10px 16px;border-radius:8px;font-weight:600;text-decoration:none;transition:background-color .2s,transform .2s;border:none;cursor:pointer;font-size:.9rem}.btn-share:hover{transform:scale(1.03)}.btn-share svg{width:20px;height:20px}.btn-share-whatsapp{background-color:#25d366}.btn-share-whatsapp:hover{background-color:#1ebe57}.btn-share-pinterest{background-color:#e60023}.btn-share-pinterest:hover{background-color:#bd081c}.btn-share-download{background-color:#5a3a8a}.btn-share-download:hover{background-color:#4b2f72}.header-menu-wrapper{position:relative}.header-menu-dropdown{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);background:var(--card);border:1px solid #3a2750;border-radius:8px;padding:8px;z-index:20;box-shadow:0 4px 12px #00000040;width:max-content;display:flex;flex-direction:column;gap:4px}.header-menu-item{display:flex;align-items:center;gap:12px;padding:10px 16px;border-radius:6px;cursor:pointer;transition:background-color .2s;color:var(--white);font-size:.95rem;font-family:var(--font-body);background:none;border:none;text-align:left;width:100%}.header-menu-item:hover{background-color:var(--bg2)}.header-menu-item:disabled{opacity:.5;cursor:not-allowed}.header-menu-item svg{width:20px;height:20px;color:var(--muted)}.pin-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0f0c1acc;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.pin-modal-content{background:var(--card);border:1px solid #3a2750;border-radius:16px;padding:24px;max-width:400px;width:100%;box-shadow:0 8px 30px #2e1a5f59;max-height:90vh;overflow-y:auto}.pin-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.pin-modal-header h3{font-size:1.25rem;font-weight:600;color:var(--white);margin:0}.pin-modal-close-btn{background:none;border:none;color:var(--muted);cursor:pointer;padding:4px}.pin-modal-close-btn:disabled{opacity:.5;cursor:not-allowed}.pin-modal-close-btn svg{width:24px;height:24px}.pin-modal-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 0;text-align:center}.pin-modal-loader .spinner{width:48px;height:48px;border:4px solid var(--bg2);border-top-color:var(--orange);border-radius:50%;animation:spin 1s linear infinite}.pin-modal-loader p{margin-top:16px;color:var(--muted)}.pin-modal-image{width:100%;aspect-ratio:2 / 3;object-fit:cover;border-radius:8px;margin-bottom:16px;background-color:var(--bg1)}.pin-modal-field{margin-bottom:12px}.pin-modal-field label{display:block;font-size:.875rem;font-weight:600;color:var(--muted);margin-bottom:4px}.pin-modal-copy-wrapper{display:flex;gap:8px}.pin-modal-copy-wrapper p,.pin-modal-copy-wrapper textarea{flex-grow:1;padding:8px 12px;background:var(--bg2);border:1px solid #3a2750;border-radius:6px;color:var(--white);font-size:.95rem;margin:0}.pin-modal-copy-wrapper textarea{resize:none;font-family:var(--font-body)}.pin-modal-copy-wrapper button{flex-shrink:0;padding:8px;background:var(--accent-start);border:none;border-radius:6px;cursor:pointer}.pin-modal-copy-wrapper button:hover{opacity:.9}.pin-modal-copy-wrapper button svg{width:20px;height:20px;color:var(--white)}.w-full{width:100%}.mt-4{margin-top:1rem}.password-modal{max-width:350px}.password-form p{color:var(--muted);margin-bottom:16px;font-size:.95rem;text-align:center}.password-input{width:100%;padding:10px 12px;background:var(--bg2);border:1px solid #3a2750;border-radius:8px;color:var(--white);font-size:1rem;margin-bottom:12px;transition:border-color .2s,box-shadow .2s}.password-input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 2px #ff8c4280}.password-error{color:#f87171;font-size:.875rem;text-align:center;margin:-4px 0 12px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes selection-glow{0%{background-color:var(--card)}50%{background-color:#3a2750}to{background-color:var(--card)}}.selection-active>.select-display-button{animation:selection-glow .5s ease-out}@keyframes pulse{0%,to{transform:scale(1);opacity:.8}50%{transform:scale(1.03);opacity:1}}@keyframes pulse-green{0%{transform:scale(.98);box-shadow:0 0 #34d399b3}70%{transform:scale(1);box-shadow:0 0 0 10px #34d39900}to{transform:scale(.98);box-shadow:0 0 #34d39900}}@media(max-width:1200px){.side-ad,.sidebar{display:none}.main-layout{padding:0}.wrap{margin:0 auto}}@media screen and (max-width:640px){.header-title-container{gap:.75rem}.header-icon-container{padding:.75rem}.header-icon{width:2rem;height:2rem}.age-rows-container{flex-direction:column;gap:6px}.age-row{display:flex;gap:6px}.age-row .box{flex:1}.box{width:100%;height:auto;padding:8px 4px;min-width:0}.box span{font-size:1.75rem;line-height:1.1}.box small{font-size:.75rem;margin-top:2px;word-wrap:break-word}.generation-results-wrapper{display:flex;flex-direction:column-reverse}.date-inputs-grid{grid-template-columns:2fr 1.2fr 1.5fr}}
