:root {
    --bg: #0d0d0d;
    --line: #161616;

    --card-top: rgba(25, 28, 36, 0.32);
    --card-bottom: #13161d;
    --card-border: #2c2f36;

    --white: #ffffff;
    --text: #f3f8f8;
    --muted: #999c9e;

    --blue: #3866db;
    --blue-border: #5d85eb;
    --blue-hover: #4875e6;

    --secondary-bg: #222a3f;
    --secondary-border: #29344e;
    --secondary-text: #7890cf;

    --icon-btn: #39435d;
    --icon-btn-hover: #444f6d;

    --pill: rgba(111, 141, 227, 0.04);
    --nav-active-bg: #232b3f;
    --nav-active-border: #273046;
    --nav-active-text: #8195c8;

    --glow: #5173c9;
    --beam: #6585ee;

    --status-online: #5de366;
    --status-testing: #b5c4e9;
    --status-updating: #e3cf5d;
    --status-developing: #8b9dff;
    --status-recode: #e38b5d;
    --status-offline: #df4f4f;

    --radius-card: 40px;
    --radius-btn: 26px;

    --font-title: 'Unbounded', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    overflow-x: hidden;
    min-height: 100vh;
}

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

img {
    display: block;
    max-width: 100%;
}

footer {
    content-visibility: auto;
    contain-intrinsic-size: 420px;
}

::selection {
    background: rgba(56, 102, 219, 0.4);
    color: #fff;
}

/* ---------- фон: линии, свечения, шум ---------- */

.arc-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.arc-bg .lines {
    position: absolute;
    inset: 0 120px;
    display: flex;
    justify-content: space-between;
}

.arc-bg .lines span {
    width: 1px;
    height: 100%;
    background: var(--line);
}

.arc-bg .glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--glow);
    filter: blur(300px);
    opacity: 0.55;
}

.arc-bg .glow-1 { top: -220px; left: 30%; }
.arc-bg .glow-2 { top: 60%; left: -190px; }
.arc-bg .glow-3 { top: 15%; right: -190px; }

.arc-bg .beams {
    position: absolute;
    top: -160px;
    left: -310px;
    width: 735px;
    height: 1148px;
    opacity: 0.5;
    background:
        linear-gradient(180deg, rgba(101, 133, 238, 0.24), rgba(101, 133, 238, 0.16)) 0 0 / 124px 985px no-repeat,
        linear-gradient(180deg, rgba(101, 133, 238, 0.24), rgba(101, 133, 238, 0.16)) 253px 163px / 124px 985px no-repeat,
        linear-gradient(180deg, rgba(101, 133, 238, 0.24), rgba(101, 133, 238, 0.16)) 611px 0 / 124px 985px no-repeat;
    filter: blur(120px);
    transform: rotate(12deg);
}

.arc-bg .beams.right {
    left: auto;
    right: -310px;
    top: -260px;
    transform: rotate(-12deg);
}

.arc-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url('/img/arcane/noise.jpg') repeat;
    background-size: 256px;
    opacity: 0.02;
}

/* macOS / iOS: лёгкий фон без filter:blur (PC оставляет полный дизайн выше) */
html.arc-bg-lite .arc-bg,
body.arc-bg-lite .arc-bg {
    contain: strict;
    transform: translateZ(0);
}

html.arc-bg-lite .arc-bg .lines,
body.arc-bg-lite .arc-bg .lines {
    display: block;
    background: repeating-linear-gradient(
        90deg,
        var(--line) 0 1px,
        transparent 1px calc((100% - 11px) / 11)
    );
}

html.arc-bg-lite .arc-bg .lines span,
body.arc-bg-lite .arc-bg .lines span {
    display: none;
}

html.arc-bg-lite .arc-bg .glow,
body.arc-bg-lite .arc-bg .glow {
    width: 560px;
    height: 560px;
    background: radial-gradient(
        circle at center,
        rgba(81, 115, 201, 0.58) 0%,
        rgba(81, 115, 201, 0.28) 38%,
        transparent 70%
    );
    filter: none;
    opacity: 1;
}

html.arc-bg-lite .arc-bg .glow-1,
body.arc-bg-lite .arc-bg .glow-1 { top: -260px; left: 24%; }
html.arc-bg-lite .arc-bg .glow-2,
body.arc-bg-lite .arc-bg .glow-2 { top: 52%; left: -240px; }
html.arc-bg-lite .arc-bg .glow-3,
body.arc-bg-lite .arc-bg .glow-3 { top: 10%; right: -240px; }

html.arc-bg-lite .arc-bg .beams,
body.arc-bg-lite .arc-bg .beams {
    opacity: 0.38;
    filter: none;
    background:
        linear-gradient(180deg, rgba(101, 133, 238, 0.4), transparent 85%) 0 0 / 140px 100% no-repeat,
        linear-gradient(180deg, rgba(101, 133, 238, 0.32), transparent 85%) 260px 120px / 140px 100% no-repeat,
        linear-gradient(180deg, rgba(101, 133, 238, 0.36), transparent 85%) 560px 0 / 140px 100% no-repeat;
}

html.arc-bg-lite .arc-noise,
body.arc-bg-lite .arc-noise {
    display: none;
}

html.arc-bg-lite .arc-product-card .person,
html.arc-bg-lite .arc-product-card .glow-inner,
body.arc-bg-lite .arc-product-card .person,
body.arc-bg-lite .arc-product-card .glow-inner {
    transition: none !important;
}

html.arc-bg-lite .arc-product-card:hover .person,
body.arc-bg-lite .arc-product-card:hover .person {
    transform: none !important;
}

html.arc-bg-lite .arc-product-card:hover .glow-inner,
body.arc-bg-lite .arc-product-card:hover .glow-inner {
    transform: translate(-50%, -50%) !important;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .arc-scroll-down__wheel {
        animation: none !important;
    }
}

/* Safari UI: без backdrop-filter */
@supports (-webkit-touch-callout: none) {
    html {
        scroll-behavior: auto;
    }
    .arc-card,
    .arc-nav,
    .arc-header,
    .arc-header__right,
    .arc-btn--secondary,
    .arc-chip,
    .arc-product-periods,
    .arc-product-buy,
    .arc-lightbox,
    .arc-mobile-menu {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    .arc-header {
        background: rgba(13, 13, 13, 0.78);
    }
    .arc-header.scrolled {
        background: rgba(13, 13, 13, 0.92);
    }
}

/* ---------- контейнер ---------- */

.arc-container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1921px) {
    .arc-container { max-width: 1680px; }
}

.arc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
}

.arc-btn > * {
    position: relative;
    z-index: 1;
}

.arc-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.1px;
    height: 0.1px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}

.arc-btn:active {
    transform: scale(0.97);
}

.arc-btn--primary {
    background: var(--blue);
    border-color: var(--blue-border);
    color: #fff;
}

.arc-btn--primary:hover,
.arc-btn--primary:focus-visible {
    color: #fff;
}

.arc-btn--primary::before {
    background: #4875e6;
}

.arc-btn--primary:hover::before {
    width: 168px;
    height: 168px;
    opacity: 1;
}

.arc-btn--secondary {
    background: var(--secondary-bg);
    border-color: var(--secondary-border);
    color: var(--secondary-text);
}

.arc-btn--secondary:hover,
.arc-btn--secondary:focus-visible {
    color: var(--secondary-text);
}

.arc-btn--secondary::before {
    background: #272f45;
}

.arc-btn--secondary:hover::before {
    width: 184px;
    height: 184px;
    opacity: 1;
}

.arc-btn--icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    background: var(--icon-btn);
    border-color: var(--icon-btn);
    color: var(--text);
    font-size: 16px;
}

.arc-btn--icon::before {
    background: #30384c;
}

.arc-btn--icon:hover {
    background: var(--icon-btn-hover);
}

.arc-btn--icon:hover::before {
    width: 44px;
    height: 44px;
    opacity: 1;
}

