* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 420px;
    width: 100%;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.screen { display: none; flex-direction: column; flex: 1; }
.screen.active { display: flex; }

.logo { font-size: 48px; text-align: center; margin-bottom: 1rem; }
.title { font-size: 22px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 0.75rem; }
.subtitle { font-size: 15px; color: #94a3b8; text-align: center; line-height: 1.6; margin-bottom: 1.5rem; }
.step-label { font-size: 13px; color: #8b5cf6; font-weight: 600; text-align: center; margin-bottom: 0.5rem; }

.card {
    background: #1e293b;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.info-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-box .info-title {
    font-size: 13px;
    color: #a78bfa;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-box .info-list {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.8;
}

.warning-box {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.warning-box p { font-size: 13px; color: #fbbf24; line-height: 1.6; }

.danger-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.danger-box p { font-size: 13px; color: #f87171; line-height: 1.6; }

.btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: opacity 0.2s;
}
.btn:hover { opacity: 0.9; }
.btn:active { opacity: 0.8; }

.btn-primary { background: #8b5cf6; color: #fff; }
.btn-telegram { background: #0ea5e9; color: #fff; }
.btn-store { background: #1d4ed8; color: #fff; }
.btn-secondary { background: #334155; color: #94a3b8; }
.btn-continue { background: #475569; color: #e2e8f0; border: 1px solid #64748b; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.description {
    font-size: 14px;
    color: #cbd5e1;
    text-align: left;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.small-text { font-size: 12px; color: #64748b; text-align: center; margin-bottom: 1rem; }

.platform-links {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
}
.platform-links a { color: #8b5cf6; cursor: pointer; text-decoration: none; }
.platform-links a:hover { text-decoration: underline; }

.steps-list { text-align: left; }
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.step-num {
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #8b5cf6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.step-text { font-size: 14px; color: #cbd5e1; line-height: 1.6; }
.step-text strong { color: #fff; }

.progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 1.5rem;
}
.progress .dot {
    width: 8px;
    height: 4px;
    border-radius: 2px;
    background: #334155;
}
.progress .dot.active { width: 24px; background: #8b5cf6; }
.progress .dot.done { background: #22c55e; }

.done-info {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 2;
    text-align: left;
}
.done-info strong { color: #fff; }

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #f87171;
    font-size: 14px;
    display: none;
}

.loading { opacity: 0.7; pointer-events: none; }
