/* ============================================================
   start.css — «Как начать играть» onboarding page
   ============================================================ */

.start-page { position: relative; z-index: 2; }

/* ---- Hero ---- */
.st-hero {
    padding: clamp(48px, 9vw, 110px) 0 clamp(28px, 5vw, 56px);
    text-align: center;
}
.st-eyebrow {
    font-family: 'Oswald', sans-serif;
    letter-spacing: .28em;
    font-size: .8rem;
    color: var(--gold-soft);
    text-transform: uppercase;
    margin: 0 0 18px;
}
.st-title {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    line-height: 1.08;
    color: var(--text-bright);
    margin: 0 0 18px;
}
.st-title span { color: var(--ice-bright); }
.st-sub {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-dim);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
}
.st-realmlist-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 10px 18px;
    border: 1px solid var(--line-gold);
    border-radius: 10px;
    background: var(--bg-glass);
    cursor: pointer;
    transition: border-color .2s, transform .2s;
}
.st-realmlist-pill:hover { border-color: var(--gold); transform: translateY(-1px); }
.st-realmlist-pill code {
    font-family: 'Inter', monospace;
    color: var(--gold-bright);
    font-size: 1.05rem;
}
.st-realmlist-pill .st-copy-hint { color: var(--text-mute); font-size: .8rem; }

/* ---- Steps ---- */
.st-steps-section { padding: 20px 0 40px; }
.st-steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 880px;
    margin: 0 auto;
}
.st-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 22px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(6px);
    position: relative;
}
.st-step-num {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 1.7rem;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-2));
    box-shadow: 0 6px 18px rgba(201,176,108,.25);
}
.st-step-body h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: var(--text-bright);
    margin: 4px 0 10px;
}
.st-step-body p { color: var(--text-dim); line-height: 1.6; margin: 0 0 14px; }
.st-step-body p:last-child { margin-bottom: 0; }
.st-step-body code {
    font-family: 'Inter', monospace;
    background: var(--bg-elev-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 8px;
    color: var(--gold-bright);
    font-size: .95rem;
}
.st-step-body ul, .st-step-body ol { color: var(--text-dim); line-height: 1.7; padding-left: 20px; margin: 10px 0; }
.st-step-body a.st-inline { color: var(--ice-soft); }

.st-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* ---- Buttons ---- */
.st-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: .03em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .15s, box-shadow .2s, background .2s;
    cursor: pointer;
    font-size: 1rem;
}
.st-btn:hover { transform: translateY(-2px); }
.st-btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold-2)); color: var(--bg-deep); box-shadow: 0 6px 18px rgba(201,176,108,.25); }
.st-btn-tg { background: #2aabee; color: #fff; }
.st-btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text-bright); }
.st-btn-ghost:hover { border-color: var(--ice-soft); }

/* ---- Embedded auth box ---- */
.st-auth-wrap {
    margin-top: 16px;
    padding: 20px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--bg-elev);
}
.st-auth-or {
    text-align: center;
    color: var(--text-mute);
    font-size: .85rem;
    margin: 14px 0 4px;
    text-transform: uppercase;
    letter-spacing: .15em;
}

/* ---- FAQ / troubleshooting ---- */
.st-faq-section { padding: 30px 0 80px; }
.st-section-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--text-bright);
    text-align: center;
    margin: 0 0 30px;
}
.st-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.st-faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-glass);
    overflow: hidden;
}
.st-faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-bright);
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    padding: 18px 22px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
}
.st-faq-q::after { content: '+'; color: var(--gold); font-size: 1.4rem; transition: transform .2s; }
.st-faq-item.open .st-faq-q::after { transform: rotate(45deg); }
.st-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    color: var(--text-dim);
    line-height: 1.65;
    padding: 0 22px;
}
.st-faq-item.open .st-faq-a { max-height: 320px; padding: 0 22px 18px; }
.st-faq-a code { font-family: 'Inter', monospace; color: var(--gold-bright); }

@media (max-width: 560px) {
    .st-step { grid-template-columns: 1fr; gap: 14px; }
    .st-step-num { width: 52px; height: 52px; font-size: 1.4rem; }
}
