:root {
    --primary-color: #a82a2a;   /* приглушённый красный (было #d32f2f — выжигал на ярких экранах) */
    --primary-hover: #bd3232;   /* было #ff2e34 */
    --red-color: #c02230;       /* было #E51C2C */
    --red-hover: #cc3340;       /* было #ff2e40 */
    --title-text: #ffffff;
    --bg-dark: #080808;
    --text-grey: #b0b0b0;
    --primary-glow: rgba(211, 47, 47, 0.4);
    --bg-color: #0b0b0b;
    --card-bg: #121212;
    --text-color: #e0e0e0;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 12px;
    background-color: var(--bg-color);
}

::-webkit-scrollbar-track {
    background-color: #111111;
    border-left: 1px solid #222;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 6px;
    border: 3px solid #111111;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ff4545;
    border-width: 2px;
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--white);
}

::selection {
    background-color: var(--primary-color);
    color: var(--white);
    text-shadow: none;
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

html {
    scrollbar-color: var(--primary-color) #111111;
    scrollbar-width: thin;
}

/******************/
/* PRELOADER */
/******************/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(80% 80% at 50% 45%, #161010 0%, #0b0b0b 60%, #050505 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.preloader-logo {
    width: 80vw;
    max-height: 66vh;
    object-fit: contain;
    mix-blend-mode: screen;
}

/* Полоса загрузки в стиле Diablo: раскалённый металл + глитч */
.preloader-bar {
    position: relative;
    width: min(380px, 74vw);
    height: 14px;
    margin-top: 30px;
    background: linear-gradient(180deg, #1c0806 0%, #0d0302 100%);
    border: 1px solid #3d140a;
    box-shadow: inset 0 0 10px #000, inset 0 1px 0 rgba(255, 120, 60, 0.08), 0 0 16px rgba(140, 30, 10, 0.35);
    clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
    overflow: hidden;
    animation: bar-glitch 3.2s infinite steps(1, end);
}

.preloader-bar-fill {
    position: relative;
    width: 0%;
    height: 100%;
    background:
        repeating-linear-gradient(115deg, rgba(0, 0, 0, 0.3) 0 2px, transparent 2px 7px),
        linear-gradient(180deg, #ffb35c 0%, #f0621f 30%, #a51408 65%, #4c0605 100%);
    box-shadow: 0 0 16px rgba(255, 100, 30, 0.7), 0 0 34px rgba(211, 47, 47, 0.45);
    transition: width 0.2s linear;
}

/* Раскалённая кромка на конце заливки */
.preloader-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: -2px;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #fff3d6, #ffab4a 60%, #ff5a1f);
    filter: blur(1px);
    box-shadow: 0 0 12px #ffab4a, 0 0 26px rgba(255, 120, 40, 0.8);
}

/* Вспышка-помеха, изредка пробегающая по полосе */
.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(255, 190, 130, 0.16) 0 2px, transparent 2px 4px);
    opacity: 0;
    pointer-events: none;
    animation: bar-noise 3.2s infinite steps(1, end);
}

@keyframes bar-glitch {

    0%,
    86%,
    94%,
    100% {
        transform: translate(0) skewX(0);
        filter: none;
    }

    87% {
        transform: translate(-3px, 1px) skewX(-8deg);
        filter: brightness(1.5) hue-rotate(-14deg);
    }

    89% {
        transform: translate(3px, -1px) skewX(6deg);
        filter: brightness(0.8) saturate(1.6);
    }

    91% {
        transform: translate(-1px, 0) skewX(-3deg);
        filter: brightness(1.25);
    }
}

@keyframes bar-noise {

    0%,
    85%,
    95%,
    100% {
        opacity: 0;
    }

    87%,
    91% {
        opacity: 1;
    }
}

.loader-percent {
    margin-top: 14px;
    color: #e8a24a;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 12px rgba(230, 120, 40, 0.5);
}

#preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}


/******************/
/* NAVBAR */
/******************/
.navbar {
    background: rgba(9, 8, 8, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(211, 47, 47, 0.14);
    transition: all 0.4s ease-in-out;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.navbar.scrolled {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    background: rgba(9, 8, 8, 0.96);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(211, 47, 47, 0.25);
}

.navbar-nav .nav-link {
    position: relative;
    color: #b9b9b9 !important;
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 1.6rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
@media (min-width: 1200px) {
    .navbar .container {
        max-width: 1500px;
    }

    .navbar-nav .nav-link {
        white-space: nowrap;
    }
}

/* Скошенная красная черта под пунктом */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color) 25%, #ff6659 50%, var(--primary-color) 75%, transparent);
    transform: translateX(-50%) skewX(-20deg);
    transition: width 0.25s ease;
    box-shadow: 0 0 8px rgba(211, 47, 47, 0.6);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link.is-tapping::after {
    width: 100%;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.4em;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    color: #555;
    transition: color 0.3s;
}

.nav-link:hover .dropdown-toggle::after,
.dropdown-toggle:hover::after {
    color: var(--white);
}

.dropdown-menu {
    background-color: #0f0f0f;
    border-radius: 0;
    padding: 0.5rem 0;
    margin-top: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.dropdown-item {
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 24px;
    transition: all 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #1a1a1a;
    color: #fff;
}

.dropdown-divider {
    border-top-color: #2a2a2a;
}

.btn-lang {
    background-color: transparent !important;
    border: none !important;
    color: #ccc !important;
    box-shadow: none !important;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.btn-lang::before {
    content: "🌐";
    font-size: 1rem;
    filter: grayscale(100%);
    margin-right: 6px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.btn-lang:hover,
.btn-lang:focus,
.btn-lang.show {
    color: var(--white) !important;
}

.btn-lang:hover::before {
    opacity: 1;
}


a.btn-outline-light {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #ddd;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

a.btn-outline-light:hover {
    background-color: #333;
    color: var(--white);
    border-color: #555;
}

.btn-danger {
    background-color: transparent !important;
    border: 1px solid var(--primary-color);
    color: var(--white) !important;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.15);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.5);
    border-color: var(--primary-color);
}

.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    opacity: 0.8;
}

.navbar-toggler:focus .navbar-toggler-icon {
    opacity: 1;
}
/******************/
/* NAVBAR  */
/* ACCOUNT */
/******************/
.account-pill {
    background-color: #1a1a1a;
    padding: 4px 16px 4px 4px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.account-pill:hover {
    background-color: #262626;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.account-pill:hover .account-name {
    color: var(--white);
}

.account-avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary-color), var(--red-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-right: 10px;
    flex-shrink: 0;
}

.account-name {
    font-size: 13px;
    max-width: 140px;
    display: block;
}

.account-balance {
    font-size: 11px;
    color: var(--text-grey);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/******************/
/* LOGO MAIN */
/******************/

.logo-link {
    text-decoration: none;
}

.logo-badge {
    font-family: 'Russo One', sans-serif;
    transform: skewX(-10deg);
}

.logo-badge .main-part {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 1.4rem;
    border: 2px solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    padding-right: 25px;
    z-index: 2;
    font-weight: 900;
}

.logo-badge .ext-part {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 9px 15px 9px 25px;
    font-size: 1rem;
    margin-left: -15px;
    z-index: 1;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    font-weight: 900;
}

.logo-badge .fa-bolt {
    font-size: 0.8em;
    color: var(--bg-color);
}

.logo-badge .main-part,
.logo-badge .ext-part,
.logo-badge .fa-bolt {
    transition: all 0.3s ease-in-out;
}

.logo-link:hover .fa-bolt {
    transform: rotate(180deg) scale(1.4);
    color: var(--white);
    transition: transform 0.4s ease-in-out, color 0.2s;
}

.logo-link:hover .logo-badge {
    filter: drop-shadow(0 0 5px rgba(211, 47, 47, 0.7));
}


/* LOGO img */
.logo-img img {
    width: 50px;
}


.logo-img {
    transition: all 0.3s ease-in-out;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 50, 50, 0.8));
}

/******************/
/* HERO MAIN */
/******************/
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0A0A0A;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100% - 72px);
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgb(10 10 10 / 26%) 77.63%, #0A0A0A 104.23%), radial-gradient(61.13% 58.87% at 50% 52.84%, rgb(10 10 10 / 70%) 43.89%, #0A0A0A 100%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding-top: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(211, 47, 47, 0.15);
    border: 1px solid rgba(211, 47, 47, 0.4);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.pulse-ring {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 rgba(211, 47, 47, 0.7);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(211, 47, 47, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.text-stroke {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
    color: transparent;
}

.text-gradient-red {
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(211, 47, 47, 0.4));
}


.hero-date {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;

    font-family: 'Roboto', 'Oswald', sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-obt-date {
    font-size: 1.05rem;
    white-space: nowrap;
}

.hero-date i {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-right: 12px;
    filter: drop-shadow(0 0 8px rgba(255, 71, 87, 0.6));
}

.hero-date .divider {
    display: inline-block;
    width: 2px;
    height: 28px;
    margin: 0 20px;
    background: linear-gradient(to bottom,
            rgba(255, 71, 87, 0),
            rgba(255, 71, 87, 1) 40%,
            rgba(255, 71, 87, 1) 60%,
            rgba(255, 71, 87, 0));
    transform: skew(-20deg);
    opacity: 0.8;
    font-size: 0;
}

.header-actions {
    margin-left: auto;
}

.btn-header-primary {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
        radial-gradient(120% 160% at 20% 0%, rgba(255, 82, 82, 0.5) 0%, transparent 55%),
        linear-gradient(160deg, #c62828 0%, #7f1010 55%, #2b0404 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 12px 30px;
    border: none;
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(211, 47, 47, 0.35));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -6px 14px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
}

.btn-header-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 18px rgba(255, 60, 60, 0.6)) brightness(1.12);
}

.btn-header-glass {
    background:
        repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 5px),
        radial-gradient(120% 160% at 20% 0%, rgba(255, 245, 190, 0.65) 0%, transparent 55%),
        linear-gradient(160deg, #ffd54f 0%, #eda50a 55%, #8a5a00 100%);
    border: none;
    color: #221500;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: filter 0.3s ease, transform 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -6px 14px rgba(90, 50, 0, 0.35);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-header-glass i {
    color: #3a2600;
    font-size: 1.1rem;
    filter: none;
}

.btn-header-glass:hover {
    color: #000;
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 18px rgba(255, 200, 40, 0.65)) brightness(1.08);
}

.btn-bonus-pulse {
    animation: gold-pulse 2s infinite;
}

.btn-bonus-pulse:hover {
    animation: none;
}

/* Бегущий блик внутри кнопки бонуса */
.btn-bonus-pulse::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    width: 40%;
    height: 140%;
    background: linear-gradient(105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 40%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.35) 60%,
        transparent 100%);
    transform: translateX(-180%) skewX(-20deg);
    animation: gold-shine 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gold-shine {
    0% {
        transform: translateX(-180%) skewX(-20deg);
    }

    60% {
        transform: translateX(340%) skewX(-20deg);
    }

    100% {
        transform: translateX(340%) skewX(-20deg);
    }
}

