/**
 * Главная страница (resources/views/site/templates/default/index.blade.php)
 * Подключается только для маршрута home.index (см. head.blade.php).
 * Стили сгруппированы по блокам страницы.
 */

/* =============================================================================
   Боковые точки навигации по секциям (layout: ul.points)
   Кликабельность и подписи при hover / активной секции
   ============================================================================= */
.points {
    z-index: 100000 !important;
    pointer-events: auto !important;
}

.points .point {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.points .point__name {
    opacity: 0 !important;
    visibility: hidden !important;
    display: block !important;
    transition: all 0.3s ease !important;
    transform: translateX(-15px) !important;
}

.points .point:hover .point__name,
.points .point.point_active .point__name {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Не обрезать карточки серверов у края экрана */
#home[data-section="wrapper"].section,
.header-hero.section[data-section="header"],
.header-hero .container[data-container="header"],
.header-hero .header {
    overflow: visible !important;
}

/* Герой выше следующих секций в #home — иначе fixed-блок серверов оказывается «под» новостями и т.п. */
#home[data-section="wrapper"] > .header-hero.section[data-section="header"] {
    position: relative;
    z-index: 50;
    isolation: isolate;
}

/* =============================================================================
   Герой: блок серверов слева у края окна (fixed) — виден всегда, не клипает контейнер
   ============================================================================= */
.header-hero .header__container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(72px, 8vh, 100px);
    box-sizing: border-box;
}

/* Планшет и десктоп: блок привязан к viewport, не к скроллу страницы (до 768 — в потоке, иначе перекрывает контент) */
@media (min-width: 769px) {
    .header-hero .home-hero__launcher-wrap.header__countdownbox,
    .header-hero .header__countdownbox.home-hero__launcher-wrap {
        position: fixed;
        left: max(12px, env(safe-area-inset-left, 0px));
        right: auto;
        top: calc(var(--navigation-height, 5rem) + max(8px, env(safe-area-inset-top, 0px)));
        z-index: 100;
        width: min(372px, calc(100vw - 20px));
        max-width: 420px;
        margin: 0;
        padding: 0;
        text-align: left;
        pointer-events: none;
        transform: none;
    }
}

@media (max-width: 768px) {
    .header-hero .header__container {
        padding-top: 100px;
        align-items: center;
    }

    .header-hero .home-hero__launcher-wrap.header__countdownbox,
    .header-hero .header__countdownbox.home-hero__launcher-wrap {
        position: relative;
        top: 0;
        left: auto;
        width: 100%;
        max-width: 100%;
        padding: 0 clamp(16px, 4vw, 24px);
        margin-bottom: clamp(16px, 3vw, 28px);
        box-sizing: border-box;
        pointer-events: none;
        z-index: 100;
    }
}

.header-hero .home-hero__launcher-wrap > * {
    pointer-events: auto;
}

/* --- Герой: список серверов (game UI, строки) — данные: config/home_hero_servers.php --- */
.header-hero .home-hero__mmorpg-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 14px);
    width: 100%;
}

.header-hero .home-hero__mmorpg-panel {
    --mmorpg-bg-0: #0f0f13;
    --mmorpg-bg-1: #141419;
    --mmorpg-gold: #c6a96b;
    --mmorpg-text: rgba(240, 242, 248, 0.94);
    --mmorpg-muted: rgba(160, 168, 184, 0.82);

    position: relative;
    border-radius: 12px;
    padding: 0px 0;
    background: linear-gradient(199deg, rgba(26, 26, 45, 0.97) 0%, rgba(0, 0, 0, 0.15) 100%);
    -webkit-backdrop-filter: blur(12px) saturate(1.04);
    backdrop-filter: blur(12px) saturate(1.04);
}

.header-hero .home-hero__mmorpg-panel-glow {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    opacity: 0.22;
    background:
        radial-gradient(ellipse 80% 55% at 15% 30%, rgba(198, 169, 107, 0.05) 0%, transparent 58%),
        radial-gradient(ellipse 45% 40% at 88% 88%, rgba(80, 100, 150, 0.04) 0%, transparent 48%);
}

@media (prefers-reduced-motion: reduce) {
    .header-hero .home-hero__mmorpg-panel-glow {
        opacity: 0.16;
    }
}

