*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --bg: #080614;
    --bg2: #0d0a1e;
    --card: #110e20;
    --card2: #141128;
    --purple: #6c3cf7;
    --purple-glow: rgba(108, 60, 247, 0.3);
    --purple-soft: rgba(108, 60, 247, 0.1);
    --border: rgba(255, 255, 255, 0.06);
    --border2: rgba(255, 255, 255, 0.1);
    --text: #eeeaff;
    --text-dim: rgba(238, 234, 255, 0.5);
    --text-dimmer: rgba(238, 234, 255, 0.48);

    /* coin colors */
    --btc: #f7931a;
    --usdt: #26a17b;
    --eth: #627eea;
    --xrp: #00aae4;

    --green: #22c47e;
    --green-dim: rgba(34, 196, 126, 0.12);
    --green-border: rgba(34, 196, 126, 0.3);
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}
.bg-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}
.orb-a {
    width: 700px;
    height: 700px;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(108, 60, 247, 0.25) 0%, transparent 70%);
}
.orb-b {
    width: 300px;
    height: 300px;
    bottom: 100px;
    right: -50px;
    background: radial-gradient(circle, rgba(247, 147, 26, 0.25) 0%, transparent 70%);
}
.orb-c {
    width: 250px;
    height: 250px;
    bottom: 200px;
    left: -50px;
    background: radial-gradient(circle, rgba(98, 126, 234, 0.25) 0%, transparent 70%);
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 48px;
    background: rgba(10, 8, 18, 0.6);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    cursor: pointer;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}
main {
    min-height: 1300px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 24px 80px;
}
.input-section {
    text-align: center;
    margin-bottom: 52px;
    animation: fadeUp 0.6s ease forwards;
}
.input-label {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    max-width: 900px;
    margin: 0 auto 20px;
}
.input-label::before,
.input-label::after {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--purple);
    opacity: 0.5;
}
.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.buttons a {
    padding: 13px 28px;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.buttons a:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}
.buttons a:nth-child(1) {
    background: linear-gradient(135deg, #3cf755, #59f773);
}
.buttons a:nth-child(2) {
    background: linear-gradient(135deg, #f73c3c, #f75959);
}
footer {
    border-top: 1px solid var(--border);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dimmer);
}
.footer-copy {
    font-size: 12px;
    color: var(--text-dimmer);
    font-weight: 300;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-size: 12px;
    color: var(--text-dimmer);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--text-dim);
}
main {
    min-height: calc(100vh - 140px);
}
.input-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    margin-top: 32px;
    transition: opacity 0.6s ease 0.3s;
}
.input-label {
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
    white-space: pre-wrap;
}
.buttons a:nth-child(1) {
    background: linear-gradient(135deg, #f73c3c, #f75959);
}
.buttons a:nth-child(2) {
    background: linear-gradient(135deg, #3cf755, #59f773);
}
#errorModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}
.modal-content h2 {
    margin-bottom: 10px;
    color: #f73c3c;
}
.modal-content p {
    margin-bottom: 20px;
    color: #fff;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
