/* Final AstitvaHub polish layer. Loaded after app.css. */
:root {
    --ah-bg: #050607;
    --ah-surface: #0d1117;
    --ah-surface-2: #121821;
    --ah-line: rgba(255, 255, 255, .13);
    --ah-line-strong: rgba(255, 255, 255, .22);
    --ah-text: #f8fafc;
    --ah-muted: #a7b0bf;
    --ah-lime: #b8ff5c;
    --ah-cyan: #22d3ee;
    --ah-ember: #ff7a3d;
    --ah-violet: #a78bfa;
    --ah-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

html {
    scroll-padding-top: 92px;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: geometricPrecision;
}

:focus-visible {
    outline: 2px solid var(--ah-lime);
    outline-offset: 3px;
}

.app-main {
    background:
        linear-gradient(180deg, rgba(184, 255, 92, .035), transparent 22rem),
        linear-gradient(135deg, rgba(34, 211, 238, .045), transparent 34rem),
        var(--ah-bg);
}

.app-nav {
    min-height: 68px;
    border-bottom: 1px solid var(--ah-line) !important;
    background: rgba(5, 6, 7, .88) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
}

.navbar-toggler,
.btn,
.card,
.alert,
.modal-content,
.form-control,
.form-select,
.input-group-text,
.home-info-card,
.home-audience,
.home-plan,
.home-faq-list details,
.home-cta-inner,
.metric-card,
.profile-section,
.public-card,
.pricing-service,
.checkout-panel {
    border-radius: 8px !important;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    margin-top: .75rem;
    padding: .75rem;
    border: 1px solid var(--ah-line);
    border-radius: 8px;
    background: rgba(10, 14, 19, .96);
}

.nav-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, .78) !important;
    font-weight: 720;
}

.nav-link.active,
.nav-link:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff !important;
}

.btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.btn-sm {
    min-height: 34px;
}

.btn-primary {
    --bs-btn-bg: var(--ah-lime);
    --bs-btn-border-color: var(--ah-lime);
    --bs-btn-color: #071007;
    --bs-btn-hover-bg: #d6ff95;
    --bs-btn-hover-border-color: #d6ff95;
    --bs-btn-hover-color: #071007;
    --bs-btn-active-bg: #a8ef51;
    --bs-btn-active-border-color: #a8ef51;
    --bs-btn-active-color: #071007;
    box-shadow: 0 16px 34px rgba(184, 255, 92, .18);
}

.btn-outline-primary,
.btn-outline-secondary {
    --bs-btn-color: #f8fafc;
    --bs-btn-border-color: var(--ah-line-strong);
    --bs-btn-hover-bg: rgba(255, 255, 255, .1);
    --bs-btn-hover-border-color: rgba(184, 255, 92, .5);
    --bs-btn-hover-color: #fff;
}

.card,
.auth-card,
.home-info-card,
.home-audience,
.home-plan,
.home-faq-list details,
.home-cta-inner,
.metric-card,
.profile-section,
.public-card,
.pricing-service,
.checkout-panel,
.upgrade-status > div,
.checkout-summary > div {
    border-color: var(--ah-line) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028)),
        var(--ah-surface) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.surface-band,
.home-muted-band {
    background:
        linear-gradient(135deg, rgba(184, 255, 92, .085), transparent 34rem),
        linear-gradient(225deg, rgba(34, 211, 238, .08), transparent 38rem),
        #07090c !important;
}

.home-hero {
    min-height: min(760px, calc(100vh - 140px)) !important;
    display: flex;
    align-items: center;
    padding-block: clamp(2.5rem, 5vw, 4.5rem) 2.25rem !important;
}

.home-hero h1 {
    max-width: 10ch;
    margin-bottom: 1rem;
    font-size: 5.75rem;
    line-height: .92;
}

.home-hero .lead {
    color: rgba(232, 238, 247, .78) !important;
}

.eyebrow,
.home-hero .eyebrow,
.section-heading .eyebrow {
    letter-spacing: 0 !important;
}

.username-check {
    max-width: 620px;
    border-color: var(--ah-line-strong);
    background: rgba(255, 255, 255, .075);
}