.arc-btn--icon:disabled {
    opacity: 0.4;
    cursor: default;
}

.arc-btn--icon:disabled:hover::before {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
}

.arc-btn--social {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 12px;
    background: #17191d;
    border-color: #1f2227;
    color: var(--text);
    font-size: 18px;
}

.arc-btn--social::before {
    border-radius: 12px;
    background: #1e2025;
}

.arc-btn--social:hover::before {
    width: 40px;
    height: 40px;
    opacity: 1;
}

.arc-btn--social.arc-btn--social-img {
    padding: 8px;
}

.arc-btn--social.arc-btn--social-img img {
    width: 20px;
    height: 20px;
    display: block;
    filter: grayscale(1) brightness(1.15);
    opacity: 0.75;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.arc-btn--social.arc-btn--social-img:hover img {
    filter: none;
    opacity: 1;
}

/* ---------- бейдж секции (preheading) ---------- */

.arc-preheading {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 24px;
    background: var(--pill);
    border: 1px solid rgba(111, 141, 227, 0.12);
    color: var(--secondary-text);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---------- заголовки ---------- */

.arc-h1,
.arc-h2 {
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #9cb2ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}

.arc-h1 {
    font-size: clamp(40px, 5vw, 96px);
    line-height: 1.1;
    background: linear-gradient(90deg, #ffffff 0%, #9cb2ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.arc-h2 {
    font-size: clamp(24px, 2.5vw, 40px);
    line-height: 1.25;
    text-align: center;
}

.arc-section {
    position: relative;
    margin-top: 96px;
}

.arc-hero + .arc-section {
    margin-top: 64px;
}

.arc-section__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

/* ---------- статусы ---------- */

.arc-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.arc-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.arc-status--sm {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 16px;
    gap: 6px;
}

.arc-status--sm::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 8px currentColor;
}

.arc-status--online { color: var(--status-online); background: rgba(93, 227, 102, 0.08); }
.arc-status--testing { color: var(--status-testing); background: rgba(181, 196, 233, 0.08); }
.arc-status--updating { color: var(--status-updating); background: rgba(227, 207, 93, 0.08); }
.arc-status--developing { color: var(--status-developing); background: rgba(139, 157, 255, 0.12); }
.arc-status--recode { color: var(--status-recode); background: rgba(227, 139, 93, 0.12); }
.arc-status--offline { color: var(--status-offline); background: rgba(223, 79, 79, 0.08); }

/* ---------- карточка (базовая) ---------- */

.arc-card {
    position: relative;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, rgba(25, 28, 36, 0.92) 0%, var(--card-bottom) 100%);
    border: 1px solid rgba(44, 47, 54, 0.6);
    overflow: hidden;
    isolation: isolate;
    contain: paint;
    transition: border-color 0.3s ease;
}

.arc-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 228px;
    height: 228px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(55, 59, 69, 0.95) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.35s ease;
    filter: none;
}

.arc-card:hover {
    border-color: var(--card-border);
}

.arc-card:hover::before {
    opacity: 0.9;
}

/* ---------- шапка ---------- */

.arc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    background: rgba(13, 13, 13, 0.55);
    transition: background 0.3s ease;
}

.arc-header.scrolled {
    background: rgba(13, 13, 13, 0.9);
}

.arc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.arc-header__left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.arc-logo img {
    width: 59px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.arc-nav {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 40px;
    background: rgba(17, 20, 28, 0.72);
    border: 1px solid rgba(111, 141, 227, 0.08);
}

.arc-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    border-radius: 40px;
    border: 1px solid transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.arc-nav a:hover {
    color: var(--nav-active-text);
    font-weight: 600;
}

.arc-nav a.active {
    background: var(--nav-active-bg);
    border-color: var(--nav-active-border);
    color: var(--nav-active-text);
    font-weight: 600;
}

.arc-nav a.active::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nav-active-text);
}

.arc-header__right {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 100px;
    background: rgba(17, 20, 28, 0.72);
    border: 1px solid rgba(111, 141, 227, 0.08);
}

/* мобильное меню */

.arc-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--icon-btn);
    border: none;
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.arc-burger__icon,
.arc-burger__icon::before,
.arc-burger__icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    position: relative;
}

.arc-burger__icon::before,
.arc-burger__icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.arc-burger__icon::before { top: -6px; }
.arc-burger__icon::after { top: 6px; }

.arc-burger.is-open .arc-burger__icon {
    background: transparent;
}

.arc-burger.is-open .arc-burger__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.arc-burger.is-open .arc-burger__icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Мобильные: всегда лёгкий фон */
@media (max-width: 820px) {
    .arc-bg .glow {
        width: 560px;
        height: 560px;
        background: radial-gradient(
            circle at center,
            rgba(81, 115, 201, 0.58) 0%,
            rgba(81, 115, 201, 0.28) 38%,
            transparent 70%
        );
        filter: none;
        opacity: 1;
    }
    .arc-bg .beams {
        opacity: 0.32;
        filter: none;
        background:
            linear-gradient(180deg, rgba(101, 133, 238, 0.4), transparent 85%) 0 0 / 140px 100% no-repeat,
            linear-gradient(180deg, rgba(101, 133, 238, 0.32), transparent 85%) 260px 120px / 140px 100% no-repeat,
            linear-gradient(180deg, rgba(101, 133, 238, 0.36), transparent 85%) 560px 0 / 140px 100% no-repeat;
    }
    .arc-noise { display: none; }
    .arc-bg .lines span { display: none; }
    .arc-bg .lines {
        display: block;
        background: repeating-linear-gradient(
            90deg,
            var(--line) 0 1px,
            transparent 1px calc((100% - 11px) / 11)
        );
    }
}

.arc-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(13, 13, 13, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.arc-mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.arc-mobile-menu a {
    font-family: var(--font-title);
    font-size: 20px;
    text-transform: uppercase;
    color: var(--text);
    padding: 12px 24px;
}

.arc-mobile-menu a.active {
    color: var(--nav-active-text);
}

.arc-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    max-height: 1080px;
    overflow: hidden;
}

/* heading: left calc(50% - 827px/2 - 426.5px) */
.arc-hero__heading {
    position: absolute;
    left: calc(50% - 840px);
    top: calc(50% - 217px + 3px);
    width: min(827px, 46vw);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    z-index: 2;
    transition: left 0.7s ease, opacity 0.55s ease;
}

.arc-hero__title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.arc-hero__heading .subtitle {
    color: rgba(243, 248, 248, 0.6);
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    margin: 0;
}

/* products: default left 1114px → calc(50% + 154px) */
.arc-hero__products {
    position: absolute;
    left: calc(50% + 154px);
    top: calc(50% - 429px + 55px);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 1680px;
    height: 858px;
    z-index: 2;
    transition: left 0.7s ease;
}

.arc-hero__products .arc-product-card--lg {
    opacity: 0.16;
    transition: opacity 0.55s ease, border-color 0.3s ease;
    pointer-events: none;
}

.arc-hero__products .arc-product-card--lg.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* nav: default left 1054px → calc(50% + 94px), top 573 → calc(50% + 33px) */
.arc-hero__nav {
    position: absolute;
    left: calc(50% + 94px);
    top: calc(50% + 33px);
    z-index: 4;
    transition: left 0.7s ease, opacity 0.45s ease, visibility 0.45s ease;
}

.arc-hero__nav--next {
    display: none;
    left: auto;
    right: 60px;
}

/* btns: default top -46px, expanded top 97px */
.arc-hero__toolbar {
    position: absolute;
    left: 50%;
    top: -46px;
    z-index: 5;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 214px;
    height: 46px;
    margin-left: -107px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: top 0.55s ease, opacity 0.45s ease, visibility 0.45s ease;
}

.arc-hero__catalog-btn {
    min-width: 162px;
    flex-shrink: 0;
}

.arc-hero__close {
    flex-shrink: 0;
    color: #7890cf;
}

