/* =========================================================
   RUSTOFILYA — HOME
   Главная страница: body.rh-page / .rh-home
   ========================================================= */

body.rh-page {
    color-scheme: dark;

    --bg: #101113;
    --surface: #191b20;
    --surface-raised: #212329;
    --text: #f4f2ee;
    --muted: #96979f;
    --accent: #ff7547;
    --line: rgba(255, 255, 255, 0.09);
    --radius: 18px;

    --rh-accent-rgb: 255, 117, 71;
    --rh-ease: cubic-bezier(.22, 1, .36, 1);

    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   БАЗА ГЛАВНОЙ
   ========================================================= */

body.rh-page .rh-home,
body.rh-page .rh-home *,
body.rh-page .rh-home *::before,
body.rh-page .rh-home *::after {
    box-sizing: border-box;
}

body.rh-page .rh-home {
    position: relative;
    isolation: isolate;
    min-width: 0;
    padding-bottom: 45px;
    overflow: clip;
    background: var(--bg);
    color: var(--text);
}

body.rh-page .rh-home :is(h1, h2, h3, p) {
    margin: 0;
}

body.rh-page .rh-home :is(h1, h2, h3) {
    font-family: Arial, Helvetica, sans-serif;
    text-wrap: balance;
}

body.rh-page .rh-home a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body.rh-page .rh-home :is(a, button):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

body.rh-page .rh-home ::selection {
    background: var(--accent);
    color: var(--bg);
}

body.rh-page .rh-container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

/* =========================================================
   ГЛАВНЫЙ ЭКРАН — ФОН
   ========================================================= */

body.rh-page .rh-hero {
    position: relative;
    isolation: isolate;
    padding-top: 20px;
}

body.rh-page .rh-hero-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
            linear-gradient(
                    rgba(255, 255, 255, 0.025) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0.025) 1px,
                    transparent 1px
            );
    background-size: 76px 76px;
    mask-image: linear-gradient(
            90deg,
            transparent 15%,
            #000 100%
    );
    pointer-events: none;
}

body.rh-page .rh-hero-glow {
    position: absolute;
    z-index: -1;
    top: -150px;
    right: -220px;
    width: 950px;
    max-width: 110vw;
    height: 850px;
    border-radius: 50%;
    background: radial-gradient(
            circle,
            rgba(var(--rh-accent-rgb), 0.12),
            transparent 68%
    );
    pointer-events: none;
}

body.rh-page .rh-hero-light {
    position: absolute;
    z-index: -1;
    top: 200px;
    left: -200px;
    width: 600px;
    max-width: 80vw;
    height: 500px;
    background: radial-gradient(
            ellipse,
            rgba(var(--rh-accent-rgb), 0.025),
            transparent 70%
    );
    pointer-events: none;
}

/* =========================================================
   ГЛАВНЫЙ ЭКРАН — ТЕКСТ
   ========================================================= */

body.rh-page .rh-hero-layout {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 32px;
    min-height: 650px;
    padding-block: 45px 50px;
}

body.rh-page .rh-hero-content {
    position: relative;
    z-index: 3;
    min-width: 0;
    animation: rh-enter 0.75s var(--rh-ease) both;
}

body.rh-page .rh-project-label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(var(--rh-accent-rgb), 0.2);
    border-radius: 6px;
    background: rgba(var(--rh-accent-rgb), 0.04);
    color: #d6b6a8;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.6;
}

body.rh-page .rh-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(var(--rh-accent-rgb), 0.35);
}

body.rh-page .rh-label-divider {
    width: 1px;
    height: 11px;
    margin-inline: 2px;
    background: rgba(var(--rh-accent-rgb), 0.25);
}