.header-hero .home-hero__mmorpg-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.header-hero .server-list-item--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.header-hero .mmorpg-server-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px 14px;
    padding: 13px 17px;
    margin: 0 5px;
    border-radius: 9px;
    background: transparent;
    border: 1px solid transparent;
    box-sizing: border-box;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.header-hero .mmorpg-server-row__accent {
    flex: 0 0 3px;
    align-self: stretch;
    min-height: 44px;
    border-radius: 2px;
    background: transparent;
    opacity: 0;
    transition:
        opacity 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.header-hero .mmorpg-server-row:hover,
.header-hero .mmorpg-server-row:focus-visible {
    transform: scale(1.012);
    background: linear-gradient(100deg, rgba(198, 169, 107, 0.055) 0%, transparent 62%);
    border-color: rgba(198, 169, 107, 0.09);
}

.header-hero .mmorpg-server-row:hover .mmorpg-server-row__accent,
.header-hero .mmorpg-server-row:focus-visible .mmorpg-server-row__accent {
    opacity: 1;
    background: var(--mmorpg-gold);
    box-shadow: 0 0 10px rgba(198, 169, 107, 0.22);
}

.header-hero .mmorpg-server-row__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: rgba(198, 169, 107, 0.48);
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(198, 169, 107, 0.1);
    font-size: 1.02rem;
    transition:
        color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.header-hero .mmorpg-server-row:hover .mmorpg-server-row__icon {
    color: rgba(198, 169, 107, 0.92);
    border-color: rgba(198, 169, 107, 0.26);
    box-shadow: 0 0 12px rgba(198, 169, 107, 0.14);
}

.header-hero .mmorpg-server-row__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.header-hero .mmorpg-server-row__title {
    font-family: var(--font-0, "Open Sans", system-ui, sans-serif);
    font-size: clamp(1.12rem, 2.35vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.015em;
    color: var(--mmorpg-text);
    line-height: 1.22;
}

.header-hero .mmorpg-server-row__title--full {
    letter-spacing: 0.02em;
}

.header-hero .mmorpg-server-row__rate {
    color: var(--mmorpg-gold);
    font-weight: 700;
    margin-left: 0.28em;
}

.header-hero .mmorpg-server-row__meta {
    font-size: clamp(0.88rem, 1.85vw, 1.05rem);
    font-weight: 500;
    color: var(--mmorpg-muted);
    line-height: 1.38;
}

.header-hero .mmorpg-server-row__meta--bonus,
.header-hero .mmorpg-server-row__meta--countdown {
    color: rgba(198, 169, 107, 0.78);
}

.header-hero .mmorpg-server-row__timer {
    color: var(--mmorpg-gold);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    margin-left: 0.25em;
}

.header-hero .mmorpg-server-row__badge {
    flex: 0 0 auto;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: clamp(0.68rem, 1.9vw, 0.8rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--font-0, system-ui, sans-serif);
    border: 1px solid transparent;
    align-self: center;
    line-height: 1.15;
}

/* MAIN — мягкий фиолетово-синий */
.header-hero .mmorpg-server-row__badge--main {
    color: rgba(228, 232, 255, 1);
    background: linear-gradient(145deg, rgba(95, 78, 165, 0.72) 0%, rgba(52, 44, 98, 0.78) 100%);
    border-color: rgba(160, 150, 235, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 2px 10px rgba(72, 62, 118, 0.45),
        0 0 18px rgba(120, 112, 185, 0.28);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* NEW — зелёный */
.header-hero .mmorpg-server-row__badge--new {
    color: rgba(225, 255, 235, 1);
    background: linear-gradient(145deg, rgba(48, 140, 95, 0.78) 0%, rgba(24, 78, 52, 0.82) 100%);
    border-color: rgba(95, 210, 150, 0.5);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.07) inset,
        0 2px 10px rgba(38, 98, 68, 0.42),
        0 0 16px rgba(72, 165, 118, 0.22);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ACTIVE — оливковый */
.header-hero .mmorpg-server-row__badge--active {
    color: rgba(244, 248, 215, 1);
    background: linear-gradient(145deg, rgba(108, 115, 58, 0.78) 0%, rgba(62, 68, 34, 0.82) 100%);
    border-color: rgba(175, 185, 95, 0.52);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 2px 10px rgba(82, 88, 48, 0.4),
        0 0 14px rgba(130, 138, 72, 0.22);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

/* SOON — янтарь / золото */
.header-hero .mmorpg-server-row__badge--soon {
    color: rgba(255, 244, 210, 1);
    background: linear-gradient(145deg, rgba(155, 105, 48, 0.78) 0%, rgba(88, 58, 26, 0.82) 100%);
    border-color: rgba(230, 195, 120, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 2px 12px rgba(120, 85, 40, 0.48),
        0 0 20px rgba(198, 169, 107, 0.32);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* OBT — холодный акцент (открытое тестирование) */
.header-hero .mmorpg-server-row__badge--obt {
    color: rgba(215, 245, 255, 1);
    background: linear-gradient(145deg, rgba(42, 110, 145, 0.78) 0%, rgba(28, 72, 98, 0.82) 100%);
    border-color: rgba(120, 200, 235, 0.48);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.07) inset,
        0 2px 10px rgba(42, 110, 145, 0.42),
        0 0 16px rgba(100, 180, 220, 0.22);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

@keyframes mmorpg-badge-new-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.07) inset,
            0 2px 10px rgba(38, 98, 68, 0.42),
            0 0 16px rgba(72, 165, 118, 0.22);
        filter: brightness(1);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 2px 14px rgba(56, 200, 120, 0.55),
            0 0 26px rgba(95, 255, 160, 0.42);
        filter: brightness(1.1);
    }
}

.header-hero .mmorpg-server-row__badge--pulse-new {
    animation: mmorpg-badge-new-pulse 1.35s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .header-hero .mmorpg-server-row__badge--pulse-new {
        animation: none;
    }
}

.header-hero .mmorpg-server-row:focus-visible {
    outline: 1px solid rgba(198, 169, 107, 0.5);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .header-hero .mmorpg-server-row {
        padding: 11px 14px;
        gap: 10px 12px;
    }
}

@media (max-width: 560px) {
    .header-hero .mmorpg-server-row {
        flex-wrap: wrap;
        padding: 10px 12px;
        align-items: flex-start;
    }

    .header-hero .mmorpg-server-row__icon {
        width: 36px;
        height: 36px;
        font-size: 0.92rem;
    }

    .header-hero .mmorpg-server-row__body {
        flex: 1 1 calc(100% - 96px);
        min-width: min(100%, 12rem);
    }

    .header-hero .mmorpg-server-row__badge {
        margin-left: auto;
    }

}

@media (max-width: 380px) {
    .header-hero .mmorpg-server-row__badge {
        width: 100%;
        margin-left: 0;
        margin-top: 6px;
        text-align: center;
    }

    .header-hero .mmorpg-server-row__body {
        flex-basis: 100%;
    }
}

@media (max-width: 720px) {
    .header-hero .header__container {
        padding-top: clamp(72px, 14vw, 96px);
        gap: clamp(1.25rem, 4vw, 2rem);
    }
}

/* =============================================================================
   Герой: обёртка логотипа/CTA и кнопка «Быстрый старт»
   pointer-events: у родителя выключены, на ссылке — включены (невидимая зона логотипа)
   ============================================================================= */
.header-hero .home-hero__title-box {
    margin-top: clamp(220px, 28vh, 320px);
    width: 100%;
    max-width: min(1400px, 100%);
    padding: 0 clamp(16px, 3vw, 28px);
}

@media (max-width: 1024px) {
    .header-hero .home-hero__title-box {
        margin-top: clamp(0.5rem, 2vh, 1.5rem);
    }
}

.header-hero .home-hero__btns {
    margin-top: clamp(180px, 22vh, 280px) !important;
    pointer-events: none;
    justify-content: center;
}

@media (max-width: 1024px) {
    .header-hero .home-hero__btns {
        margin-top: 1rem !important;
    }
}

.header-hero .home-hero__btn-fast-start {
    --scale: 0.88;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    padding: 0 calc(2.5rem * var(--scale)) 0.5rem calc(2.5rem * var(--scale));
    pointer-events: auto;
}

/* Как в main.css: фон через ::before (button.png), без clip-path/градиента — иначе «жёлтый параллелограмм» */
.header-hero .home-hero__btn-fast-start--mmo {
    font-family: var(--font-1) !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    clip-path: none !important;
    border: 0 !important;
    background: transparent !important;
    color: #543e2e !important;
    text-shadow: 0 1px 0 #fff0a3, 0 0 18px #fed995;
    box-shadow: none !important;
    transition: transform 0.2s ease !important;
}

.header-hero .home-hero__btn-fast-start--mmo:hover {
    filter: none;
    transform: translateY(-2px);
}

.header-hero .home-hero__btn-fast-start--mmo:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.5);
    outline-offset: 4px;
}

/* Индикатор онлайна в карточке сервера: без «кислотного» свечения */
.home-server-card .server-status-indicator {
    background: #4caf7a;
    box-shadow: 0 0 0 1px rgba(76, 175, 122, 0.35);
    animation: home-server-dot-pulse 2.5s ease-in-out infinite;
}

.home-server-card .server-status-indicator-off {
    background: #8b4040;
    box-shadow: 0 0 0 1px rgba(180, 80, 80, 0.35);
    animation: home-server-dot-pulse 2.5s ease-in-out infinite;
}

@keyframes home-server-dot-pulse {
    0%,
    100% {
        opacity: 0.85;
    }
    50% {
        opacity: 1;
    }
}

/* =============================================================================
   Секция «Описание» (#aboutserv): отступы, декор, заголовок
   ============================================================================= */
.section_aboutserv.home-aboutserv-section {
    padding-top: 0px !important;
    margin-top: 100px !important;
    justify-content: flex-start !important;
    position: relative;
    z-index: 0;
}

.home-aboutserv__hero-gap {
    height: 0;
}

.home-aboutserv__container {
    max-width: min(1400px, 100%);
    margin: 0 auto;
    padding-top: 0;
    padding-left: clamp(16px, 3vw, 28px);
    padding-right: clamp(16px, 3vw, 28px);
    box-sizing: border-box;
}

.home-aboutserv__title.title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: clamp(24px, 3vw, 36px);
    font-family: var(--font-1);
    text-transform: uppercase;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem) !important;
    animation-delay: 0.3s;
    animation-duration: 0.8s;
}

