/* =========================================================
   home.css — فقط صفحه اصلی (روی بقیه صفحات لود نمی‌شود)
   اصل کار: فقط transform / opacity انیمیشن می‌شود، نقطه‌ها
   یا با canvas سبک (home.js) یا با radial-gradient ثابت ساخته می‌شوند.
   ========================================================= */

:root {
    --ink: #0b1020;
    --dot: radial-gradient(circle, rgba(11, 16, 32, 0.55) 1.2px, transparent 1.6px);
}

/* ---------------------------------------------------------
   HERO — هم‌خانواده‌ی هیرو صفحه پروفایل: زمینه روشن، بلاب‌های نرم،
   شبکه‌ی نقطه‌ای ریز و ذرات پیکسلی سیاهِ در حال صعود.
   فقط transform/opacity انیمیت می‌شود؛ صفر کار روی JS در هر فریم.
   --------------------------------------------------------- */
.hx {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    padding: 56px 0 110px;
    color: var(--ink);
    background: linear-gradient(180deg, #DCE8FF 0%, #EEF4FF 52%, #FFFFFF 100%);
    contain: layout paint;
}

.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hx-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(29, 39, 54, 0.16) 1.1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, transparent 72%);
            mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, transparent 72%);
}

/* نقطه‌های سیاه درشت که زیر ماوس/انگشت ظاهر می‌شن (فقط یک لایه) */
.hx-spot {
    position: absolute;
    inset: 0;
    --mx: -400px;
    --my: -400px;
    background-image: radial-gradient(#0B0F19 2px, transparent 2.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle 150px at var(--mx) var(--my), #000 0%, transparent 100%);
            mask-image: radial-gradient(circle 150px at var(--mx) var(--my), #000 0%, transparent 100%);
}

.hx-blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    will-change: transform;
}
.hx-blob-a {
    top: -200px;
    right: -140px;
    background: radial-gradient(circle, rgba(46, 107, 255, 0.34), rgba(46, 107, 255, 0) 65%);
    animation: pfBlobA 14s ease-in-out infinite alternate;
}
.hx-blob-b {
    bottom: -220px;
    left: -160px;
    background: radial-gradient(circle, rgba(105, 168, 255, 0.38), rgba(105, 168, 255, 0) 65%);
    animation: pfBlobB 17s ease-in-out infinite alternate;
}

.hx-particles { position: absolute; inset: 0; overflow: hidden; }
.hx-particles i {
    position: absolute;
    bottom: -12px;
    left: var(--l);
    width: var(--s);
    height: var(--s);
    background: #0B0F19;
    border-radius: 1px;
    opacity: 0;
    will-change: transform, opacity;
    animation: hxRiseUp var(--t) linear infinite;
    animation-delay: var(--d);
}
@keyframes hxRiseUp {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
    12%  { opacity: var(--o); }
    80%  { opacity: var(--o); }
    100% { transform: translate3d(var(--dx), -620px, 0) rotate(200deg); opacity: 0; }
}

.hx.is-paused *,
.hx.is-paused *::before { animation-play-state: paused !important; }

.hx-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* لوگو با حلقه‌ی چرخان و پیکسل‌های مداری */
.hx-logo {
    position: relative;
    width: 132px;
    height: 132px;
    margin-bottom: 26px;
    display: grid;
    place-items: center;
}
.hx-float { position: relative; width: 112px; height: 112px; animation: pfFloat 5.5s ease-in-out infinite; will-change: transform; }
.hx-ring { position: absolute; inset: -5px; border-radius: 38px; overflow: hidden; }
.hx-ring::before {
    content: '';
    position: absolute;
    inset: -60%;
    background: conic-gradient(from 0deg, #2E6BFF, #69A8FF, #BFD8FF, #2E6BFF 55%, #69A8FF, #2E6BFF);
    animation: pfSpin 7s linear infinite;
    will-change: transform;
}
.hx-logo-frame {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 34px;
    padding: 8px;
    background: linear-gradient(145deg, #fff, #E6EEFF);
    box-shadow: 0 18px 38px rgba(46, 107, 255, 0.32);
}
.hx-logo-frame img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.hx-logo-fb { position: absolute; font-size: 3rem; font-weight: 900; color: var(--color-primary); }
.hx-glow {
    position: absolute;
    inset: -34px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 107, 255, 0.45), rgba(46, 107, 255, 0) 68%);
    animation: pfGlow 3.6s ease-in-out infinite;
    will-change: transform, opacity;
}
.hx-orbit { position: absolute; inset: -22px; animation: pfSpin 16s linear infinite; will-change: transform; }
.hx-orbit-2 { inset: -44px; animation-duration: 26s; animation-direction: reverse; }
.hx-orbit i { position: absolute; width: 9px; height: 9px; border-radius: 2px; background: #0B0F19; }
.hx-orbit i:nth-child(1) { top: 0; left: 50%; opacity: 0.9; }
.hx-orbit i:nth-child(2) { top: 50%; right: 0; width: 6px; height: 6px; background: var(--color-primary); }
.hx-orbit i:nth-child(3) { bottom: 0; left: 50%; width: 5px; height: 5px; opacity: 0.55; }
.hx-orbit i:nth-child(4) { top: 50%; left: 0; width: 7px; height: 7px; opacity: 0.75; }
.hx-orbit-2 i:nth-child(1) { width: 6px; height: 6px; opacity: 0.6; }
.hx-orbit-2 i:nth-child(2) { width: 8px; height: 8px; background: #0B0F19; }
.hx-orbit-2 i:nth-child(3) { width: 7px; height: 7px; background: var(--color-primary); opacity: 0.8; }

.hx-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}
.hx-live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #1fc46f; }
.hx-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #1fc46f; animation: hxPing 1.8s ease-out infinite; }
.hx-pill.is-offline .hx-live,
.hx-pill.is-offline .hx-live::after { background: #e5493a; }
@keyframes hxPing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }

.hx-title {
    font-size: clamp(3.4rem, 14vw, 7.6rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 14px;
    padding-inline: 4px;
    background: linear-gradient(180deg, #0B0F19 25%, #2E6BFF 135%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 6px 0 #C9DBFF) drop-shadow(0 22px 28px rgba(46, 107, 255, 0.28));
}

.hx-sub {
    max-width: 520px;
    font-size: 1.08rem;
    color: #4A5670;
    margin-bottom: 32px;
}

/* ورود صفحه: یک حرکت هماهنگ */
.hx-rise {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    animation: hxRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 90ms + 40ms);
}
@keyframes hxRise { to { opacity: 1; transform: none; } }

.hx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 22px; }

.hx-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 32px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.hx-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.hx-btn-main {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 8px 0 #2E6BFF, 0 20px 36px rgba(46, 107, 255, 0.35);
}
/* برق کوتاه روی دکمه‌ی اصلی (فقط transform) */
.hx-btn-main::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-160%) skewX(-20deg);
    animation: hxShine 4.5s ease-in-out infinite;
}
@keyframes hxShine { 0%, 62% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(420%) skewX(-20deg); } }
.hx-btn-main:hover { transform: translateY(-3px); box-shadow: 0 11px 0 #2E6BFF, 0 26px 44px rgba(46, 107, 255, 0.42); }
.hx-btn-main:active { transform: translateY(6px); box-shadow: 0 2px 0 #2E6BFF, 0 8px 18px rgba(46, 107, 255, 0.3); }

.hx-btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid #C9DBFF; box-shadow: var(--shadow-sm); }
.hx-btn-ghost:hover { transform: translateY(-3px); border-color: var(--color-primary); color: var(--color-primary); }

.hx-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; max-width: 640px; }

.hx-ip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 6px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}
.hx-ip bdi { direction: ltr; font-weight: 800; letter-spacing: 0.3px; }
.hx-ip button {
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    transition: transform 0.18s ease, background 0.18s ease;
}
.hx-ip button:hover { transform: scale(1.04); background: var(--color-primary); }
.hx-ip button.is-copied { background: #1fc46f; color: #fff; }

.hx .search-form { background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); backdrop-filter: none; }
.hx .search-input { width: 200px; color: var(--ink); }
.hx .search-input::placeholder { color: #8591a6; }
.hx .search-btn { background: var(--ink); color: #fff; }
.hx .search-btn:hover { background: var(--color-primary); color: #fff; }

/* ---------------------------------------------------------
   نوار مورب رنک‌ها — فقط یک translateX بی‌نهایت
   --------------------------------------------------------- */
.hx-ticker { position: relative; z-index: 3; overflow: hidden; padding: 26px 0 30px; margin-top: -52px; pointer-events: none; }
.hx-ticker-band {
    background: var(--ink);
    color: #fff;
    transform: rotate(-1.4deg);
    margin-inline: -20px;
    padding: 14px 0;
    box-shadow: 0 16px 40px rgba(11, 16, 32, 0.22);
}
.hx-ticker-track { display: flex; width: max-content; direction: ltr; animation: hxTicker 38s linear infinite; will-change: transform; }
.hx-ticker-set { display: flex; align-items: center; flex-shrink: 0; gap: 26px; padding-inline: 13px; }
.hx-ticker-set span { font-weight: 800; font-size: 1.02rem; white-space: nowrap; direction: rtl; }
.hx-ticker-set i { width: 8px; height: 8px; border-radius: 2px; background: #2E6BFF; flex-shrink: 0; transform: rotate(45deg); }
@keyframes hxTicker { to { transform: translate3d(-50%, 0, 0); } }

/* ---------------------------------------------------------
   بخش‌ها
   --------------------------------------------------------- */
.hx-section {
    position: relative;
    z-index: 2;
    padding: 0 0 70px;
    margin-top: 0;
}
.hx-section + .hx-section { margin-top: 0; padding-top: 20px; }
.hx-ticker + .hx-section { padding-top: 10px; }

.hx-head {
    text-align: center;
    margin: 0 auto 34px;
    max-width: 560px;
}
.hx-head h2 {
    font-size: clamp(1.5rem, 4.4vw, 2.1rem);
    font-weight: 900;
    line-height: 1.4;
}
.hx-head p {
    margin-top: 8px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* خط نقطه‌چین زیر عنوان: عنصر نقطه‌ای ثابت و بدون هزینه */
.hx-head h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 8px;
    margin: 12px auto 0;
    background-image: radial-gradient(circle, var(--ink) 2.2px, transparent 2.6px);
    background-size: 16px 8px;
    background-repeat: repeat-x;
}

/* ---------------------------------------------------------
   کارت وضعیت سرور — بنتوی ساده
   --------------------------------------------------------- */
.hx-status {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 26px;
}

.hx-tile {
    position: relative;
    overflow: hidden;
    padding: 22px 20px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}
.hx-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background-image: var(--dot);
    background-size: 12px 12px;
    opacity: 0.35;
    -webkit-mask-image: radial-gradient(circle at 0 0, #000, transparent 70%);
            mask-image: radial-gradient(circle at 0 0, #000, transparent 70%);
    pointer-events: none;
}
.hx-tile-label { display: block; font-size: 0.82rem; color: var(--color-text-muted); font-weight: 600; margin-bottom: 8px; }
.hx-tile-value { display: block; font-size: 1.7rem; font-weight: 900; line-height: 1.3; }
.hx-tile .status-count { font-size: 1.05rem; font-weight: 800; }
.hx-tile .status-badge { font-size: 0.95rem; padding: 5px 12px; }
.hx-tile #onlineStatusValue { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 2.2rem; }

.hx-tile-wide {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.hx-tile-wide::after { background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1.2px, transparent 1.6px); }
.hx-tile-wide .hx-tile-label { color: rgba(255, 255, 255, 0.65); margin-bottom: 2px; }
.hx-tile-wide bdi { direction: ltr; unicode-bidi: isolate; font-weight: 800; font-size: 1.15rem; }
.hx-tile-wide .hx-ip-group { display: flex; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.hx-tile-wide .hx-copy {
    position: relative;
    z-index: 1;
    padding: 12px 22px;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    font-size: 0.88rem;
    transition: transform 0.18s ease, background 0.18s ease;
}
.hx-tile-wide .hx-copy:hover { transform: translateY(-2px); }
.hx-tile-wide .hx-copy.is-copied { background: #2ee58a; }

/* ---------------------------------------------------------
   لیست رنک‌ها — ریل افقی با scroll-snap (بدون JS سنگین)
   --------------------------------------------------------- */
.rk-wrap { position: relative; }

.rk-rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    /* لبه‌ی ریل با لبه‌ی کانتینر هم‌تراز است ولی کارت‌ها تا لبه‌ی صفحه ادامه دارند */
    --edge: max(20px, calc((100vw - 1140px) / 2 + 20px));
    padding: 30px var(--edge) 64px;
    margin-bottom: -30px;
    scroll-padding-inline: var(--edge);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
.rk-rail::-webkit-scrollbar { display: none; }

.rk-card {
    --accent: #2E6BFF;
    --accent-2: #69A8FF;
    position: relative;
    flex: 0 0 min(72vw, 270px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 14px 40px rgba(11, 16, 32, 0.1);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    -webkit-tap-highlight-color: transparent;
}

/* رنگ مخصوص هر رنک */
.rk-card[data-tier="1"] { --accent: #2E6BFF; --accent-2: #69A8FF; }
.rk-card[data-tier="2"] { --accent: #12a594; --accent-2: #5fe3cf; }
.rk-card[data-tier="3"] { --accent: #8b4dff; --accent-2: #c4a0ff; }
.rk-card[data-tier="4"] { --accent: #ff7a1a; --accent-2: #ffc078; }
.rk-card[data-tier="5"] { --accent: #e0a100; --accent-2: #ffe08a; }

.rk-stage {
    position: relative;
    aspect-ratio: 1 / 1.05;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, var(--accent) 0%, var(--accent-2) 130%);
}
/* هاف‌تون سیاه پشت عکس */
.rk-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(11, 16, 32, 0.6) 1.6px, transparent 2px);
    background-size: 14px 14px;
    -webkit-mask-image: radial-gradient(circle at 50% 100%, #000 0%, transparent 72%);
            mask-image: radial-gradient(circle at 50% 100%, #000 0%, transparent 72%);
}
.rk-stage::after {
    content: '';
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%);
    top: 8%;
}

.rk-img {
    position: relative;
    z-index: 1;
    width: 78%;
    height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(11, 16, 32, 0.38));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-user-drag: none;
    user-select: none;
}

/* اگر عکس هنوز نگذاشته شده باشد، حرف اول رنک نمایش داده می‌شود */
.rk-fallback {
    position: relative;
    z-index: 1;
    display: none;
    width: 46%;
    color: rgba(255, 255, 255, 0.92);
    filter: drop-shadow(0 10px 0 rgba(11, 16, 32, 0.25));
}
.rk-fallback svg { display: block; width: 100%; height: auto; }
.rk-card.no-img .rk-img { display: none; }
.rk-card.no-img .rk-fallback { display: block; }

.rk-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
}

.rk-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 20px;
}
.rk-name { font-size: 1.1rem; font-weight: 900; line-height: 1.5; }

.rk-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rk-price { font-weight: 900; font-size: 1rem; color: var(--ink); }
.rk-price small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--color-text-muted); }
.rk-cta {
    padding: 11px 18px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}
.rk-card:hover .rk-cta { background: var(--accent); }

@media (hover: hover) and (pointer: fine) {
    .rk-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(11, 16, 32, 0.18); }
    .rk-card:hover .rk-img { transform: scale(1.08) rotate(-3deg); }
}

.rk-nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 6px;
}
.rk-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    transition: transform 0.18s ease, opacity 0.18s ease;
    touch-action: manipulation;
}
.rk-arrow svg { width: 20px; height: 20px; }
.rk-arrow:hover { transform: scale(1.08); }
.rk-arrow:active { transform: scale(0.94); }
.rk-arrow:disabled { opacity: 0.25; cursor: default; transform: none; }

.rk-bar { flex: 0 1 160px; height: 4px; border-radius: 4px; background: var(--color-border); overflow: hidden; }
.rk-bar i { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: 4px; transform-origin: right center; transform: scaleX(0.2); transition: transform 0.2s linear; }

@media (min-width: 900px) {
    .rk-card { flex-basis: 270px; }
}

/* ---------------------------------------------------------
   راهنما
   --------------------------------------------------------- */
.hx-help { max-width: 760px; margin: 0 auto; }
.hx-help .more-help { margin-top: 18px; }

/* ---------------------------------------------------------
   قهرمانان — همان کلاس‌های قبلی (JS قدیمی کار می‌کند)
   --------------------------------------------------------- */
.hx-champs .champions-card { border: 0; box-shadow: 0 18px 50px rgba(11, 16, 32, 0.12); }
.hx-champs .champions-card-header { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hx-champs .champions-card-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1.1px, transparent 1.5px);
    background-size: 12px 12px;
    -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
            mask-image: linear-gradient(90deg, transparent 40%, #000);
    opacity: 0.6;
    pointer-events: none;
}
.hx-champs .champions-card-header > * { position: relative; z-index: 1; }
.hx-champs .live-badge { color: #2ee58a; }

.hx-champs .champ-row { position: relative; border-radius: 16px; padding: 12px 14px; }
.hx-champs .champ-row:first-child {
    background: linear-gradient(90deg, rgba(255, 196, 0, 0.16), rgba(255, 196, 0, 0));
    padding-block: 16px;
}
.hx-champs .champ-row:first-child .champ-name { font-size: 1.02rem; }
.hx-champs .champ-row:first-child .champ-balance { font-size: 0.98rem; }
.hx-champs .champ-rank-1 { background: linear-gradient(135deg, #ffd34d, #ff9d00); color: #3a2400; box-shadow: 0 6px 16px rgba(255, 160, 0, 0.45); }
.hx-champs .champ-rank-2 { background: linear-gradient(135deg, #e9edf5, #b8c2d4); color: #2a3445; }
.hx-champs .champ-rank-3 { background: linear-gradient(135deg, #f0c3a0, #c98152); color: #3a1f0b; }
.hx-champs .champ-balance { color: var(--ink); }

/* ---------------------------------------------------------
   دسترسی‌پذیری و کاهش حرکت
   --------------------------------------------------------- */
.hx-btn:focus-visible,
.rk-card:focus-visible,
.rk-arrow:focus-visible,
.hx-ip button:focus-visible,
.hx-copy:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
.rk-card:focus-visible { outline-color: var(--color-primary); }

@media (max-width: 560px) {
    .hx { padding: 44px 0 100px; }
    .hx-particles i:nth-child(n+15) { display: none; }
    .hx-blob { width: 340px; height: 340px; }
    .hx-logo { width: 116px; height: 116px; }
    .hx-float { width: 98px; height: 98px; }
    .hx-orbit-2 { inset: -36px; }
    .hx-ticker-set span { font-size: 0.92rem; }
    .hx-btn { padding: 15px 22px; }
    .hx-actions { width: 100%; }
    .hx-actions .hx-btn { flex: 1 1 100%; }
    .hx .search-input { width: 140px; }
    .hx-tile-value { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hx *, .hx *::before, .hx-ticker-track { animation: none !important; }
    .hx-rise { opacity: 1; transform: none; }
    .hx-particles, .hx-spot { display: none; }
    .rk-card, .rk-img { transition: none; }
}
