*{margin:0;padding:0;box-sizing:border-box}body{font-family:Nunito,sans-serif;background:#faf8f5;color:#3a3532;overflow:hidden;height:100vh}#scroll-container{height:100vh;overflow-y:auto;scroll-snap-type:y mandatory;scroll-behavior:smooth}#bg-canvas{position:fixed;top:0;left:0;width:100%;height:100%;z-index:0;opacity:.6}#rarity-btn{position:fixed;top:30px;right:30px;width:50px;height:50px;background:#c17a5f;border:none;border-radius:50%;color:#faf8f5;font-size:24px;font-weight:700;cursor:pointer;z-index:1000;opacity:0;transform:scale(0);transition:all .3s ease;box-shadow:0 4px 20px #c17a5f66}#rarity-btn.show{opacity:1;transform:scale(1);animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}#rarity-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);background:#faf8f5;padding:40px;border-radius:20px;z-index:1001;box-shadow:0 20px 60px #0000004d;text-align:center;opacity:0;transition:all .4s cubic-bezier(.68,-.55,.265,1.55);max-width:400px}#rarity-modal.show{opacity:1;transform:translate(-50%,-50%) scale(1)}#rarity-modal h2{font-size:28px;font-weight:700;margin-bottom:15px;color:#c17a5f}#rarity-modal p{font-size:16px;line-height:1.6;font-weight:400}#rarity-modal button{margin-top:25px;padding:12px 30px;background:#c17a5f;color:#faf8f5;border:none;border-radius:25px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease}#rarity-modal button:hover{background:#a0583c;transform:translateY(-2px)}section{min-height:100vh;height:100vh;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;padding:80px 60px;scroll-snap-align:start;scroll-snap-stop:always}.container{max-width:1200px;width:100%}.section-title{font-size:clamp(40px,6vw,80px);margin-bottom:40px;font-weight:700}#hero{position:relative;transition:opacity .3s ease}#hero h1{font-size:clamp(60px,12vw,180px);font-weight:700;line-height:.9;letter-spacing:-.02em;margin-bottom:30px;transition:transform .3s ease;will-change:transform}#hero .subtitle{font-size:clamp(20px,3vw,36px);font-weight:300;letter-spacing:.05em;color:#c17a5f;margin-left:4px;transition:transform .3s ease;will-change:transform}#hero .subtitle span{display:inline-block;opacity:0;animation:letterFadeIn .5s ease forwards}#hero .subtitle span:nth-child(1){animation-delay:0s}#hero .subtitle span:nth-child(2){animation-delay:.02s}#hero .subtitle span:nth-child(3){animation-delay:.04s}#hero .subtitle span:nth-child(4){animation-delay:.06s}#hero .subtitle span:nth-child(5){animation-delay:.08s}#hero .subtitle span:nth-child(6){animation-delay:.1s}#hero .subtitle span:nth-child(7){animation-delay:.12s}#hero .subtitle span:nth-child(8){animation-delay:.14s}#hero .subtitle span:nth-child(9){animation-delay:.16s}#hero .subtitle span:nth-child(10){animation-delay:.18s}#hero .subtitle span:nth-child(11){animation-delay:.2s}#hero .subtitle span:nth-child(12){animation-delay:.22s}#hero .subtitle span:nth-child(13){animation-delay:.24s}#hero .subtitle span:nth-child(14){animation-delay:.26s}#hero .subtitle span:nth-child(15){animation-delay:.28s}#hero .subtitle span:nth-child(16){animation-delay:.3s}#hero .subtitle span:nth-child(17){animation-delay:.32s}#hero .subtitle span:nth-child(18){animation-delay:.34s}#hero .subtitle span:nth-child(19){animation-delay:.36s}#hero .subtitle span:nth-child(20){animation-delay:.38s}#hero .subtitle span:nth-child(21){animation-delay:.4s}#hero .subtitle span:nth-child(22){animation-delay:.42s}#hero .subtitle span:nth-child(23){animation-delay:.44s}#hero .subtitle span:nth-child(24){animation-delay:.46s}#hero .subtitle span:nth-child(25){animation-delay:.48s}#hero .subtitle span:nth-child(26){animation-delay:.5s}#hero .subtitle span:nth-child(27){animation-delay:.52s}#hero .subtitle span:nth-child(28){animation-delay:.54s}#hero .subtitle span:nth-child(29){animation-delay:.56s}#hero .subtitle span:nth-child(30){animation-delay:.58s}#hero .subtitle span:nth-child(31){animation-delay:.6s}#hero .subtitle span:nth-child(32){animation-delay:.62s}#hero .subtitle span:nth-child(33){animation-delay:.64s}#hero .subtitle span:nth-child(34){animation-delay:.66s}#hero .subtitle span:nth-child(35){animation-delay:.68s}#hero .subtitle span:nth-child(36){animation-delay:.7s}#hero .subtitle span:nth-child(37){animation-delay:.72s}#hero .subtitle span:nth-child(38){animation-delay:.74s}#hero .subtitle span:nth-child(39){animation-delay:.76s}#hero .subtitle span:nth-child(40){animation-delay:.78s}#hero .subtitle span:nth-child(41){animation-delay:.8s}@keyframes letterFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}#about{background:linear-gradient(135deg,rgba(123,140,115,.05) 0%,transparent 100%)}#about p{font-size:clamp(18px,2vw,24px);line-height:1.7;max-width:800px;font-weight:300}.tech-pills{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.tech-pill{padding:8px 18px;background:#c17a5f;color:#faf8f5;border-radius:20px;font-size:14px;font-weight:500;white-space:nowrap;opacity:0;transform:translate(0)}.tech-pill.from-left{animation:typewriterIn .5s ease forwards}@keyframes typewriterIn{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.projects-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:30px}.project-card:nth-child(1){grid-column:span 7}.project-card:nth-child(2){grid-column:span 5}.project-card:nth-child(3){grid-column:span 12}.project-card{background:#fff;border-radius:12px;overflow:hidden;transition:all .4s cubic-bezier(.4,0,.2,1);cursor:pointer;position:relative;text-decoration:none;color:inherit;display:block;opacity:0;transform:translateY(30px)}.project-card.animate{animation:projectSlideIn .6s ease forwards}@keyframes projectSlideIn{to{opacity:1;transform:translateY(0)}}.project-card:hover{transform:translateY(-10px);box-shadow:0 20px 40px #c17a5f26}.project-image{width:100%;height:250px;background:linear-gradient(135deg,#c17a5f,#7b8c73);display:flex;align-items:center;justify-content:center;font-size:48px;font-weight:700;color:#fff;transition:all .4s ease;position:relative;overflow:hidden}.project-card:nth-child(1) .project-image{background:linear-gradient(135deg,#c17a5f,#a0583c)}.project-card:nth-child(2) .project-image{background:linear-gradient(135deg,#7b8c73,#5a6b54)}.project-card:nth-child(3) .project-image{background:linear-gradient(135deg,#9b7b6f,#c17a5f);height:200px}.project-image svg{width:80px;height:80px;stroke:#ffffffe6;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:all .4s ease}.project-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#3a3532d9;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .4s ease}.project-card:hover .project-overlay{opacity:1}.view-project-btn{padding:12px 30px;background:#c17a5f;color:#faf8f5;border:2px solid #C17A5F;border-radius:25px;font-size:16px;font-weight:500;text-decoration:none;transition:all .3s ease;transform:translateY(10px)}.project-card:hover .view-project-btn{transform:translateY(0);background:transparent;border-color:#faf8f5}.project-card:hover .project-image svg{transform:scale(.9);opacity:.3}.project-card:hover .project-image{transform:scale(1.05)}.project-info{padding:30px}.project-info h3{font-size:24px;font-weight:700;margin-bottom:12px;color:#3a3532}.project-info p{font-size:16px;line-height:1.6;color:#6b6662;font-weight:300}#contact{background:linear-gradient(135deg,rgba(193,122,95,.05) 0%,transparent 100%)}#contact p{font-size:clamp(18px,2vw,24px);line-height:1.7;margin-bottom:40px;font-weight:300}.contact-links{display:flex;gap:30px;flex-wrap:wrap}.contact-link{padding:15px 35px;background:#c17a5f;color:#faf8f5;text-decoration:none;border-radius:30px;font-size:16px;font-weight:500;transition:all .3s ease;display:inline-block;position:relative;opacity:0;transform:translate(-30px)}.contact-link.animate{animation:typewriterIn .5s ease forwards}.contact-link:hover{background:#a0583c;transform:translateY(-3px);box-shadow:0 10px 25px #c17a5f4d}.projects-grid.mobile-scroll{display:flex;flex-direction:row;overflow-x:scroll;overflow-y:hidden;scroll-snap-type:x mandatory;gap:15px;padding:0 7.5vw 20px;-webkit-overflow-scrolling:touch;scrollbar-width:none;grid-template-columns:none}.projects-grid.mobile-scroll::-webkit-scrollbar{display:none}.project-card.mobile-card{min-width:85vw;max-width:85vw;scroll-snap-align:center;flex-shrink:0}.scroll-indicators{display:flex;justify-content:center;gap:8px;margin-top:-10px;padding:0}.scroll-indicators .indicator{width:8px;height:8px;border-radius:50%;background:#c17a5f4d;transition:all .3s ease;display:block}.scroll-indicators .indicator.active{background:#c17a5f;width:24px;border-radius:4px}@media(max-width:768px){#rarity-btn{right:20px;top:20px}#scroll-container{scroll-snap-type:none}section{padding:60px 30px;min-height:100vh;height:auto;scroll-snap-align:none}#hero{height:100vh;scroll-snap-align:start}#hero .subtitle{font-size:14px;line-height:1.3}#about{padding-bottom:60px}#work{height:auto;min-height:auto;padding-top:40px;padding-bottom:120px}.projects-grid{grid-template-columns:1fr!important;gap:30px}.project-card:nth-child(1),.project-card:nth-child(2),.project-card:nth-child(3){grid-column:span 1!important}.tech-pills{gap:8px;margin-bottom:20px}.contact-links{flex-direction:column;align-items:stretch}.contact-link{text-align:center}}