@keyframes gold-pulse {
    0% {
        filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
    }

    50% {
        filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.55));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
    }
}

/* NAVBAR AUTH BUTTONS (Войти / Регистрация) */
.navbar .btn-outline-light,
.navbar .btn-danger {
    border: none;
    border-radius: 0;
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding-left: 22px;
    padding-right: 22px;
    transition: filter 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.navbar .btn-danger {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #c62828 0%, #7f1010 55%, #2b0404 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -5px 10px rgba(0, 0, 0, 0.45);
}

.navbar .btn-danger:hover,
.navbar .btn-danger:focus {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #c62828 0%, #7f1010 55%, #2b0404 100%);
    filter: drop-shadow(0 4px 12px rgba(255, 60, 60, 0.55)) brightness(1.15);
    transform: translateY(-1px);
}

.navbar .btn-outline-light {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #2a2a2a 0%, #151515 60%, #050505 100%);
    color: #e0e0e0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 12px rgba(211, 47, 47, 0.25);
}

.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #4a1212 0%, #260808 60%, #0a0202 100%);
    color: #fff;
    filter: drop-shadow(0 4px 12px rgba(211, 47, 47, 0.4));
    transform: translateY(-1px);
}

@media (max-width: 576px) {

    .btn-header-primary,
    .btn-header-glass {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/******************/
/* HERO TIMER */
/******************/
.countdown-timer {
    display: inline-flex;
    gap: 15px;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
        linear-gradient(180deg, rgba(22, 8, 8, 0.7) 0%, rgba(6, 3, 3, 0.85) 100%);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 0;
    border: 1px solid rgba(211, 47, 47, 0.25);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.timer-item span {
    position: relative;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    font-family: monospace;
    text-shadow: 0 0 14px rgba(211, 47, 47, 0.5);
    animation: timer-glitch-base 4s infinite steps(1, end);
}

/* Красный и белый призраки цифр — глитч-сплит, редкие короткие вспышки */
.timer-item span::before,
.timer-item span::after {
    content: attr(data-v);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    text-shadow: none;
    pointer-events: none;
}

.timer-item span::before {
    color: #ff2b2b;
    animation: timer-ghost-r 4s infinite steps(1, end);
}

.timer-item span::after {
    color: #fff;
    animation: timer-ghost-w 3.4s infinite steps(1, end);
}

@keyframes timer-glitch-base {

    0%,
    90%,
    100% {
        transform: none;
        opacity: 1;
    }

    91% {
        transform: translateX(-2px) skewX(-5deg);
    }

    93% {
        transform: translateX(2px) skewX(4deg);
        opacity: 0.85;
    }

    95% {
        transform: none;
    }
}

@keyframes timer-ghost-r {

    0%,
    89%,
    100% {
        opacity: 0;
        transform: none;
        clip-path: inset(0 0 0 0);
    }

    90% {
        opacity: 0.85;
        transform: translate(3px, -2px);
        clip-path: inset(0 0 52% 0);
    }

    93% {
        opacity: 0.85;
        transform: translate(-3px, 2px);
        clip-path: inset(48% 0 0 0);
    }

    96% {
        opacity: 0;
    }
}

@keyframes timer-ghost-w {

    0%,
    91%,
    100% {
        opacity: 0;
        transform: none;
        clip-path: inset(0 0 0 0);
    }

    92% {
        opacity: 0.7;
        transform: translate(-3px, 1px);
        clip-path: inset(60% 0 0 0);
    }

    95% {
        opacity: 0.7;
        transform: translate(3px, -1px);
        clip-path: inset(0 0 58% 0);
    }

    97% {
        opacity: 0;
    }
}

.timer-item small {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-grey);
    margin-top: 5px;
    letter-spacing: 1px;
}

.timer-separator {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
    margin-top: -5px;
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.6);
    animation: sep-blink 1s infinite steps(1, end);
}

@keyframes sep-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

/* Уважение к настройке "меньше анимаций" */
@media (prefers-reduced-motion: reduce) {

    .timer-item span,
    .timer-item span::before,
    .timer-item span::after,
    .timer-separator {
        animation: none;
    }
}


.hero-description {
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 500px;
    line-height: 1.6;
}


.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpEffect 0.8s ease forwards;
}

@keyframes fadeInUpEffect {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .countdown-timer {
        padding: 10px 15px;
        gap: 10px;
    }

    .timer-item span {
        font-size: 1.8rem;
    }
}

/******************/
/* SERVER STATUS */
/******************/

.server-status-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    perspective: 1600px;
    -webkit-perspective: 1600px;
    transition: transform .25s ease, filter .25s ease;
}

.server-status-card:hover:not(.flipped) {
    transform: translateY(-4px);
}

.card-flip-inner {
    position: relative;
    display: grid;
    grid-template-areas: "flip";
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.65, 0, .35, 1);
}

.server-status-card.flipped .card-flip-inner {
    transform: rotateY(180deg);
}

.card-face {
    grid-area: flip;
    position: relative;
    overflow: hidden;
    padding: 25px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 10% 0%, rgba(190, 42, 30, .10), transparent 38%),
        linear-gradient(145deg, rgba(24, 17, 16, .94), rgba(13, 12, 12, .96));
    border: 1px solid rgba(170, 62, 45, .15);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, .55),
        inset 0 1px 0 rgba(255, 255, 255, .025);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.card-face::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(215, 58, 43, .65), transparent);
    opacity: .55;
}

.card-face::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    top: -110px;
    left: -80px;
    border-radius: 50%;
    background: rgba(190, 38, 28, .09);
    filter: blur(35px);
    pointer-events: none;
}

.server-status-card.is-selected .card-face {
    border-color: rgba(210, 58, 43, .40);
    background:
        radial-gradient(circle at 8% 0%, rgba(205, 48, 32, .16), transparent 42%),
        linear-gradient(145deg, rgba(29, 18, 17, .97), rgba(14, 12, 12, .97));
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .62),
        0 0 18px rgba(185, 42, 32, .12),
        inset 0 0 24px rgba(185, 42, 32, .045);
}

.server-status-card.is-selected .card-face::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, #d43b31, rgba(230, 78, 55, .85), transparent);
    box-shadow: 0 0 10px rgba(210, 55, 45, .45);
}

.card-face--front {
    display: flex;
    flex-direction: column;
}

.card-face--front .server-footer {
    margin-top: auto;
}

.server-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

.server-name {
    color: #f5f1ef;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .055em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.server-status-card.is-selected .server-name {
    color: #fff;
    text-shadow: 0 0 12px rgba(215, 65, 50, .18);
}

.server-rates-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(155, 38, 30, .15), rgba(90, 20, 17, .09));
    border: 1px solid rgba(205, 60, 48, .32);
    color: #c85850;
    font-size: .85rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    text-shadow: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.server-status-card.is-selected .server-rates-badge {
    color: #e26960;
    border-color: rgba(220, 66, 52, .48);
    box-shadow: inset 0 0 10px rgba(190, 42, 32, .08), 0 0 10px rgba(190, 42, 32, .08);
}


.server-live-status > i {
    width: 15px;
    color: #716c69;
    font-size: .78rem;
    text-align: center;
}

.server-live-status strong {
    font-weight: 800;
    text-align: right;
    padding-right: 12px;
    white-space: nowrap;
}

.server-live-status.online strong {
    color: #35db78;
}

.server-live-status.offline strong {
    color: #e65349;
}

.server-live-status .pulse-dot {
    display: none;
}

.server-live-status.online .pulse-dot {
    background: #31dc77;
    box-shadow: 0 0 7px rgba(49, 220, 119, .75);
    animation: status-pulse 2s infinite;
}

.server-live-status.offline .pulse-dot {
    background: #e65349;
    box-shadow: 0 0 7px rgba(230, 83, 73, .75);
    animation: status-pulse-red 2s infinite;
}

.server-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
}

.server-stat-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px;
    align-items: center;
    column-gap: 12px;
    min-width: 0;
}

.server-stat-label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #99918e;
    font-size: .85rem;
    font-weight: 500;
}

.server-stat-label i {
    width: 15px;
    flex: 0 0 15px;
    color: #77706d;
    font-size: .78rem;
    text-align: center;
}

.server-stat-value {
text-align: right;
padding-right: 12px;
    color: #f1edeb;
    font-size: .87rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.online-bar-wrapper {
    position: relative;
    height: 6px;
    margin: 14px 0 4px;
    overflow: visible;

    border-radius: 20px;

    background: rgba(0, 0, 0, .58);
    border: 1px solid rgba(255, 255, 255, .045);

    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, .75);
}

.online-bar-fill {
    position: relative;
    overflow: hidden;

    height: 100%;
    width: 0;

    min-width: 0;
    border-radius: 20px;

background: linear-gradient(
    90deg,
    #681714 0%,
    #84201c 45%,
    #a72b24 78%,
    #c43b31 100%
);

    box-shadow:
        inset 0 1px 0 rgba(255, 130, 110, .10),
        0 0 5px rgba(190, 45, 37, .20);

    transition: width 1.3s cubic-bezier(.22, .61, .36, 1);
}
.online-bar-fill::before {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: -35%;

    width: 28%;

    background: linear-gradient(
        90deg,
        rgba(255, 105, 72, 0) 0%,
        rgba(255, 105, 72, .08) 25%,
        rgba(255, 145, 92, .28) 52%,
        rgba(255, 92, 62, .10) 75%,
        rgba(255, 92, 62, 0) 100%
    );

    filter: blur(1px);

    animation: online-lava-flow 6s ease-in-out infinite;

    pointer-events: none;
}
@keyframes online-lava-flow {
    0% {
        left: -35%;
        opacity: 0;
    }

    6% {
        opacity: 0;
    }

    12% {
        opacity: .75;
    }

    42% {
        left: 100%;
        opacity: .85;
    }

    48% {
        left: 108%;
        opacity: .35;
    }

    55% {
        opacity: 0;
    }

    100% {
        left: 108%;
        opacity: 0;
    }
}