.username-check .form-control,
.username-check .input-group-text {
    min-height: 46px;
    border-color: transparent !important;
    background: rgba(0, 0, 0, .22) !important;
}

.section-heading {
    align-items: flex-start;
    margin-bottom: 1.35rem;
}

.section-heading h2,
.upgrade-section-head h2 {
    color: #fff;
    font-size: 2.15rem;
    line-height: 1.08;
}

.section-heading p,
.upgrade-section-head p,
.text-secondary {
    color: var(--ah-muted) !important;
}

.home-info-card {
    min-height: 188px;
    padding: 1.15rem;
}

.home-audience {
    min-height: 128px;
    align-items: flex-start;
}

.home-info-card svg,
.home-audience svg,
.pricing-service-icon,
.checkout-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(184, 255, 92, .24);
    border-radius: 8px;
    background: rgba(184, 255, 92, .09);
}

.home-info-card svg,
.home-audience svg {
    padding: .55rem;
}

.home-workflow-panel {
    gap: .85rem;
    padding: .9rem;
}

.home-workflow-panel div {
    min-height: 142px;
    background: rgba(255, 255, 255, .045);
}

.home-plan,
.upgrade-plan {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem;
}

.home-plan ul {
    flex: 1;
}

.plan-badge,
.active-plan-badge,
.cart-count-pill,
.payment-status {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    font-weight: 850;
    line-height: 1;
}

.plan-badge {
    background: linear-gradient(90deg, var(--ah-lime), var(--ah-cyan));
    color: #071007;
}

.pricing-compare-wrap {
    border-radius: 8px;
    border: 1px solid var(--ah-line);
    background: rgba(255, 255, 255, .035);
}

.pricing-compare {
    margin-bottom: 0;
}

.table,
.pricing-compare {
    color: #f8fafc;
}

.table th,
.table td,
.pricing-compare th,
.pricing-compare td {
    border-color: rgba(255, 255, 255, .09) !important;
}

.form-label {
    color: rgba(255, 255, 255, .86);
    font-weight: 740;
}

.form-control,
.form-select,
.input-group-text {
    min-height: 44px;
}

.form-control:hover,
.form-select:hover {
    border-color: rgba(255, 255, 255, .24) !important;
}

.auth-wrap {
    min-height: calc(100vh - 220px);
    display: grid;
    align-items: center;
}

.auth-card {
    overflow: hidden;
}

.auth-side {
    background:
        linear-gradient(145deg, rgba(184, 255, 92, .13), rgba(34, 211, 238, .08)),
        #0b1016 !important;
}

.dashboard-header {
    padding-top: clamp(1.25rem, 3vw, 2rem);
}

.dashboard-header h1 {
    color: #fff;
    font-weight: 860;
}

.metric-card {
    min-height: 136px;
}

