:root {
    --bg: #1a1a2e;
    --surface: #16213e;
    --primary: #0f3460;
    --accent: #e94560;
    --text: #ffffff;
    --text-muted: #8892b0;
    --success: #4caf50;
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

#app {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.screen {
    text-align: center;
    max-width: 360px;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.hidden { display: none !important; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--surface);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.icon {
    font-size: 64px;
    margin-bottom: 16px;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.balance-box {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.balance-label {
    font-size: 14px;
    color: var(--text-muted);
}

.balance-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--text);
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary:active { opacity: 0.8; }