body.rh-page .rh-title {
    margin-top: 28px;
    color: var(--text);
    font-size: clamp(44px, 5vw, 70px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.04;
}

body.rh-page .rh-title > span {
    display: block;
}

body.rh-page .rh-title > .rh-title-accent {
    margin-top: 7px;
    color: var(--accent);
}

body.rh-page .rh-hero-description {
    max-width: 440px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

body.rh-page .rh-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* =========================================================
   КНОПКИ И БЛИКИ
   ========================================================= */

body.rh-page .rh-home .rh-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 52px;
    padding: 15px 22px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: 1.4;
    text-align: center;
    transition:
            transform 0.25s var(--rh-ease),
            background 0.25s,
            border-color 0.25s,
            box-shadow 0.25s;
}

/* В покое луч полностью скрыт. */
body.rh-page .rh-home .rh-button::before {
    position: absolute;
    z-index: 2;
    top: -100%;
    bottom: -100%;
    left: -45%;
    width: 18%;
    content: "";
    background: linear-gradient(
            100deg,
            transparent,
            rgba(255, 255, 255, 0.65),
            transparent
    );
    opacity: 0;
    transform: skewX(-18deg);
    pointer-events: none;
}

body.rh-page .rh-home .rh-button-primary {
    border-color: rgba(255, 188, 157, 0.35);
    background: linear-gradient(
            125deg,
            #ff936e,
            var(--accent) 65%,
            #ef653b
    );
    color: #19110e;
    box-shadow:
            inset 0 1px rgba(255, 225, 209, 0.35),
            0 10px 35px rgba(var(--rh-accent-rgb), 0.12);
}

body.rh-page .rh-home .rh-button-outline {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

body.rh-page .rh-button-arrow {
    font-size: 20px;
    line-height: 1;
}

/* =========================================================
   ФАКТЫ ПОД ЗАГОЛОВКОМ
   ========================================================= */

body.rh-page .rh-hero-facts {
    display: flex;
    gap: 30px;
    margin-top: 42px;
}

body.rh-page .rh-hero-facts > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

body.rh-page .rh-hero-facts > div + div {
    padding-left: 27px;
    border-left: 1px solid var(--line);
}

body.rh-page .rh-hero-facts strong {
    color: var(--text);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

body.rh-page .rh-hero-facts div > span {
    color: #797c84;
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* =========================================================
   ВИЗУАЛЬНАЯ ЧАСТЬ — ФОН И РАМКА
   ========================================================= */

body.rh-page .rh-hero-visual {
    position: relative;
    isolation: isolate;
    min-width: 0;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 24px;
    background:
            radial-gradient(
                    ellipse at 50% 48%,
                    rgba(var(--rh-accent-rgb), 0.055),
                    transparent 68%
            ),
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.018),
                    rgba(255, 255, 255, 0.005)
            );
    box-shadow:
            inset 0 1px rgba(255, 255, 255, 0.02),
            0 30px 70px rgba(0, 0, 0, 0.1);
    animation: rh-enter 0.95s var(--rh-ease) both;
}

body.rh-page .rh-visual-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background-image:
            linear-gradient(
                    rgba(255, 255, 255, 0.02) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0.02) 1px,
                    transparent 1px
            );
    background-size: 40px 40px;
    mask-image: radial-gradient(
            ellipse,
            #000 20%,
            transparent 75%
    );
    pointer-events: none;
}

body.rh-page .rh-visual-halo {
    position: absolute;
    z-index: -1;
    inset: 10% -5%;
    background: radial-gradient(
            ellipse,
            rgba(var(--rh-accent-rgb), 0.13),
            transparent 65%
    );
    pointer-events: none;
}

body.rh-page .rh-visual-top {
    position: absolute;
    top: 25px;
    right: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #776c6d;
    font-family: monospace;
    font-size: 8px;
    letter-spacing: 1.6px;
}

body.rh-page .rh-visual-cross {
    color: #b67e64;
    font-size: 25px;
    line-height: 1;
}

body.rh-page .rh-visual-frame {
    position: absolute;
    inset: 73px 40px 100px;
    pointer-events: none;
}

body.rh-page .rh-visual-frame > span {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(var(--rh-accent-rgb), 0.25);
    border-style: solid;
}

body.rh-page .rh-visual-frame > span:nth-child(1) {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
}

body.rh-page .rh-visual-frame > span:nth-child(2) {
    top: 0;
    right: 0;
    border-width: 1px 1px 0 0;
}

body.rh-page .rh-visual-frame > span:nth-child(3) {
    bottom: 0;
    left: 0;
    border-width: 0 0 1px 1px;
}

body.rh-page .rh-visual-frame > span:nth-child(4) {
    right: 0;
    bottom: 0;
    border-width: 0 1px 1px 0;
}

/* =========================================================
   ОБЪЁМНЫЙ RF
   ========================================================= */

body.rh-page .rh-emblem {
    position: absolute;
    inset: 80px 0 110px;
    display: grid;
    place-items: center;
    animation: rh-emblem-float 7s ease-in-out infinite;
}

body.rh-page .rh-emblem > span {
    grid-area: 1 / 1;
    padding-right: 28px;
    font-size: clamp(180px, 21vw, 275px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -30px;
    line-height: 1;
    user-select: none;
}

body.rh-page .rh-emblem-main {
    position: relative;
    background: linear-gradient(
            145deg,
            #ffe0cc 0%,
            #ffb28d 18%,
            #ff9169 33%,
            #ff7547 56%,
            #d64a24 80%,
            #81321f 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(
            0 20px 30px rgba(255, 93, 42, 0.18)
    );
}

body.rh-page .rh-emblem-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(var(--rh-accent-rgb), 0.35);
    transform: translate(13px, 15px);
}

body.rh-page .rh-emblem-shadow {
    color: rgba(0, 0, 0, 0.32);
    filter: blur(10px);
    transform: translate(22px, 40px);
}

/* =========================================================
   ПЛАВАЮЩИЕ ПЛАШКИ
   ========================================================= */