/* =============================================================================
   Блок описания сервера: сетка из двух карточек (статистика + особенности)
   ============================================================================= */
.home-server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
    gap: clamp(22px, 3vw, 36px);
    align-items: stretch;
    background: none;
    border: none;
    box-shadow: none;
}

.home-server-card {
    background: linear-gradient(
        165deg,
        rgba(22, 30, 48, 0.55) 0%,
        rgba(10, 14, 26, 0.72) 100%
    );
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 16px;
    padding: clamp(26px, 3vw, 36px) clamp(24px, 2.8vw, 40px);
    -webkit-backdrop-filter: blur(14px) saturate(1.06);
    backdrop-filter: blur(14px) saturate(1.06);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation-duration: 0.8s;
    animation-delay: 0.3s;
}

.home-server-card--features {
    gap: 0;
}

.home-server-card__header-wrap {
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    padding-bottom: 15px;
}

.home-server-card__header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.home-server-card__title {
    font-size: clamp(18px, 1.85vw, 24px);
    font-family: var(--font-1);
    text-transform: uppercase;
    line-height: 1.15;
}

.home-server-card__rate {
    color: #d4af37;
    font-weight: 600;
}

.home-server-card__status-pill {
    background: rgba(0, 0, 0, 0.25);
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.18);
}