.server-status-card.is-selected .online-bar-fill {
    background: linear-gradient(90deg, #9f211d, #dc493d);
    box-shadow: 0 0 10px rgba(218, 66, 55, .45);
}

.online-bar-fill::after {
    content: "";

    position: absolute;
    top: 0;
    right: -1px;

    width: 9px;
    height: 100%;

    border-radius: 0 20px 20px 0;
animation: online-edge-heat 7s ease-in-out infinite;
transform-origin: right center;
    background: linear-gradient(
        90deg,
        rgba(215, 65, 53, 0) 0%,
        rgba(232, 82, 66, .55) 45%,
        rgba(255, 122, 96, .95) 100%
    );

    box-shadow:
        2px 0 5px rgba(235, 75, 60, .42),
        4px 0 10px rgba(205, 50, 42, .16);

    pointer-events: none;
    
}
@keyframes online-edge-heat {
    0%,
    38% {
        transform: scaleX(1);
        filter: brightness(1);

        box-shadow:
            2px 0 5px rgba(235, 75, 60, .42),
            4px 0 10px rgba(205, 50, 42, .16);
    }

    /* Волна дошла до конца */
    43% {
        transform: scaleX(1.35);
        filter: brightness(1.55);

        box-shadow:
            0 0 5px rgba(255, 180, 115, .95),
            2px 0 9px rgba(255, 105, 72, .85),
            4px 0 15px rgba(235, 65, 50, .55),
            7px 0 22px rgba(200, 45, 38, .25);
    }

    /* Короткое послесвечение */
    47% {
        transform: scaleX(1.12);
        filter: brightness(1.2);

        box-shadow:
            1px 0 5px rgba(255, 125, 85, .65),
            3px 0 11px rgba(230, 65, 52, .35);
    }

    52%,
    100% {
        transform: scaleX(1);
        filter: brightness(1);

        box-shadow:
            2px 0 5px rgba(235, 75, 60, .42),
            4px 0 10px rgba(205, 50, 42, .16);
    }
}

.online-bar-fill.is-empty::after {
    display: none;
}

.online-bar-scale {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    margin-top: 5px;

    color: rgba(210, 202, 198, .42);
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .02em;

    user-select: none;
    pointer-events: none;
}

.online-bar-scale span:nth-child(1) {
    text-align: left;
}

.online-bar-scale span:nth-child(2) {
    text-align: center;
}

.online-bar-scale span:nth-child(3) {
    text-align: right;
}
.server-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.065);
    color: #aaa29f;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .045em;
    transition: color .2s ease, border-color .2s ease;
}

.server-footer:hover {
    color: #d74a40;
    border-color: rgba(196, 55, 45, .22);
}

.card-flip-trigger {
    cursor: pointer;
}

.card-flip-hint {
    color: #625c5a;
    font-size: .78rem;
    transition: color .2s ease, transform .2s ease;
}

.server-footer:hover .card-flip-hint,
.card-flip-trigger:hover .card-flip-hint {
    color: #d74a40;
    transform: translateX(3px);
}

.card-face--back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 13px;
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.card-back-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255,255,255,.065);
    color: #a49c99;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .075em;
}

.card-back-title i {
    color: #bd4037;
    font-size: .78rem;
}

.server-status-card.is-selected .card-back-title i {
    color: #e05449;
}

.card-back-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.card-back-stats li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    color: #918a87;
    font-size: .82rem;
}

.card-back-stats li:last-child {
    border-bottom: 0;
}

.card-back-stats li strong {
    color: #f0ecea;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.card-back-pending {
    text-align: center;
    color: #807a77;
    font-size: .82rem;
    line-height: 1.6;
    padding: 8px 6px;
}

.card-back-pending i {
    display: block;
    margin-bottom: 10px;
    color: #bd4037;
    font-size: 1.35rem;
    opacity: .8;
}

.card-back-hint {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    margin-top: 2px;
    padding-top: 11px;
    border-top: 1px solid rgba(255,255,255,.065);
    color: #716b68;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .045em;
    transition: color .2s ease;
}

.card-face--back:hover .card-back-hint {
    color: #c74b42;
}

@keyframes status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46,204,113,.55); }
    70% { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

@keyframes status-pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(231,76,60,.55); }
    70% { box-shadow: 0 0 0 6px rgba(231,76,60,0); }
    100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}

@media (max-width: 992px) {

    .server-header {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .server-name {
        font-size: 1.35rem;
    }

    .server-rates-badge {
        flex-shrink: 0;
        font-size: .78rem;
        padding: 5px 8px;
    }

    .server-stat-label {
        font-size: .8rem;
    }

    .server-stat-value {
        font-size: .82rem;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .server-status-card {
        margin: 0 auto;
    }

    .menu {
        display: none;
    }
    
}



/******************/
/* FOOTER */
/******************/
.gg-footer {
    background-color: #0b0b0b;
    border-top: 1px solid #1f1f1f;
}


.footer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #151515;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #222;
}


.footer-title {
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

/* Ссылки меню */
.footer-link {
    color: #adb5bd;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--text-color);
    transform: translateX(5px);
}


.footer-link:hover::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.social-btn {
    background-color: #161616;
    color: #adb5bd;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-btn:hover {
    background-color: #1f1f1f;
    color: var(--text-color);
    transform: translateY(-2px);
}


.social-btn i {
    transition: color 0.3s;
}

.social-btn:hover .fa-telegram-plane {
    color: #2AABEE;
}

.social-btn:hover .fa-discord {
    color: #7289DA;
}

.social-btn:hover .fa-youtube {
    color: #FF0000;
}


.footer-bottom {
    border-top: 1px solid #1f1f1f;
    font-size: 0.8rem;
}

.legal-link {
    color: #6c757d;
    transition: color 0.2s;
}

.legal-link:hover {
    color: #adb5bd;
    text-decoration: underline !important;
}

/* Бейджи студий-разработчиков внизу футера */
.studio-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.studio-credits a {
    display: flex;
    align-items: center;
    height: 40px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.studio-credits a:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.studio-credits img {
    height: 34px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

@media (max-width: 576px) {
    .studio-credits {
        gap: 18px;
    }
}

/******************/
/* SERVER SECTIONS */
/******************/

.server-info-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.server-info-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.section-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-color);
}

.rate-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rate-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.rate-value span {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.rate-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
    margin-top: 5px;
}

.info-content h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    color: var(--text-grey);
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 18px;
    font-size: 1.4rem;
    margin-top: 5px;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.discord-cta-box {
    background: linear-gradient(45deg, #1a1a1a, #252525);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* Wiki CTA (на базе discord-cta-box) */
.wiki-cta-box {
    border: 1px solid rgba(211, 47, 47, 0.25);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s, box-shadow 0.3s;
}

.wiki-cta-box:hover {
    border-color: rgba(211, 47, 47, 0.45);
    box-shadow: 0 10px 32px rgba(211, 47, 47, 0.15);
}

.wiki-cta-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(211, 47, 47, 0.12);
    border: 1px solid rgba(211, 47, 47, 0.35);
    border-radius: 50%;
    color: var(--primary-hover);
    font-size: 19px;
    box-shadow: 0 0 14px rgba(211, 47, 47, 0.25);
}

.discord-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaa;
}

.discord-text h5 {
    margin: 0;
    font-weight: 700;
    color: var(--white);
}

.btn-discord-custom {
    background-color: #5865F2;
    color: var(--white);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-red-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-red-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 20px var(--primary-glow);
}


/******************/
/* CTA SECTIONS */
/******************/
.cta-hero-section {
    min-height: 60vh;
    background: radial-gradient(circle at center, #1a0505 0%, var(--bg-color) 70%);
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

/* Свечение */
.cta-glow-effect {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.badge-new-era {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.3);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    text-transform: uppercase;
}

.text-gradient {
    background: linear-gradient(135deg, var(--white) 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(211, 47, 47, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    max-width: 700px;
    line-height: 1.6;
}

/* BUTTONS  CTA */
.btn-cta-primary,
.btn-cta-secondary {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 0;
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    text-decoration: none;
    transition: filter 0.3s ease, transform 0.3s ease;
    min-width: 240px;
    position: relative;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-text small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    text-transform: uppercase;
}

.btn-icon-box {
    font-size: 1.8rem;
    margin-right: 15px;
}

.btn-cta-primary {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
        radial-gradient(120% 160% at 20% 0%, rgba(255, 82, 82, 0.5) 0%, transparent 55%),
        linear-gradient(160deg, #c62828 0%, #7f1010 55%, #2b0404 100%);
    color: var(--white);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -8px 18px rgba(0, 0, 0, 0.45);
    filter: drop-shadow(0 8px 22px rgba(211, 47, 47, 0.4));
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 12px 30px rgba(255, 60, 60, 0.6)) brightness(1.12);
    color: var(--white);
}

.btn-pulse {
    animation: pulse-red 2s infinite;
}

.btn-pulse:hover {
    animation: none;
}

@keyframes pulse-red {
    0% {
        filter: drop-shadow(0 0 0 rgba(211, 47, 47, 0));
    }

    50% {
        filter: drop-shadow(0 0 18px rgba(211, 47, 47, 0.6));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(211, 47, 47, 0));
    }
}


.btn-cta-secondary {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #262626 0%, #141414 60%, #060606 100%);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 14px rgba(211, 47, 47, 0.18);
    color: #e0e0e0;
}

.btn-cta-secondary:hover {
    color: var(--white);
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 20px rgba(211, 47, 47, 0.35)) brightness(1.1);
}

.bonus-text {
    font-size: 0.9rem;
    color: var(--text-grey);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

}


/******************/
/* HERO SCROLL    */
/******************/
.scroll-down-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 10;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-down-container:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
    box-shadow: 0 0 5px var(--primary-color);
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

.arrow-scroll span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transform: rotate(45deg);
    margin: -4px auto 0;
    animation: scroll-arrow 2s infinite;
}

.arrow-scroll span:nth-child(2) {
    animation-delay: -0.2s;
    border-color: rgba(255, 255, 255, 0.7);
}

.arrow-scroll span:nth-child(3) {
    animation-delay: -0.4s;
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes scroll-arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}


/******************/
/* SCROLL TO TOP  */
/******************/

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(31, 31, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}


#scrollTopBtn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/******************/
/* DOWNLOAD PAGE  */
/******************/
.download-section-clean {
    background-color: var(--bg-dark);
    padding: 120px 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
}

.text-accent {
    color: var(--primary-color);
}

.section-desc {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

.file-card {
    background: var(--card-bg);
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.file-card:hover {
    border-color: #333;
    transform: translateY(-5px);
}

.card-content {
    padding: 35px;
}

.icon-square {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text-white);
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}

.icon-square.accent-mode {
    color: var(--primary-colory);
}

.file-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 6px;
}

.file-specs {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.divider {
    margin: 0 5px;
    opacity: 0.3;
}

.recommend-badge {
    font-size: 0.65rem;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(227, 30, 36, 0.2);
}

.file-description {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 48px;
}

.actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-main:hover {
    background: var(--primary-hover);
    color: var(--white);
}

.btn-updater {
    background: #252525;
    border: 1px solid #333;
}

.btn-updater:hover {
    background: #333;
    border-color: #444;
}

.mirrors-list {
    display: flex;
    gap: 10px;
}

.mirror-btn {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 600;
    border: 1px solid transparent;
}

.mirror-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    border-color: #333;
}

.steps-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
}

.step-box {
    background: #111;
    padding: 25px;
    height: 100%;
    position: relative;
    border-radius: 6px;
    transition: 0.3s;
}

.step-box:hover {
    background: #161616;
    border-color: #333;
}

.highlight-step {
    border-color: rgba(227, 30, 36, 0.3);
    background: rgba(227, 30, 36, 0.02);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.step-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    margin-right: 15px;
    line-height: 1;
}

.highlight-step .step-num {
    color: var(--primary-color);
}

.step-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    color: #ddd;
}

.step-body p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 10px;
}