body.rh-page .rh-floating {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    background: rgba(25, 27, 32, 0.85);
    box-shadow:
            inset 0 1px rgba(255, 255, 255, 0.025),
            0 15px 35px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.rh-page .rh-floating-top {
    top: 96px;
    left: -15px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
    animation: rh-label-float 6s ease-in-out infinite;
}

body.rh-page .rh-floating-symbol {
    color: var(--accent);
    font-size: 30px;
    line-height: 1;
}

body.rh-page .rh-floating-label {
    display: block;
    color: #797b84;
    font-size: 7px;
    letter-spacing: 1.2px;
    line-height: 1.6;
}

body.rh-page .rh-floating-top strong {
    display: block;
    margin-top: 5px;
    color: #e8d9ce;
    font-size: 10px;
    letter-spacing: 0.6px;
}

body.rh-page .rh-floating-side {
    right: -12px;
    bottom: 125px;
    min-width: 142px;
    padding: 16px 18px;
    animation: rh-side-float 7s ease-in-out infinite;
}

body.rh-page .rh-floating-side strong {
    display: block;
    margin-top: 8px;
    color: #e4d9d0;
    font-size: 15px;
    letter-spacing: -0.5px;
}

body.rh-page .rh-floating-detail {
    display: block;
    margin-top: 5px;
    color: var(--accent);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
}

/* =========================================================
   ПОДПИСИ ВИЗУАЛЬНОГО БЛОКА
   ========================================================= */

body.rh-page .rh-visual-caption {
    position: absolute;
    right: 25px;
    bottom: 76px;
    left: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #8f7770;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

body.rh-page .rh-visual-caption > span + span::before {
    display: inline-block;
    width: 3px;
    height: 3px;
    margin-right: 18px;
    border-radius: 50%;
    background: #a45b40;
    content: "";
    vertical-align: middle;
}

body.rh-page .rh-visual-bottom {
    position: absolute;
    right: 25px;
    bottom: 24px;
    left: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: #6e6468;
    font-family: monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

body.rh-page .rh-visual-bottom > span:last-child {
    color: #b37b65;
    font-size: 20px;
}

body.rh-page .rh-visual-barcode {
    width: 60px;
    height: 11px;
    background: repeating-linear-gradient(
            90deg,
            #a7735d 0,
            #a7735d 2px,
            transparent 2px,
            transparent 5px
    );
    opacity: 0.4;
}

/* =========================================================
   НИЖНЯЯ ПОЛОСА ГЛАВНОГО ЭКРАНА
   ========================================================= */

body.rh-page .rh-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

body.rh-page .rh-development {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7d7b81;
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 1.8;
}

body.rh-page .rh-development .rh-status-dot {
    width: 5px;
    height: 5px;
}

body.rh-page .rh-home .rh-scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    color: #ba9686;
    font-size: 8px;
    letter-spacing: 1px;
}

body.rh-page .rh-scroll-link > span:last-child {
    font-size: 18px;
    line-height: 1;
}

/* =========================================================
   СЕКЦИИ И ЗАГОЛОВКИ
   ========================================================= */

body.rh-page .rh-section {
    padding-top: 85px;
}

body.rh-page #rh-discover {
    scroll-margin-top: 150px;
}

body.rh-page .rh-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 30px;
}

body.rh-page .rh-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.7;
}

body.rh-page .rh-section-number {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1px solid rgba(var(--rh-accent-rgb), 0.2);
    border-radius: 6px;
    background: rgba(var(--rh-accent-rgb), 0.035);
    color: #c98a6d;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 0;
}

body.rh-page .rh-section-heading h2 {
    margin-top: 16px;
    color: var(--text);
    font-size: clamp(29px, 3.2vw, 42px);
    font-weight: 900;
    letter-spacing: -1.8px;
    line-height: 1.12;
}

body.rh-page .rh-section-heading h2 > span {
    display: block;
    color: var(--text);
}

body.rh-page .rh-section-heading h2 > .rh-heading-muted {
    margin-top: 3px;
    color: #7e818a;
}

body.rh-page .rh-section-description {
    max-width: 310px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

/* =========================================================
   КАРТОЧКИ РАЗДЕЛОВ
   ========================================================= */

body.rh-page .rh-destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.rh-page .rh-destination-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition:
            transform 0.3s var(--rh-ease),
            border-color 0.3s,
            box-shadow 0.3s;
}

body.rh-page .rh-destination-card::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: radial-gradient(
            ellipse at 90% 0,
            rgba(var(--rh-accent-rgb), 0.09),
            transparent 65%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

body.rh-page .rh-destination-featured {
    border-color: rgba(var(--rh-accent-rgb), 0.2);
    background:
            radial-gradient(
                    ellipse at 90% 0,
                    rgba(var(--rh-accent-rgb), 0.075),
                    transparent 65%
            ),
            var(--surface);
}

body.rh-page .rh-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

body.rh-page .rh-card-label {
    color: #85818a;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1px;
}

body.rh-page .rh-card-arrow {
    color: var(--accent);
    font-size: 25px;
    line-height: 1;
    transition: transform 0.3s var(--rh-ease);
}

body.rh-page .rh-card-visual {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 125px;
    margin-top: 5px;
    color: #cd8e73;
}

body.rh-page .rh-card-visual svg {
    width: 78px;
    height: 78px;
}

body.rh-page .rh-support-visual {
    color: #b8958b;
}

body.rh-page .rh-server-visual {
    align-items: flex-end;
    gap: 9px;
    padding-bottom: 23px;
}

body.rh-page .rh-server-visual > span {
    position: relative;
    width: 42px;
    height: 54px;
    border: 1px solid rgba(var(--rh-accent-rgb), 0.3);
    border-radius: 6px;
    background: linear-gradient(
            140deg,
            rgba(var(--rh-accent-rgb), 0.12),
            rgba(var(--rh-accent-rgb), 0.025)
    );
    box-shadow: inset 0 1px rgba(255, 199, 168, 0.06);
}

body.rh-page .rh-server-visual > span::before {
    position: absolute;
    right: 9px;
    bottom: 10px;
    left: 9px;
    height: 2px;
    content: "";
    background: #d28a6c;
    box-shadow: 0 -7px rgba(210, 138, 108, 0.3);
}

body.rh-page .rh-server-visual > span:nth-child(2) {
    height: 74px;
}

body.rh-page .rh-server-visual > span:nth-child(3) {
    height: 63px;
    opacity: 0.75;
}

body.rh-page .rh-destination-card h3 {
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.9px;
    line-height: 1.3;
}

body.rh-page .rh-destination-card > p {
    flex: 1;
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

body.rh-page .rh-home .rh-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    color: #d49b80;
    font-size: 11px;
    line-height: 1.7;
}

body.rh-page .rh-card-footer > span:last-child {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.25s var(--rh-ease);
}

/* =========================================================
   НОВОСТИ — КАРТОЧКИ
   ========================================================= */

body.rh-page .rh-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.rh-page .rh-news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    transition:
            transform 0.3s var(--rh-ease),
            border-color 0.3s,
            box-shadow 0.3s;
}