.arc-scroll-down {
    position: absolute;
    left: 120px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3d4b67;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.arc-scroll-down__mouse {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.arc-scroll-down__wheel {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 5px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: #3d4b67;
    animation: arc-scroll-wheel 1.4s ease-in-out infinite;
}

@keyframes arc-scroll-wheel {
    0%   { transform: translateY(0); opacity: 1; }
    55%  { transform: translateY(7px); opacity: 0; }
    56%  { transform: translateY(-2px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* expanded: products left 120, bottom 56 — только горизонтальный сдвиг */
.arc-hero.is-expanded .arc-hero__heading {
    left: -827px;
    opacity: 0;
    pointer-events: none;
}

.arc-hero.is-expanded .arc-hero__products {
    left: 120px;
}

.arc-hero.is-expanded .arc-hero__products .arc-product-card--lg {
    opacity: 1;
    pointer-events: auto;
}

.arc-hero.is-expanded .arc-hero__nav--prev {
    left: 60px;
}

.arc-hero.is-expanded .arc-hero__nav--next {
    display: inline-flex;
}

.arc-hero.is-expanded .arc-hero__toolbar {
    top: 97px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.arc-hero.is-expanded .arc-scroll-down {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ---------- карточка продукта ---------- */

.arc-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, rgba(25, 28, 36, 0) 0%, var(--card-bottom) 100%);
    border: 1px solid rgba(44, 47, 54, 0.5);
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.arc-product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(25, 28, 36, 0);
    pointer-events: none;
    z-index: 3;
    transition: background 0.3s ease;
}

.arc-product-card:hover {
    border-color: var(--card-border);
}

.arc-product-card--lg:hover::after {
    background: rgba(25, 28, 36, 0.24);
}

.arc-product-card--lg {
    width: 544px;
    height: 858px;
    padding: 64px;
    flex-shrink: 0;
    transition: opacity 0.55s ease, border-color 0.3s ease;
}

.arc-product-card--md {
    width: 260px;
    height: 410px;
    padding: 24px;
    flex-shrink: 0;
}

/* без scenic-фона: персонаж (art) или крупная иконка чита */
.arc-product-card--icon .person:not(.person--art) {
    display: none;
}

.arc-product-card--icon .game-title-bg {
    top: 42%;
    width: 58%;
    max-width: 150px;
    transform: translate(-50%, -50%);
    z-index: 6;
    background: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.arc-product-card--icon .game-title-bg img {
    max-height: 120px;
    opacity: 0.9;
    filter: brightness(0) saturate(100%) invert(42%) sepia(70%) saturate(2000%) hue-rotate(199deg) brightness(1.05)
        drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.arc-product-card--icon:hover .game-title-bg {
    transform: translate(-50%, -56%);
}

.arc-product-card--icon:hover .game-title-bg img {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(42%) sepia(70%) saturate(2000%) hue-rotate(199deg) brightness(1.1)
        drop-shadow(0 0 18px rgba(56, 102, 219, 0.85))
        drop-shadow(0 12px 32px rgba(0, 0, 0, 0.4));
    transform: scale(1.06);
}

.arc-product-card__cheat-ico {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 46%;
    max-width: 160px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arc-product-card__cheat-ico img {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.arc-product-card--lg .arc-product-card__cheat-ico {
    max-width: 220px;
}

.arc-product-card--lg .arc-product-card__cheat-ico img {
    max-height: 220px;
}

.arc-product-card--char .game-title-bg {
    z-index: 6;
    background: none;
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
}

.arc-product-card .game-title-bg {
    position: absolute;
    top: 18%;
    left: 50%;
    width: 55%;
    max-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    pointer-events: none;
    transform: translate(-50%, 12px);
    background: none;
    -webkit-mask-image: none;
    mask-image: none;
    transition: transform 0.45s ease;
}

.arc-product-card .game-title-bg img {
    width: 100%;
    max-height: 160px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    display: block;
    /* синий логотип; нужен файл с прозрачным фоном (не белым квадратом) */
    filter: brightness(0) saturate(100%) invert(42%) sepia(70%) saturate(2000%) hue-rotate(199deg) brightness(1.05);
    transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
}

.arc-product-card--md .game-title-bg {
    top: 16%;
    width: 58%;
    max-width: 140px;
}

.arc-product-card--md .game-title-bg img {
    max-height: 72px;
}

.arc-product-card--lg .game-title-bg {
    top: 12%;
    width: 48%;
    max-width: 220px;
}

.arc-product-card--lg .game-title-bg img {
    max-height: 140px;
}

/* hover: синяя иконка появляется поверх персонажа */
.arc-product-card:hover .game-title-bg,
.arc-product-card--char:hover .game-title-bg {
    transform: translate(-50%, -18px);
    background: none;
    filter: none;
}

.arc-product-card:hover .game-title-bg img,
.arc-product-card--char:hover .game-title-bg img {
    opacity: 0.95;
    filter: brightness(0) saturate(100%) invert(42%) sepia(70%) saturate(2000%) hue-rotate(199deg) brightness(1.1)
        drop-shadow(0 0 18px rgba(56, 102, 219, 0.85))
        drop-shadow(0 0 36px rgba(93, 133, 235, 0.55));
    transform: scale(1.06);
}

.arc-product-card .arc-product-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: 140px;
    position: relative;
    z-index: 2;
}

.arc-product-card .arc-product-card__icon img {
    max-width: 100%;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.arc-product-card--lg .arc-product-card__icon img {
    max-height: 36px;
}

.arc-product-card__icon--empty {
    width: 48px;
    height: 24px;
}

.arc-product-card__game-name {
    display: block;
    position: relative;
    z-index: 2;
    max-width: 160px;
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #f3f8f8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arc-product-card--lg .arc-product-card__game-name {
    max-width: 200px;
    font-size: 18px;
}

.arc-product-card--md .arc-product-card__game-name {
    max-width: 140px;
    font-size: 14px;
}

.arc-product-card__game-name--empty {
    min-height: 18px;
}

.arc-product-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.arc-product-card--md .arc-product-card__meta {
    align-items: flex-start;
}

.arc-product-card .glow-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(55, 59, 69, 0.9) 0%, transparent 70%);
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
    filter: none;
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

.arc-product-card:hover .glow-inner {
    opacity: 1;
    background: radial-gradient(circle, rgba(58, 95, 191, 0.85) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(1.08);
}

.arc-product-card .person {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center top;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
    transition: transform 0.45s ease;
    transform-origin: center bottom;
}

.arc-product-card .person:not(.person--art) {
    display: none;
}

.arc-product-card:hover .person {
    transform: scale(1.014);
}

.arc-product-card .person::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 22, 29, 0) 40%, rgba(19, 22, 29, 0.92) 100%);
}

/* арт из макета: персонаж без scenic-фона, по высоте карточки */
.arc-product-card .person--art {
    background-size: auto 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
}

.arc-product-card .person--art > img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
}

.arc-product-card .person--art.person--mid > img {
    height: 92%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    object-position: center center;
}

.arc-product-card .person--art.person--mid {
    background-size: auto 92%;
    background-position: center center;
    -webkit-mask-image: none;
    mask-image: none;
}

/* medium (каталог): персонаж без scenic bg */
.arc-product-card--md .person--art {
    background-size: auto 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
}

.arc-product-card--md .person:not(.person--art) {
    display: none;
}

.arc-product-card--md:hover .person--art {
    transform: scale(1.014);
}

.arc-product-card .person--art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 22, 29, 0) 40%, rgba(19, 22, 29, 0.92) 100%);
}

.arc-product-card__header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.arc-product-card--md .arc-product-card__header {
    margin-bottom: auto;
    align-self: stretch;
}

.arc-product-card__footer {
    position: relative;
    z-index: 7;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.arc-product-card--md .arc-product-card__footer {
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
}

.arc-product-card--md {
    justify-content: flex-end;
}

.arc-product-card__price {
    color: var(--text);
    font-size: 14px;
}

.arc-product-card__price span {
    color: var(--blue);
    font-weight: 600;
}

.arc-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 402px);
    gap: 24px;
    -webkit-tap-highlight-color: transparent;
}

.arc-bento .arc-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    overflow: hidden;
    border-radius: var(--radius-card);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
}

