*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg-1: #130c15;
    --bg-2: #241018;
    --glow: rgba(255, 122, 85, 0.7);
    --accent: #ff7855;
    --accent-strong: #ff4f6d;
    --text-main: #fff5ee;
    --text-sub: rgba(255, 225, 210, 0.8);
}

html, body {
    margin: 0;
    font-family: 'Montserrat', 'Raleway', sans-serif;
    background: var(--bg-1);
    color: var(--text-main);
    min-height: 100%;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg-animation {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 15%, rgba(255, 112, 62, 0.35), transparent 60%),
                radial-gradient(circle at 80% 25%, rgba(102, 74, 255, 0.28), transparent 62%),
                radial-gradient(circle at 50% 80%, rgba(255, 120, 84, 0.22), transparent 55%);
    filter: blur(40px);
    opacity: 0.85;
    animation: shift 18s ease-in-out infinite;
    z-index: 0;
}

@keyframes shift {
    0%, 100% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.12) translate(-3%, 2%);
    }
}

body > * {
    position: relative;
    z-index: 1;
}

.top-bar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 14px 22px;
    border-radius: 18px;
    background: rgba(20, 18, 32, 0.22);
    border: none;
    backdrop-filter: blur(22px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
    z-index: 1000;
    transition: transform 0.35s ease, opacity 0.35s ease;
    opacity: 1;
}

.top-bar--hidden {
    transform: translate(-50%, -130%);
    opacity: 0;
}

.top-bar__left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.92rem;
}

.brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    box-shadow: none;
}

.nav {
    display: flex;
    gap: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-link {
    position: relative;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.top-bar__actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #1a0b0f;
    box-shadow: 0 16px 32px rgba(255, 102, 102, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 20px 38px rgba(255, 102, 102, 0.5);
}

.btn-dark {
    background: rgba(10, 8, 14, 0.8);
    color: var(--text-main);
}

.btn-dark:hover {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    border-color: rgba(255, 180, 150, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 180, 150, 0.16);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: rgba(255, 206, 186, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 206, 186, 0.16);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.02rem;
}

.btn-wide {
    width: 100%;
}

main {
    display: flex;
    flex-direction: column;
    gap: 140px;
    padding: 180px clamp(24px, 5vw, 72px) 120px;
}

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 760px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-self: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(255, 118, 82, 0.12);
    color: rgba(255, 214, 188, 0.85);
    letter-spacing: 0.24em;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero__title {
    margin: 0;
    font-size: clamp(3rem, 12vw, 5.6rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-shadow: 0 0 18px var(--glow), 0 0 46px rgba(255, 120, 85, 0.45);
}

.hero__text {
    margin: 0;
    font-size: clamp(1.1rem, 3vw, 1.36rem);
    line-height: 1.7;
    color: var(--text-sub);
}

.hero__actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.78rem;
    color: rgba(255, 210, 190, 0.7);
    font-weight: 600;
}

.section-title {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
}

.section-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-sub);
}

.launcher-card {
    display: flex;
    gap: clamp(32px, 7vw, 96px);
    align-items: stretch;
    padding: clamp(32px, 6vw, 64px);
    border-radius: 36px;
    background: linear-gradient(150deg, rgba(15, 12, 22, 0.85) 0%, rgba(10, 8, 16, 0.8) 45%, rgba(36, 16, 26, 0.75) 100%);
    border: none;
    box-shadow: 0 46px 140px rgba(0, 0, 0, 0.38);
}

.launcher-card:hover {
    transform: translateY(-6px);
}

.launcher-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.launcher-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.launcher-tab {
    position: relative;
    z-index: 1;
    padding: 12px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 14, 20, 0.55);
    color: rgba(255, 226, 210, 0.76);
    font-weight: 600;
    font-size: 0.96rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.launcher-tab .tab-icon {
    width: 20px;
    height: 20px;
}