.home-server-card__status-text {
    font-size: clamp(11px, 1vw, 13px);
    font-family: var(--font-1);
}

.home-server-card__online-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.home-server-card__online-num {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: bold;
    color: #d4af37;
    font-family: var(--font-1);
}

.home-server-card__online-label {
    color: rgba(200, 206, 218, 0.5);
    text-transform: uppercase;
    font-size: clamp(11px, 0.95vw, 13px);
    letter-spacing: 1px;
    font-family: var(--font-1);
}

.home-server-stats {
    display: flex;
    gap: 15px;
}

.home-server-stat {
    flex: 1;
    background: rgba(0, 0, 0, 0.22);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.home-server-stat--full {
    flex: none;
    width: 100%;
}

.home-server-stat__value {
    font-size: clamp(17px, 1.65vw, 22px);
    font-weight: bold;
    color: #d4af37;
    font-family: var(--font-1);
    margin-bottom: 5px;
}

.home-server-stat__label {
    font-size: clamp(11px, 0.95vw, 13px);
    color: rgba(180, 188, 202, 0.62);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-server-card__actions {
    margin-top: auto;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-server-card__btn.button {
    --scale: 0.58;
    font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
    padding-bottom: 0.55rem;
}

/* Та же схема, что у .button в main.css: орнамент через ::before */
.home-server-card__btn--mmo {
    position: relative;
    font-family: var(--font-1) !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border: 0 !important;
    clip-path: none !important;
    background: transparent !important;
    transition: transform 0.2s ease !important;
    box-shadow: none !important;
}

.home-server-card__btn--mmo-primary {
    color: #543e2e !important;
    text-shadow: 0 1px 0 #fff0a3, 0 0 16px #fed995;
}

.home-server-card__btn--mmo-primary:hover {
    filter: none;
    transform: translateY(-2px);
    box-shadow: none !important;
}

.home-server-card__btn--mmo-ghost {
    color: #f2e8d4 !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.85),
        0 0 10px rgba(0, 0, 0, 0.4);
}

.home-server-card__btn--mmo-ghost:hover {
    color: #fff !important;
    transform: translateY(-2px);
    background: transparent !important;
}

.home-features__title {
    color: #d4af37;
    font-size: clamp(14px, 1.25vw, 18px);
    margin-bottom: 20px;
    font-family: var(--font-1);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    padding-bottom: 12px;
    text-align: center;
}

.home-features__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
    justify-content: center;
}

.home-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 10px;
}

.home-feature-item__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(8, 12, 22, 0.45);
    color: #d4af37;
    font-size: 0.95rem;
}