.arc-bento__img {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    border-radius: inherit;
    pointer-events: none;
}

.arc-bento .cell-tall { grid-row: span 2; }
.arc-bento .cell-wide { grid-column: span 2; }

.arc-bento .arc-card .icon-bg {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 120px;
    color: rgba(35, 41, 56, 0.55);
    pointer-events: none;
    z-index: 0;
    transition: color 0.3s ease;
}

.arc-bento .arc-card:hover .icon-bg {
    color: rgba(56, 102, 219, 0.25);
}

.arc-bento .arc-card > div {
    position: relative;
    z-index: 1;
}

.arc-bento .arc-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.arc-bento .arc-card p {
    font-size: 14px;
    color: var(--text);
    opacity: 0.8;
    line-height: 1.35;
}

.arc-products-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.arc-products-head .side-l { justify-self: start; }
.arc-products-head .side-r { justify-self: end; display: flex; align-items: center; gap: 8px; }

.arc-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px;
}

.arc-slider::-webkit-scrollbar {
    display: none;
}

.arc-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.arc-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-card);
    border: 1px solid var(--card-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    transition: transform 0.3s ease;
}

.arc-video::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: inherit;
    background-image: var(--video-bg, inherit);
    background-size: cover;
    background-position: center;
    filter: grayscale(1) saturate(0);
    transform: scale(1.02);
    transition: filter 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.arc-video:hover {
    transform: translateY(-4px);
}

.arc-video:hover::after {
    filter: grayscale(0) saturate(1);
    transform: scale(1.06);
}

.arc-video::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
}

.arc-video__logo,
.arc-video__meta {
    position: relative;
    z-index: 2;
}

.arc-video__logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 30%, #1d222d 0%, #13161d 100%);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}

.arc-video__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arc-video__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.arc-video__author {
    font-size: 13px;
    font-weight: 500;
    color: rgba(243, 248, 248, 0.65);
}

.arc-video__play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(56, 102, 219, 0.85);
    border: 1px solid var(--blue-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arc-video:hover .arc-video__play {
    opacity: 1;
}

.arc-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.arc-advantage {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
}

.arc-advantage .icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #17191d;
    border: 1px solid #1f2227;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d6ec2;
    font-size: 26px;
}

.arc-advantage > div {
    position: relative;
    z-index: 1;
}

.arc-advantage h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.arc-advantage p {
    font-size: 14px;
    color: var(--text);
    opacity: 0.8;
    line-height: 1.35;
}

/* ---------- CTA ---------- */

.arc-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 48px;
    border-radius: var(--radius-card);
    background: linear-gradient(90deg, var(--blue) 0%, #17181d 100%);
    overflow: hidden;
}

.arc-cta__text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 560px;
}

.arc-cta__title {
    display: block;
    width: fit-content;
    max-width: 100%;
}

.arc-cta__text h2 {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    white-space: nowrap;
}

.arc-cta__text h2 span {
    display: block;
    background: linear-gradient(180deg, #ffffff 0%, #9cb2ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.arc-cta__eye {
    width: 33px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
    opacity: 0.64;
    filter: brightness(0) invert(1);
}

.arc-cta__text p {
    font-size: 14px;
    color: var(--text);
}

.arc-cta__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    background:
        linear-gradient(90deg, rgba(23, 24, 29, 0.7) 0%, rgba(23, 24, 29, 0.35) 100%),
        url('/img/arcane/cta.webp') center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    filter: saturate(0.55);
    opacity: 0.75;
    z-index: 1;
}

.arc-cta .arc-btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* ---------- footer ---------- */

.arc-footer {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 24px;
    margin: 120px 0 48px;
}

.arc-footer .arc-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-height: 232px;
    overflow: hidden;
    isolation: isolate;
    contain: paint;
}

.arc-footer__brand,
.arc-footer__links {
    overflow: hidden;
    isolation: isolate;
    contain: paint;
}

.arc-footer__brand .logo img {
    width: 49px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.arc-footer__brand .desc {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text);
    opacity: 0.9;
    line-height: 1.4;
}

.arc-footer__brand .socials {
    display: flex;
    gap: 8px;
}

.arc-footer__links .caption {
    color: var(--muted);
    font-size: 14px;
}

.arc-footer__links nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arc-footer__links nav a {
    color: var(--text);
    font-size: 14px;
    line-height: 18px;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.arc-footer__links nav a:hover {
    color: var(--secondary-text);
}

.arc-footer__reseller {
    position: relative;
    overflow: hidden !important;
    isolation: isolate;
    contain: paint;
}

.arc-footer__reseller .glow-inner {
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(55, 59, 69, 0.9) 0%, transparent 70%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    filter: none;
}

.arc-footer__reseller h3 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #9cb2ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.arc-footer__reseller p {
    font-size: 14px;
    color: var(--text);
    max-width: 260px;
}

.arc-footer__reseller .content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

.arc-footer__reseller .mini-cards {
    position: absolute;
    right: -40px;
    top: 16px;
    bottom: 16px;
    width: 360px;
    pointer-events: none;
}

.arc-footer__reseller .mini-cards span {
    position: absolute;
    width: 120px;
    height: 189px;
    border-radius: 18px;
    background: linear-gradient(180deg, #13151b 0%, #13161d 100%) center / cover;
    border: 1px solid var(--card-border);
    background-size: cover;
    background-position: center top;
}

.arc-footer__reseller .mini-cards span.mini-card--art {
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #13161d;
}

.arc-footer__reseller .mini-cards span:nth-child(1) { left: 0; top: 14px; transform: rotate(-6deg); }
.arc-footer__reseller .mini-cards span:nth-child(2) { left: 111px; top: 6px; z-index: 2; }
.arc-footer__reseller .mini-cards span:nth-child(3) { left: 222px; top: 0; transform: rotate(6deg); }

.arc-copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 32px;
    color: var(--muted);
    font-size: 13px;
}

.arc-copyright a {
    color: var(--secondary-text);
}

/* ============================================================
   Адаптив
   ============================================================ */

@media (max-width: 1500px) {
    .arc-hero__heading {
        left: 48px;
        width: min(520px, 40vw);
    }

    .arc-hero__products {
        left: calc(50% + 40px);
        transform: scale(0.78);
        transform-origin: left center;
    }

    .arc-hero.is-expanded .arc-hero__products {
        left: 80px;
        transform: scale(0.72);
        transform-origin: left bottom;
    }

    .arc-hero__nav {
        left: calc(50% - 20px);
    }

    .arc-hero.is-expanded .arc-hero__nav--prev {
        left: 24px;
    }
}

@media (max-width: 1200px) {
    .arc-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .arc-bento .cell-tall { grid-row: auto; min-height: 300px; }
    .arc-bento .cell-wide { grid-column: auto; }
    .arc-bento .arc-card { min-height: 300px; }

    .arc-videos { grid-template-columns: 1fr; }
    .arc-advantages { grid-template-columns: repeat(2, 1fr); }

    .arc-footer { grid-template-columns: 1fr 1fr; }
    .arc-footer__reseller { grid-column: span 2; }
}