body.rh-page .rh-news-cover {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
            radial-gradient(
                    ellipse at 80% 15%,
                    rgba(var(--rh-accent-rgb), 0.15),
                    transparent 65%
            ),
            linear-gradient(135deg, #292329, #171d25);
}

body.rh-page .rh-news-cover::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
            transparent 35%,
            rgba(12, 13, 16, 0.45)
    );
    pointer-events: none;
}

body.rh-page .rh-news-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--rh-ease);
}

body.rh-page .rh-news-placeholder {
    color: rgba(255, 178, 139, 0.16);
    font-size: 90px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -9px;
    line-height: 1;
}

body.rh-page .rh-news-category {
    position: absolute;
    z-index: 1;
    bottom: 17px;
    left: 20px;
    max-width: calc(100% - 40px);
    padding: 5px 8px;
    border: 1px solid rgba(var(--rh-accent-rgb), 0.2);
    border-radius: 5px;
    background: rgba(20, 19, 22, 0.8);
    color: #dfb39b;
    font-size: 9px;
    line-height: 1.7;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.rh-page .rh-news-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 25px;
}

body.rh-page .rh-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: #7d7e87;
    font-size: 10px;
    line-height: 1.7;
}

body.rh-page .rh-news-pinned {
    color: #cc9276;
}

body.rh-page .rh-news-content h3 {
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.7px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body.rh-page .rh-news-content > p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

body.rh-page .rh-news-fallback {
    color: #b38c78;
    font-size: 10px;
    line-height: 1.7;
}

body.rh-page .rh-news-content .rh-card-footer {
    margin-top: auto;
}

/* =========================================================
   НОВОСТИ — ПУСТОЕ СОСТОЯНИЕ
   ========================================================= */

body.rh-page .rh-news-empty {
    display: flex;
    align-items: center;
    gap: 27px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
            radial-gradient(
                    ellipse at 100% 0,
                    rgba(var(--rh-accent-rgb), 0.045),
                    transparent 65%
            ),
            var(--surface);
}

body.rh-page .rh-empty-icon {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border: 1px dashed rgba(var(--rh-accent-rgb), 0.3);
    border-radius: 14px;
    background: rgba(var(--rh-accent-rgb), 0.025);
    color: #d18a6b;
    font-size: 31px;
}

body.rh-page .rh-empty-copy {
    min-width: 0;
    flex: 1;
}

body.rh-page .rh-empty-copy .rh-eyebrow {
    color: #b78066;
    font-size: 8px;
}

body.rh-page .rh-empty-copy h3 {
    margin-top: 9px;
    color: var(--text);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.3;
}

body.rh-page .rh-empty-description {
    max-width: 650px;
    margin-top: 13px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

body.rh-page .rh-news-empty > .rh-button {
    flex-shrink: 0;
}

/* =========================================================
   ФИНАЛЬНЫЙ БЛОК
   ========================================================= */

body.rh-page .rh-join {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    padding: 48px;
    overflow: hidden;
    border: 1px solid rgba(var(--rh-accent-rgb), 0.2);
    border-radius: 24px;
    background:
            radial-gradient(
                    ellipse at 90% 50%,
                    rgba(var(--rh-accent-rgb), 0.12),
                    transparent 65%
            ),
            #1a191b;
}

body.rh-page .rh-join::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    content: "";
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 180, 143, 0.3),
            transparent
    );
    pointer-events: none;
}

body.rh-page .rh-join-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
            linear-gradient(
                    rgba(255, 255, 255, 0.02) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0.02) 1px,
                    transparent 1px
            );
    background-size: 54px 54px;
    mask-image: linear-gradient(
            90deg,
            transparent 20%,
            #000
    );
    pointer-events: none;
}

body.rh-page .rh-join-mark {
    position: absolute;
    z-index: -1;
    top: 8px;
    right: 45px;
    color: rgba(var(--rh-accent-rgb), 0.045);
    font-size: 330px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -38px;
    line-height: 1;
    transform: rotate(-10deg);
    user-select: none;
}

body.rh-page .rh-join-content {
    position: relative;
    max-width: 720px;
}

body.rh-page .rh-join h2 {
    margin-top: 20px;
    color: var(--text);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
}

body.rh-page .rh-join h2 > span {
    display: block;
    color: var(--text);
}

body.rh-page .rh-join h2 > .rh-join-accent {
    margin-top: 4px;
    color: var(--accent);
}