.quick-actions {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.quick-actions a,
.quick-actions button,
.social-grid a,
.support-list a {
    min-width: 0;
}

.quick-actions span,
.support-list span {
    overflow-wrap: anywhere;
}

.upgrade-status > div {
    min-height: 96px;
}

.checkout-details-card textarea.form-control {
    min-height: 112px;
}

.upgrade-cart-panel {
    box-shadow: 0 22px 58px rgba(0, 0, 0, .32);
}

.upgrade-cart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.upgrade-cart-line,
.upgrade-cart-totals > div,
.checkout-cart-row {
    background: rgba(255, 255, 255, .055);
}

.cart-remove {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--ah-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.cart-remove svg {
    width: 16px;
    height: 16px;
}

.app-footer {
    background:
        linear-gradient(135deg, rgba(184, 255, 92, .055), transparent 32rem),
        #050607 !important;
}

.footer-links a {
    color: rgba(255, 255, 255, .76);
}

.footer-links a:hover {
    color: #fff;
}

.react-profile-studio {
    min-height: auto !important;
}

.react-studio-stage {
    min-height: 470px !important;
    border-color: var(--ah-line-strong);
}

.react-studio-card {
    width: min(72%, 344px);
    min-height: 400px !important;
}

.react-card-cover {
    min-height: 122px !important;
}

.react-studio-metrics div {
    min-height: 70px;
}

.react-studio-tabs button span {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: auto !important;
        padding-block: 3rem 2rem !important;
    }

    .section-heading,
    .upgrade-section-head,
    .home-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-workflow-panel {
        grid-template-columns: 1fr;
    }

    .home-workflow-panel > svg {
        transform: rotate(90deg);
        margin-inline: auto;
    }

    .react-studio-stage {
        min-height: 430px !important;
    }

    .upgrade-cart-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(100% - 1.5rem, 540px);
    }

    .home-hero h1 {
        font-size: 3.35rem;
    }

    .home-card-grid,
    .home-audience-grid,
    .home-stat-grid,
    .hero-metrics,
    .pricing-plan-row,
    .upgrade-addon-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pricing-plan-row > *,
    .row.pricing-plan-row > * {
        width: 100%;
    }

    .username-check .btn {
        width: 100%;
    }

    .dashboard-header {
        align-items: stretch;
    }

    .dashboard-header .btn {
        width: 100%;
    }

    .upgrade-cart-line,
    .upgrade-cart-totals > div,
    .checkout-cart-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .upgrade-cart-line strong,
    .upgrade-cart-totals strong,
    .checkout-cart-row strong {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        padding-block: 1.75rem 1rem !important;
    }

    .home-hero h1 {
        margin-bottom: .75rem;
        font-size: 2.55rem;
    }

    .home-hero .lead {
        font-size: .98rem;
        line-height: 1.48;
    }

    .home-trust-row {
        display: none;
    }

    .react-studio-shell {
        gap: .65rem;
    }

    .react-studio-toolbar {
        display: none;
    }

    .react-studio-stage {
        min-height: 330px !important;
        max-height: 330px;
        padding: .65rem;
    }

    .react-studio-card {
        width: min(100%, 292px);
        min-height: 292px !important;
        transform: none;
    }

    .react-card-cover {
        min-height: 78px !important;
        padding: .7rem;
    }

    .react-card-cover span {
        min-height: 24px;
        font-size: .7rem;
    }

    .react-card-cover svg {
        width: 24px;
        height: 24px;
    }

    .react-card-body {
        gap: .52rem;
        padding: .72rem;
    }

    .react-avatar {
        width: 42px;
        height: 42px;
        font-size: .86rem;
    }

    .react-avatar-row h2 {
        font-size: 1rem;
    }

    .react-avatar-row p,
    .react-card-summary {
        font-size: .8rem;
        line-height: 1.36;
    }

    .react-card-summary {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .react-link-row {
        gap: .32rem;
    }

    .react-link-row span {
        min-height: 25px;
        padding: .18rem .4rem;
        font-size: .7rem;
    }

    .react-card-actions {
        grid-template-columns: 1fr 64px;
        gap: .42rem;
    }

    .react-card-actions .btn {
        min-height: 36px;
        padding-inline: .45rem;
        font-size: .78rem;
    }

    .react-plan-ticket,
    .react-qr-panel,
    .react-showcase-shadow,
    .react-studio-metrics {
        display: none !important;
    }
}

/* Latest public profile and auth polish */
:root {
    --profile-lime: #a7ff4f;
    --profile-cyan: #22d3ee;
    --profile-ember: #ff7a3d;
    --profile-violet: #9b8cff;
}

.auth-wrap {
    position: relative;
    display: grid;
    align-items: center;
    min-height: calc(100vh - 190px);
}

.auth-wrap::before {
    content: "";
    position: absolute;
    inset: 1rem .75rem;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .045);
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: .55;
}

.auth-card {
    position: relative;
    z-index: 1;
    border-color: rgba(255, 255, 255, .15) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035)),
        #080b0d !important;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
    animation: auth-card-enter .58s ease both;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--profile-lime), var(--profile-cyan), var(--profile-ember), var(--profile-violet));
    background-size: 180% 100%;
    animation: profile-line-flow 5s ease-in-out infinite;
}

.auth-card .card-body {
    position: relative;
    z-index: 1;
}

.auth-card h1,
.auth-card .h2,
.auth-card .h3 {
    color: #fff;
    letter-spacing: 0;
}

