.page {
    max-width: 920px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

.auth-wrap {
    min-height: calc(100vh - var(--topbar-h) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
}
.auth-card__btn { width: 100%; justify-content: center; margin-top: .5rem; }
.auth-card__small { font-size: .82rem; color: var(--color-text-dim); margin: 1.2rem 0 0; text-align: center; }

.btn--primary,
.btn--primary:hover { color: #f7f7f8; }

.mainnav__sub-icon { background: rgba(145, 70, 255, 0.18); color: #fff; }

.how { max-width: 760px; margin: 0 auto; padding: 1rem 1.5rem 5rem; }
.timeline { position: relative; margin-top: 2.5rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 23px; top: 10px; bottom: 10px;
    width: 2px;
    background: var(--color-border);
}
.timeline__item { position: relative; display: flex; gap: 1.5rem; padding-bottom: 2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #f7f7f8;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.timeline__content { padding-top: .35rem; }
.timeline__content h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.timeline__content p { color: var(--color-text-muted); margin: 0; line-height: 1.55; }

.auth-perms { list-style: none; margin: 1.4rem 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.auth-perms li { display: flex; align-items: flex-start; gap: .7rem; color: var(--color-text); font-size: .95rem; }
.auth-perms li i { color: var(--color-success); font-size: 1.05rem; line-height: 1.4; flex-shrink: 0; }
.auth-perms li small { color: var(--color-text-dim); }
.auth-card__note {
    display: flex; align-items: center; gap: .6rem;
    font-size: .85rem; color: var(--color-text-muted);
    background: rgba(78, 192, 122, 0.08);
    border: 1px solid rgba(78, 192, 122, 0.22);
    border-radius: var(--radius-sm);
    padding: .7rem .9rem; margin: 0 0 1.3rem;
}
.auth-card__note i { color: var(--color-success); flex-shrink: 0; }

.about { max-width: 920px; margin: 0 auto; padding: 1rem 1.5rem 5rem; }
.about__inner { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: center; }
.about__logo { display: flex; justify-content: center; }
.about__logo img {
    width: 100%; max-width: 260px; height: auto;
    filter: drop-shadow(0 8px 40px rgba(145, 70, 255, 0.45));
    animation: about-float 4.5s ease-in-out infinite;
}
@keyframes about-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.about__text p { color: var(--color-text-muted); line-height: 1.65; font-size: 1.02rem; margin: 0 0 1rem; }
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: var(--color-text); }
@media (max-width: 720px) {
    .about__inner { grid-template-columns: 1fr; gap: 1.75rem; text-align: center; }
    .about__logo { order: -1; }
    .about__logo img { max-width: 190px; }
    .about__text .section-head { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
    .about__logo img { animation: none; }
}

.profile { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.profile__head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.profile__avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-accent); flex-shrink: 0; }
.profile__avatar--initial { display: inline-flex; align-items: center; justify-content: center; background: var(--color-accent); color: #f7f7f8; font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; }
.profile__identity { flex: 1; min-width: 180px; }
.profile__identity h1 { margin: 0; font-size: 1.8rem; line-height: 1.1; }
.profile__identity > p { margin: .25rem 0 .6rem; color: var(--color-text-dim); }
.profile__badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--color-accent-hover); background: rgba(145, 70, 255, 0.12); padding: .35rem .7rem; border-radius: 999px; }
.profile__channel { flex-shrink: 0; }
.profile__card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; }
.profile__card h2 { margin: 0 0 1.25rem; font-size: 1.15rem; }
.profile__data { margin: 0; }
.profile__data > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--color-border); }
.profile__data > div:last-of-type { border-bottom: none; }
.profile__data dt { color: var(--color-text-dim); font-size: .9rem; margin: 0; }
.profile__data dd { margin: 0; color: var(--color-text); font-weight: 500; text-align: right; word-break: break-word; }
.profile__note { margin: 1.5rem 0 0; font-size: .85rem; color: var(--color-text-dim); line-height: 1.5; }
@media (max-width: 520px) {
    .profile__head { flex-direction: column; text-align: center; align-items: center; }
    .profile__data > div { flex-direction: column; align-items: flex-start; gap: .2rem; }
    .profile__data dd { text-align: left; }
}

.user-dropdown__menu a { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.1rem; color: var(--color-text-muted); text-decoration: none; transition: background .12s ease, color .12s ease; }
.user-dropdown__menu a:hover { background: rgba(255, 255, 255, 0.04); color: var(--color-text); }
.user-dropdown__menu a i { font-size: .85rem; }

.hero { border-bottom: 1px solid var(--color-border); }