.step-link {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.step-link:hover {
    text-decoration: underline;
}

/******************/
/* DOWNLOAD PAGE  */
/* SUPPORT  */
/******************/
.support-strip-section {
    position: relative;
    background-color: #111;
    padding: 60px 0;
    overflow: hidden;
}

.bg-giant-icon {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 16rem;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
}

.support-icon-box {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), #8a0e12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin-right: 25px;
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.support-desc {
    color: #888;
    margin: 0;
    font-size: 0.95rem;
    max-width: 90%;
    line-height: 1.5;
}

.support-desc b {
    color: #ccc;
}

.btn-support-wide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-support-wide:hover {
    border-color: #e31e24;
    background: #e31e24;
    color: #fff;
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.4);
    transform: translateY(-2px);
}

.support-links {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sub-link {
    color: #666;
    transition: 0.2s;
}

.sub-link i {
    margin-right: 4px;
}

.sep {
    margin: 0 8px;
    color: #333;
}


@media (max-width: 992px) {
    .support-desc {
        max-width: 100%;
    }

    .bg-giant-icon {
        font-size: 10rem;
        right: -10%;
    }

    .support-links {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .support-header {
        flex-direction: column;
        text-align: center;
    }

    .support-icon-box {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .btn-support-wide {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mirrors-list {
        flex-direction: column;
    }
}

/******************/
/* DOWNLOAD PAGE  */
/* POPUP  */
/******************/
.gaming-popup-wrapper {
    position: fixed;
    top: 80px;
    right: 40px;
    z-index: 9999;
    pointer-events: none;
}

.neon-arrow-svg {
    position: absolute;
    bottom: 90%;
    right: 20px;
    width: 150px;
    height: 120px;
    overflow: visible;
    z-index: -1;
}

.neon-path {
    fill: none;
    stroke: #ff3333;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px #ff0000) drop-shadow(0 0 10px #ff0000);
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    /* Скрыто */
    transition: stroke-dashoffset 0.8s ease-out 0.1s;
}

.arrow-tip {
    fill: #ff3333;
    filter: drop-shadow(0 0 5px #ff0000);
    opacity: 0;
    transform: scale(0);
    transform-origin: 135px 5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s;
}

.gaming-popup-wrapper.active .neon-path {
    stroke-dashoffset: 0;
}

.gaming-popup-wrapper.active .arrow-tip {
    opacity: 1;
    transform: scale(1);
}

.gaming-toast {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gaming-popup-wrapper.active .gaming-toast {
    opacity: 1;
    transform: translateY(0);
}

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-close {
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

.file-info {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.loader-track {
    width: 100%;
    height: 3px;
    background: #333;
    margin-top: 5px;
    border-radius: 2px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    transition: width 3s ease-out;
}

.gaming-popup-wrapper.active .loader-fill {
    width: 100%;
}


/******************/
/* SUPPORT PAGE   */
/******************/
.support-section {
    padding: 120px 0;
}


.text-primary {
    color: var(--primary-color) !important;
}

.support-card {
    background: var(--card-bg);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: rgba(211, 47, 47, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-inline: auto;
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-desc {
    color: #888888;
    font-size: 0.95rem;
    margin-bottom: 30px;
    min-height: 40px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
    text-align: left;
}

.steps-list li {
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
}

.steps-list li span {
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.btn-primary-custom {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color) 0%, #b71c1c 100%);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
    margin-top: auto;
    border: none;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-primary-custom:hover {
    background: linear-gradient(90deg, #e53935 0%, #c62828 100%);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
    color: var(--white)
}

/******************/
/* SUPPORT FAQ   */
/******************/
.faq-section {
    padding: 80px 0;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    text-align: left;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s;
    font-size: 0.9rem;
    color: #888888;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    background: rgba(0, 0, 0, 0.2);

    transition:
        max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        transform 0.32s ease;
}

.faq-item.active .faq-answer {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    padding: 0 25px 20px 25px;
    color: #bbb;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/******************/
/* STATIC PAGE */
/******************/

.pages-section {
    padding: 150px 0;
}

/******************/
/* DISCORD WIDGET */
/******************/

/******************/
/* SERVER STATS   */
/******************/
.stats-server-switch {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 6px 0 34px;
}

.stats-server-btn {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #262626 0%, #141414 60%, #060606 100%);
    color: #999;
    border: none;
    padding: 11px 30px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: filter 0.3s ease, color 0.3s ease;
}

.stats-server-btn:hover {
    color: #ddd;
    filter: brightness(1.2);
}

.stats-server-btn.active {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #c62828 0%, #7f1010 55%, #2b0404 100%);
    color: #fff;
    filter: drop-shadow(0 4px 14px rgba(255, 60, 60, 0.45));
}

.stats-slider {
    overflow: hidden;
}

.stats-track {
    display: flex;
    width: 200%;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stats-slide {
    width: 50%;
    flex: 0 0 50%;
    padding: 4px;
}

.stats-card {
    position: relative;
    height: 100%;
    padding: 22px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 6px),
        radial-gradient(130% 100% at 50% 0%, rgba(130, 25, 12, 0.22) 0%, transparent 60%),
        linear-gradient(180deg, #161212 0%, #0c0a0a 100%);
    border: 1px solid #2c1a12;
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 40px rgba(0, 0, 0, 0.55);
}

.stats-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.stats-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #201c1c 0%, #100e0e 100%);
    color: #8d8d8d;
    border: none;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    cursor: pointer;
    transition: color 0.3s ease, filter 0.3s ease;
}

.stats-tab i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.stats-tab:hover {
    color: #ccc;
    filter: brightness(1.2);
}

.stats-tab.active {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #c62828 0%, #7f1010 55%, #2b0404 100%);
    color: #fff;
    filter: drop-shadow(0 3px 10px rgba(255, 60, 60, 0.35));
}

.stats-tab.active i {
    color: #ffd28a;
}

.stats-list {
    display: none;
    flex-direction: column;
    gap: 7px;
}

.stats-list.active {
    display: flex;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
}

.stats-rank {
    width: 28px;
    flex: 0 0 28px;
    text-align: center;
    font-weight: 800;
    color: #6d6d6d;
    font-variant-numeric: tabular-nums;
}

.stats-nick {
    flex: 1;
    color: #d8d8d8;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.stats-value {
    color: #c9955a;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.stats-value small {
    color: #6f6f6f;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.68rem;
    margin-left: 3px;
}

/* Топ-3: полуквадратные рамки (срезанные углы) золото/серебро/бронза */
.stats-row.top-1,
.stats-row.top-2,
.stats-row.top-3 {
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    padding: 10px 14px;
}

/* Аватарки топ-3: круглые, в цвет своей медали, со свечением */
.stats-avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.stats-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stats-row.top-1,
.stats-row.top-2,
.stats-row.top-3 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.stats-row.top-1 .stats-avatar {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.45);
}

.stats-row.top-2 .stats-avatar {
    border-color: rgba(192, 205, 215, 0.75);
    box-shadow: 0 0 10px rgba(192, 205, 215, 0.35);
}

.stats-row.top-3 .stats-avatar {
    border-color: rgba(205, 127, 50, 0.75);
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.35);
}

@media (max-width: 576px) {
    .stats-avatar {
        width: 36px;
        height: 36px;
    }
}

.stats-row.top-1 {
    border-color: rgba(255, 215, 0, 0.65);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.16) 0%, rgba(255, 215, 0, 0.04) 55%, rgba(255, 255, 255, 0.02) 100%);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.28));
}

.stats-row.top-1 .stats-rank i {
    color: #ffd700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}

.stats-row.top-1 .stats-nick {
    color: #ffe9a8;
    font-weight: 800;
}

.stats-row.top-1 .stats-value {
    color: #ffd700;
}

.stats-row.top-2 {
    border-color: rgba(192, 205, 215, 0.55);
    background: linear-gradient(90deg, rgba(192, 205, 215, 0.13) 0%, rgba(192, 205, 215, 0.03) 55%, rgba(255, 255, 255, 0.02) 100%);
    filter: drop-shadow(0 0 10px rgba(192, 205, 215, 0.22));
}

.stats-row.top-2 .stats-rank i {
    color: #c8d2dc;
    filter: drop-shadow(0 0 5px rgba(200, 210, 220, 0.6));
}

.stats-row.top-2 .stats-nick {
    color: #e4ecf3;
    font-weight: 800;
}

.stats-row.top-2 .stats-value {
    color: #c8d2dc;
}

.stats-row.top-3 {
    border-color: rgba(205, 127, 50, 0.6);
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.04) 55%, rgba(255, 255, 255, 0.02) 100%);
    filter: drop-shadow(0 0 10px rgba(205, 127, 50, 0.25));
}

.stats-row.top-3 .stats-rank i {
    color: #cd7f32;
    filter: drop-shadow(0 0 5px rgba(205, 127, 50, 0.65));
}

.stats-row.top-3 .stats-nick {
    color: #eebd8e;
    font-weight: 800;
}

.stats-row.top-3 .stats-value {
    color: #cd7f32;
}

.stats-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* Тёмная кнопка-параллелограмм (пара к красной) */
.btn-header-dark {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px),
        linear-gradient(160deg, #2a2a2a 0%, #151515 60%, #050505 100%);
    color: #e0e0e0;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 12px 30px;
    border: none;
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: filter 0.3s ease, transform 0.3s ease, color 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 12px rgba(211, 47, 47, 0.22);
    white-space: nowrap;
}

.btn-header-dark:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 18px rgba(211, 47, 47, 0.45)) brightness(1.15);
}

@media (max-width: 576px) {
    .stats-server-btn {
        padding: 9px 18px;
        font-size: 0.78rem;
    }

    .stats-card {
        padding: 16px;
    }

    .stats-row {
        gap: 10px;
        padding: 7px 10px;
        font-size: 0.85rem;
    }

    .stats-actions .btn-header-primary,
    .stats-actions .btn-header-dark {
        width: 100%;
        justify-content: center;
    }
}

/******************/
/* PAGE BANNER    */
/******************/
.page-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    aspect-ratio: 2416 / 368;
    min-height: 130px;
    border: 1px solid rgba(211, 47, 47, 0.22);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 6px),
        radial-gradient(130% 100% at 50% 0%, rgba(130, 25, 12, 0.25) 0%, transparent 60%),
        linear-gradient(180deg, #161212 0%, #0c0a0a 100%);
}

.page-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Затемнение поверх видео — как у hero на главной */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.2) 45%, rgba(10, 10, 10, 0.72) 100%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.5) 100%);
    pointer-events: none;
}

.page-banner-title {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 20px 44px;
    text-align: right;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {
    .page-banner {
        aspect-ratio: auto;
        min-height: 0;
        justify-content: center;
    }

    /* На мобильных видео не показываем — остаётся текстурная подложка */
    .page-banner-video {
        display: none;
    }

    .page-banner-title {
        padding: 22px 16px;
        text-align: center;
    }
}

/* SIDE SOCIAL BANNERS (справа снизу) */
.sbnrs {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.sbnr {
    position: relative;
    display: block;
    width: 104px;
    height: 104px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.sbnr__center {
    position: absolute;
    inset: 14%;
    width: 72%;
    height: 72%;
    display: block;
    transition: transform 0.7s ease;
}

/* Вращающееся кольцо с текстом вокруг медальона */
.sbnr__text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: bnr-rotate 14s linear infinite;
}

.sbnr__text text {
    fill: #d99a4e;
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.85;
}

@keyframes bnr-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sbnr:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(255, 100, 30, 0.55)) brightness(1.25);
}