body.rh-page .rh-join-description {
    max-width: 430px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

body.rh-page .rh-home .rh-text-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 13px 4px;
    color: #dc9e80;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.7;
    transition: color 0.2s;
}

body.rh-page .rh-text-link > span:last-child {
    font-size: 19px;
}

body.rh-page .rh-signoff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 24px;
    color: #68636b;
    font-family: monospace;
    font-size: 8px;
    letter-spacing: 1.3px;
    line-height: 1.8;
}

/* =========================================================
   ЭФФЕКТЫ НАВЕДЕНИЯ
   ========================================================= */

@media (hover: hover) {

    body.rh-page .rh-home .rh-button:hover {
        transform: translateY(-3px);
    }

    body.rh-page .rh-home .rh-button:hover::before {
        animation: rh-button-shine 0.48s var(--rh-ease) both;
    }

    body.rh-page .rh-home .rh-button-primary:hover {
        background: linear-gradient(
                125deg,
                #ffa17e,
                #ff936e 65%,
                #ff7547
        );
        box-shadow:
                inset 0 1px rgba(255, 225, 209, 0.45),
                0 14px 38px rgba(var(--rh-accent-rgb), 0.2);
    }

    body.rh-page .rh-home .rh-button-outline:hover {
        border-color: rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.05);
    }

    body.rh-page .rh-destination-card:hover {
        border-color: rgba(var(--rh-accent-rgb), 0.35);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
        transform: translateY(-5px);
    }

    body.rh-page .rh-destination-card:hover::before {
        opacity: 1;
    }

    body.rh-page .rh-destination-card:hover .rh-card-arrow {
        transform: translate(2px, -2px);
    }

    body.rh-page .rh-destination-card:hover .rh-card-footer > span:last-child {
        transform: translateX(4px);
    }

    body.rh-page .rh-news-card:hover {
        border-color: rgba(var(--rh-accent-rgb), 0.3);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
        transform: translateY(-4px);
    }

    body.rh-page .rh-news-card:hover .rh-news-cover img {
        transform: scale(1.05);
    }

    body.rh-page .rh-home .rh-text-link:hover {
        color: #ffa17e;
    }

}

/* =========================================================
   АНИМАЦИИ
   ========================================================= */

@keyframes rh-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rh-emblem-float {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-12px) rotate(-5deg);
    }
}

@keyframes rh-label-float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-7px) rotate(-3deg);
    }
}

@keyframes rh-side-float {
    0%, 100% {
        transform: translateY(0) rotate(4deg);
    }

    50% {
        transform: translateY(8px) rotate(2deg);
    }
}

@keyframes rh-button-shine {
    0% {
        left: -45%;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        left: 135%;
        opacity: 0;
    }
}

/* =========================================================
   АДАПТИВ — ДО 1100px
   ========================================================= */

@media (max-width: 1100px) {

    body.rh-page .rh-hero-layout {
        min-height: 590px;
        gap: 25px;
    }

    body.rh-page .rh-title {
        font-size: clamp(41px, 5vw, 58px);
    }

    body.rh-page .rh-hero-visual {
        height: 470px;
    }

    body.rh-page .rh-emblem > span {
        font-size: 245px;
        letter-spacing: -28px;
    }

    body.rh-page .rh-floating-top {
        top: 90px;
        left: -8px;
        padding: 12px 14px;
    }

    body.rh-page .rh-floating-side {
        right: -8px;
        bottom: 125px;
        min-width: 124px;
        padding: 14px;
    }

    body.rh-page .rh-floating-side strong {
        font-size: 13px;
    }

    body.rh-page .rh-floating-detail {
        font-size: 23px;
    }

    body.rh-page .rh-hero-facts {
        gap: 22px;
    }

    body.rh-page .rh-hero-facts > div + div {
        padding-left: 21px;
    }

    body.rh-page .rh-hero-facts strong {
        font-size: 22px;
    }

    body.rh-page .rh-destination-grid,
    body.rh-page .rh-news-grid {
        gap: 18px;
    }

    body.rh-page .rh-destination-card {
        padding: 24px;
    }

    body.rh-page .rh-destination-card h3 {
        font-size: 20px;
    }

    body.rh-page .rh-news-content {
        padding: 23px;
    }

    body.rh-page .rh-news-content h3 {
        font-size: 20px;
    }

}

/* =========================================================
   АДАПТИВ — ДО 900px
   ========================================================= */

@media (max-width: 900px) {

    body.rh-page .rh-container {
        width: calc(100% - 40px);
    }

    body.rh-page .rh-hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: 0;
        padding-block: 35px 40px;
    }

    body.rh-page .rh-title {
        max-width: 700px;
        font-size: clamp(45px, 7.8vw, 68px);
    }

    body.rh-page .rh-hero-description {
        max-width: 530px;
    }

    body.rh-page .rh-hero-visual {
        width: min(560px, calc(100% - 20px));
        height: 480px;
        margin: 5px auto 0;
    }

    body.rh-page .rh-emblem > span {
        font-size: 275px;
        letter-spacing: -31px;
    }

    body.rh-page .rh-floating-top {
        top: 95px;
        left: -15px;
        padding: 14px 17px;
    }

    body.rh-page .rh-floating-side {
        right: -13px;
        bottom: 124px;
        min-width: 142px;
        padding: 16px 18px;
    }

    body.rh-page .rh-section {
        padding-top: 65px;
    }

    body.rh-page .rh-section-heading {
        align-items: flex-start;
        gap: 25px;
    }

    body.rh-page .rh-section-heading h2 {
        font-size: 35px;
    }

    body.rh-page .rh-section-description {
        display: none;
    }

    body.rh-page .rh-destination-card {
        padding: 22px;
    }

    body.rh-page .rh-destination-card h3 {
        font-size: 19px;
    }

    body.rh-page .rh-destination-card > p {
        font-size: 11px;
    }

    body.rh-page .rh-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rh-page .rh-news-empty {
        flex-wrap: wrap;
        padding: 29px;
    }

    body.rh-page .rh-news-empty > .rh-button {
        margin-left: 92px;
    }

    body.rh-page .rh-join {
        padding: 38px;
    }

    body.rh-page .rh-join h2 {
        font-size: 43px;
    }

}

