*{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;min-height:100%}body{font-family:serif;overflow-x:hidden}.opening{position:relative;width:100%;min-height:100svh;height:auto;overflow:hidden;display:flex;justify-content:center;align-items:center;padding:32px 16px;padding-bottom:calc(32px + env(safe-area-inset-bottom))}img{max-width:100%;display:block}.bg,.gebyok{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.bg{z-index:0;background-image:url(/themes/java/assets/images/webp/green-background-1080.webp);background-size:cover;background-position:center}.gebyok{z-index:1;background-image:url(/themes/java/assets/images/webp/gebyok-1080.webp);background-size:cover;background-position:center;background-repeat:no-repeat;opacity:0;transform:scale(1.08);animation:gebyokZoom 1.8s cubic-bezier(.22,1,.36,1) forwards}.grass{position:absolute;bottom:0;pointer-events:none;background-size:contain;background-repeat:no-repeat;background-position:bottom;z-index:2;transform-origin:bottom center}.grass.left{left:0}.grass.right{right:0}.grass.left.g1{width:clamp(100px,28vw,150px);height:clamp(150px,34vw,210px);background-image:url(/themes/java/assets/images/webp/grass-left-1.webp)}.grass.left.g2{width:clamp(100px,28vw,150px);height:clamp(140px,32vw,190px);background-image:url(/themes/java/assets/images/webp/grass-left-4.webp)}.grass.left.g3{width:clamp(120px,32vw,170px);height:clamp(120px,30vw,170px);background-image:url(/themes/java/assets/images/webp/grass-left-4.webp)}.grass.left.g4{width:clamp(120px,32vw,180px);height:clamp(110px,28vw,160px);background-image:url(/themes/java/assets/images/webp/grass-left-4.webp)}.grass.right.g1{width:clamp(100px,28vw,150px);height:clamp(150px,34vw,210px);background-image:url(/themes/java/assets/images/webp/grass-right-1.webp)}.grass.right.g2{width:clamp(100px,28vw,150px);height:clamp(140px,32vw,190px);background-image:url(/themes/java/assets/images/webp/grass-right-4.webp)}.grass.right.g3{width:clamp(120px,32vw,170px);height:clamp(120px,30vw,170px);background-image:url(/themes/java/assets/images/webp/grass-right-4.webp)}.grass.right.g4{width:clamp(120px,32vw,180px);height:clamp(110px,28vw,160px);background-image:url(/themes/java/assets/images/webp/grass-right-4.webp)}.grass.left.g3{left:clamp(24px,9vw,56px)}.grass.left.g4{left:clamp(52px,16vw,96px)}.grass.right.g3{right:clamp(24px,9vw,56px)}.grass.right.g4{right:clamp(52px,16vw,96px)}.rose{position:absolute;left:50%;bottom:0;width:clamp(120px,34vw,170px);height:clamp(140px,38vw,200px);transform:translate(-50%);pointer-events:none;background-image:url(/themes/java/assets/images/webp/rose-bottom-center.webp);background-size:contain;background-repeat:no-repeat;background-position:bottom;z-index:3}.static{animation:none!important}.grass,.rose,.gebyok{will-change:transform}.animate.g1{animation:sway-right 3s ease-in-out infinite;opacity:.9}.animate.g2{animation:sway-left 4s ease-in-out infinite;animation-delay:1s;opacity:.9}.animate.g3{animation:sway-right 4s ease-in-out infinite;animation-delay:2s;opacity:.9}.animate.g4{animation:sway-left 3s ease-in-out infinite;animation-delay:3s;opacity:.9}.content{position:relative;z-index:4;width:100%;max-width:340px;margin:0 auto;text-align:center;padding:48px 24px 24px;color:#8b4513;transform:translateY(clamp(24px,9vh,72px))}.opening-heading{margin-bottom:18px}.invited-text{font-family:Cormorant Garamond,serif;font-size:14px;letter-spacing:3px;margin-bottom:2px;opacity:.88}.guest-invitation{margin-bottom:22px;text-align:center}.guest-name{font-family:Cormorant Garamond,serif;font-size:clamp(16px,4.6vw,20px);font-weight:600;margin-bottom:2px}.guest-text{font-family:Cormorant Garamond,serif;text-transform:uppercase;font-size:13px;letter-spacing:5px;margin-bottom:0;opacity:.9}.title{font-family:Great Vibes,serif;font-size:clamp(42px,12vw,58px);line-height:1.05;display:flex;flex-direction:column;align-items:center;gap:10px}.subtitle{font-family:Cormorant Garamond,serif;text-transform:uppercase;font-size:13px;letter-spacing:5px;margin-bottom:14px;opacity:.9}.name:first-child{margin-top:8px}.name:last-child{margin-bottom:10px}.and{font-size:clamp(28px,7vw,36px);line-height:1}.date{font-family:Cormorant Garamond,serif;font-size:15px;font-weight:600;letter-spacing:5px;margin-top:8px;margin-bottom:32px}.btn{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:30px;background:#6b8e23e6;color:#fff;font-size:14px;letter-spacing:2px;text-decoration:none;border:1px solid rgba(255,255,255,.4);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}.btn:hover{background:#6b8e23;transform:translateY(-2px)}.fade-up{opacity:0;transform:translateY(20px);animation:fadeUp 1s cubic-bezier(.22,1,.36,1) forwards}.delay-1{animation-delay:.3s}.delay-2{animation-delay:.65s}.delay-3{animation-delay:1s}.delay-4{animation-delay:1.35s}.delay-5{animation-delay:1.7s}@media(max-width:480px){.content{padding:48px 24px 24px}.title{font-size:clamp(38px,11vw,52px);gap:6px}.and{font-size:clamp(24px,6vw,30px)}.guest-invitation{margin-bottom:18px}}@media(min-width:1024px){.opening{padding:48px 24px;padding-bottom:calc(48px + env(safe-area-inset-bottom))}.bg{background-image:url(/themes/java/assets/images/webp/green-background-1920.webp)}.gebyok{background-image:url(/themes/java/assets/images/webp/gebyok-1920.webp);background-size:cover}.content{max-width:420px;transform:translateY(clamp(70px,12vh,130px))}.invited-text{font-size:15px;letter-spacing:4px}.guest-invitation{margin-bottom:20px}.guest-name{font-size:18px}.guest-text{font-size:14px;letter-spacing:6px}.title{font-size:clamp(58px,5.6vw,76px);gap:10px}.subtitle{font-size:14px;letter-spacing:6px;margin-bottom:20px}.date{font-size:16px;font-weight:600;letter-spacing:6px;margin-top:10px}.grass.g1{width:clamp(220px,18vw,300px);height:clamp(300px,28vw,420px)}.grass.g2{width:clamp(220px,18vw,300px);height:clamp(280px,26vw,380px)}.grass.g3{width:clamp(240px,20vw,340px);height:clamp(240px,22vw,340px)}.grass.g4{width:clamp(220px,18vw,320px);height:clamp(220px,20vw,300px)}.rose{width:clamp(240px,18vw,320px);height:clamp(280px,24vw,380px)}}@keyframes fadeUp{to{opacity:1;transform:translateY(0)}}@keyframes gebyokZoom{to{opacity:1;transform:scale(1)}}@keyframes sway-right{0%,to{transform:rotate(0)}50%{transform:rotate(-5deg) scale(1.02)}}@keyframes sway-left{0%,to{transform:rotate(0)}50%{transform:rotate(5deg) scale(1.02)}}
