body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:Courier New,Courier,monospace}*{margin:0;padding:0;box-sizing:border-box}.app{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#0f2027,#203a43,#2c5364);background-attachment:fixed;position:relative;overflow-x:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.snowflakes{position:fixed;inset:0;pointer-events:none;z-index:1}.snowflake{position:absolute;top:-10%;color:#fff;font-size:1.5em;animation:fall linear infinite;opacity:.8}.snowflake:nth-child(1){left:10%;animation-duration:10s;animation-delay:0s}.snowflake:nth-child(2){left:20%;animation-duration:12s;animation-delay:2s}.snowflake:nth-child(3){left:30%;animation-duration:8s;animation-delay:4s}.snowflake:nth-child(4){left:40%;animation-duration:14s;animation-delay:1s}.snowflake:nth-child(5){left:50%;animation-duration:11s;animation-delay:3s}.snowflake:nth-child(6){left:60%;animation-duration:9s;animation-delay:5s}.snowflake:nth-child(7){left:70%;animation-duration:13s;animation-delay:2s}.snowflake:nth-child(8){left:80%;animation-duration:10s;animation-delay:4s}.snowflake:nth-child(9){left:90%;animation-duration:12s;animation-delay:1s}.snowflake:nth-child(10){left:15%;animation-duration:11s;animation-delay:3s}@keyframes fall{to{transform:translateY(110vh)}}.header{text-align:center;padding:2rem 1rem;position:relative;z-index:2;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.header h1{font-size:2.5rem;margin-bottom:.5rem;animation:glow 2s ease-in-out infinite alternate}@keyframes glow{0%{text-shadow:0 0 10px #fff,0 0 20px #fff,0 0 30px #e60073,0 0 40px #e60073}to{text-shadow:0 0 20px #fff,0 0 30px #ff4da6,0 0 40px #ff4da6,0 0 50px #ff4da6}}.subtitle{font-size:1.1rem;opacity:.95;color:gold}.main{flex:1;padding:2rem 1rem;position:relative;z-index:2}.container{max-width:700px;margin:0 auto}.christmas-letter{perspective:1000px}.letter-paper{background:linear-gradient(to bottom,#fffef7,#fff9e6);border-radius:20px;padding:3rem 2.5rem;box-shadow:0 20px 60px #0000004d,inset 0 0 100px #ffd7001a;position:relative;border:3px solid #d4af37;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.letter-paper:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 30px,rgba(200,200,200,.1) 30px,rgba(200,200,200,.1) 31px);pointer-events:none;border-radius:20px}.christmas-decorations{display:flex;justify-content:center;gap:2rem;margin-bottom:1.5rem;font-size:2rem}.decoration{animation:rotate 4s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.letter-title{text-align:center;color:#c41e3a;font-size:2rem;margin-bottom:2rem;font-family:Georgia,serif;text-shadow:2px 2px 4px rgba(0,0,0,.1)}.letter-from{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:1rem;background:#ffffff80;border-radius:12px;border-left:4px solid #c41e3a}.from-label{font-weight:700;color:#165b33;font-size:1.1rem;min-width:60px}.letter-to{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;padding:1rem;background:#ffffff80;border-radius:12px;border-left:4px solid #165b33}.to-label{font-weight:700;color:#c41e3a;font-size:1.1rem;min-width:60px}.chain-route{display:flex;align-items:center;gap:.75rem;flex:1}.chain-tag{padding:.5rem 1rem;background:linear-gradient(135deg,#165b33,#0d3d22);color:#fff;border-radius:20px;font-size:.9rem;font-weight:600;box-shadow:0 2px 8px #165b334d}.chain-select{padding:.5rem 1rem;background:linear-gradient(135deg,#165b33,#0d3d22);color:#fff;border:2px solid #d4af37;border-radius:20px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 2px 8px #165b334d;outline:none}.chain-select:hover:not(:disabled){background:linear-gradient(135deg,#1a6d3e,#0f4729);box-shadow:0 4px 12px #165b3380}.chain-select:disabled{opacity:.6;cursor:not-allowed}.chain-select option{background:#fff;color:#333}.arrow{color:#c41e3a;font-size:1.5rem;font-weight:700}.letter-from .wallet-connect{background:transparent;border-radius:0;padding:0;margin-bottom:0;box-shadow:none;flex:1}.letter-from .warning,.letter-from .error{margin-bottom:0}.letter-from .connect-button{background:linear-gradient(135deg,#c41e3a,#8b0000);font-size:1rem;padding:.75rem 1.5rem}.letter-from .connect-button:hover:not(:disabled){box-shadow:0 4px 12px #c41e3a66}.letter-from .connected{flex-direction:row}.letter-from .account-info{background:#fff;border:2px solid #165b33}.letter-from .disconnect-button{padding:.5rem 1rem;font-size:.9rem}.message-section{margin-bottom:1.5rem}.message-label{display:block;font-weight:700;color:#165b33;margin-bottom:.75rem;font-size:1.1rem}.message-textarea{width:100%;padding:1rem;font-size:1.05rem;border:2px solid #d4af37;border-radius:12px;resize:vertical;font-family:Georgia,serif;background:#fffc;color:#333;line-height:1.8;transition:border-color .3s}.message-textarea:focus{outline:none;border-color:#c41e3a;box-shadow:0 0 0 3px #c41e3a1a}.message-textarea:disabled{background:#c8c8c833;cursor:not-allowed}.message-textarea::placeholder{color:#999;font-style:italic}.send-letter-button{width:100%;padding:1rem;font-size:1.2rem;font-weight:700;color:#fff;background:linear-gradient(135deg,#c41e3a,#8b0000);border:none;border-radius:12px;cursor:pointer;transition:all .3s;box-shadow:0 4px 15px #c41e3a4d;text-shadow:1px 1px 2px rgba(0,0,0,.2)}.send-letter-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #c41e3a80;background:linear-gradient(135deg,#e02447,#a00000)}.send-letter-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.error-message,.success-message,.info-message{margin-top:1.5rem;padding:1rem;border-radius:12px;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.error-message{background:#ffeef0;color:#c41e3a;border-left:4px solid #c41e3a}.success-message{background:#e8f5e9;color:#165b33;border-left:4px solid #165b33}.success-message p{margin-bottom:1rem;font-weight:600;font-size:1.1rem}.tx-info{margin-bottom:1rem;padding:.75rem;background:#ffffffb3;border-radius:8px}.tx-label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.25rem;color:#165b33}.tx-hash{display:block;font-family:Courier New,monospace;font-size:.8rem;word-break:break-all;color:#333}.explorer-links{display:flex;flex-direction:column;gap:.75rem}.explorer-link{display:inline-block;color:#165b33;text-decoration:none;font-weight:600;transition:color .2s;padding:.5rem 1rem;background:#165b331a;border-radius:8px;text-align:center}.explorer-link:hover{color:#0d3d22;background:#165b3333;text-decoration:underline}.info-message{background:#fff3cd;color:#856404;border-left:4px solid #ffc107;text-align:center;font-weight:500}.letter-footer-decoration{display:flex;justify-content:center;gap:1.5rem;margin-top:2rem;padding-top:1.5rem;border-top:2px dashed #d4af37;font-size:1.5rem}.letter-footer-decoration span{animation:bounce 2s ease-in-out infinite;animation-delay:calc(var(--i) * .2s)}.letter-footer-decoration span:nth-child(1){--i: 0}.letter-footer-decoration span:nth-child(2){--i: 1}.letter-footer-decoration span:nth-child(3){--i: 2}.letter-footer-decoration span:nth-child(4){--i: 3}.letter-footer-decoration span:nth-child(5){--i: 4}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@media(max-width:640px){.header h1{font-size:1.8rem}.subtitle{font-size:.95rem}.letter-paper{padding:2rem 1.5rem}.letter-title{font-size:1.5rem}.letter-from,.letter-to{flex-direction:column;align-items:flex-start}.from-label,.to-label{min-width:auto}.chain-route{width:100%}.chain-tag{font-size:.8rem;padding:.4rem .8rem}.letter-from .connected{flex-direction:column;width:100%}.letter-from .account-info,.letter-from .disconnect-button{width:100%}.christmas-decorations{gap:1rem;font-size:1.5rem}.letter-footer-decoration{gap:1rem;font-size:1.2rem}}