/* =========================================================
   АДАПТИВ — ДО 650px
   ========================================================= */

@media (max-width: 650px) {

    body.rh-page .rh-destination-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.rh-page .rh-destination-card {
        padding: 27px;
    }

    body.rh-page .rh-card-visual {
        height: 105px;
    }

    body.rh-page .rh-destination-card h3 {
        font-size: 24px;
    }

    body.rh-page .rh-destination-card > p {
        max-width: 470px;
        font-size: 13px;
    }

    body.rh-page .rh-card-footer {
        margin-top: 24px;
    }

    body.rh-page .rh-hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding-block: 20px;
    }

    body.rh-page .rh-development {
        font-size: 8px;
        letter-spacing: 0.6px;
    }

    body.rh-page .rh-scroll-link {
        font-size: 8px;
    }

    body.rh-page .rh-news-grid {
        grid-template-columns: 1fr;
    }

    body.rh-page .rh-news-content h3 {
        font-size: 24px;
    }

    body.rh-page .rh-news-content > p {
        font-size: 13px;
    }

    body.rh-page .rh-section-heading {
        flex-wrap: wrap;
    }

    body.rh-page .rh-join {
        min-height: 0;
        padding: 32px 27px;
    }

    body.rh-page .rh-join h2 {
        font-size: 38px;
    }

    body.rh-page .rh-join-description {
        font-size: 13px;
    }

    body.rh-page .rh-join-mark {
        top: auto;
        right: -10px;
        bottom: -10px;
        font-size: 260px;
        opacity: 0.65;
    }

}

/* =========================================================
   АДАПТИВ — ДО 480px
   ========================================================= */