.sbnr:hover .sbnr__center {
    transform: rotateY(360deg);
}

@media (max-width: 1200px) {
    .sbnr {
        width: 76px;
        height: 76px;
    }

    .sbnrs {
        gap: 14px;
    }
}

@media (max-width: 800px) {
    .sbnr {
        width: 58px;
        height: 58px;
    }

    .sbnrs {
        right: 12px;
        bottom: 12px;
        gap: 10px;
    }
}

.discord-widget-card {
    display: none !important; /* Виджет временно скрыт на всём сайте */
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    width: 220px;
    background: #111;
    border: 1px solid #2a2a2a;
    border-top: 3px solid #5865F2;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow:
        0 10px 30px -5px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(88, 101, 242, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.discord-widget-card.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}


.discord-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.discord-icon-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
    background: #5865F2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.discord-icon-wrapper i {
    animation: pulse-icon 2s infinite ease-in-out;
}

.status-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #23a559;
    border: 2px solid #111;
    border-radius: 50%;
}

.discord-text {
    display: flex;
    flex-direction: column;
}

.discord-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 2px;
}

.discord-online {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.discord-online i {
    font-size: 10px;
    color: #555;
}

.discord-action-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #1f1f1f;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.2s ease;
    text-transform: uppercase;
}

.discord-action-btn:hover {
    background: #5865F2;
    border-color: #5865F2;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #444;
    cursor: pointer;
    padding: 5px;
    transition: 0.2s;
    line-height: 1;
}

.discord-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}


@media (max-width: 991px) {
    .discord-widget-card {
        display: none !important;
    }
}


/******************/
/* MOBILE TWEAKS  */
/******************/

@media (max-width: 991px) {
    .server-info-section {
        padding: 60px 0;
    }

    .info-content {
        padding-left: 0 !important;
    }

    .download-section-clean,
    .support-section {
        padding: 80px 0 60px;
    }

    .faq-section {
        padding: 50px 0;
    }

    .pages-section {
        padding: 100px 0 60px;
    }
}

@media (max-width: 767px) {
    /* Больше горизонтального "воздуха" на телефоне */
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* About / Essence секция — выравниваем текст по центру под заголовок */
    .server-info-section .info-content {
        text-align: center;
    }

    .server-info-section .info-content h3,
    .server-info-section .info-content > p {
        text-align: center;
    }

    /* Feature-list оставляем по левому краю, но центрируем сам список */
    .server-info-section .feature-list {
        display: inline-block;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }

    .server-info-section .feature-list li {
        text-align: left;
    }
}

@media (max-width: 991px) {
    /* Чтобы hero не центрировал контент вертикально на узких экранах */
    .hero {
        align-items: flex-start;
        min-height: auto;
    }

    .hero-wrapper {
        padding-top: 140px !important;
        padding-bottom: 60px !important;
    }

    .hero-badge {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    /* HERO */
    .hero-wrapper {
        padding-top: 130px !important;
    }

    .hero-title {
        font-size: 2rem !important;
        letter-spacing: 0;
    }


    .hero-obt-date {
        font-size: clamp(0.68rem, 2.8vw, 0.9rem);
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    .hero-date .divider {
        margin: 0 10px;
        height: 16px;
    }

    .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .countdown-timer {
        width: 100%;
        justify-content: center;
        padding: 12px 10px;
        gap: 8px;
    }

    .timer-item {
        min-width: 48px;
    }

    .timer-item span {
        font-size: 1.5rem;
    }

    .timer-item small {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .timer-separator {
        font-size: 1.3rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions .btn-header-primary,
    .header-actions .btn-header-glass {
        width: 100%;
        justify-content: center;
    }

    /* SERVER STATUS CARD */
    .server-status-card {
        max-width: 100%;
    }

    .card-face {
        padding: 20px;
    }

    .server-name {
        font-size: 1.1rem;
    }

    .server-meta {
        font-size: 0.82rem;
    }

    .scroll-down-container {
        display: none !important;
    }

    /* SECTION TITLES */
    .section-title {
        font-size: 1.6rem !important;
        letter-spacing: 1px;
        margin-bottom: 2rem;
    }

    .server-info-section h3 {
        font-size: 1.5rem !important;
    }

    /* FEATURE LIST */
    .feature-list li {
        padding: 10px;
    }

    /* RATE CARDS */
    .rate-value {
        font-size: 2rem !important;
    }

    /* DISCORD CTA */
    .discord-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* CTA HERO */
    .cta-hero-section {
        padding: 60px 15px;
    }

    .btn-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }

    /* DOWNLOAD PAGE */
    .card-content {
        padding: 22px;
    }

    .file-title {
        font-size: 1.05rem;
    }

    .file-specs {
        font-size: 0.72rem;
    }

    .recommend-badge {
        font-size: 0.55rem;
        padding: 3px 6px;
    }

    .file-description {
        font-size: 0.85rem;
        min-height: auto;
    }

    .mirrors-list {
        flex-direction: column;
    }

    .mirror-btn {
        padding: 12px;
    }

    .steps-header {
        font-size: 1rem;
    }

    .step-box {
        padding: 20px;
    }

    .step-num {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1rem;
    }

    /* SYSTEM REQUIREMENTS TABLE */
    .system-requirements-section {
        padding: 50px 0 !important;
    }

    .custom-table td {
        padding: 12px 0 !important;
    }

    .feature-cell {
        min-width: auto !important;
        font-size: 0.9rem;
    }

    /* SUPPORT STRIP */
    .support-strip-section {
        padding: 40px 0;
        text-align: center;
    }

    .bg-giant-icon {
        font-size: 8rem;
        right: -15% !important;
        opacity: 0.5;
    }

    .support-title {
        font-size: 1.1rem;
    }

    .support-desc {
        font-size: 0.88rem;
    }

    .btn-support-wide {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.82rem;
    }

    .support-links {
        font-size: 0.7rem;
    }

    .sep {
        margin: 0 4px;
    }

    /* SUPPORT PAGE CARDS */
    .support-card {
        padding: 28px 20px;
    }

    .card-icon {
        font-size: 2.2rem;
        width: 64px;
        height: 64px;
        line-height: 64px;
    }

    .support-card h3 {
        font-size: 1.2rem;
    }

    .card-desc {
        font-size: 0.88rem;
        min-height: auto;
        margin-bottom: 20px;
    }

    .steps-list li {
        font-size: 0.82rem;
        padding: 9px 12px;
    }

    .btn-primary-custom {
        padding: 11px 22px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
        padding: 14px 16px;
        gap: 10px;
    }

    .faq-answer p {
        font-size: 0.85rem;
        padding: 0 16px 16px;
    }


    /* POPUP */
    .gaming-popup-wrapper {
        top: auto;
        bottom: 20px;
        right: 15px;
        left: 15px;
    }

    .neon-arrow-svg {
        display: none;
    }

    .gaming-toast {
        min-width: 0;
        width: 100%;
    }

    /* FOOTER */
    .gg-footer {
        padding-top: 40px !important;
    }

    .footer-logo {
        width: 60px;
        height: 60px;
    }

    .footer-title {
        margin-top: 10px;
    }

    .social-btn {
        max-width: 100% !important;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .col-md-6 {
        margin-bottom: 10px;
    }

    .legal-link {
        display: inline-block;
        margin: 4px !important;
        font-size: 0.78rem;
    }

    /* SCROLL TO TOP */
    #scrollTopBtn {
        width: 42px;
        height: 42px;
        bottom: 16px;
        right: 16px;
    }

    /* NAV */
    .navbar-nav .nav-link {
        padding: 10px 4px !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.7rem !important;
    }

    .timer-item span {
        font-size: 1.25rem;
    }

    .timer-separator {
        font-size: 1rem;
    }

    .server-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .server-rates-badge {
        font-size: 0.95rem;
        padding: 4px 10px;
    }

    .section-title {
        font-size: 1.35rem !important;
    }

    .discord-cta-box h5 {
        font-size: 1rem;
    }

    .btn-red-outline {
        width: 100%;
        justify-content: center;
    }

    .file-specs {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .file-specs .divider {
        display: none;
    }

    /* SYSTEM REQ TABLE — stack on phone */
    .custom-table thead {
        display: none;
    }

    .custom-table tbody tr {
        display: block;
        padding: 14px 0 !important;
    }

    .custom-table td {
        display: block;
        text-align: left !important;
        padding: 4px 0 !important;
    }

    .feature-cell {
        margin-bottom: 6px;
        color: var(--primary-color);
    }

    .val-min::before {
        content: "Min: ";
        color: #555;
    }

    .val-rec::before {
        content: "Rec: ";
        color: #555;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.5rem !important;
    }

    .timer-item {
        min-width: 40px;
    }

    .timer-item span {
        font-size: 1.1rem;
    }

    .btn-header-primary,
    .btn-header-glass {
        font-size: 0.78rem;
        padding: 10px 12px;
    }
}

.ib-lang {
    position: relative;
}

.ib-lang__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0.42rem 0.7rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #e8dede;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(211, 47, 47, 0.28);
    border-radius: 7px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.ib-lang__btn[aria-expanded="true"] {
    color: #fff;
    background: rgba(211, 47, 47, 0.14);
    border-color: rgba(211, 47, 47, 0.6);
}

/* Hover только на устройствах с настоящей мышкой */
@media (hover: hover) and (pointer: fine) {
    .ib-lang__btn:hover {
        color: #fff;
        background: rgba(211, 47, 47, 0.14);
        border-color: rgba(211, 47, 47, 0.6);
    }
}

.ib-lang__globe {
    font-size: 0.9em;
    opacity: 0.85;
}

.ib-lang__caret {
    font-size: 0.68em;
    opacity: 0.7;
    transition: transform 0.2s;
}

.ib-lang__btn[aria-expanded="true"] .ib-lang__caret {
    transform: rotate(180deg);
}

.ib-lang__menu.dropdown-menu {
    min-width: 178px;
    margin-top: 0.5rem;
    padding: 6px;
    background: linear-gradient(180deg, #171110, #0c0908) !important;
    border: 1px solid rgba(211, 47, 47, 0.32) !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.ib-lang__item.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.52rem 0.6rem;
    border-radius: 6px;
    color: #cbc2c2 !important;
    font-size: 0.88rem;
    text-transform: capitalize;
    transition: color 0.15s, background 0.15s;
}

.ib-lang__item.dropdown-item:hover,
.ib-lang__item.dropdown-item:focus {
    background: rgba(211, 47, 47, 0.16) !important;
    color: #fff !important;
}

.ib-lang__item.is-active {
    background: rgba(211, 47, 47, 0.22) !important;
    color: #fff !important;
}

.ib-lang__item-name {
    flex: 1;
}

.ib-lang__item-code {
    min-width: 24px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    color: #ff6659;
}
.server-meta-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
}
/* =========================================
   HOME STORE
========================================= */

.home-store-section {
    padding: 72px 0;
    position: relative;
}

.home-store-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.home-store-kicker {
    margin-bottom: 8px;
    color: #d94a40;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.home-store-title {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.05;
}

.home-store-subtitle {
    margin: 10px 0 0;
    color: #918b89;
    font-size: 14px;
}

.home-store-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #aaa3a0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
    white-space: nowrap;
}

.home-store-all:hover {
    color: #fff;
}

.home-store-all span {
    color: #d94a40;
    font-size: 18px;
}

.home-store-grid {
    display: grid;
    gap: 18px;
}

.home-store-grid--1 {
    grid-template-columns: minmax(0, 390px);
    justify-content: center;
}

.home-store-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
}

.home-store-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-store-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            rgba(31,26,25,.96),
            rgba(17,15,15,.98)
        );
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.home-store-card:hover {
    transform: translateY(-3px);
    border-color: rgba(217,74,64,.36);
    box-shadow:
        0 18px 42px rgba(0,0,0,.27),
        0 0 25px rgba(217,74,64,.05);
}

.home-store-image {
    position: relative;
    height: 205px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(120, 35, 28, .16),
            transparent 55%
        ),
        #0d0c0c;
}