.launcher-tab.active {
    background: linear-gradient(135deg, #fff5ef, #ffe7dc);
    color: #1a1116;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 30px rgba(255, 214, 194, 0.42);
}

.launcher-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.launcher-card__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.requirements {
    display: none;
    flex-direction: column;
    gap: 26px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(11, 9, 16, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 18px rgba(255, 122, 85, 0.08);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.requirements.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.requirements li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 1rem;
    color: rgba(255, 219, 204, 0.82);
}

.requirements li span:first-child {
    opacity: 0.58;
}

.launcher-card__visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.device-frame {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(520px, 90vw);
    aspect-ratio: 4 / 3;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4);
    background: transparent;
}

.device-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.device-frame img.is-switching {
    opacity: 0;
    transform: scale(0.9);
}

.device-glow {
    display: none;
}

.device-note {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 224, 210, 0.72);
    max-width: 420px;
}

.community__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.community-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    border-radius: 999px;
    background: rgba(11, 9, 16, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.34);
    color: inherit;
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.38);
}

.community-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(15, 14, 20, 0.75);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-card__icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.community-card:hover .community-card__icon {
    animation: pulseGlow 1.3s ease-in-out infinite;
}

.map-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.map-section__frame {
    position: relative;
    width: min(100%, 1200px);
    margin: clamp(2rem, 6vw, 3.5rem) auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(9, 14, 24, 0.85);
    box-shadow: 0 25px 60px rgba(5, 11, 26, 0.45);
}

.map-section__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-section__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: inherit;
}

@supports not (aspect-ratio: 16 / 9) {
    .map-section__frame {
        padding-bottom: 56.25%;
    }

    .map-section__frame iframe {
        position: absolute;
        inset: 0;
    }
}

.react-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #19171a;
    font-family: "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.react-loader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.react-loader__main-information {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, 90%);
}

.react-loader__title {
    text-align: center;
    font-weight: 600;
    color: #fff;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.25;
}

.react-loader__description {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: 24px;
}

.react-loader__description-smile {
    width: 30px;
    margin-left: 10px;
    vertical-align: middle;
}

.react-loader__left-gradient-wrapper,
.react-loader__right-gradient-wrapper {
    position: fixed;
    bottom: -130px;
    pointer-events: none;
}

.react-loader__left-gradient-wrapper {
    width: 490px;
    height: 390px;
    left: 50%;
    transform: translateX(-100%);
    animation: left-gradient-animation 5s ease-in-out infinite;
}

.react-loader__right-gradient-wrapper {
    width: 410px;
    height: 430px;
    right: 50%;
    transform: translateX(100%);
    animation: right-gradient-animation 5s ease-in-out infinite;
}

.react-loader__left-small-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    width: 280px;
    height: 200px;
    background: linear-gradient(180deg, #ff08ab, rgba(245, 138, 37, 0) 100%);
    filter: blur(45px);
}

