/* register.css — kyun.sh style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --bg-offset: #111111;
    --border: #222222;
    --border-light: #2a2a2a;
    --text: #ffffff;
    --text-muted: #888888;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

body {
    background: var(--bg);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.main-container {
    background: var(--bg-offset);
    border: 2px solid var(--border);
    padding: 2rem;
    width: min(600px, 90%);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-align: center;
    margin-bottom: 1rem;
}

.accent {
    color: var(--text);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-weight: 500;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.hint {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.primary-btn {
    background: var(--text);
    color: var(--bg);
    border: none;
    padding: 12px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
    max-width: 280px;
    margin: 8px 0;
}

.primary-btn:hover {
    opacity: 0.85;
}

.secondary-btn {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 28px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 20px;
}

.secondary-btn:hover {
    border-color: var(--text);
    background: rgba(255,255,255,0.05);
}

.link-btn {
    display: block;
    text-align: center;
    color: var(--text);
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid var(--border);
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
    max-width: 280px;
    margin: 8px 0;
    transition: all 0.2s;
}

.link-btn:hover {
    border-color: var(--text);
    background: rgba(255,255,255,0.05);
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    width: 100%;
    max-width: 280px;
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--border);
    margin: 0 10px;
}

/* Mnemonic display */
#mnemonic-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
}

.mnemonic-column {
    flex: 1;
    max-width: 250px;
}

.word-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.word-number {
    color: var(--text-muted);
    font-size: 0.7rem;
    min-width: 28px;
    text-align: right;
    font-family: var(--font-mono);
}

.word-input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px 10px;
    font-size: 0.8rem;
    color: var(--text);
    outline: none;
    font-family: var(--font-mono);
}

.word-input:focus {
    border-color: var(--text);
}

.word-input[readonly] {
    opacity: 0.9;
    background: var(--bg-offset);
}

/* Profile form */
.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.form-group input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
}

.form-group input:focus {
    border-color: var(--text);
}

.form-group input::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .main-container {
        padding: 1.5rem;
    }
    #mnemonic-container {
        flex-direction: column;
        gap: 0;
    }
    .mnemonic-column {
        max-width: 100%;
    }
    h1 {
        font-size: 1rem;
    }
    .primary-btn, .link-btn {
        max-width: 100%;
    }
}