.home-store-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 10px;
    transition: transform .35s ease;
}

.home-store-card:hover .home-store-image img {
    transform: scale(1.025);
}

.home-store-image-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.16);
    font-size: 42px;
}

.home-store-popular {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border: 1px solid rgba(217,74,64,.35);
    border-radius: 7px;
    background: rgba(20,14,14,.88);
    backdrop-filter: blur(8px);
    color: #ef655b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-store-body {
    padding: 18px;
}

.home-store-name {
    margin: 0;
    color: #f4f0ee;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.home-store-description {
    min-height: 38px;
    margin-top: 7px;
    color: #8e8886;
    font-size: 13px;
    line-height: 1.45;
}
.home-store-items {
    margin-top: 16px;
}

.home-store-items-title {
    margin-bottom: 8px;
    color: #716b68;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-store-items-list {
    display: flex;
    flex-direction: column;
}

.home-store-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 43px;
    padding: 5px 3px;
    border-top: 1px solid rgba(255,255,255,.04);
}

.home-store-item:first-child {
    border-top: 0;
}

.home-store-item-icon {
    width: 32px;
    height: 32px;
    overflow: hidden;
    border: 1px solid rgba(190,75,58,.22);
    border-radius: 6px;
    background: rgba(255,255,255,.025);
}

.home-store-item-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-store-item-name {
    min-width: 0;
    color: #cfc9c6;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
}

.home-store-item-enchant {
    margin-left: 3px;
    color: #dc6257;
    font-weight: 800;
}

.home-store-item-count {
    color: #d05e53;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.home-store-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.055);
}

.home-store-price {
    display: flex;
    flex-direction: column;
}

.home-store-price strong {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.home-store-price > div > span {
    margin-left: 5px;
    color: #918a87;
    font-size: 12px;
    font-weight: 700;
}

.home-store-old-price {
    margin-bottom: 5px;
    color: #686260;
    font-size: 12px;
    text-decoration: line-through;
}

.home-store-buy {
    min-width: 105px;
    padding: 10px 17px;
    border: 1px solid rgba(218,70,59,.55);
    border-radius: 8px;
    background: rgba(183,45,37,.13);
    color: #f0d9d6;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        color .2s ease;
}

.home-store-buy:hover {
    border-color: #df4e44;
    background: rgba(202,53,44,.24);
    box-shadow: 0 0 18px rgba(210,55,46,.12);
    color: #fff;
}
.home-store-cooldown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 145px;
    padding: 5px 0;
    text-align: right;
}

.home-store-cooldown-label {
    margin-bottom: 4px;
    color: #756f6d;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.home-store-cooldown-time {
    color: #d85f55;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
    .home-store-cooldown {
        min-width: 0;
        align-items: flex-end;
    }

    .home-store-cooldown-label {
        font-size: 8px;
    }

    .home-store-cooldown-time {
        font-size: 14px;
    }
}
@media (max-width: 900px) {
    .home-store-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-store-section {
        padding: 52px 0;
    }

    .home-store-head {
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .home-store-subtitle {
        max-width: 260px;
    }

    .home-store-grid,
    .home-store-grid--1,
    .home-store-grid--2,
    .home-store-grid--3 {
        grid-template-columns: 1fr;
    }

    .home-store-image {
        height: 190px;
    }

    .home-store-all {
        font-size: 0;
    }

    .home-store-all span {
        font-size: 22px;
    }
}
/* =========================================
   HOME STREAMS
========================================= */

.home-streams-section {
    position: relative;
        margin-top: -25px;
    padding: 55px 0 80px;
    background:
        radial-gradient(circle at 50% 0%, rgba(180, 20, 20, 0.12), transparent 45%),
        #0a0909;
    overflow: hidden;
}

.home-streams-heading {
    text-align: center;
    margin-bottom: 42px;
}

.home-streams-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #d53232;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.home-streams-heading .section-title {
    font-size: 2rem;
}

.home-streams-kicker i {
    font-size: 0.75rem;
}

.home-streams-heading .section-title {
    margin-bottom: 8px;
}

.home-streams-heading p {
    margin: 0;
    color: #8f8f8f;
    font-size: 1rem;
}

.home-streams-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1050px;
    margin: 0 auto;
}

.home-stream-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 180px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(27, 22, 22, 0.96), rgba(13, 12, 12, 0.98));
    border: 1px solid rgba(211, 47, 47, 0.16);
    border-radius: 4px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-stream-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #d32f2f;
    box-shadow: 0 0 18px rgba(211, 47, 47, 0.55);
}

