:root{font-family:Balsamiq Sans,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.balsamiq-sans-regular{font-family:Balsamiq Sans,sans-serif;font-weight:400;font-style:normal}.balsamiq-sans-bold{font-family:Balsamiq Sans,sans-serif;font-weight:700;font-style:normal}.balsamiq-sans-regular-italic{font-family:Balsamiq Sans,sans-serif;font-weight:400;font-style:italic}.balsamiq-sans-bold-italic{font-family:Balsamiq Sans,sans-serif;font-weight:700;font-style:italic}body{margin:0;padding:0;min-height:100vh;font-family:Balsamiq Sans,Arial,sans-serif;background:#f6f7f9;color:#000;display:flex;flex-direction:column}.app{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;box-sizing:border-box;padding:20px;max-width:100%;margin:70px auto 0;width:100%;min-height:calc(100vh - 70px)}.header{position:fixed;top:0;left:0;right:0;padding:20px 40px;display:flex;justify-content:space-between;align-items:center;background:#f6f7f9;z-index:1000;height:70px;box-sizing:border-box}.logo{font-family:Balsamiq Sans,sans-serif;font-weight:700;font-size:20px}.learn-link{text-decoration:none;color:#000;font-size:14px}.card{background:#fff;border-radius:24px;padding:15px;max-width:600px;min-width:450px;min-height:500px;box-shadow:0 4px 12px #00000014;text-align:left;margin:0 auto;position:relative;flex:0 0 auto;box-sizing:border-box}.tabs{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;position:relative;flex-wrap:wrap;gap:10px}.tab-logo{width:28px;height:auto;flex-shrink:0}.tab-buttons{display:flex;flex-direction:row;align-items:center;gap:0px;flex-shrink:0;position:relative}.tab-buttons button{padding:12px 18px;border:none;background:none;font-family:Balsamiq Sans,sans-serif;font-size:16px;cursor:pointer;color:#000;transition:color .3s ease;white-space:nowrap;position:relative;outline:none;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.tab-buttons button:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background-color:#edeef2;transition:background-color .3s ease}.tab-buttons button.active{font-family:Balsamiq Sans,sans-serif;font-weight:700;color:#000}.tab-buttons button.active:after{background-color:#00de88}.exchange-box{margin-bottom:20px}.exchange-row{margin-bottom:15px}.input-box{display:flex;flex-direction:column;background:#f6f7f9;border:1px solid none;border-radius:12px;padding:12px 16px;align-items:flex-start}.label{font-size:16px;color:#777;margin-bottom:8px;align-self:flex-start}.value-row{display:flex;align-items:center;justify-content:flex-start;width:100%;gap:8px;flex-wrap:nowrap}.value-row input{border:none;outline:none;font-family:Balsamiq Sans,sans-serif;font-size:22px;background:transparent;color:#000;flex:1;min-width:0}.currency-select{display:flex;align-items:center;gap:8px;flex-shrink:0;position:relative;background:#fff;border-radius:12px;padding:8px 12px;box-shadow:0 1px 3px #0000001a;cursor:pointer;transition:opacity .2s ease}.currency-select:hover{opacity:.8}.currency-label{font-weight:700;font-size:14px}.currency-arrow{width:20px;height:20px}.currency-select input{border:none;outline:none;font-family:Balsamiq Sans,sans-serif;font-size:14px;font-weight:600;background:transparent;color:#000;min-width:60px;z-index:1}.currency-icon{width:24px;height:24px;border-radius:50%;flex-shrink:0}.currency-select select{border:none;outline:none;font-family:Balsamiq Sans,sans-serif;font-size:14px;font-weight:600;background:transparent;color:#000;cursor:pointer;z-index:2;position:relative}.rate-box{margin-top:8px;background-color:#f6f7f9;display:flex;justify-content:space-between;font-size:14px;color:#666;border-radius:12px;padding-left:5px}.rate .by{font-weight:600;margin-left:auto;white-space:nowrap;display:flex;align-items:center;gap:4px}.celiapay-logo{height:12px;width:auto}.payvia{display:flex;flex-direction:column;gap:6px;font-family:sans-serif;font-size:14px}.select-box{position:relative;width:100%}.select-display{display:flex;align-items:center;justify-content:space-between;border:1px solid #e5e7eb;border-radius:8px;padding:12px;background:#fff;cursor:pointer}.method-box{display:flex;flex-direction:row;align-items:center;gap:8px}.method-icon{width:28px;height:28px;flex-shrink:0}.method-text{display:flex;flex-direction:column;gap:2px}.method{font-size:14px;font-weight:500;color:#111827}.recommended{font-size:13px;color:#00bc74;font-weight:500}.buy-btn{width:100%;padding:18px;background:#000;color:#fff;border:none;border-radius:8px;font-family:Balsamiq Sans,sans-serif;font-size:18px;font-weight:500;cursor:pointer;margin-top:40px;transition:background .3s ease}.buy-btn:hover{background:#333}.powered{text-align:center;font-size:12px;color:#666;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.powered-logo{height:10px;width:auto}@media (max-width: 768px){body{display:block;place-items:unset}.app{padding:0;margin:0;min-height:100vh;width:100vw;display:flex;flex-direction:column;justify-content:flex-start}.header{display:none}.card{padding:15px;margin:0;border-radius:0;flex:1;min-height:100vh;min-width:auto;width:100%;max-width:none;display:flex;flex-direction:column;justify-content:flex-start}.tab-buttons button{padding:12px 16px;font-size:16px}.label{align-self:flex-start;text-align:left}.value-row{justify-content:flex-start;flex-wrap:nowrap}.input-box{align-items:flex-start}.value-row input{font-size:24px}.rate-box{padding:8px}.buy-btn{padding:20px;font-size:18px;margin-top:auto;margin-bottom:10px;position:sticky;bottom:20px}}.horizontal-divider{width:calc(100% + 32px);height:1px;background-color:#fff;margin:12px -16px}.rate-section{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:20px}.rate-text{font-size:14px;color:#313131;margin:0;flex:1}.rate-section .by{font-weight:400;white-space:nowrap;display:flex;align-items:center;gap:3px;margin-left:4px;cursor:pointer;transition:opacity .2s ease}.rate-section .by:hover{opacity:.7}.arrow-icon{width:20px;height:20px;margin-left:0}.currency-container{display:flex;flex-direction:column;align-items:flex-end}.smart-chain-info{display:flex;align-items:center;gap:6px;margin-top:8px;padding-right:4px}.smart-chain-icon{width:16px;height:16px}.smart-chain-text{font-size:12px;color:#888;font-weight:400}.modal-overlay{position:absolute;inset:0;background:#00000080;z-index:1000;border-radius:0;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}.modal-content{background:#fff;border-radius:16px 16px 0 0;width:100%;max-height:90%;overflow:hidden;box-shadow:0 -10px 25px -5px #0000001a,0 -4px 10px -5px #0000000a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 8px;position:relative}.modal-header:before{display:none}.modal-header h2{font-size:18px;font-weight:500;color:#1f2937;margin:0;text-align:center;flex:1}.modal-title{font-size:16px;font-weight:600;color:#1f2937;margin:0;text-align:center;flex:1}.modal-close{background:none;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;outline:none}.modal-close:hover{background:none}.modal-close:focus{outline:none}.modal-close:active{background:none}.modal-close img{width:24px;height:24px}.modal-body{padding:0 24px 24px;max-height:500px;overflow-y:auto}.crypto-icon{flex-shrink:0;position:relative}.crypto-icon img{border-radius:25%}.network-icon-overlay{position:absolute;bottom:1px;right:-10px;border:2px solid white;border-radius:50%;background:#fff}.crypto-content{display:flex;justify-content:space-between;align-items:flex-start;width:100%;margin-left:12px}.crypto-left{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.crypto-code{font-size:16px;font-weight:600;color:#1f2937;line-height:1.2}.crypto-name{font-size:14px;color:#6b7280;font-weight:400;line-height:1.2}.crypto-right{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.crypto-network{font-size:14px;color:#6b7280;font-weight:400;text-align:right}.crypto-popular{font-size:12px;color:#3b82f6;font-weight:600;background:#3b82f61a;padding:2px 8px;border-radius:6px;text-align:center}.ramp-list{display:flex;flex-direction:column;gap:8px}.ramp-option{display:flex;align-items:center;justify-content:space-between;padding:16px;border-radius:12px;background:#fff;border:1px solid #e5e7eb;cursor:pointer;transition:all .2s ease}.ramp-option:hover:not(.disabled){background:#f9fafb;border-color:#d1d5db}.ramp-option.best-price{border:1px solid #d1d5db;background:#fff}.ramp-option.disabled{opacity:.6;cursor:not-allowed;background:#f9fafb}.ramp-left{display:flex;align-items:flex-start;gap:12px;flex:1}.ramp-icon{flex-shrink:0;margin-top:2px}.ramp-icon img{border-radius:8px}.ramp-info{flex:1}.ramp-header{display:flex;flex-direction:column;gap:4px}.ramp-name{font-size:18px;color:#1f2937;line-height:1.2}.ramp-badges{display:flex;gap:12px}.best-price-badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:#848484;background:transparent;padding:0;border-radius:0}.best-price-badge img{width:16px;height:16px;filter:brightness(0) saturate(100%) invert(52%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(52%) contrast(100%)}.recommended-badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:#848484;background:transparent;padding:0;border-radius:0}.recommended-badge img{width:16px;height:16px;filter:brightness(0) saturate(100%) invert(52%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(52%) contrast(100%)}.ramp-desc{font-size:14px;color:#9ca3af;margin-top:2px}.ramp-right{display:flex;flex-direction:column;align-items:flex-end;text-align:right}.ramp-pricing{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.price-label{font-size:12px;color:#6b7280;font-weight:400}.price-value{font-size:16px;font-weight:600;color:#1f2937}.price-diff{font-size:12px;color:#ef4444;font-weight:500}.modal-overlay.side-sheet{align-items:center;justify-content:flex-end}.modal-content.side-sheet{background:#fff;border-radius:16px 0 0 16px;width:85%;max-width:95%;height:100%;max-height:100%;overflow:hidden;box-shadow:-10px 0 25px -5px #0000001a,-4px 0 10px -5px #0000000a}.modal-body::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.modal-body::-webkit-scrollbar-track{background:transparent;border-radius:3px}.modal-body::-webkit-scrollbar-thumb{background:#dbdbdb;border-radius:3px;min-height:15px}.modal-body::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.modal-body::-webkit-scrollbar-corner{background:transparent}.currency-list{display:flex;flex-direction:column;gap:8px}.currency-option{display:flex;align-items:center;padding:16px 20px;border-radius:8px;cursor:pointer;transition:all .2s ease;border:1px solid transparent;margin:0 -10px}.currency-option:hover{background:#f9fafb}.currency-option.active{border-color:#000}.currency-flag{width:40px;height:40px;border-radius:25%;margin-right:16px;display:flex;align-items:center;justify-content:center;font-size:20px;border:2px solid #f0f0f0;overflow:hidden}.currency-flag img{width:100%;height:100%;object-fit:cover;border-radius:25%}.currency-flag.placeholder{background:#e5e7eb}.currency-info{display:flex;flex-direction:column;flex:1}.currency-code{font-weight:600;font-size:14px;color:#111827;margin-bottom:2px}.currency-name{font-size:12px;color:#6b7280}.options-list{display:flex;flex-direction:column;gap:8px}.option-item{padding:16px 20px;border-radius:8px;cursor:pointer;transition:all .2s ease;border:1px solid transparent;margin:0 -20px}.option-item:hover{background:#f9fafb}.option-item span{font-size:14px;color:#374151;font-weight:500}.payment-list{display:flex;flex-direction:column;gap:8px}.payment-option{display:flex;align-items:center;padding:16px 20px;border-radius:8px;cursor:pointer;transition:all .2s ease;border:1px solid transparent;margin:0 -20px;position:relative}.payment-option:hover{background:#f9fafb}.payment-option.active{border-color:#000}.payment-option .method-icon{width:32px;height:32px;margin-right:12px;display:flex;align-items:center;justify-content:center;font-size:20px}.payment-option .method-icon.placeholder{background:#e5e7eb;border-radius:4px}.payment-info{display:flex;flex-direction:column;flex:1}.method-name{font-weight:600;font-size:14px;color:#111827;margin-bottom:2px}.method-desc{font-size:12px;color:#6b7280}.checkmark{position:absolute;right:20px;top:50%;transform:translateY(-50%);width:24px;height:24px;background:#00bc74;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:700}
