:root {
    --bg: #0f181f;
    --card: rgba(255, 255, 255, 0.04);
    --accent: #fdd46a;
    --accent-dark: #c9a743;
    --text: #e7edf3;
    --muted: #90a4b8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1b2a36, #0b1319);
    color: var(--text);
}

.hero {
    padding: 80px 20px 40px;
    text-align: center;
}

.hero-content {
    max-width: 640px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.hero p {
    color: var(--muted);
    line-height: 1.6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 32px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px;
    border-radius: 18px;
    backdrop-filter: blur(16px);
}

.card h2 {
    margin-top: 0;
}

label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(5, 10, 16, 0.7);
    color: var(--text);
    margin-bottom: 16px;
}

button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: var(--accent);
    border: none;
    font-weight: 600;
    color: #0f181f;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: var(--accent-dark);
}

.token-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.token-value {
    font-size: 18px;
    font-family: "JetBrains Mono", monospace;
    word-break: break-all;
    background: rgba(0, 0, 0, 0.35);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.token-hint {
    color: var(--muted);
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(12, 22, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.success { color: #5be49b; }
.toast.error { color: #f77c7c; }