.react-loader__left-big-gradient {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(0);
    border-radius: 50%;
    width: 490px;
    height: 360px;
    background: linear-gradient(180deg, #fc50b7, rgba(255, 197, 111, 0.46));
    filter: blur(100px);
}

.react-loader__right-small-gradient,
.react-loader__right-big-gradient {
    position: absolute;
    left: 0;
    border-radius: 50%;
    transform: scaleY(-1);
}

.react-loader__right-small-gradient {
    bottom: 0;
    width: 315px;
    height: 255px;
    background: linear-gradient(180.06deg, rgba(153, 0, 191, 0.28) -18.19%, rgba(0, 78, 228, 0.52) 110.13%);
    filter: blur(45px);
}

.react-loader__right-big-gradient {
    top: 0;
    width: 413px;
    height: 317px;
    background: linear-gradient(180.01deg, rgba(0, 9, 213, 0.65) -8.02%, #64ffb2 85.64%);
    filter: blur(100px);
}

.react-loader__copyright {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 25px;
    border-radius: 10px;
    background: rgba(17, 17, 17, 0.5);
    font-size: 1.6rem;
    color: #fff;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    white-space: nowrap;
}

.react-loader__copyright-smile {
    width: 18px;
    vertical-align: middle;
}

@keyframes right-gradient-animation {
    0% {
        transform: translateX(100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes left-gradient-animation {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media screen and (max-width: 550px) {
    .react-loader__title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
}

@media screen and (max-width: 500px) {
    .react-loader__left-gradient-wrapper {
        animation: left-gradient-animation-small 3s ease-in-out infinite;
    }

    .react-loader__right-gradient-wrapper {
        animation: right-gradient-animation-small 3s ease-in-out infinite;
    }

    @keyframes right-gradient-animation-small {
        0% {
            transform: translateX(100%);
        }
        50% {
            transform: translateX(90%);
        }
        100% {
            transform: translateX(100%);
        }
    }

    @keyframes left-gradient-animation-small {
        0% {
            transform: translateX(-100%);
        }
        50% {
            transform: translateX(-90%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.58);
    }
}

.footer {
    margin-top: 80px;
    padding: 48px clamp(24px, 6vw, 120px) 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(18, 12, 24, 0.82) 0%, rgba(10, 8, 16, 0.86) 100%);
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(120px, 320px) minmax(200px, 1fr);
    gap: clamp(24px, 8vw, 100px);
    align-items: start;
}

.footer__brand {
    display: flex;
    gap: 16px;
    align-items: center;
    color: rgba(255, 224, 209, 0.75);
    font-size: 0.95rem;
}

.footer__brand img {
    width: 48px;
    height: 48px;
}

.footer__links {
    display: flex;
    gap: 60px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 222, 210, 0.72);
    font-size: 0.95rem;
}

.footer__title {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    color: rgba(255, 236, 226, 0.76);
}

.footer__col a:hover {
    color: var(--text-main);
}

.footer__payments {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-end;
    color: rgba(255, 222, 210, 0.7);
    font-size: 0.94rem;
}

.footer__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(11, 9, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.footer__mail {
    color: rgba(255, 238, 229, 0.85);
    font-weight: 600;
}

.cabinet-page {
    margin: 0;
    font-family: 'Montserrat', 'Raleway', sans-serif;
    background: var(--bg-1);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

.cabinet-topbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 32px));
    padding: 14px 22px;
    border-radius: 18px;
    background: rgba(20, 18, 32, 0.28);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1100;
}

.cabinet-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 233, 220, 0.92);
    font-size: 0.88rem;
}

.cabinet-logo img {
    width: 38px;
    height: 38px;
}

.cabinet-back {
    color: rgba(255, 233, 220, 0.74);
    font-weight: 600;
    font-size: 0.92rem;
    transition: opacity 0.2s ease;
}

.cabinet-back:hover {
    opacity: 0.9;
}

.cabinet-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 24px 90px;
}

.cabinet-card {
    position: relative;
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(200px, 1fr);
    gap: 48px;
    padding: clamp(32px, 6vw, 52px);
    border-radius: 32px;
    background: linear-gradient(140deg, rgba(22, 16, 30, 0.92), rgba(10, 8, 18, 0.88));
    box-shadow: 0 55px 160px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.cabinet-card__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    z-index: 2;
}

.cabinet-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 132, 96, 0.12);
    letter-spacing: 0.24em;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 220, 204, 0.82);
}

.cabinet-title {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cabinet-text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 225, 214, 0.78);
}

.cabinet-hint {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 222, 210, 0.6);
}

.cabinet-auth {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cabinet-user {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(12, 10, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
}

.cabinet-user img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.cabinet-user__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cabinet-user__name {
    font-size: 1.12rem;
    font-weight: 700;
}

.cabinet-user__id {
    font-size: 0.9rem;
    color: rgba(255, 222, 210, 0.68);
    text-decoration: none;
}

.cabinet-user__id:hover {
    color: rgba(255, 236, 226, 0.9);
}

.cabinet-error {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 86, 86, 0.14);
    border: 1px solid rgba(255, 134, 134, 0.24);
    color: rgba(255, 214, 214, 0.9);
    font-size: 0.92rem;
}

.cabinet-card__mockup {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 30%, rgba(255, 120, 92, 0.28), transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(96, 122, 255, 0.25), transparent 75%);
}

.cabinet-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.18;
}

.cabinet-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.65;
    animation: floatOrb 10s ease-in-out infinite;
}

.orb-1 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 132, 94, 0.4), transparent 70%);
    top: 10%;
    left: 8%;
}

.orb-2 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(96, 132, 255, 0.45), transparent 70%);
    bottom: 12%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(12px, -16px, 0);
    }
}