.auth-card .form-label {
    color: rgba(255, 255, 255, .76);
    font-weight: 750;
}

.auth-card .form-control,
.auth-card .form-select {
    min-height: 48px;
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .075);
    color: #fff;
}

.auth-card .form-control:focus,
.auth-card .form-select:focus {
    border-color: rgba(167, 255, 79, .72);
    box-shadow: 0 0 0 .22rem rgba(167, 255, 79, .12);
}

.auth-link-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .85rem;
}

.auth-action-btn {
    min-height: 44px;
    padding-inline: .55rem;
    justify-content: center;
    gap: .45rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .065);
    color: rgba(255, 255, 255, .86);
    font-size: .9rem;
    font-weight: 780;
    box-shadow: none;
}

.auth-action-btn span {
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}

.auth-action-btn svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.auth-action-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(167, 255, 79, .42);
    background: rgba(255, 255, 255, .105);
    color: #fff;
}

.auth-action-primary {
    border-color: rgba(167, 255, 79, .55);
    background: linear-gradient(135deg, rgba(167, 255, 79, .2), rgba(34, 211, 238, .12));
    color: #fff;
}

.public-profile {
    position: relative;
    overflow: hidden;
    padding-bottom: 4.5rem;
    background:
        linear-gradient(180deg, rgba(167, 255, 79, .055), transparent 24rem),
        linear-gradient(110deg, rgba(34, 211, 238, .075), transparent 40rem),
        #050607 !important;
    color: #f8fafc !important;
}

.public-profile::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 84px 84px;
    opacity: .42;
}

.public-profile .container {
    position: relative;
    z-index: 1;
}

.profile-cover {
    min-height: 330px;
    background-image:
        linear-gradient(135deg, rgba(167, 255, 79, .25), rgba(34, 211, 238, .18) 46%, rgba(255, 122, 61, .2)),
        var(--profile-cover-image, linear-gradient(135deg, #17210f, #081116 52%, #1c1113));
    background-size: 130% 130%, cover;
    background-position: center;
    animation: profile-cover-pan 18s ease-in-out infinite alternate;
}

.profile-cover::after {
    background:
        linear-gradient(180deg, rgba(5, 6, 7, .08), rgba(5, 6, 7, .88)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 92px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .026) 0 1px, transparent 1px 92px);
}

.public-card {
    margin-top: -100px;
    padding: 1.55rem;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .038)),
        #080b0d !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    animation: profile-rise .62s ease both;
}

.public-card::before {
    height: 3px;
    background: linear-gradient(90deg, var(--profile-lime), var(--profile-cyan), var(--profile-ember), var(--profile-violet));
    background-size: 180% 100%;
    animation: profile-line-flow 5s ease-in-out infinite;
}

.public-head {
    align-items: center;
    gap: 1.1rem;
}

.public-avatar {
    width: 112px;
    height: 112px;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .35);
}

.public-avatar.initials {
    background: linear-gradient(135deg, var(--profile-lime), rgba(34, 211, 238, .95));
    color: #061008;
    font-weight: 900;
}

.profile-category-chip,
.premium-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 30px;
    border: 1px solid rgba(167, 255, 79, .36);
    border-radius: 8px;
    background: rgba(167, 255, 79, .105);
    color: var(--profile-lime);
    font-weight: 850;
}

.premium-profile-badge {
    color: #081008;
    background: var(--profile-lime);
}

.public-title h1 {
    margin-top: .45rem;
    color: #fff;
    font-size: 2.65rem;
    line-height: 1;
    letter-spacing: 0;
}

.profile-headline,
.profile-company,
.profile-bio {
    color: rgba(226, 232, 240, .78);
}