@media (max-width: 480px) {

    body.rh-page .rh-container {
        width: calc(100% - 32px);
    }

    body.rh-page .rh-hero {
        padding-top: 8px;
    }

    body.rh-page .rh-hero-layout {
        gap: 27px;
        padding-block: 28px 32px;
    }

    body.rh-page .rh-project-label {
        gap: 7px;
        padding: 8px 10px;
        font-size: 8px;
        letter-spacing: 0.6px;
    }

    body.rh-page .rh-title {
        margin-top: 25px;
        font-size: clamp(34px, 9vw, 43px);
        letter-spacing: -2px;
        line-height: 1.08;
    }

    body.rh-page .rh-title > .rh-title-accent {
        margin-top: 6px;
    }

    body.rh-page .rh-hero-description {
        margin-top: 22px;
        font-size: 13px;
        line-height: 1.85;
    }

    body.rh-page .rh-actions {
        gap: 9px;
        margin-top: 25px;
    }

    body.rh-page .rh-home .rh-button {
        gap: 12px;
        min-height: 48px;
        padding: 13px 15px;
        font-size: 10px;
        letter-spacing: 0.3px;
    }

    body.rh-page .rh-button-arrow {
        font-size: 18px;
    }

    body.rh-page .rh-hero-facts {
        gap: 17px;
        margin-top: 32px;
    }

    body.rh-page .rh-hero-facts > div {
        gap: 7px;
    }

    body.rh-page .rh-hero-facts > div + div {
        padding-left: 17px;
    }

    body.rh-page .rh-hero-facts strong {
        font-size: 20px;
        letter-spacing: -0.8px;
    }

    body.rh-page .rh-hero-facts div > span {
        font-size: 7px;
        letter-spacing: 0.4px;
    }

    body.rh-page .rh-hero-visual {
        width: calc(100% - 14px);
        height: 365px;
        border-radius: 18px;
    }

    body.rh-page .rh-visual-top {
        top: 19px;
        right: 19px;
        left: 19px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    body.rh-page .rh-visual-cross {
        font-size: 22px;
    }

    body.rh-page .rh-visual-frame {
        inset: 61px 24px 83px;
    }

    body.rh-page .rh-visual-frame > span {
        width: 17px;
        height: 17px;
    }

    body.rh-page .rh-emblem {
        inset: 67px 0 100px;
    }

    body.rh-page .rh-emblem > span {
        padding-right: 22px;
        font-size: 210px;
        letter-spacing: -25px;
    }

    body.rh-page .rh-emblem-outline {
        transform: translate(10px, 12px);
    }

    body.rh-page .rh-floating-top {
        top: 72px;
        left: -8px;
        gap: 9px;
        padding: 10px 12px;
        border-radius: 8px;
    }

    body.rh-page .rh-floating-symbol {
        font-size: 24px;
    }

    body.rh-page .rh-floating-label {
        font-size: 6px;
        letter-spacing: 0.8px;
    }

    body.rh-page .rh-floating-top strong {
        font-size: 8px;
    }

    body.rh-page .rh-floating-side {
        right: -7px;
        bottom: 102px;
        min-width: 104px;
        padding: 11px 12px;
        border-radius: 8px;
    }

    body.rh-page .rh-floating-side strong {
        margin-top: 6px;
        font-size: 11px;
    }

    body.rh-page .rh-floating-detail {
        margin-top: 4px;
        font-size: 20px;
    }

    body.rh-page .rh-visual-caption {
        right: 15px;
        bottom: 66px;
        left: 15px;
        gap: 10px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    body.rh-page .rh-visual-caption > span + span::before {
        width: 2px;
        height: 2px;
        margin-right: 10px;
    }

    body.rh-page .rh-visual-bottom {
        right: 19px;
        bottom: 19px;
        left: 19px;
        padding-top: 12px;
        font-size: 6px;
        letter-spacing: 0.7px;
    }

    body.rh-page .rh-visual-barcode {
        width: 44px;
        height: 9px;
    }

    body.rh-page .rh-section {
        padding-top: 53px;
    }

    body.rh-page .rh-section-heading {
        gap: 20px;
        margin-bottom: 25px;
    }

    body.rh-page .rh-eyebrow {
        gap: 8px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    body.rh-page .rh-section-number {
        width: 22px;
        height: 22px;
        font-size: 8px;
    }

    body.rh-page .rh-section-heading h2 {
        margin-top: 14px;
        font-size: 29px;
        letter-spacing: -1.2px;
        line-height: 1.15;
    }

    body.rh-page .rh-section-heading > .rh-button {
        min-height: 40px;
        padding: 10px 13px;
    }

    body.rh-page .rh-destination-card {
        padding: 25px;
    }

    body.rh-page .rh-card-label {
        font-size: 8px;
    }

    body.rh-page .rh-destination-card h3 {
        font-size: 23px;
    }

    body.rh-page .rh-destination-card > p {
        font-size: 12px;
    }

    body.rh-page .rh-news-content {
        padding: 24px;
    }

    body.rh-page .rh-news-content h3 {
        font-size: 23px;
    }

    body.rh-page .rh-news-content > p {
        font-size: 12px;
    }

    body.rh-page .rh-news-empty {
        align-items: flex-start;
        gap: 18px;
        padding: 25px;
    }

    body.rh-page .rh-empty-icon {
        width: 43px;
        height: 46px;
        border-radius: 10px;
        font-size: 24px;
    }

    body.rh-page .rh-empty-copy h3 {
        font-size: 21px;
        letter-spacing: -0.5px;
    }

    body.rh-page .rh-empty-copy .rh-eyebrow {
        font-size: 7px;
    }

    body.rh-page .rh-empty-description {
        font-size: 11px;
    }

    body.rh-page .rh-news-empty > .rh-button {
        margin-left: 0;
    }

    body.rh-page .rh-join {
        padding: 29px 25px;
        border-radius: 18px;
    }

    body.rh-page .rh-join h2 {
        font-size: clamp(29px, 8vw, 36px);
        letter-spacing: -1.5px;
    }

    body.rh-page .rh-join-description {
        margin-top: 20px;
        font-size: 12px;
    }

    body.rh-page .rh-join-mark {
        right: -12px;
        bottom: 10px;
        font-size: 220px;
        letter-spacing: -28px;
    }

    body.rh-page .rh-home .rh-text-link {
        gap: 10px;
        font-size: 9px;
    }

    body.rh-page .rh-signoff {
        gap: 10px;
        margin-top: 20px;
        font-size: 7px;
        letter-spacing: 0.7px;
    }

    body.rh-page .rh-signoff > span:last-child {
        display: none;
    }

    body.rh-page .rh-home {
        padding-bottom: 35px;
    }

}

/* =========================================================
   АДАПТИВ — ДО 360px
   ========================================================= */

@media (max-width: 360px) {

    body.rh-page .rh-title {
        font-size: 32px;
    }

    body.rh-page .rh-home .rh-button {
        gap: 9px;
        padding-inline: 12px;
        font-size: 9px;
    }

    body.rh-page .rh-hero-facts {
        gap: 13px;
    }

    body.rh-page .rh-hero-facts > div + div {
        padding-left: 13px;
    }

    body.rh-page .rh-hero-facts strong {
        font-size: 18px;
    }

    body.rh-page .rh-hero-visual {
        height: 335px;
    }

    body.rh-page .rh-emblem > span {
        font-size: 188px;
        letter-spacing: -23px;
    }

    body.rh-page .rh-floating-top {
        padding: 9px 10px;
    }

    body.rh-page .rh-floating-side {
        min-width: 95px;
        padding: 10px;
    }

    body.rh-page .rh-section-heading h2 {
        font-size: 26px;
    }

}

/* =========================================================
   УМЕНЬШЕННОЕ ДВИЖЕНИЕ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    body.rh-page .rh-home,
    body.rh-page .rh-home *,
    body.rh-page .rh-home *::before,
    body.rh-page .rh-home *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    body.rh-page .rh-hero-content,
    body.rh-page .rh-hero-visual {
        opacity: 1;
        transform: none;
    }

    body.rh-page .rh-emblem {
        transform: rotate(-6deg);
    }

    body.rh-page .rh-floating-top {
        transform: rotate(-4deg);
    }

    body.rh-page .rh-floating-side {
        transform: rotate(3deg);
    }

    body.rh-page .rh-home .rh-button:hover,
    body.rh-page .rh-destination-card:hover,
    body.rh-page .rh-news-card:hover {
        transform: none;
    }

}
/* =========================================================
   ГЛАВНАЯ — DISCORD И TELEGRAM
   ========================================================= */

body.rh-page .rh-socials {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    margin-top: 28px;
}

body.rh-page .rh-social-button {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 66px;
    flex: 1 1 180px;
    padding: 13px 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
    );
    color: #f4f2ee;
    box-shadow:
            inset 0 1px rgba(255, 255, 255, 0.025),
            0 7px 20px rgba(0, 0, 0, 0.08);
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
            transform 0.25s cubic-bezier(.22, 1, .36, 1),
            border-color 0.25s,
            background 0.25s,
            box-shadow 0.25s;
}

/* Луч скрыт, пока кнопка не наведена. */

body.rh-page .rh-social-button::before {
    position: absolute;
    z-index: 2;
    top: -100%;
    bottom: -100%;
    left: -45%;
    width: 18%;
    content: "";
    background: linear-gradient(
            100deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
    );
    opacity: 0;
    transform: skewX(-18deg);
    pointer-events: none;
}

/* Иконка */

body.rh-page .rh-social-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    border: 1px solid transparent;
    border-radius: 10px;
}

body.rh-page .rh-social-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Подписи */

body.rh-page .rh-social-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

body.rh-page .rh-social-caption {
    color: #85858f;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.5;
}

body.rh-page .rh-social-name {
    color: #e9e6e5;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

body.rh-page .rh-social-arrow {
    margin-left: auto;
    color: #777985;
    font-size: 20px;
    line-height: 1;
    transition:
            transform 0.25s cubic-bezier(.22, 1, .36, 1),
            color 0.25s;
}

/* Discord */

body.rh-page .rh-social-discord .rh-social-icon {
    border-color: rgba(141, 145, 255, 0.2);
    background: rgba(114, 119, 235, 0.1);
    color: #a1a5ff;
}

/* Telegram */

body.rh-page .rh-social-telegram .rh-social-icon {
    border-color: rgba(83, 174, 229, 0.2);
    background: rgba(65, 157, 217, 0.1);
    color: #78c0ed;
}

body.rh-page .rh-social-button:focus-visible {
    outline: 2px solid #ff936e;
    outline-offset: 5px;
}

/* Наведение */

@media (hover: hover) {

    body.rh-page .rh-social-button:hover {
        transform: translateY(-3px);
    }

    body.rh-page .rh-social-button:hover::before {
        animation: rh-social-shine 0.48s ease-out both;
    }

    body.rh-page .rh-social-discord:hover {
        border-color: rgba(141, 145, 255, 0.38);
        background: linear-gradient(
                135deg,
                rgba(114, 119, 235, 0.1),
                rgba(114, 119, 235, 0.025)
        );
        box-shadow:
                inset 0 1px rgba(179, 182, 255, 0.04),
                0 10px 28px rgba(71, 76, 177, 0.1);
    }

    body.rh-page .rh-social-telegram:hover {
        border-color: rgba(83, 174, 229, 0.38);
        background: linear-gradient(
                135deg,
                rgba(65, 157, 217, 0.1),
                rgba(65, 157, 217, 0.025)
        );
        box-shadow:
                inset 0 1px rgba(159, 218, 255, 0.04),
                0 10px 28px rgba(31, 114, 168, 0.1);
    }

    body.rh-page .rh-social-discord:hover .rh-social-arrow {
        color: #a1a5ff;
        transform: translate(2px, -2px);
    }

    body.rh-page .rh-social-telegram:hover .rh-social-arrow {
        color: #78c0ed;
        transform: translate(2px, -2px);
    }

}

@keyframes rh-social-shine {
    0% {
        left: -45%;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        left: 135%;
        opacity: 0;
    }
}

/* Мобильная версия */

@media (max-width: 480px) {

    body.rh-page .rh-socials {
        gap: 9px;
        margin-top: 25px;
    }

    body.rh-page .rh-social-button {
        gap: 9px;
        min-height: 61px;
        flex-basis: 140px;
        padding: 11px 12px;
        border-radius: 10px;
    }

    body.rh-page .rh-social-icon {
        width: 32px;
        height: 34px;
        border-radius: 9px;
    }

    body.rh-page .rh-social-icon svg {
        width: 18px;
        height: 18px;
    }

    body.rh-page .rh-social-caption {
        font-size: 6px;
        letter-spacing: 0.6px;
    }

    body.rh-page .rh-social-name {
        font-size: 12px;
    }

    body.rh-page .rh-social-arrow {
        font-size: 17px;
    }

}

/* Уменьшенное движение */

@media (prefers-reduced-motion: reduce) {

    body.rh-page .rh-social-button,
    body.rh-page .rh-social-arrow {
        transition: none !important;
    }

    body.rh-page .rh-social-button::before {
        animation: none !important;
        opacity: 0;
    }

    body.rh-page .rh-social-button:hover,
    body.rh-page .rh-social-button:hover .rh-social-arrow {
        transform: none;
    }

}