.cabinet-settings {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(12, 10, 18, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cabinet-settings__row {
    display: flex;
    gap: 12px;
}

.cabinet-label {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 224, 210, 0.68);
}

.cabinet-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 6, 12, 0.6);
    color: var(--text-main);
    font-size: 0.95rem;
}

.cabinet-input::placeholder {
    color: rgba(255, 225, 214, 0.38);
}

.cabinet-helper {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 222, 210, 0.55);
}

@media (max-width: 1100px) {
    .launcher-card {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .launcher-card__info {
        align-items: center;
    }

    .launcher-card__title,
    .requirements {
        text-align: left;
        width: min(480px, 100%);
    }
}

@media (max-width: 900px) {
    main {
        padding: 150px 22px 90px;
        gap: 90px;
    }

    .hero__title {
        font-size: clamp(2.6rem, 11vw, 4.2rem);
    }

    .hero__text {
        font-size: 1.08rem;
    }

    .launcher-card {
        padding: 28px;
        border-radius: 28px;
    }
}

@media (max-width: 960px) {
    .top-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .top-bar__actions {
        order: 3;
    }

    .nav {
        order: 2;
    }

    main {
        padding: 160px 24px 100px;
        gap: 100px;
    }

    .footer {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 32px;
        text-align: center;
    }

    .footer__brand,
    .footer__payments {
        align-items: center;
    }

    .footer__links {
        justify-content: center;
    }

    .footer__payments {
        align-items: center;
    }
}

@media (max-width: 720px) {
    .top-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        padding: 12px 16px;
        border-radius: 16px;
    }

    .top-bar__actions {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .nav {
        order: 2;
    }

    .hero__badge {
        font-size: 0.74rem;
        letter-spacing: 0.2em;
    }

    .hero__title {
        font-size: clamp(2.4rem, 10vw, 3.6rem);
    }

    .hero__actions {
        flex-direction: column;
        gap: 14px;
    }

    .launcher-card {
        padding: 24px;
        gap: 32px;
    }

    .launcher-card__info {
        width: 100%;
    }

    .launcher-tabs {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .launcher-tab {
        width: 100%;
        padding: 14px 16px;
    }

    .launcher-card__title,
    .requirements {
        text-align: center;
        width: 100%;
    }

    .device-frame {
        width: min(420px, 100%);
        border-radius: 26px;
        box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
    }

    .community__grid {
        grid-template-columns: 1fr;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding: 40px 22px 56px;
    }

    .footer__brand,
    .footer__payments {
        align-items: center;
    }

    .footer__links {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .nav {
        display: none;
    }

    .top-bar__actions {
        width: 100%;
        justify-content: center;
    }

    .hero__actions {
        flex-direction: column;
    }

    .requirements {
        padding: 26px;
        text-align: center;
    }

    .community-card {
        border-radius: 24px;
    }

    .footer__links {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 540px) {
    .top-bar__actions .btn {
        width: 100%;
    }

    .top-bar__actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        gap: 26px;
    }

    .hero__title {
        font-size: clamp(2rem, 12vw, 3.2rem);
    }

    .launcher-card {
        padding: 20px;
        border-radius: 22px;
    }

    .requirements ul {
        gap: 10px;
    }

    .requirements li {
        flex-direction: column;
        gap: 6px;
        font-size: 0.96rem;
    }

    .device-note {
        font-size: 0.88rem;
    }

    .community-card {
        padding: 18px 20px;
        border-radius: 22px;
    }

    .footer-icon {
        width: 42px;
        height: 42px;
    }

    .cabinet-settings__row {
        flex-direction: column;
    }

    .cabinet-input {
        width: 100%;
    }

    .online-card {
        border-radius: 36px;
        padding: 32px 28px;
    }
}

@media (max-width: 420px) {
    main {
        padding: 140px 18px 70px;
    }

    .top-bar {
        top: 18px;
        width: calc(100% - 24px);
    }

    .hero__text {
        font-size: 1rem;
    }

    .launcher-card__title {
        font-size: 1.35rem;
    }

    .community-card__value {
        font-size: 1.25rem;
    }
}

@media (max-width: 920px) {
    .cabinet-card {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cabinet-card__mockup {
        min-height: 220px;
    }
}



@media (max-width: 640px) {
    .cabinet-topbar {
        top: 16px;
        width: calc(100% - 24px);
        padding: 12px 18px;
    }

    .cabinet-logo span {
        display: none;
    }

    .cabinet-main {
        padding: 140px 18px 72px;
    }

    .cabinet-card {
        padding: 26px 20px;
        border-radius: 26px;
    }

    .cabinet-user {
        flex-direction: column;
        align-items: flex-start;
    }

    .cabinet-user img {
        width: 72px;
        height: 72px;
        border-radius: 22px;
    }
}

.shop-main {
    padding: 180px clamp(24px, 6vw, 90px) 120px;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.shop-hero {
    position: relative;
    padding: clamp(48px, 10vw, 80px) clamp(44px, 12vw, 120px);
    border-radius: 44px;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(38, 20, 28, 0.95) 0%, rgba(21, 15, 30, 0.9) 50%, rgba(18, 20, 32, 0.92) 100%);
    box-shadow: 0 60px 160px rgba(0, 0, 0, 0.55);
}

.shop-hero::before,
.shop-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
    opacity: 0.65;
}

.shop-hero::before {
    width: clamp(260px, 32vw, 360px);
    height: clamp(260px, 32vw, 360px);
    background: radial-gradient(circle, rgba(255, 120, 94, 0.45), transparent 70%);
    top: -18%;
    left: -8%;
}

.shop-hero::after {
    width: clamp(260px, 34vw, 420px);
    height: clamp(260px, 34vw, 420px);
    background: radial-gradient(circle, rgba(90, 124, 255, 0.38), transparent 70%);
    bottom: -22%;
    right: -6%;
}

.shop-hero > * {
    position: relative;
    z-index: 1;
}

.shop-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 132, 96, 0.18);
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: rgba(255, 222, 210, 0.78);
}

.shop-title {
    margin: 0;
    font-size: clamp(3.2rem, 9vw, 5.2rem);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.shop-description {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.74;
    color: rgba(255, 225, 214, 0.8);
    max-width: 680px;
}

.shop-panel {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.shop-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.shop-tabs {
    position: relative;
    display: flex;
    gap: 6px;
    background: rgba(10, 8, 16, 0.58);
    padding: 10px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-tabs__indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 0;
    height: calc(100% - 20px);
    border-radius: 20px;
    background: linear-gradient(135deg, #ff5c74, #ff906f);
    box-shadow: 0 18px 36px rgba(255, 126, 94, 0.35);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.shop-tab {
    position: relative;
    z-index: 1;
    padding: 12px 26px;
    border-radius: 18px;
    border: none;
    background: transparent;
    color: rgba(255, 230, 216, 0.75);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.shop-tab.active {
    color: #180c12;
}

.shop-tab:not(.active):hover {
    color: rgba(255, 236, 228, 0.92);
}

.shop-balance {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(12, 10, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 225, 214, 0.76);
}

.shop-balance__label {
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-balance__price {
    font-size: 1rem;
    font-weight: 700;
    color: #fff2e8;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.shop-card {
    position: relative;
    border-radius: 28px;
    padding: 28px;
    background: linear-gradient(160deg, rgba(16, 12, 20, 0.9) 0%, rgba(10, 8, 16, 0.86) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 38px 110px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shop-card__tag {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7b59, #ffa067);
    color: #1c0b0b;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-card__media {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(255, 132, 96, 0.3), transparent 70%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.shop-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-card__title {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 700;
    color: #fff6f0;
}

.shop-card__description {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 221, 209, 0.76);
}

.shop-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 18px;
}

.shop-card__price {
    font-size: 1.24rem;
    font-weight: 700;
    color: #fff5ee;
}

.btn-sm {
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 0.9rem;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff5ef;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 26px rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
    .shop-main {
        padding-top: 160px;
        gap: 60px;
    }

    .shop-panel__header {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .shop-tabs {
        flex-wrap: wrap;
        padding: 12px;
    }

    .shop-tab {
        flex: 1 1 calc(50% - 12px);
        text-align: center;
        padding: 14px 12px;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 20px;
    }

    .shop-card {
        padding: 24px;
    }
}