@media (max-width: 992px) {
    .arc-nav { display: none; }
    .arc-header__right .arc-btn--secondary { display: none; }
    .arc-burger { display: inline-flex; }

    .arc-hero {
        height: auto;
        max-height: none;
        min-height: unset;
        padding: 140px 16px 64px;
        overflow: visible;
    }

    .arc-hero__heading,
    .arc-hero.is-expanded .arc-hero__heading {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        opacity: 1;
        pointer-events: auto;
    }

    .arc-hero__nav,
    .arc-hero__toolbar,
    .arc-hero.is-expanded .arc-hero__toolbar,
    .arc-hero.is-expanded .arc-hero__nav--next {
        display: none !important;
    }

    .arc-hero__products,
    .arc-hero.is-expanded .arc-hero__products {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: calc(100% + 16px);
        height: auto;
        margin-top: 32px;
        overflow-x: auto;
        transform: none;
        scrollbar-width: none;
    }

    .arc-hero__products::-webkit-scrollbar { display: none; }

    .arc-hero__products .arc-product-card--lg {
        opacity: 1;
        pointer-events: auto;
        width: 300px;
        height: 480px;
        padding: 24px;
    }

    .arc-product-card--lg .game-title-bg img { max-height: 140px; }

    .arc-scroll-down { display: none; }

    .arc-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
    }

    .arc-cta__text h2 {
        white-space: normal;
        align-items: flex-start;
    }

    .arc-cta__eye {
        margin-top: 5px;
    }

    .arc-cta__image {
        width: 100%;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
        opacity: 0.35;
    }
}

@media (max-width: 768px) {
    .arc-container { padding: 0 16px; }
    .arc-bg .lines { inset: 0 16px; }

    .arc-section { margin-top: 80px; }

    .arc-bento { grid-template-columns: 1fr; }
    .arc-bento .arc-card { min-height: 220px; }

    .arc-advantages { grid-template-columns: 1fr; }

    .arc-footer { grid-template-columns: 1fr; }
    .arc-footer__reseller { grid-column: auto; }
    .arc-footer .arc-card { border-radius: 32px; }
    .arc-footer__reseller .mini-cards { display: none; }

    .arc-products-head {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 16px;
    }

    .arc-products-head .side-l { display: none; }
    .arc-products-head .side-r { justify-self: center; }

    .arc-copyright {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- страница Products ---------- */

.arc-page-products .arc-header__left {
    flex-wrap: wrap;
}

.arc-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: rgba(243, 248, 248, 0.32);
}

.arc-breadcrumbs a {
    color: inherit;
    transition: color 0.25s ease;
}

.arc-breadcrumbs a:hover {
    color: rgba(243, 248, 248, 0.7);
}

.arc-breadcrumbs i {
    font-size: 10px;
}

.arc-products-main {
    position: relative;
    z-index: 1;
    padding: 166px 0 96px;
    min-height: calc(100vh - 280px);
}

.arc-products-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    text-align: center;
}

.arc-products-title .arc-h2 {
    margin: 0;
}

.arc-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.arc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 26px;
    border: 1px solid rgba(41, 52, 78, 0.48);
    background: rgba(34, 42, 63, 0.72);
    color: #7890cf;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.arc-chip:hover {
    color: #9cb2ea;
    border-color: rgba(93, 133, 235, 0.35);
}

.arc-chip.is-active {
    color: #9cb2ea;
    background: rgba(56, 102, 219, 0.18);
    border-color: rgba(93, 133, 235, 0.55);
}

.arc-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 260px);
    gap: 24px;
    justify-content: center;
}

.arc-products-grid .arc-product-card.is-hidden {
    display: none;
}

.arc-status--xs {
    padding: 4px 8px;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
    border-radius: 40px;
}

.arc-status--xs::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 8px currentColor;
}

.arc-page-products .arc-footer {
    margin-top: 96px;
}

/* ---------- game product picker (/game/) ---------- */

.arc-game-hero {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(41, 52, 78, 0.48);
    background: rgba(19, 22, 29, 0.72);
    overflow: hidden;
}

.arc-game-hero__art {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 320px;
    border-radius: 14px;
    background-size: cover;
    background-position: center top;
    background-color: #0d1016;
}

.arc-game-hero__art.has-art {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: #10131a;
}

.arc-game-hero__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.arc-game-hero__text .arc-h2 {
    margin: 0;
}

.arc-game-hero__text p {
    margin: 0;
    color: rgba(243, 248, 248, 0.55);
    font-size: 15px;
    line-height: 1.5;
    max-width: 520px;
}

.arc-page-game .arc-products-title {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-bottom: 24px;
}

.arc-page-game .arc-game-grid {
    justify-content: start;
}

@media (max-width: 768px) {
    .arc-game-hero {
        grid-template-columns: 1fr;
    }

    .arc-game-hero__art {
        max-height: 240px;
        aspect-ratio: 16 / 9;
    }

    .arc-page-game .arc-products-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ---------- product siblings switcher ---------- */

.arc-product-siblings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.arc-product-siblings a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(41, 52, 78, 0.55);
    background: rgba(34, 42, 63, 0.4);
    color: rgba(243, 248, 248, 0.72);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.arc-product-siblings a:hover {
    color: #f3f8f8;
    border-color: rgba(123, 205, 237, 0.45);
}

.arc-product-siblings a.is-active {
    color: #141518;
    background: #7bcded;
    border-color: #7bcded;
}

.arc-product-siblings__label {
    width: 100%;
    margin: 0 0 2px;
    color: rgba(243, 248, 248, 0.4);
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 1680px) {
    .arc-products-grid {
        grid-template-columns: repeat(4, 260px);
    }
}

@media (max-width: 1200px) {
    .arc-breadcrumbs {
        display: none;
    }

    .arc-products-grid {
        grid-template-columns: repeat(3, minmax(0, 260px));
    }
}

@media (max-width: 900px) {
    .arc-products-main {
        padding: 120px 0 64px;
    }

    .arc-products-grid {
        grid-template-columns: repeat(2, minmax(0, 260px));
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .arc-products-grid {
        grid-template-columns: minmax(0, 260px);
    }

    .arc-products-grid .arc-product-card--md {
        width: 100%;
        max-width: 260px;
        justify-self: center;
    }
}

/* ---------- product detail page ---------- */

.arc-page-product .arc-product-main {
    position: relative;
    z-index: 2;
    padding: 166px 0 48px;
}

.arc-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 970px) 402px;
    gap: 24px;
    align-items: start;
}

.arc-product-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

.arc-product-hero {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.arc-product-poster {
    position: relative;
    flex: 0 0 257px;
    width: 257px;
    height: 274px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(25, 28, 36, 0) 0%, rgba(19, 22, 29, 0.48) 100%);
    isolation: isolate;
}

.arc-product-poster .glow-inner {
    position: absolute;
    width: 420px;
    height: 420px;
    left: -180px;
    top: 180px;
    background: radial-gradient(circle, rgba(55, 59, 69, 0.85) 0%, transparent 68%);
    z-index: 0;
    pointer-events: none;
    filter: none;
}

.arc-product-poster .game-title-bg,
.arc-product-poster__icon {
    display: none;
}

.arc-product-poster .game-title-bg img,
.arc-product-poster__icon img {
    max-width: 140px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.55;
    filter: none;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.arc-product-poster:hover .game-title-bg img,
.arc-product-poster:hover .arc-product-poster__icon img {
    opacity: 0.95;
    filter: drop-shadow(0 0 20px rgba(123, 205, 237, 0.45));
}

.arc-product-poster .person {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    transform: none;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 2;
    mask-image: none;
    -webkit-mask-image: none;
}

.arc-product-poster .person--art {
    background-size: contain;
    background-position: center bottom;
    bottom: 0;
    height: 100%;
    width: 100%;
    left: 0;
    transform: none;
    mask-image: none;
    -webkit-mask-image: none;
}

.arc-product-poster .person:not(.person--art) {
    display: none;
}

.arc-product-poster__cheat-ico {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    pointer-events: none;
}

.arc-product-poster__cheat-ico img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.arc-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.arc-product-info__top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arc-product-info__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.arc-product-info__title h1 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff 0%, #9cb2ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.arc-product-info__desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 18px;
    max-width: 689px;
}

.arc-product-gallery {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 16px 12px;
    background: rgba(19, 22, 29, 0.48);
    border: 1px solid rgba(44, 47, 54, 0.48);
    border-radius: var(--radius-card);
    width: 100%;
}