.home-feature-item__title {
    font-weight: bold;
    color: #fff;
    font-size: clamp(13px, 1.15vw, 15px);
    margin-bottom: 4px;
    font-family: var(--font-1);
    text-transform: uppercase;
}

.home-feature-item__desc {
    color: rgba(186, 194, 208, 0.78);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .home-server-card {
        padding: 22px 20px;
        gap: 16px;
    }

    .home-aboutserv__container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}

@media (max-width: 640px) {
    .home-server-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-server-card__btn--mmo {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* =============================================================================
   Медиа: пустой список стримов
   ============================================================================= */
.home-streams-empty {
    display: block;
    text-align: center;
}

/* =============================================================================
   Секция community: анимация карточек, Discord-виджет, рейтинг, фоны боксов
   Фоновые картинки задаются в шаблоне через style="--index-box-bg: url(...)"
   ============================================================================= */
.home-community-box.fadeIn {
    animation-delay: 0.3s;
    animation-duration: 0.8s;
}

.home-community-box .box__bg {
    background-image: var(--index-box-bg);
}

.home-community-box .box__char {
    background-image: var(--index-char-bg);
}

.box__body--flush {
    padding: 0;
}

.index-home-tab-discord.table {
    display: block;
}

.index-home-discord-table-block.tableBlock {
    padding: 0;
    display: flex;
    justify-content: center;
}

.index-home-discord-inner.box__body {
    padding: 0;
    width: 100%;
}

.index-home-discord-themes.themes {
    width: 100%;
}

.index-home-discord-iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Вкладки PvP / PK / Clan: начальное состояние (скрипт переключения может менять display) */
#community .rating__tab[data-tab="pvp"] {
    display: block;
}

#community .rating__tab[data-tab="pk"],
#community .rating__tab[data-tab="clan"] {
    display: none;
}

.index-home-top__body {
    height: 400px;
}

.top__content--nick-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top__content__crests {
    display: flex;
}

.social__container.social__container--index-bg {
    background-image: var(--index-social-bg);
}

.social__ico.social__ico--index-bg {
    background-image: var(--index-social-ico);
}