.home-stream-card:hover {
    transform: translateY(-4px);
    border-color: rgba(211, 47, 47, 0.38);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.home-stream-live {
    position: absolute;
    top: 16px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #ef4444;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.home-stream-live span {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
    animation: home-stream-live-pulse 1.5s infinite;
}

@keyframes home-stream-live-pulse {
    50% {
        opacity: 0.45;
        transform: scale(0.8);
    }
}

.home-stream-avatar {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(211, 47, 47, 0.65);
    box-shadow: 0 0 24px rgba(211, 47, 47, 0.16);
}

.home-stream-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-stream-info {
    min-width: 0;
    flex: 1;
}

.home-stream-name {
    margin-bottom: 7px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-stream-platform {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: #999;
    font-size: 0.86rem;
}

.home-stream-platform.tw i {
    color: #9146ff;
}

.home-stream-platform.yt i {
    color: #ff3030;
}

.home-stream-platform.kk i {
    color: #53fc18;
}

.home-stream-platform.tr i {
    color: #4b8cff;
}

.home-stream-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d93a3a;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.home-stream-watch:hover {
    color: #fff;
}

.home-streams-all {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

@media (max-width: 767px) {
    .home-streams-section {
        padding: 65px 0;
    }

    .home-streams-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-stream-card {
        min-height: 150px;
        padding: 24px 18px;
        gap: 16px;
    }

    .home-stream-avatar {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .home-stream-name {
        font-size: 1.05rem;
    }
}
.home-stream-player {
    overflow: hidden;
    background: #0b0a0a;
    border: 1px solid rgba(211, 47, 47, 0.22);
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.home-stream-player:hover {
    transform: translateY(-3px);
    border-color: rgba(211, 47, 47, 0.5);
}

.home-stream-player-head {
    height: 54px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(20, 17, 17, 0.96);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.home-stream-player-head > div {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ef4444;
    font-size: .7rem;
    font-weight: 800;
}

.home-stream-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239,68,68,.8);
}

.home-stream-player-head strong {
    color: #fff;
    font-size: .95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-stream-player-head > span:last-child {
    margin-left: auto;
    color: #777;
    font-size: .75rem;
    text-transform: uppercase;
}

.home-stream-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.home-stream-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .home-streams-section {
        margin-top: -10px;
        padding: 45px 0 60px;
    }

    .home-stream-player-head {
        height: 48px;
        padding: 0 12px;
    }
}
.home-stream-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050505;
    overflow: hidden;
    cursor: pointer;
}

.home-stream-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-stream-preview-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(0,0,0,.05), rgba(0,0,0,.55)),
        linear-gradient(to top, rgba(0,0,0,.6), transparent 55%);
}

.home-stream-video:hover .home-stream-preview-img {
    transform: scale(1.035);
}

.home-stream-play:hover {
    background: #ef3b3b;
    transform: translate(-50%, -50%) scale(1.08);
}

.home-stream-play i {
    margin-left: 3px;
}

.home-streams-heading {
    display: block;
    text-align: center;
}

.home-streams-kicker,
.home-streams-heading .section-title {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;

    margin: 0;
    line-height: 1;
    font-size: 2rem;
}

.home-streams-kicker {
    margin-right: 12px;
}

.home-streams-heading > p {
    display: block;
    width: 100%;
    margin: 12px 0 0;
}
.old-server-counter-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.old-server-counter-value .old-label {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.old-server-counter-value strong {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 0.9;
    font-variant-numeric: tabular-nums;
    text-shadow:
        0 0 12px rgba(211, 50, 50, 0.35),
        0 3px 12px rgba(0, 0, 0, 0.8);
}

.old-server-counter-value .old-days {
    color: #d53232;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.old-server-counter-text > small {
    margin-top: 9px;
    color: #777;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

/* OLD HERO ALIGN FIX */

.hero-content .hero-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-content .hero-date > i {
    flex: 0 0 22px;
    width: 22px;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-content .hero-obt-date > span {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
}

.hero-content .hero-obt-date .divider {
    margin: 0 !important;
    line-height: 1;
}


/* СЕРВЕРУ УЖЕ 111 ДНЕЙ */

.old-server-counter {
    display: flex;
    align-items: center;
    gap: 14px;
}

.old-server-counter-icon {
    flex: 0 0 22px;
    width: 22px;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.1rem;
    line-height: 1;
}

.old-server-counter-icon i {
    display: block;
    line-height: 1;
}

.old-server-counter-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.old-server-counter-value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.old-server-counter-value .old-label {
    line-height: 1;
}

.old-server-counter-value strong {
    font-size: 3.2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transform: translateY(-2px);
}

.old-server-counter-value .old-days {
    line-height: 1;
}

/* =========================================================
   INFERNAL EASTER EGG
   ========================================================= */

body.infernal-secret-open {
    overflow: hidden;
}

.infernal-secret-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

display: grid;
place-items: center;
width: 100vw;
height: 100dvh;
margin: 0;
    padding: 24px;

    background:
        radial-gradient(circle at center, rgba(160, 0, 0, 0.18), transparent 45%),
        rgba(0, 0, 0, 0.88);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.infernal-secret-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.infernal-secret-modal {
    position: relative;
margin: 0;
    width: min(520px, 100%);
    padding: 42px 38px 34px;

    text-align: center;

    background:
        linear-gradient(145deg, rgba(35, 10, 10, 0.98), rgba(10, 10, 10, 0.98));

    border: 1px solid rgba(220, 53, 69, 0.35);
    border-radius: 14px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(220, 53, 69, 0.08);

    transform: translateY(18px) scale(0.96);

    transition: transform 0.35s ease;
}

.infernal-secret-overlay.is-active .infernal-secret-modal {
    transform: translateY(0) scale(1);
}

.infernal-secret-close {
    position: absolute;
    top: 12px;
    right: 16px;

    border: 0;
    padding: 0;

    color: rgba(255, 255, 255, 0.55);
    background: transparent;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition: color 0.2s ease;
}

.infernal-secret-close:hover {
    color: #fff;
}

.infernal-secret-fire {
    margin-bottom: 14px;

    color: #dc3545;

    font-size: 42px;

    filter: drop-shadow(0 0 16px rgba(220, 53, 69, 0.45));
}

.infernal-secret-kicker {
    margin-bottom: 8px;

    color: #dc3545;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.infernal-secret-title {
    color: #fff;

    font-size: clamp(24px, 5vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.infernal-secret-text {
    margin-top: 14px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 15px;
}

.infernal-secret-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 26px;
    padding: 10px 10px 10px 20px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px dashed rgba(220, 53, 69, 0.5);
    border-radius: 8px;
}

.infernal-secret-promo > span {
    color: #fff;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
}

.infernal-secret-promo button {
    padding: 10px 14px;

    color: #fff;
    background: #dc3545;

    border: 0;
    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;

    cursor: pointer;
}

.infernal-secret-promo button i {
    margin-right: 6px;
}

.infernal-secret-hint {
    margin-top: 14px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}

@media (max-width: 575px) {
    .infernal-secret-modal {
        padding: 38px 20px 28px;
    }

    .infernal-secret-promo {
        flex-direction: column;
        padding: 16px;
    }

    .infernal-secret-promo button {
        width: 100%;
    }
}
/* =========================================================
   INFERNAL KEYBOARD EASTER EGG
   ========================================================= */

.infernal-konami-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;

    width: 100vw;
    height: 100dvh;

    display: grid;
    place-items: center;

    padding: 24px;

    background:
        radial-gradient(circle at center, rgba(150, 0, 0, 0.2), transparent 42%),
        rgba(0, 0, 0, 0.92);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.infernal-konami-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.infernal-konami-modal {
    position: relative;

    width: min(600px, 100%);
    margin: 0;
    padding: 48px 40px 38px;

    text-align: center;

    background:
        radial-gradient(circle at top, rgba(120, 0, 0, 0.18), transparent 50%),
        linear-gradient(145deg, rgba(25, 8, 8, 0.99), rgba(5, 5, 5, 0.99));

    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 14px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.85),
        0 0 80px rgba(220, 53, 69, 0.1);

    transform: scale(0.92);

    transition: transform 0.35s ease;
}

.infernal-konami-overlay.is-active .infernal-konami-modal {
    transform: scale(1);
}

.infernal-konami-close {
    position: absolute;
    top: 14px;
    right: 18px;

    padding: 0;

    color: rgba(255, 255, 255, 0.5);
    background: transparent;

    border: 0;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

.infernal-konami-close:hover {
    color: #fff;
}

.infernal-konami-symbol {
    margin-bottom: 18px;

    color: #dc3545;

    font-size: 48px;

    filter: drop-shadow(0 0 20px rgba(220, 53, 69, 0.45));
}

.infernal-konami-code {
    margin-bottom: 12px;

    color: #dc3545;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.infernal-konami-title {
    color: #fff;

    font-size: clamp(27px, 5vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1px;
}

.infernal-konami-text {
    max-width: 430px;

    margin: 18px auto 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 15px;
    line-height: 1.6;
}

.infernal-konami-reveal {
    margin-top: 28px;
    padding: 13px 24px;

    color: #fff;
    background: #dc3545;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.infernal-konami-reveal:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 30px rgba(220, 53, 69, 0.25);
}

.infernal-konami-reveal.is-hidden {
    display: none;
}

.infernal-konami-promo {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 28px;
    padding: 11px 11px 11px 20px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px dashed rgba(220, 53, 69, 0.55);
    border-radius: 8px;
}

.infernal-konami-promo.is-visible {
    display: flex;
}

.infernal-konami-promo > span {
    color: #fff;

    font-size: 21px;
    font-weight: 900;
    letter-spacing: 3px;
}

.infernal-konami-promo button {
    padding: 10px 14px;

    color: #fff;
    background: #dc3545;

    border: 0;
    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.infernal-konami-promo button i {
    margin-right: 6px;
}

.infernal-konami-hint {
    margin-top: 16px;

    color: rgba(255, 255, 255, 0.32);

    font-size: 11px;
}

@media (max-width: 575px) {
    .infernal-konami-modal {
        padding: 42px 20px 30px;
    }

    .infernal-konami-promo {
        flex-direction: column;
        padding: 16px;
    }

    .infernal-konami-promo button {
        width: 100%;
    }
}
/* Server online/offline status */
.server-live-status {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr) 90px;
    align-items: center;
    column-gap: 9px;

    margin-bottom: 24px;

    font-size: .84rem;
    line-height: 1;
}

.server-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 8px;
}

.server-live-status.is-online {
    color: #25e06f;
}

.server-live-status.is-online .server-live-dot {
    background: #25e06f;
    box-shadow: 0 0 8px rgba(37, 224, 111, 0.6);
}

.server-live-status.is-offline {
    color: #ff4b4b;
}

.server-live-status.is-offline .server-live-dot {
    background: #ff4b4b;
    box-shadow: 0 0 8px rgba(255, 75, 75, 0.6);
}


/* Details always white */
.server-details-indicator {
    color: #fff !important;
}

.server-details-indicator .pulse-dot {
    background: #fff !important;
    box-shadow: none !important;
}

.server-live-icon {
    width: 16px;
    color: #aaa;
    text-align: center;
}

.server-live-status.is-online .server-live-icon,
.server-live-status.is-offline .server-live-icon {
    color: #aaa;
}
.home-stream-lazy {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background:
        radial-gradient(circle at center, rgba(220, 30, 30, 0.14), transparent 55%),
        rgba(10, 10, 10, 0.92);
    overflow: hidden;
}


.home-stream-lazy .home-stream-play:hover {
    opacity: 0.9;
}

.home-stream-lazy .home-stream-play:disabled {
    opacity: 0.5;
    cursor: wait;
}

.home-stream-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    flex: 0 0 64px;

    border-radius: 50%;
    background: rgba(211, 47, 47, 0.95);
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.35);

    font-size: 22px;
}

.home-stream-play-icon i {
    margin-left: 3px;
}

.home-stream-play-text {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}

.home-stream-lazy iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
}

.home-stream-lazy .home-stream-play {
    appearance: none;
    -webkit-appearance: none;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 0;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #fff;
    cursor: pointer;

    gap: 12px;

    transform: none !important;
    transition: opacity 0.2s ease;
}

.home-stream-lazy .home-stream-play::before,
.home-stream-lazy .home-stream-play::after {
    content: none !important;
    display: none !important;
}

.home-stream-lazy .home-stream-play:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.9;
}

@media (max-width: 767px) {
    .stats-slider {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        touch-action: pan-y;
    }

    .stats-track {
        width: 100%;
        transform: none !important;
        transition: none !important;
        touch-action: pan-y;
    }

    .stats-slide {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}
.hero-mobile-poster {
    display: none;
}

@media (max-width: 767px) {
    .hero-video {
        display: none !important;
    }

    .hero-mobile-poster {
        display: block;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100% - 72px);
        z-index: 0;
        overflow: hidden;
    }

    .hero-mobile-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.server-live-label {
    color: #99918e;
    font-weight: 500;
    text-align: left;
    justify-self: start;
}
.server-rates-badge.is-selected {
    color: #f07469;
    background:
        linear-gradient(
            180deg,
            rgba(190, 48, 38, .22),
            rgba(105, 23, 19, .13)
        );
    border-color: rgba(220, 70, 55, .55);
    box-shadow:
        inset 0 0 10px rgba(190, 42, 32, .08),
        0 0 10px rgba(190, 42, 32, .10);
    font-size: .72rem;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.server-name.is-selected {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.server-name__bracket {
    color: rgba(238, 233, 231, .82);
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 255, .06);
}

.server-name__current {
    color: inherit;
    font-weight: inherit;
}
@media (min-width: 768px) {
    .old-server-counter {
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .old-server-counter {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(4px, 1.5vw, 8px);

        overflow: hidden;
    }

    .old-server-counter-icon {
        flex: 0 0 auto;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;
        margin: 0;

        font-size: clamp(12px, 3.5vw, 18px);
        line-height: 1;
    }

    .old-server-counter-icon i {
        display: block;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        line-height: 1;
        transform: none;
    }

    .old-server-counter-text {
        display: flex;
        align-items: center;
        justify-content: center;

        min-width: 0;
        max-width: calc(100% - 26px);
    }

    .old-server-counter-value {
        width: auto;
        max-width: 100%;
        min-width: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: clamp(3px, 1vw, 7px);
        margin: 0;

        white-space: nowrap;
        line-height: 1;
    }

    .old-server-counter-value .old-label {
        font-size: clamp(11px, 3.35vw, 17px);
        line-height: 1;
        letter-spacing: 0.5px;
    }

    .old-server-counter-value strong {
        font-size: clamp(32px, 11vw, 54px);
        line-height: 1;

        display: inline-flex;
        align-items: center;

        transform: none;
    }

    .old-server-counter-value .old-days {
        font-size: clamp(11px, 3.35vw, 17px);
        line-height: 1;
        letter-spacing: 0.5px;
    }
}
/* =========================================
   L2PICK
   ========================================= */

.l2pick-fixed {
    position: absolute;
    z-index: 99999;
visibility: hidden;
opacity: 0;
    /* Привязка к правому краю основного контента */
    right: max(28px, calc((100vw - 1320px) / 2));
    left: auto;
    top: 190px;

    display: block;
    padding: 5px;

    background: rgba(10, 8, 8, 0.78);

    border: 1px solid rgba(190, 45, 35, 0.28);
    border-radius: 5px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.42),
        inset 0 0 10px rgba(190, 40, 30, 0.025);

    opacity: 1;
    filter: brightness(0.95) saturate(0.95);

    transition:
        opacity 0.25s ease,
        filter 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

/* Тонкая красная линия сверху */
.l2pick-fixed::before {
    content: "";
    position: absolute;

    left: 12px;
    right: 12px;
    top: -1px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(235, 55, 45, 0.65),
        transparent
    );

    opacity: 0.65;
}

.l2pick-fixed img {
    display: block;

    width: auto;
    height: auto;
    max-width: 100%;

    border-radius: 2px;
}

/* Наведение */
.l2pick-fixed:hover {
    opacity: 1;
    filter: brightness(1) saturate(1);

    border-color: rgba(235, 55, 45, 0.62);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.62),
        0 0 14px rgba(200, 40, 30, 0.12);

    transform: translateY(-2px);
}

.l2pick-fixed:hover::before {
    opacity: 1;
}
body.page-loaded .l2pick-fixed {
    visibility: visible;
    opacity: 0.92;
}
/* На телефонах полностью скрываем */
@media (max-width: 767px) {
    .l2pick-fixed {
        display: none !important;
    }
}
/* =========================================
   Notifications dropdown
   ========================================= */

.c-notif__dropdown {
    background:
        linear-gradient(
            180deg,
            #171111 0%,
            #0d0a0a 100%
        ) !important;

    border: 1px solid #3a211b !important;
    border-radius: 6px !important;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .65),
        0 0 0 1px rgba(120, 42, 32, .08) inset !important;
}


/* Верхушка */
.c-notif__head {
    padding: 13px 16px 11px !important;

    background:
        linear-gradient(
            180deg,
            rgba(45, 23, 20, .55),
            rgba(24, 14, 13, .35)
        ) !important;

    border-bottom: 1px solid #48231e !important;

    color: #eee7e4 !important;

    font-size: 13px !important;
    font-weight: 700 !important;
}


/* Прочитать все */
.c-notif__read-all {
    color: #847a76 !important;

    font-size: 11px !important;
    font-weight: 500 !important;
}

.c-notif__read-all:hover {
    color: #e46b62 !important;
}


/* Само уведомление */
.c-notif__item {
    position: relative !important;

    gap: 11px !important;

    padding: 13px 15px !important;

    background: transparent !important;

    border-top: 1px solid rgba(255, 255, 255, .035) !important;

    transition:
        background .18s ease,
        border-color .18s ease !important;
}


/* Непрочитанное */
.c-notif__item.is-unread {
    background:
        linear-gradient(
            90deg,
            rgba(170, 48, 39, .14) 0%,
            rgba(105, 29, 24, .055) 55%,
            transparent 100%
        ) !important;

    box-shadow:
        inset 3px 0 0 #c84b42 !important;
}


/* Hover */
.c-notif__item:hover {
    background: rgba(255, 255, 255, .035) !important;
}

.c-notif__item.is-unread:hover {
    background:
        linear-gradient(
            90deg,
            rgba(184, 52, 42, .20) 0%,
            rgba(110, 30, 25, .08) 60%,
            rgba(255, 255, 255, .02) 100%
        ) !important;
}


/* Точка */
.c-notif__item-dot {
    width: 7px !important;
    height: 7px !important;

    margin-top: 5px !important;

    background: #5f5956 !important;

    box-shadow: none !important;
}

.c-notif__item.is-unread .c-notif__item-dot {
    background: #d7564d !important;

    box-shadow:
        0 0 7px rgba(215, 86, 77, .4) !important;
}


/* Сохраняем цветные типы уведомлений */
.c-notif__item-dot--green {
    background: #59c785 !important;
}

.c-notif__item-dot--blue {
    background: #599fd0 !important;
}

.c-notif__item-dot--yellow {
    background: #d8aa52 !important;
}

.c-notif__item-dot--red {
    background: #d7564d !important;
}

.c-notif__item-dot--purple {
    background: #a47bd0 !important;
}

.c-notif__item-dot--teal {
    background: #52b7aa !important;
}


/* Заголовок */
.c-notif__item-title {
    margin-bottom: 4px !important;

    color: #f1ebe8 !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    line-height: 1.25 !important;
}


/* Основной текст */
.c-notif__item-text {
    margin-bottom: 6px !important;

    color: #aaa19d !important;

    font-size: 12px !important;
    font-weight: 400 !important;

    line-height: 1.42 !important;
}


/* Время */
.c-notif__item-time {
    color: #716966 !important;

    font-size: 10px !important;
    font-weight: 500 !important;
}


/* Нижняя кнопка */
.c-notif__all {
    padding: 11px 16px !important;

    background: rgba(10, 8, 8, .65) !important;

    border-top: 1px solid #35201b !important;

    color: #8c817d !important;

    font-size: 11px !important;
    font-weight: 500 !important;

    transition:
        color .18s ease,
        background .18s ease !important;
}

.c-notif__all:hover {
    background: rgba(150, 42, 34, .10) !important;
    color: #df675e !important;
}


/* Пустой список */
.c-notif__empty {
    padding: 22px 16px !important;

    color: #817773 !important;

    font-size: 12px !important;

    text-align: center !important;
}
/**********************/
/* BONUS START POPUP  */
/**********************/

body.bonus-start-popup-open {
    overflow: hidden;
}

.bonus-start-popup {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.bonus-start-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bonus-start-popup__backdrop {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(110, 18, 15, .16),
            rgba(0, 0, 0, .76) 48%,
            rgba(0, 0, 0, .91) 100%
        );

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.bonus-start-popup__window {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 540px;

    padding: 42px 46px 36px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(181, 42, 32, .20),
            transparent 46%
        ),
        linear-gradient(
            145deg,
            rgba(24, 17, 16, .985),
            rgba(9, 8, 8, .995)
        );

    border: 1px solid rgba(196, 55, 45, .34);

    clip-path: polygon(
        18px 0,
        100% 0,
        100% calc(100% - 18px),
        calc(100% - 18px) 100%,
        0 100%,
        0 18px
    );

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .78),
        0 0 45px rgba(175, 40, 32, .10),
        inset 0 1px 0 rgba(255, 255, 255, .045);

    text-align: center;

    transform: translateY(22px) scale(.97);

    transition:
        transform .42s cubic-bezier(.2, .8, .2, 1),
        opacity .35s ease;
}