.profile-company {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.profile-company svg {
    color: var(--profile-lime);
}

.profile-bio {
    margin: 0;
    padding: .95rem 1rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-left: 3px solid var(--profile-lime);
    border-radius: 8px;
    background: rgba(255, 255, 255, .055);
    line-height: 1.65;
}

.profile-actions .btn,
.profile-guest-cta .btn,
.qr-modal-body .btn {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 850;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.profile-actions .btn-primary,
.profile-guest-cta .btn-primary,
.qr-modal-body .btn-primary {
    color: #071007 !important;
}

.profile-actions .btn-outline-primary,
.profile-actions .btn-outline-success,
.profile-actions .btn-outline-secondary,
.qr-modal-body .btn-outline-primary,
.qr-modal-body .btn-outline-secondary {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .065);
    color: #fff;
}

.profile-actions .btn-outline-success {
    border-color: rgba(16, 185, 129, .36);
    color: #2ee59d;
}

.profile-actions .btn-outline-primary:hover,
.profile-actions .btn-outline-success:hover,
.profile-actions .btn-outline-secondary:hover,
.qr-modal-body .btn-outline-primary:hover,
.qr-modal-body .btn-outline-secondary:hover {
    border-color: rgba(167, 255, 79, .44);
    background: rgba(255, 255, 255, .105);
    color: #fff;
}

.profile-actions .btn svg,
.profile-guest-cta .btn svg,
.qr-modal-body .btn svg {
    color: currentColor !important;
}

.profile-actions .btn span,
.profile-guest-cta .btn span,
.qr-modal-body .btn span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-guest-cta .btn span {
    color: #071007 !important;
}

.profile-actions .btn:hover,
.profile-guest-cta .btn:hover,
.qr-modal-body .btn:hover {
    transform: translateY(-2px);
}

.social-grid a {
    min-height: 60px;
    border-color: rgba(255, 255, 255, .13) !important;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)),
        #0b0f13 !important;
    color: #fff !important;
}

.social-grid a:hover {
    border-color: rgba(167, 255, 79, .45) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.social-grid a svg,
.detail-list svg,
.profile-section h2 svg {
    color: var(--profile-lime) !important;
}

.profile-section {
    border: 1px solid rgba(255, 255, 255, .13) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .032)),
        #080b0d !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
    animation: profile-soft-in .58s ease both;
}

.profile-section:nth-child(2) {
    animation-delay: .08s;
}

.profile-section h2 {
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.detail-list li,
.meta-list div,
.item-stack article,
.video-box,
.public-gallery figure {
    border-color: rgba(255, 255, 255, .11);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.detail-list li:hover,
.meta-list div:hover,
.item-stack article:hover,
.public-gallery figure:hover {
    transform: translateY(-2px);
    border-color: rgba(167, 255, 79, .34);
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
}

.meta-list strong,
.detail-list a,
.meta-list a,
.item-stack a {
    color: #fff;
}

.skill-line .progress {
    height: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .085);
}

.skill-line .progress-bar {
    background: linear-gradient(90deg, var(--profile-lime), var(--profile-cyan));
}

.profile-guest-cta {
    border-color: rgba(167, 255, 79, .22);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(167, 255, 79, .11), rgba(34, 211, 238, .065));
}

.qr-frame {
    border-radius: 8px;
    background: #fff;
}

@keyframes auth-card-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes profile-rise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes profile-soft-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes profile-line-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes profile-cover-pan {
    from {
        background-position: 45% 45%, center;
    }
    to {
        background-position: 58% 55%, center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card,
    .auth-card::before,
    .profile-cover,
    .public-card,
    .public-card::before,
    .profile-section {
        animation: none !important;
    }
}

@media (max-width: 767.98px) {
    .auth-wrap {
        min-height: auto;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .auth-wrap::before {
        inset: .75rem;
        background-size: 54px 54px;
    }

    .auth-link-actions {
        grid-template-columns: 1fr;
    }

    .profile-cover {
        min-height: 245px;
    }

    .public-card {
        margin-top: -78px;
        padding: 1rem;
    }

    .public-head {
        align-items: flex-start;
    }

    .public-title h1 {
        font-size: 2.05rem;
    }

    .profile-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .profile-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .public-profile {
        padding-bottom: 2.5rem;
    }

    .profile-cover {
        min-height: 220px;
    }

    .public-avatar {
        width: 82px;
        height: 82px;
        font-size: 1.45rem;
    }

    .public-title h1 {
        font-size: 1.8rem;
    }

    .profile-category-chip,
    .premium-profile-badge {
        font-size: .76rem;
    }

    .profile-bio {
        padding: .8rem;
    }
}
