301 lines
5.0 KiB
CSS

* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
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;
}
@keyframes float1 {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(30px, -20px) scale(1.1); }
66% { transform: translate(-20px, 30px) scale(0.9); }
}
@keyframes float2 {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(-40px, 25px) scale(1.15); }
66% { transform: translate(35px, -30px) scale(0.95); }
}
@keyframes float3 {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(25px, 35px) scale(0.9); }
66% { transform: translate(-30px, -25px) scale(1.1); }
}
body {
background: #000814;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
position: relative;
overflow: hidden;
}
body::before,
body::after {
content: '';
position: fixed;
border-radius: 50%;
filter: blur(80px);
opacity: 0.6;
z-index: 0;
}
body::before {
width: 500px;
height: 500px;
background: radial-gradient(circle, #00d4ff 0%, #0088ff 50%, transparent 70%);
top: 10%;
left: 15%;
animation: float1 20s ease-in-out infinite;
}
body::after {
width: 400px;
height: 400px;
background: radial-gradient(circle, #0099ff 0%, #0055ff 50%, transparent 70%);
bottom: 15%;
right: 20%;
animation: float2 25s ease-in-out infinite;
}
.container {
position: relative;
z-index: 1;
}
.container::before {
content: '';
position: fixed;
width: 350px;
height: 350px;
background: radial-gradient(circle, #00bbff 0%, #006bff 50%, transparent 70%);
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
filter: blur(90px);
opacity: 0.5;
z-index: -1;
animation: float3 18s ease-in-out infinite;
pointer-events: none;
}
.container {
max-width: 600px;
width: 100%;
background: white;
border-radius: 16px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
padding: 40px;
}
.header {
text-align: center;
margin-bottom: 40px;
}
.header h1 {
font-size: 32px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 8px;
}
.header p {
font-size: 16px;
color: #666;
}
.wallet-section {
margin-bottom: 32px;
padding: 24px;
background: #f8f9fa;
border-radius: 12px;
}
.wallet-info {
margin-top: 16px;
}
.wallet-info p {
font-size: 14px;
color: #666;
margin-bottom: 8px;
}
.wallet-info .address {
font-family: monospace;
font-size: 12px;
color: #333;
background: white;
padding: 8px 12px;
border-radius: 6px;
word-break: break-all;
}
.wallet-info .balance {
font-size: 18px;
font-weight: 600;
color: #0052ff;
}
.action-section {
margin-bottom: 32px;
}
.button {
width: 100%;
padding: 16px 24px;
font-size: 16px;
font-weight: 600;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s;
margin-bottom: 12px;
}
.button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.button-primary {
background: #0052ff;
color: white;
}
.button-primary:hover:not(:disabled) {
background: #0041cc;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 82, 255, 0.3);
}
.button-secondary {
background: #f0f0f0;
color: #333;
}
.button-secondary:hover:not(:disabled) {
background: #e0e0e0;
}
.response-section {
padding: 24px;
background: #f8f9fa;
border-radius: 12px;
margin-top: 24px;
}
.response-section h3 {
font-size: 18px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 16px;
}
.quote-display {
font-size: 24px;
font-weight: 500;
color: #667eea;
text-align: center;
padding: 32px;
background: white;
border-radius: 8px;
border-left: 4px solid #667eea;
font-style: italic;
}
.payment-info {
margin-top: 16px;
padding: 16px;
background: white;
border-radius: 8px;
font-size: 14px;
}
.payment-info p {
margin-bottom: 8px;
color: #666;
}
.payment-info .tx-hash {
font-family: monospace;
font-size: 12px;
color: #0052ff;
word-break: break-all;
}
.error {
padding: 16px;
background: #fee;
border-left: 4px solid #f00;
border-radius: 8px;
color: #c00;
margin-top: 16px;
}
.loading {
text-align: center;
padding: 16px;
color: #666;
}
.info-box {
padding: 16px;
background: #e3f2fd;
border-left: 4px solid #2196f3;
border-radius: 8px;
margin-top: 16px;
font-size: 14px;
color: #1565c0;
}
.steps {
margin-top: 32px;
padding: 24px;
background: #f8f9fa;
border-radius: 12px;
}
.steps h3 {
font-size: 18px;
font-weight: 600;
margin-bottom: 16px;
color: #1a1a1a;
}
.steps ol {
padding-left: 20px;
}
.steps li {
margin-bottom: 12px;
color: #666;
line-height: 1.6;
}
.steps code {
background: white;
padding: 2px 6px;
border-radius: 4px;
font-family: monospace;
font-size: 13px;
color: #d63384;
}