.bonus-start-popup.is-visible .bonus-start-popup__window {
    transform: translateY(0) scale(1);
}

.bonus-start-popup__window::before {
    content: "";

    position: absolute;
    top: 0;
    left: 42px;
    right: 42px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(220, 62, 49, .95),
        transparent
    );

    box-shadow: 0 0 14px rgba(211, 47, 47, .48);
}

.bonus-start-popup__window::after {
    content: "";

    position: absolute;
    width: 220px;
    height: 220px;

    top: -150px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background: rgba(190, 38, 28, .13);
    filter: blur(55px);

    pointer-events: none;
}

.bonus-start-popup__close {
    position: absolute;
    z-index: 3;

    top: 14px;
    right: 17px;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    background: transparent;

    color: #625b59;

    font-size: 28px;
    font-weight: 300;
    line-height: 30px;

    cursor: pointer;

    transition:
        color .2s ease,
        transform .2s ease;
}

.bonus-start-popup__close:hover {
    color: #e15a50;
    transform: rotate(90deg);
}

.bonus-start-popup__brand {
    position: relative;
    z-index: 2;

    margin-bottom: 12px;

    color: #817976;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .32em;
    text-transform: uppercase;
}

.bonus-start-popup__line {
    width: 46px;
    height: 2px;

    margin: 0 auto 23px;

    background: linear-gradient(
        90deg,
        transparent,
        #c63830,
        transparent
    );

    box-shadow: 0 0 9px rgba(198, 56, 48, .38);
}

.bonus-start-popup__date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-bottom: 10px;

    color: #c44b42;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.bonus-start-popup__date span {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #8e302b;
    box-shadow: 0 0 6px rgba(200, 55, 45, .5);
}

.bonus-start-popup__title {
    margin: 0 0 21px;

    color: #fff;

    font-family: 'Montserrat', sans-serif;

    font-size: clamp(30px, 5vw, 42px);
    font-weight: 900;

    line-height: 1;

    letter-spacing: .035em;
    text-transform: uppercase;

    text-shadow:
        0 3px 18px rgba(0, 0, 0, .8),
        0 0 22px rgba(190, 45, 36, .13);
}

.bonus-start-popup__lead {
    max-width: 410px;

    margin: 0 auto 11px;

    color: #d7d1ce;

    font-size: 15px;
    line-height: 1.65;
}

.bonus-start-popup__lead strong {
    color: #fff;
    font-weight: 800;
}

.bonus-start-popup__text {
    max-width: 420px;

    margin: 0 auto 23px;

    color: #8f8885;

    font-size: 13px;
    line-height: 1.65;
}

.bonus-start-popup__donate {
    margin: 0 0 25px;
    padding: 13px 16px;

    background:
        linear-gradient(
            90deg,
            rgba(118, 26, 22, .08),
            rgba(151, 34, 28, .16),
            rgba(118, 26, 22, .08)
        );

    border-top: 1px solid rgba(194, 54, 44, .14);
    border-bottom: 1px solid rgba(194, 54, 44, .14);

    color: #aaa19e;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .015em;
}

.bonus-start-popup__donate span {
    color: #d55b51;
    font-weight: 800;
}

.bonus-start-popup__donate strong {
    color: #e46b60;
    font-size: 14px;
    font-weight: 900;
}

.bonus-start-popup__telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;

    padding: 14px 22px;

    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, .055) 0 1px,
            transparent 1px 5px
        ),
        linear-gradient(
            160deg,
            #b62d28 0%,
            #79130f 58%,
            #310504 100%
        );

    border: 1px solid rgba(216, 68, 57, .36);

    color: #fff;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .13),
        inset 0 -7px 16px rgba(0, 0, 0, .32),
        0 7px 24px rgba(140, 25, 20, .16);

    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;
}

.bonus-start-popup__telegram span {
    font-size: 17px;
    line-height: 1;

    transition: transform .2s ease;
}

.bonus-start-popup__telegram:hover {
    color: #fff;

    transform: translateY(-2px);

    filter: brightness(1.12);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 9px 28px rgba(180, 38, 30, .25);
}

.bonus-start-popup__telegram:hover span {
    transform: translateX(3px);
}

.bonus-start-popup__later {
    margin-top: 16px;
    padding: 3px 10px;

    border: 0;
    background: transparent;

    color: #625c59;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;

    transition: color .2s ease;
}

.bonus-start-popup__later:hover {
    color: #aaa29f;
}

@media (max-width: 576px) {
    .bonus-start-popup {
        padding: 15px;
    }

    .bonus-start-popup__window {
        max-width: 100%;

        padding:
            38px
            22px
            28px;
    }

    .bonus-start-popup__brand {
        font-size: 9px;
    }

    .bonus-start-popup__line {
        margin-bottom: 19px;
    }

    .bonus-start-popup__title {
        margin-bottom: 18px;
        font-size: 31px;
    }

    .bonus-start-popup__lead {
        font-size: 14px;
    }

    .bonus-start-popup__text {
        margin-bottom: 19px;
        font-size: 12px;
    }

    .bonus-start-popup__donate {
        margin-bottom: 21px;
        padding: 12px 9px;
        font-size: 11px;
    }

    .bonus-start-popup__telegram {
        padding: 13px 15px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bonus-start-popup,
    .bonus-start-popup__window,
    .bonus-start-popup__close,
    .bonus-start-popup__telegram,
    .bonus-start-popup__telegram span {
        transition: none;
    }
}

/* IB background visibility: retain edge/text contrast without crushing the centre. */
.hero::before {
    background:
        linear-gradient(180deg, rgba(10,10,10,.10) 0%, rgba(10,10,10,.16) 65%, #0a0a0a 100%),
        radial-gradient(75% 85% at 50% 48%, rgba(10,10,10,.20) 0%, rgba(10,10,10,.30) 48%, rgba(10,10,10,.78) 100%);
}