.arc-product-gallery__track {
    display: flex;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.arc-product-gallery__track::-webkit-scrollbar {
    display: none;
}

.arc-product-gallery__item {
    flex: 0 0 172px;
    width: 172px;
    height: 96px;
    border-radius: 24px;
    border: 1px solid #2c2f36;
    background: #0d1016;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.arc-product-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.arc-product-gallery__item:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
}

.arc-product-gallery__item.is-video {
    background:
        linear-gradient(0deg, rgba(13, 43, 120, 0.28), rgba(13, 43, 120, 0.28)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.arc-product-gallery__item.is-video i {
    font-size: 28px;
    color: #bccefd;
}

.arc-product-gallery__dots {
    display: flex;
    gap: 4px;
}

.arc-product-gallery__dots span {
    width: 8px;
    height: 8px;
    border-radius: 1000px;
    background: #1c2228;
}

.arc-product-gallery__dots span.is-active {
    background: var(--blue);
}

.arc-product-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, rgba(25, 28, 36, 0.88) 0%, rgba(19, 22, 29, 0.94) 100%);
}

.arc-product-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 0 48px;
    height: 68px;
    background: rgba(29, 33, 43, 0.48);
    border: 1px solid rgba(33, 37, 48, 0.48);
    border-radius: 24px;
}

.arc-product-tabs__sep {
    width: 1px;
    height: 46px;
    background: rgba(44, 49, 64, 0.8);
    flex-shrink: 0;
}

.arc-product-tab {
    flex: 1;
    max-width: 357px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    position: relative;
    transition: color 0.2s ease;
}

.arc-product-tab i {
    color: #86888c;
    font-size: 18px;
}

.arc-product-tab.is-active {
    border-bottom-color: var(--blue);
}

.arc-product-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--blue);
    box-shadow: 0 0 10px rgba(56, 102, 219, 0.55);
    pointer-events: none;
}

.arc-product-tab.is-active i {
    color: var(--blue);
}

.arc-product-tabpanel {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.arc-product-tabpanel.is-active {
    display: flex;
}

.arc-func {
    background: rgba(29, 33, 43, 0.48);
    border: 1px solid rgba(33, 37, 48, 0.48);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.arc-func.is-open {
    padding-bottom: 24px;
}

.arc-func.is-open::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    left: -130px;
    top: calc(50% - 93px);
    background: radial-gradient(circle, rgba(56, 102, 219, 0.55) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: none;
}

.arc-func__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 18px;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
}

.arc-func__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
}

.arc-func__label .icon-func {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 6 Brands";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
    flex-shrink: 0;
}

.arc-func__label .icon-func--glyph {
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
    font-weight: 900;
}

.arc-func__chevron {
    color: #86888c;
    transition: transform 0.2s ease, color 0.2s ease;
}

.arc-func.is-open .arc-func__chevron {
    transform: rotate(180deg);
    color: var(--blue);
}

.arc-func__body {
    display: none;
    padding: 0 18px;
    position: relative;
    z-index: 1;
}

.arc-func.is-open .arc-func__body {
    display: block;
}

.arc-func__line {
    display: block;
    height: 1px;
    margin-bottom: 24px;
    background: linear-gradient(90deg, rgba(44, 49, 64, 0) 0%, #2c3140 50%, rgba(44, 49, 64, 0) 100%);
    border-radius: 2px;
}

.arc-func__body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 18px;
}

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

.arc-req {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    width: calc(50% - 6px);
    min-height: 78px;
    padding: 18px;
    background: rgba(29, 33, 43, 0.48);
    border: 1px solid rgba(33, 37, 48, 0.48);
    border-radius: 20px;
}

.arc-req > i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 22px;
    flex-shrink: 0;
}

.arc-req__label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
}

.arc-req__value {
    display: block;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
}

.arc-product-buy {
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, rgba(25, 28, 36, 0.92) 0%, rgba(19, 22, 29, 0.96) 100%);
}

.arc-product-periods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arc-period {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    height: 56px;
    padding: 16px 24px 16px 16px;
    border-radius: 50px;
    background: rgba(32, 36, 44, 0.48);
    border: 1px solid rgba(38, 42, 51, 0.48);
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.arc-period:hover {
    border-color: rgba(56, 102, 219, 0.4);
}

.arc-period.is-active {
    border-color: rgba(56, 102, 219, 0.55);
    background: rgba(40, 48, 68, 0.55);
}

.arc-period__left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.arc-period__radio {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    background: rgba(40, 45, 54, 0.48);
    border: 1px solid rgba(44, 50, 61, 0.48);
    position: relative;
    flex-shrink: 0;
}

.arc-period.is-active .arc-period__radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 100px;
    background: var(--blue);
}

.arc-period__time {
    color: var(--muted);
    font-size: 14px;
    line-height: 18px;
}

.arc-period.is-active .arc-period__time {
    color: var(--text);
}

.arc-period__price {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

.arc-product-buy__footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.arc-buy-email {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arc-buy-email label {
    font-size: 13px;
    color: rgba(243, 248, 248, 0.45);
}

.arc-buy-email__input {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(44, 50, 61, 0.8);
    background: rgba(20, 23, 28, 0.9);
    color: #f3f8f8;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.arc-buy-email__input:focus {
    border-color: var(--blue);
}

.arc-pay-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arc-pay-methods__label {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.arc-pay-method {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 50px;
    background: rgba(32, 36, 44, 0.48);
    border: 1px solid rgba(38, 42, 51, 0.48);
    color: var(--muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.arc-pay-method:hover {
    border-color: rgba(56, 102, 219, 0.4);
}

.arc-pay-method.is-active {
    border-color: rgba(56, 102, 219, 0.55);
    background: rgba(40, 48, 68, 0.55);
    color: var(--text);
}

.arc-pay-method .arc-period__radio {
    width: 20px;
    height: 20px;
}

.arc-pay-method.is-active .arc-period__radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 100px;
    background: var(--blue);
}

.arc-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.arc-agree.is-error .arc-agree__box {
    border-color: #e25b5b;
    box-shadow: 0 0 0 3px rgba(226, 91, 91, 0.2);
}

.arc-agree__hint {
    display: none;
    width: 100%;
    margin: -4px 0 0;
    font-size: 12px;
    color: #e25b5b;
}

.arc-agree__hint.is-visible {
    display: block;
}

.arc-agree__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.arc-agree__box {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(40, 45, 54, 0.48);
    border: 1px solid rgba(44, 50, 61, 0.48);
    flex-shrink: 0;
    position: relative;
}

.arc-agree__input:checked + .arc-agree__box {
    background: rgba(56, 102, 219, 0.2);
    border-color: var(--blue);
}

.arc-agree__input:checked + .arc-agree__box::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid var(--blue);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.arc-agree__text {
    color: var(--blue);
    font-size: 14px;
    line-height: 18px;
}

.arc-agree__text a {
    color: inherit;
    text-decoration: underline;
}

.arc-product-buy__btn {
    width: 100%;
    height: 74px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    gap: 6px;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.arc-product-buy__btn.is-disabled {
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(0.2);
}

.arc-product-empty {
    color: var(--muted);
    font-size: 14px;
    line-height: 18px;
    padding: 8px 0;
}

@media (max-width: 1400px) {
    .arc-product-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
}

@media (max-width: 1100px) {
    .arc-page-product .arc-product-main {
        padding: 130px 0 48px;
    }

    .arc-product-layout {
        grid-template-columns: 1fr;
    }

    .arc-product-buy {
        position: static;
        order: -1;
    }
}

@media (max-width: 800px) {
    .arc-product-hero {
        flex-direction: column;
    }

    .arc-product-poster {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .arc-product-info__title h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .arc-product-tabs {
        gap: 12px;
        padding: 0 12px;
    }

    .arc-product-tab {
        font-size: 14px;
        padding: 0 8px;
    }

    .arc-req {
        width: 100%;
    }
}

@keyframes arcFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Payment success ── */
.arc-page-success {
    min-height: 100vh;
}

.arc-success {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
}

.arc-success__inner {
    max-width: 820px;
    text-align: center;
}

.arc-success__brand {
    margin-bottom: 48px;
}

.arc-success__title {
    margin: 0 auto 18px;
    max-width: 14ch;
}

.arc-success__congrats {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    opacity: 0;
    animation: arcFadeUp 0.7s ease 0.15s forwards;
}

.arc-success__panel {
    text-align: left;
    padding: 28px 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(160deg, rgba(18, 28, 48, 0.92), rgba(8, 12, 22, 0.88)),
        radial-gradient(ellipse at top left, rgba(90, 140, 255, 0.12), transparent 55%);
    opacity: 0;
    animation: arcFadeUp 0.7s ease 0.28s forwards;
}

.arc-success__key-block {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.arc-success__key-block .arc-preheading {
    display: block;
    margin-bottom: 14px;
}

.arc-success__key {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 600;
    letter-spacing: 0.04em;
    word-break: break-all;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 18px;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.28);
    border-left: 3px solid rgba(120, 170, 255, 0.85);
}

.arc-success__copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.arc-success__wait {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.arc-success__wait b {
    color: #fff;
    font-weight: 600;
}

.arc-success__details-title {
    margin: 0 0 18px;
    font-family: "Unbounded", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.arc-success__meta {
    margin: 0;
    display: grid;
    gap: 16px;
}

.arc-success__meta > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    align-items: baseline;
}

.arc-success__meta dt {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}

.arc-success__meta dd {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.arc-success__cheat {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.arc-success__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    opacity: 0;
    animation: arcFadeUp 0.7s ease 0.4s forwards;
}

@media (max-width: 640px) {
    .arc-success {
        padding: 120px 0 60px;
    }

    .arc-success__panel {
        padding: 22px 18px;
    }

    .arc-success__meta > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .arc-scroll-down__wheel {
        animation: none;
    }

    .arc-product-card:hover .person {
        transform: none;
    }
}

body.arc-pay-modal-open {
    overflow: hidden;
}

.arc-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.arc-pay-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.arc-pay-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
}

.arc-pay-modal__panel {
    position: relative;
    width: min(420px, 100%);
    padding: 28px 24px 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #191c24 0%, #12151b 100%);
    border: 1px solid #2c2f36;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.arc-pay-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #999c9e;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.arc-pay-modal__close:hover {
    color: #fff;
}

.arc-pay-modal__title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
}

.arc-pay-modal__hint {
    color: var(--muted);
    margin: 0 0 18px;
}

.arc-pay-modal__methods {
    display: grid;
    gap: 10px;
}

.arc-pay-modal__method {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #2c2f36;
    background: rgba(255, 255, 255, .03);
    color: inherit;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.arc-pay-modal__method:hover {
    border-color: var(--blue-border);
    background: rgba(56, 102, 219, .12);
}

.arc-pay-modal__method.is-offline {
    opacity: .55;
}

.arc-pay-modal__method.is-offline::after {
    content: 'скоро';
    float: right;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.arc-pay-modal__method-name {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.arc-pay-modal__method-desc {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

/* lightbox галереи товара */
body.arc-lightbox-open {
    overflow: hidden;
}

.arc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 10, 14, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.arc-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.arc-lightbox[hidden] {
    display: none !important;
}

.arc-lightbox.is-open[hidden] {
    display: flex !important;
}

.arc-lightbox__img {
    max-width: min(1100px, 94vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.arc-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(40, 45, 54, 0.9);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.arc-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(40, 45, 54, 0.92);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.arc-lightbox__nav--prev { left: 18px; }
.arc-lightbox__nav--next { right: 18px; }

.arc-lightbox__nav:hover {
    background: rgba(56, 102, 219, 0.9);
}

.arc-product-gallery {
    position: relative;
}

.arc-product-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(40, 45, 54, 0.92);
    color: #f3f8f8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.arc-product-gallery__nav--prev { left: 6px; }
.arc-product-gallery__nav--next { right: 6px; }

.arc-product-gallery__nav:hover {
    background: rgba(56, 102, 219, 0.92);
}

.arc-product-gallery__dots span {
    cursor: pointer;
}

.arc-status--count {
    color: #9cb2ea;
    background: rgba(111, 141, 227, 0.1);
}

@media (max-width: 820px) {
    .arc-lightbox__nav--prev { left: 8px; }
    .arc-lightbox__nav--next { right: 8px; }
}
.arc-legal-main {
    position: relative;
    z-index: 1;
    padding: 166px 0 96px;
    min-height: 60vh;
}

.arc-legal-hero {
    margin: 0 auto 40px;
    max-width: 720px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arc-legal-hero .arc-preheading {
    margin-bottom: 8px;
}

.arc-legal-hero .arc-h2 {
    margin: 0;
}

.arc-legal-hero__desc {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    max-width: 520px;
}

.arc-legal-lang {
    margin-top: 12px;
}

.arc-legal-lang a {
    color: var(--blue);
}

.arc-legal-body {
    background: rgba(25, 28, 36, 0.72);
    border: 1px solid rgba(44, 50, 61, 0.55);
    border-radius: var(--radius-card);
    padding: 32px 36px;
    color: rgba(243, 248, 248, 0.88);
    font-size: 15px;
    line-height: 1.7;
}

.arc-legal-body p {
    margin: 0 0 14px;
}

.arc-legal-body a {
    color: var(--blue);
}

.arc-legal-body b,
.arc-legal-body strong {
    color: #fff;
    font-weight: 600;
}

.arc-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.arc-faq-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(25, 28, 36, 0.72);
    border: 1px solid rgba(44, 50, 61, 0.55);
}

.arc-faq-card__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(40, 45, 54, 0.7);
    overflow: hidden;
}

.arc-faq-card__icon img {
    max-width: 34px;
    max-height: 34px;
    object-fit: contain;
}

.arc-faq-card__text {
    flex: 1;
    min-width: 0;
}

.arc-faq-card__pre {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.arc-faq-card__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.arc-faq-card .arc-btn {
    flex-shrink: 0;
}

.arc-faq-card .arc-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.arc-tickets__cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch !important;
    justify-content: stretch !important;
}

.arc-ticket-card {
    background: rgba(25, 28, 36, 0.72) !important;
    border: 1px solid rgba(44, 50, 61, 0.55) !important;
    border-radius: 28px !important;
    padding: 28px !important;
    width: auto !important;
    margin: 0 !important;
}

.arc-ticket-card .title {
    font-family: Unbounded, sans-serif !important;
    font-size: 18px !important;
    color: #fff !important;
}

.arc-ticket-card .description {
    color: var(--muted) !important;
}

.arc-tickets .vl {
    display: none !important;
}

.arc-tickets__table {
    background: rgba(25, 28, 36, 0.72);
    border: 1px solid rgba(44, 50, 61, 0.55);
    border-radius: 28px;
    padding: 24px;
}

@media (max-width: 900px) {
    .arc-faq-grid,
    .arc-tickets__cards {
        grid-template-columns: 1fr;
    }
    .arc-legal-main {
        padding: 132px 0 72px;
    }
    .arc-legal-body {
        padding: 22px 18px;
    }
}

/* ---------- statuses page ---------- */

.arc-page-statuses .arc-header__left {
    flex-wrap: wrap;
    align-content: flex-start;
}

.arc-page-statuses .arc-breadcrumbs {
    flex: 1 0 100%;
    width: 100%;
    margin-top: 4px;
    padding-left: 0;
}

.arc-page-statuses .arc-statuses-main {
    position: relative;
    z-index: 1;
    padding: 166px 0 96px;
    min-height: calc(100vh - 280px);
}

.arc-statuses-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.arc-statuses-title .arc-h2 {
    margin: 0;
    letter-spacing: 0.06em;
}

.arc-statuses-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.arc-status-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 14px 16px;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    background: rgba(23, 25, 29, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.arc-status-card:hover {
    border-color: rgba(111, 141, 227, 0.35);
    background: rgba(28, 31, 38, 0.95);
    transform: translateY(-1px);
}

.arc-status-card__name {
    flex: 0 1 140px;
    min-width: 0;
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #f3f8f8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arc-status-card__meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arc-status-card__label {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: rgba(243, 248, 248, 0.4);
}

.arc-status-card__time {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    color: #f3f8f8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arc-status-card .arc-status {
    margin-left: auto;
    flex: 0 0 auto;
}

.arc-statuses-empty {
    grid-column: 1 / -1;
    color: #8b919a;
    text-align: center;
    padding: 40px 16px;
}

@media (max-width: 1100px) {
    .arc-statuses-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .arc-statuses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .arc-page-statuses .arc-statuses-main {
        padding: 110px 0 72px;
    }

    .arc-statuses-title {
        margin-bottom: 24px;
    }

    .arc-statuses-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .arc-status-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .arc-status-card__name {
        flex-basis: auto;
        max-width: 46%;
    }
}

/* ── Buyer cabinet: admin layout in storefront style ── */
.arc-page-account .arc-cab {
    position: relative;
    z-index: 1;
    padding: 132px 0 48px;
    min-height: calc(100vh - 280px);
}

.arc-page-account .arc-cab > .arc-container {
    max-width: 1280px;
}

.arc-cab-flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.45;
}

.arc-cab-flash i {
    margin-top: 2px;
}

.arc-cab-flash--ok {
    background: rgba(93, 227, 102, 0.08);
    border: 1px solid rgba(93, 227, 102, 0.28);
    color: #c8f5dc;
}

.arc-cab-flash--err {
    background: rgba(223, 79, 79, 0.1);
    border: 1px solid rgba(223, 79, 79, 0.3);
    color: #ffd0d0;
}

.arc-cab-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arc-cab-brand img {
    width: 49px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.arc-cab-brand strong {
    display: block;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.arc-cab-brand span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.arc-cab-login {
    display: flex;
    justify-content: center;
    padding: 24px 0 40px;
}

.arc-cab-login__card {
    width: min(440px, 100%);
    padding: 32px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(25, 28, 36, 0.92), rgba(13, 16, 22, 0.94));
    border: 1px solid var(--card-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.arc-cab-login__card .arc-cab-brand {
    margin-bottom: 28px;
}

.arc-cab-login__title {
    margin: 0 0 8px;
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 600;
}

.arc-cab-login__hint {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.5;
}

.arc-cab-login__btn {
    width: 100%;
    margin-top: 16px;
}

.arc-cab-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arc-cab-field > span:first-child {
    font-size: 12px;
    color: var(--muted);
}

.arc-cab-field__ctrl {
    display: flex;
    align-items: center;
    height: 52px;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    background: rgba(13, 13, 13, 0.72);
    overflow: hidden;
}

.arc-cab-field__ctrl i {
    width: 52px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    background: rgba(35, 43, 63, 0.45);
    border-right: 1px solid var(--card-border);
}

.arc-cab-field__ctrl input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    padding: 0 14px;
    outline: none;
}

.arc-cab-field__ctrl:focus-within {
    border-color: var(--blue);
}

.arc-cab-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.arc-cab-aside {
    position: sticky;
    top: 108px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 20px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(25, 28, 36, 0.88), rgba(13, 16, 22, 0.92));
    border: 1px solid var(--card-border);
    min-height: 420px;
}

.arc-cab-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.arc-cab-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.arc-cab-nav a i {
    width: 18px;
    text-align: center;
}

.arc-cab-nav a:hover {
    color: var(--text);
    background: rgba(35, 43, 63, 0.55);
}

.arc-cab-nav a.is-active {
    color: var(--nav-active-text);
    background: var(--nav-active-bg);
    border-color: var(--nav-active-border);
}

.arc-cab-user {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.arc-cab-user__avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-bg);
    border: 1px solid var(--secondary-border);
    color: var(--secondary-text);
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.arc-cab-user__meta {
    min-width: 0;
    flex: 1;
}

.arc-cab-user__meta p {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arc-cab-user__meta span {
    font-size: 11px;
    color: var(--muted);
}

.arc-cab-user__out {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    flex-shrink: 0;
}

.arc-cab-user__out:hover {
    color: #fff;
    background: var(--icon-btn);
}

.arc-cab-head {
    margin-bottom: 22px;
}

.arc-cab-head .arc-h2 {
    margin: 4px 0 8px;
}

.arc-cab-head__desc {
    margin: 0;
    max-width: 56ch;
    color: var(--muted);
    line-height: 1.5;
}

.arc-cab-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.arc-cab-stat {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(23, 25, 29, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.arc-cab-stat span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.arc-cab-stat strong {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.arc-cab-list {
    display: grid;
    gap: 16px;
}

.arc-cab-card {
    padding: 22px 22px 18px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(25, 28, 36, 0.92), rgba(13, 16, 22, 0.94));
    border: 1px solid var(--card-border);
}

.arc-cab-card.is-frozen {
    border-color: rgba(227, 207, 93, 0.28);
}

.arc-cab-card.is-expired {
    border-color: rgba(223, 79, 79, 0.28);
}

.arc-cab-card__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.arc-cab-card__id {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.arc-cab-card__mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-title);
    font-size: 18px;
    background: radial-gradient(circle at 50% 30%, #1d222d 0%, #13161d 100%);
    border: 1px solid var(--card-border);
}

.arc-cab-card__game {
    margin: 0 0 4px;
    font-size: 12px;
    color: var(--muted);
}

.arc-cab-card__title {
    margin: 0;
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.arc-cab-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.arc-cab-chip {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary-text);
    background: var(--pill);
    border: 1px solid var(--secondary-border);
}

.arc-cab-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.arc-cab-cell {
    min-width: 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(13, 13, 13, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.arc-cab-cell span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.arc-cab-cell b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.arc-cab-key {
    margin: 0 0 16px;
}

.arc-cab-key > span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.arc-cab-key__row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 6px 6px 6px 14px;
    border-radius: 14px;
    background: rgba(13, 13, 13, 0.72);
    border: 1px solid var(--card-border);
}

.arc-cab-key__row code {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.35;
    color: #fff;
    word-break: break-all;
}

.arc-cab-note {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

.arc-cab-note--err {
    color: #ffd0d0;
}

.arc-cab-empty {
    margin: 0;
    padding: 8px 0;
    color: var(--muted);
}

.arc-cab-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arc-cab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--secondary-border);
    background: var(--secondary-bg);
    color: var(--secondary-text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.arc-cab-btn:hover {
    color: #fff;
    background: var(--icon-btn);
}

.arc-cab-btn--primary {
    background: var(--blue);
    border-color: var(--blue-border);
    color: #fff;
}

.arc-cab-btn--primary:hover {
    background: var(--blue-hover);
}

.arc-cab-btn--ghost {
    height: 40px;
    background: var(--icon-btn);
    border-color: transparent;
    color: #fff;
}

.arc-cab-btn:disabled {
    opacity: 0.38;
    pointer-events: none;
}

@media (max-width: 980px) {
    .arc-cab-shell {
        grid-template-columns: 1fr;
    }

    .arc-cab-aside {
        position: static;
        min-height: 0;
        gap: 16px;
    }

    .arc-cab-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .arc-cab-stats,
    .arc-cab-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .arc-page-account .arc-cab {
        padding: 116px 0 40px;
    }

    .arc-cab-login__card,
    .arc-cab-aside,
    .arc-cab-card {
        padding: 18px 16px;
        border-radius: 22px;
    }

    .arc-cab-card__head,
    .arc-cab-key__row {
        flex-direction: column;
        align-items: stretch;
    }

    .arc-cab-key__row {
        padding: 12px;
    }

    .arc-cab-stats,
    .arc-cab-grid {
        grid-template-columns: 1fr;
    }

    .arc-cab-btn {
        width: 100%;
    }
}

.arc-page-account footer .arc-footer {
    margin-top: 64px;
}
