*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: 'Gotham', 'Montserrat', sans-serif;
    background: #1d1d1e;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ===== ФИКСИРОВАННЫЙ ФОН С ТОЧКАМИ ===== */
.site-bg-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    background-color: #1d1d1e;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0;
    pointer-events: none;
}

/* Затемнение поверх точек */
.site-bg-dots::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(29, 29, 30, 0.6);
    pointer-events: none;
    z-index: -998;
}

/* ВСЁ СОДЕРЖИМОЕ ПОВЕРХ ФОНА */
.site-content {
    position: relative;
    z-index: 1;
}

@font-face {
    font-family: 'Gotham Light';
    src: url('fonts/gotham_light.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'REDOB Regular';
    src: url('fonts/REDOBtrial-REDOBRegular.woff2') format('woff2'),
         url('fonts/REDOBtrial-REDOBRegular.woff') format('woff'),
         url('fonts/REDOBtrial-REDOBRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 10px;
}

.container {
    max-width: 1554px;
    margin-left: 180px;
    margin-right: 180px;
    height: 100px;
}

::selection {
    background-color: #ff0000;
    color: #2b2b2b;
}

::-moz-selection {
    background-color: #ff0000;
    color: #0a0a0a;
}

/* ========== КНОПКИ ========== */
.btn {
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn--pay {
    font-family: 'Unbounded', sans-serif;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0px;
    padding: 12px 24px;
    color: #ff1111;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    outline: none;
}

.btn--pay:hover {
    background: rgba(0, 0, 0, 0.178);
}

.desktop-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 3px;
}


/* ========== ХЕДЕР (ПК) — ИСПРАВЛЕННАЯ ВЕРСИЯ ========== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    margin-top: 15px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* ЛОГОТИП — ПРИЖАТ К ЛЕВОМУ КРАЮ, НЕ МЕНЯЕТ РАЗМЕР */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 40px;
    flex-shrink: 0;
    /* ФИКСИРОВАННЫЙ РАЗМЕР */
    width: auto;
    min-width: fit-content;
}

.logo img {
    width: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo__name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex-shrink: 0;
}

.logo__top {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.logo__bottom {
    font-size: 14px;
    font-weight: 800;
    color: #ff0000;
    white-space: nowrap;
}

/* МЕНЮ — СТРОГО ПО ЦЕНТРУ, НЕ ДВИГАЕТСЯ */
.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 270px;
    margin-bottom: 8px;
}

@import url('https://fonts.googleapis.com/css2?family=Agency+FB&display=swap');

.nav__link {
    font-family: 'Agency FB', 'Arial Narrow', 'Impact', sans-serif;
    color: rgba(255, 255, 255, 0.322);
    text-decoration: none;
    margin-right: 25px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
    cursor: pointer;
}

.nav__link:hover {
    color: #ff0000;
}

.nav__link.active {
    color: #ffffff;
}

/* ===== КНОПКА ===== */
.btn--pay {
    position: absolute;
    right: 40px;
    margin-top: -23px;
    margin-left: 0;
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--pay {
    color: #ff0000;
    background: transparent;
    border-color: #ffffff13;
}

.btn--pay:hover {
    background: #3a3a3b7c;
    color: #ff0000;
}

/* ===== АДАПТИВ ДЛЯ ПЛАНШЕТОВ ===== */
@media (max-width: 1024px) {
    .nav__list {
        gap: 30px;
    }
    
    .nav__link {
        font-size: 13px;
        margin-right: 15px;
    }
    
    .logo img {
        width: 38px;
        height: 38px;
    }
    
    .logo__top {
        font-size: 15px;
    }
    
    .logo__bottom {
        font-size: 12px;
    }
}

/* ===== АДАПТИВ ДЛЯ ТЕЛЕФОНОВ ===== */
@media (max-width: 768px) {
    .header__container {
        padding: 0 20px;
        justify-content: space-between;
    }
    
    .logo {
        position: relative;
        left: 0;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .logo__top {
        font-size: 14px;
    }
    
    .logo__bottom {
        font-size: 11px;
    }
    
    .nav {
        display: none;
    }
    
    .btn--pay {
        position: relative;
        right: 0;
        margin-top: 0;
    }
}

/* Соц сети */

.connect {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 800px 0 100px;
}

.connect__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.connect__title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 80px;
}

.connect__desc {
    color: rgb(255, 255, 255);
    font-size: 18px;
    line-height: 1.6;
    max-width: 1100px;
    margin-left: 100px;
    margin: 0 auto 10px;
    margin-bottom: 150px;
}

/* ========== КВАДРАТНЫЕ КАРТОЧКИ ========== */
.connect__grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0px;
    max-width: 100%;
    width: 100%;
    height: 150px;
    margin: 0;
    padding: 0 25px;
    box-sizing: border-box;
}

.connect__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex: 1;
    height: 220px;
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.connect__card {
    border-right: 1px solid rgba(255, 255, 255, 0);
}

.connect__card:not(:first-child) {
    border-left: none;
}

/* Общий контейнер для иконок */
.connect__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    transition: transform 0.6s ease-out, color 0.3s ease;
    margin-top: -120px;
    margin-bottom: 10px;
}

/* Для SVG иконки Discord */
.connect__card-icon svg {
    width: 100%;
    height: 100%;
    color: rgb(226, 226, 226);
}

/* Для Font Awesome иконок — УВЕЛИЧЕНЫ И ТОРЧАТ */
.connect__card-icon.fab,
.connect__card-icon.fas {
    font-size: 160px;
    color: rgb(226, 226, 226);
    margin-top: -120px;
    width: auto;
    height: auto;
}

/* ПРИ НАВЕДЕНИИ — ПОВОРОТ И СМЕНА ЦВЕТА ДЛЯ ВСЕХ */
.connect__card:hover .connect__card-icon {
    transform: rotateY(360deg);
    color: #ff3d3d;
}

/* Discord отдельно (меняем цвет через svg) */
.connect__card:hover .connect__card-icon svg {
    color: #ff3d3d;
}

/* Текст — УВЕЛИЧЕН */
.connect__card-content strong {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: rgba(226, 226, 226, 0.9);
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.connect__card-content span {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(226, 226, 226, 0.658);
}

.connect__card:hover .connect__card-content span {
    color: #ff3d3d;
    transition: color 0.4s ease;
}

.connect__card-content span {
    color: rgb(255, 255, 255);
    font-size: 12px;
}

.connect__card:hover .connect__card-content strong {
    color: #ff3d3d;
}

/* Ссылка-обёртка для карточки */
.connect__card-link {
    text-decoration: none;
    display: block;
    flex: 1 1 0%;
    min-width: 0;
}

/* Карточка внутри ссылки */
.connect__card-link .connect__card {
    height: 100%;
    width: 100%;
}

/* Правая граница-палочка для каждого квадрата */
.connect__card {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* Убираем двойные границы (оставляем одну палочку между квадратами) */
.connect__card:not(:first-child) {
    border-left: none;
}

/* РОДИТЕЛЬСКИЙ КОНТЕЙНЕР */
.connect__container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.connect {
    padding: 80px 0 100px;
    width: 100%;
    margin: 0;
}

@media (max-width: 1024px) {
    .connect__grid {
        height: 790px;
        flex-wrap: wrap;
        justify-content: center;
    }

    ::-webkit-scrollbar {
        display: none;
    }

    .connect__desc {
        font-size: 14px;
        max-width: 400px;
    }
    
    .connect__card-link {
        flex: 1 1 auto;
        min-width: 180px;
    }
    
    /* Возвращаем левые границы у всех */
    .connect__card-link .connect__card {
        border-left: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 768px) {
    .connect__title {
        font-size: 30px;
        margin-bottom: 50px;
        margin: 20px;
    }

    .connect__grid {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .connect__card {
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .connect__card-link {
        width: 100%;
    }
    
    /* У всех квадратов одинаковые границы со всех сторон */
    .connect__card-link .connect__card {
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-top: none;
    }
    
    /* Первому квадрату возвращаем верхнюю границу */
    .connect__card-link:first-child .connect__card {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .connect__card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 180px;
        width: 100%;
        gap: 40px;
    }
    
    .connect__card-icon {
        width: 100px;
        height: 100px;
        margin-top: -25px;
    }
    
    .connect__card-icon.fab,
    .connect__card-icon.fas {
        font-size: 90px;
        margin-top: -25px;
    }
    
    .connect__card-content strong {
        font-size: 22px;
        margin-top: -100px;
    }
        .connect__card-content {
        position: relative;
        top: -35px;
    }
}

/* ========== ФУТЕР ========== */
.footer {
    font-family: 'Montserrat', sans-serif;;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 32px 32px 80px;
    max-width: 1950px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer__container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 40px;
}

/* Компания (лого + реквизиты) */
.footer__company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo {
    height: 32px;
    width: 120px;
    margin-bottom: 16px;
}

.footer__company p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    line-height: 1.5;
    font-weight: 400;
}

.footer__logo-wrapper .logo-icon {
    position: relative;
    width: 130px;
    height: 140px;
    overflow: hidden;
}

.footer__logo-wrapper .logo-icon img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 110%;
    height: 120%;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

.footer__logo-wrapper .logo-img-gray {
    opacity: 1;
}

.footer__logo-wrapper .logo-img-color {
    opacity: 0;
}

.footer__logo-wrapper .logo:hover .logo-img-gray {
    opacity: 0;
}

.footer__logo-wrapper .logo:hover .logo-img-color {
    opacity: 1;
}

/* Навигация */
.footer__nav {
    margin: 0 auto;
    padding: 0 32px;
}

.footer__nav > ul {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 45px;
}

.footer__nav-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__nav-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer__nav-block ul {
    display: flex;
    list-style: none;
    flex-direction: column;
    gap: 8px;
}

.footer__nav-link {
    color: rgba(255, 255, 255, 0.39);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__nav-link:hover {
    color: #ff4848;
}

/* Платежки */
.footer__payments {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.footer__payment-list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.footer__payment-list li {
    background: #181818;
    border-radius: 4px;
    padding: 0 12px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__payment-list li span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer__status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

.footer__status::before {
    content: "";
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #89de5d;
    border-radius: 50%;
    animation: heartbeat 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(137, 222, 93, 0.5);
}

@keyframes heartbeat {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 8px rgba(137, 222, 93, 0.3);
    }
    14% {
        transform: translateY(-50%) scale(1.4);
        box-shadow: 0 0 15px rgba(137, 222, 93, 0.7);
    }
    28% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 8px rgba(137, 222, 93, 0.3);
    }
    42% {
        transform: translateY(-50%) scale(1.4);
        box-shadow: 0 0 15px rgba(137, 222, 93, 0.7);
    }
    70% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 8px rgba(137, 222, 93, 0.3);
    }
    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 8px rgba(137, 222, 93, 0.3);
    }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .footer__container {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .footer__company {
        align-items: center;
        text-align: center;
    }
    
    .footer__nav > ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .footer__nav-block {
        align-items: center;
        text-align: center;
    }
    
    .footer__nav-block ul {
        align-items: center;
    }
    
    .footer__payments {
        align-items: center;
    }
    
    .footer__payment-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 24px 16px 60px;
    }
    
    .footer__container {
        gap: 24px;
    }
    
    .footer__nav > ul {
        gap: 20px;
    }
    
    .footer__payment-list {
        gap: 8px;
    }
    
    .footer__payment-list li {
        height: 30px;
        padding: 0 10px;
    }
    
    .footer__payment-list li span {
        font-size: 10px;
    }
    
    .footer__status {
        font-size: 12px;
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 20px 12px 50px;
    }
    
    .footer__nav > ul {
        gap: 16px;
    }
    
    .footer__nav-title {
        font-size: 11px;
    }
    
    .footer__nav-link {
        font-size: 10px;
    }
    
    .footer__company-text {
        font-size: 8px;
    }
    
    .footer__company-copy {
        font-size: 8px;
    }
}

/* ========== КНОПКА НАВЕРХ ========== */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 180px;
    height: 50px;
    background: rgb(37, 37, 37);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-family: 'Unbounded', sans-serif;
}

/* Кнопка появляется при прокрутке */
.go-to-top.show {
    opacity: 1;
    visibility: visible;
}

.go-to-top__icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* При наведении */
.go-to-top:hover {
    background: #ff3434;
    border-color: #000000;
}

/* Стрелка — справа от текста */
.go-to-top__arrow {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    order: 2;
    font-family: 'Unbounded', sans-serif;
}

.go-to-top:hover .go-to-top__arrow {
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Текст — слева */
.go-to-top__text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    text-transform: uppercase;
    order: 1;
}

.go-to-top:hover .go-to-top__text {
    color: #ffffff;
}

.fa-angle-double-up{
    font-size: 20px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.go-to-top:hover .fa-angle-double-up{
    color: #ffffff;
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
    .go-to-top {
        width: auto;
        padding: 0 20px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .go-to-top__arrow {
        width: 14px;
        height: 14px;
    }
    
    .go-to-top__text {
        font-size: 12px;
    }
    .fa-angle-double-up{
        font-size: 15px;
        margin-top: 3px;
    }
}

/* Контейнер */
.footer__docs {
    gap: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 565px;
    margin-left: 200px;
}

/* Ссылка */
.footer__doc-link {
    text-align: center;
    font-size: 12px;
    line-height: 1;
    color: #909093;
    transition-property: color;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
    text-decoration: none;
}

.footer__doc-link:hover {
    color: #ff2f2f;
}

/* xs (от 480px) — текст слева */
@media (min-width: 480px) {
    .footer__doc-link {
        text-align: left;
    }
}

/* sm (от 640px) — контейнер: текст слева, отступы другие */
@media (min-width: 640px) {
    .footer__docs {
        align-items: flex-start;
        gap: 15px;
    }
}

/* ========== ПОЛОСКА ЗАГРУЗКИ ========== */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff2f2f, #ff0000);
    z-index: 10000;
    transition: width 0.5s ease-out;
}

.how-to-play-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Заголовок как на картинке */
.htp-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Сетка 4 колонки (как на скрине) */
.htp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Карточка шага */
.htp-step {
    background: #0f0f14;
    border-radius: 20px;
    padding: 28px 20px 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
}

/* Номер шага (как на картинке - жирный, крупный) */
.htp-step-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1;
    font-family: monospace;
}

/* Текст шага */
.htp-step-text {
    font-size: 15px;
    line-height: 1.45;
    color: #c9cddf;
    margin-bottom: 24px;
    font-weight: 500;
}

/* Кнопки оранжевые (как на скрине) */
.htp-btn {
    display: inline-block;
    background: #ff6b00;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.htp-btn:hover {
    background: #ff8522;
}

/* Бейдж Davis (как на картинке) */
.htp-server {
    background: #1a1a24;
    border-left: 4px solid #ff6b00;
    padding: 12px 16px;
    font-size: 20px;
    font-weight: 700;
    color: #ffaa66;
    border-radius: 12px;
    margin-top: 8px;
    font-family: monospace;
}

/* Блок "ЧТО ТАКОЕ PLAY" (точь-в-точь как на скрине) */
.htp-play-block {
    background: #1a1a24;
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.htp-play-block span {
    color: white;
    font-size: 22px;
    font-weight: 800;
    margin-left: 8px;
    background: linear-gradient(135deg, #fff, #ffaa66);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Адаптив под мобилки — чтобы не ломалось */
@media (max-width: 1000px) {
    .htp-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .htp-steps {
        grid-template-columns: 1fr;
    }
    .htp-title {
        font-size: 32px;
    }
}

/* ========== БУРГЕР ========== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger:hover span {
    background: #ff0000;
}

.burger:hover {
    opacity: 0.8;
}

/* Показываем на телефонах */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
}

/* ===== АНИМАЦИЯ БУРГЕРА (активный) ===== */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== ВЫЕЗЖАЮЩАЯ ПАНЕЛЬ СНИЗУ ========== */
.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #121212;
    border-radius: 20px 20px 0 0;
    transition: bottom 0.3s ease;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-sheet.open {
    bottom: 0;
}

/* Оверлей (затемнение фона) */
.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Полоска сверху (стрелочка/хэндл) */
.bottom-sheet__handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin: 12px auto 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bottom-sheet__handle:hover {
    background: rgba(255, 0, 0, 0.6);
}

.bottom-sheet__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-sheet__title {
    font-family: 'Bounded Black', 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.bottom-sheet__close {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
}

.bottom-sheet__close:hover {
    color: #ff0000;
}

.bottom-sheet__list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 60vh;
    overflow-y: auto;
}

.bottom-sheet__list li a {
    display: block;
    padding: 16px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.2s;
}

.bottom-sheet__list li a:hover {
    background: rgba(255, 0, 0, 0.05);
    color: #ff0000;
}
/* Оверлей */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    gap: 10px;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Показываем бургер только на телефонах */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .nav {
        display: none;
    }
    .header__container {
        justify-content: space-between;
    }
}

@media (min-width: 769px) {
    .burger,
    .bottom-sheet,
    .overlay {
        display: none;
    }
}

@media (max-width: 768px) {
    .header__buttons.desktop-buttons {
        display: none;
    }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

/* ========================
   HERO SECTION
======================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  max-width: 1400px;
  margin: 70px auto;
  padding: 150px;
  overflow: hidden;
}

/* ========================
   LEFT COLUMN
======================== */
.hero__left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 0 0 0;
  overflow: hidden;
}

/* Big outlined ROLE / PLAY letters */
.hero__big-text {
  position: absolute;
  top: 0;
  left: -10px;
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.big-outline {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(90px, 12vw, 170px);
  letter-spacing: -0.03em;
  color: transparent;
  display: block;
  white-space: nowrap;
}

/* GTA5 RP \\ Vinewood subtitle */
.hero__subtitle {
  position: relative;
  z-index: 2;
  padding: 0 0 24px 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.subtitle-bold {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 34px);
  color: #fff;
  letter-spacing: 0.02em;
}

.subtitle-regular {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 28px);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

/* Collage photo with grid overlay */
.hero__collage {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 300px;
  overflow: hidden;
}

.hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.75);
}

.hero__left {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.hero__collage {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 300px;
    overflow: hidden;
    background: #0a0a0a;
}

.collage-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px;
    z-index: 2;
}

.grid-cell {
    background-image: url('assets/images/cubes-origin.png');
    background-size: 700% 400%;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    cursor: pointer;
}

.grid-cell[data-pos="0"] { background-position: 0% 0%; }
.grid-cell[data-pos="1"] { background-position: 16.666% 0%; }
.grid-cell[data-pos="2"] { background-position: 33.333% 0%; }
.grid-cell[data-pos="3"] { background-position: 50% 0%; }
.grid-cell[data-pos="4"] { background-position: 66.666% 0%; }
.grid-cell[data-pos="5"] { background-position: 83.333% 0%; }
.grid-cell[data-pos="6"] { background-position: 100% 0%; }
.grid-cell[data-pos="7"] { background-position: 0% 33.333%; }
.grid-cell[data-pos="8"] { background-position: 16.666% 33.333%; }
.grid-cell[data-pos="9"] { background-position: 33.333% 33.333%; }
.grid-cell[data-pos="10"] { background-position: 50% 33.333%; }
.grid-cell[data-pos="11"] { background-position: 66.666% 33.333%; }
.grid-cell[data-pos="12"] { background-position: 83.333% 33.333%; }
.grid-cell[data-pos="13"] { background-position: 100% 33.333%; }
.grid-cell[data-pos="14"] { background-position: 0% 66.666%; }
.grid-cell[data-pos="15"] { background-position: 16.666% 66.666%; }
.grid-cell[data-pos="16"] { background-position: 33.333% 66.666%; }
.grid-cell[data-pos="17"] { background-position: 50% 66.666%; }
.grid-cell[data-pos="18"] { background-position: 66.666% 66.666%; }
.grid-cell[data-pos="19"] { background-position: 83.333% 66.666%; }
.grid-cell[data-pos="20"] { background-position: 100% 66.666%; }
.grid-cell[data-pos="21"] { background-position: 0% 100%; }
.grid-cell[data-pos="22"] { background-position: 16.666% 100%; }
.grid-cell[data-pos="23"] { background-position: 33.333% 100%; }
.grid-cell[data-pos="24"] { background-position: 50% 100%; }
.grid-cell[data-pos="25"] { background-position: 66.666% 100%; }
.grid-cell[data-pos="26"] { background-position: 83.333% 100%; }
.grid-cell[data-pos="27"] { background-position: 100% 100%; }

.grid-cell:hover {
    background-image: url('assets/images/cubes-replace.png');
    transform: scale(1.08);
    z-index: 3;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
}

/* ========================
   RIGHT COLUMN
======================== */
.hero__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Video preview block */
.hero__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(80%) brightness(0.6);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.play-btn svg {
  margin-left: 4px;
  fill: #181818;
}

.play-btn:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

/* Bottom panel: 2-col grid */
.hero__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  flex: 1;
}

/* Panel buttons shared */
.panel-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 24px 20px;
  text-decoration: none;
  color: #fff;
  transition: filter 0.2s;
  min-height: 130px;
}

.panel-btn:hover {
  filter: brightness(1.12);
}

.panel-btn span {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 17px);
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.panel-btn__arrow {
  align-self: flex-end;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* КАК ИГРАТЬ — orange square, row 1 col 1 */
.panel-btn--how {
  background: #f00000;
  grid-column: 1;
  grid-row: 1;
}

/* Online counter — row 1 col 2 */
.panel-online {
  grid-column: 2;
  grid-row: 1;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 130px;
}

.panel-online__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.panel-online__count {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 46px);
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* СКАЧАТЬ ЛАУНЧЕР — orange wide button, row 2 col 1–2 */
.panel-btn--download {
  background: #f00000;
  grid-column: 1 / 3;
  grid-row: 2;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  min-height: 100px;
}

.panel-btn--download span {
  font-size: clamp(14px, 1.6vw, 18px);
}

.panel-btn--download .panel-btn__arrow {
  align-self: auto;
  width: 38px;
  height: 38px;
}

/* ========================
   SOCIALS
======================== */
.hero__socials {
  padding: 20px 24px 24px;
}

.socials__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.socials__icons {
  display: flex;
  gap: 18px;
  align-items: center;
}

.social-icon {
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  text-decoration: none;
}

.social-icon:hover {
  color: #e60000;
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

/* ========== СЕКЦИЯ КВАДРАТОВ ========== */
.gallery-grid {
    padding: 40px 20px;
    background: #0a0a0a;
}

.gallery-grid__container {
    max-width: 900px;
    margin: 0 auto;
}

.gallery-grid__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;  /* без отступов */
}

.gallery-item {
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background-image: url('assets/images/color-bg.png');
    background-size: 300% 300%;
    transition: all 0.4s ease;
    filter: grayscale(100%) brightness(0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Позиции для 9 квадратов */
.gallery-item[data-pos="0"] { background-position: 0% 0%; }
.gallery-item[data-pos="1"] { background-position: 50% 0%; }
.gallery-item[data-pos="2"] { background-position: 100% 0%; }
.gallery-item[data-pos="3"] { background-position: 0% 50%; }
.gallery-item[data-pos="4"] { background-position: 50% 50%; }
.gallery-item[data-pos="5"] { background-position: 100% 50%; }
.gallery-item[data-pos="6"] { background-position: 0% 100%; }
.gallery-item[data-pos="7"] { background-position: 50% 100%; }
.gallery-item[data-pos="8"] { background-position: 100% 100%; }

/* При наведении — цветной */
.gallery-item:hover {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
}

/* Адаптив */
@media (max-width: 768px) {
    .gallery-grid__wrapper {
        gap: 2px;
    }
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero__left {
    min-height: 420px;
  }

  .big-outline {
    font-size: clamp(70px, 20vw, 130px);
  }

  .hero__video {
    aspect-ratio: 16 / 7;
  }

  .panel-btn--download {
    padding: 20px 20px;
  }
}

@media (max-width: 480px) {
  .hero__subtitle {
    padding: 0 0 16px 12px;
  }

  .big-outline {
    font-size: 18vw;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  }

  .panel-btn {
    padding: 16px;
    min-height: 100px;
  }

  .panel-online {
    padding: 16px;
    min-height: 100px;
  }

  .panel-btn--download {
    padding: 16px;
  }
}

/* ========== СЕКЦИЯ СКРИНШОТОВ ========== */
.screenshots {
    padding: 60px 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.screenshots__wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.screenshots__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 80px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ========== КАРУСЕЛЬ ========== */
.carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.carousel__wrapper {
    overflow: hidden;
    border-radius: 16px;
}

.carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 25%;
    padding: 10px;
    min-width: 0;
}

.carousel__slide-inner {
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.carousel__slide-inner:hover {
    border-color: #ff0000;
}

/* ========== КАРУСЕЛЬ ========== */
.carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.carousel__wrapper {
    overflow: hidden;
    border-radius: 16px;
}

.carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 25%;
    padding: 10px;
    min-width: 0;
}

.carousel__slide-inner {
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.carousel__slide-inner:hover {
    border-color: #ff0000;
}

.carousel__slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel__slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========== СТРЕЛКИ ========== */
.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 60px;
    height: 60px;
}

.carousel__btn img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.carousel__btn:hover img {
    opacity: 1;
}

.carousel__btn--prev {
    left: -18px;
}

.carousel__btn--next {
    right: -18px;
}

/* ========== ТОЧКИ ========== */
.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel__dot.active {
    background: #ff0000;
    width: 24px;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal__close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
    background: none;
    border: none;
}

.modal__close:hover {
    color: #ff0000;
}

.modal__image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0);
    border: none;
    color: #ffffff;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border-radius: 50%;
}

.modal__btn--prev {
    left: 20px;
}

.modal__btn--next {
    right: 20px;
}

.modal__counter {
    position: absolute;
    bottom: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
    .carousel__slide { flex: 0 0 50%; padding: 10px; }
    .carousel__btn { width: 50px; height: 50px; }
    .carousel__btn img { width: 32px; height: 32px; }
    .carousel__btn--prev { left: -12px; }
    .carousel__btn--next { right: -12px; }
    .screenshots__title { font-size: 46px; }
}

@media (max-width: 768px) {
    .carousel { padding: 0 30px; }
    .carousel__slide { flex: 0 0 50%; padding: 8px; }
    .carousel__btn { width: 44px; height: 44px; }
    .carousel__btn img { width: 28px; height: 28px; }
    .screenshots__title { font-size: 32px; }
    .screenshots { padding: 40px 15px; }
    .modal__btn--next { left: -10px; }
    .modal__btn--next { left: -10px; }
}

@media (max-width: 600px) {
    .carousel__slide { flex: 0 0 100%; padding: 8px; }
    .carousel__btn { width: 36px; height: 36px; }
    .carousel__btn img { width: 22px; height: 22px; }
    .carousel__btn--prev { left: -5px; }
    .carousel__btn--next { right: -5px; }
    .screenshots__title { font-size: 26px; margin-bottom: 24px; }
    .screenshots { padding: 30px 10px; }
    .carousel__dots { gap: 8px; margin-top: 16px; }
    .carousel__dot { width: 6px; height: 6px; }
    .carousel__dot.active { width: 18px; }
}

/* ===== СЕКЦИЯ HERO ===== */
.hero-section {
    margin-top: 10rem;
    width: 100%;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-section {
        margin-top: 6.1rem;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        margin-top: 8.1rem;
    }
}

@media (min-width: 1280px) {
    .hero-section {
        margin-top: 10.7rem;
    }
}

/* ===== ВЕРХНЯЯ ЧАСТЬ ===== */
.hero-top {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-top {
        flex-direction: row;
    }
}

/* Левая часть с заголовком */
.hero-title-block {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title-block {
        min-width: 25.625rem; /* 410px */
        max-width: 25.625rem;
        justify-content: center;
        margin-right: 0.313rem;
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .hero-title-block {
        min-width: 31.625rem;
        max-width: 31.625rem;
    }
}

@media (min-width: 1280px) {
    .hero-title-block {
        min-width: 41.625rem;
        max-width: 41.625rem;
    }
}

@media (min-width: 1536px) {
    .hero-title-block {
        min-width: 47.625rem;
        max-width: 47.625rem;
        margin-right: 0.75rem;
    }
}

@media (min-width: 1920px) {
    .hero-title-block {
        min-width: 62.75rem;
        max-width: 62.75rem;
    }
}

.hero-title {
    font-size: 4.774rem; /* ~76px */
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5.874rem;
        margin-bottom: 0;
        position: absolute;
        bottom: 0.483rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 7.674rem;
        bottom: 0.383rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 8.874rem;
        bottom: 0;
    }
}

@media (min-width: 1920px) {
    .hero-title {
        font-size: 11.688rem;
        bottom: 1.063rem;
    }
}

.hero-servers-block {
    display: flex;
    align-items: flex-end;
    gap: 0.625rem;
    padding-left: 0.313rem;
    padding-top: 0.563rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-servers-block {
        gap: 0.5rem;
        padding-left: 0;
        padding-top: 0;
        position: absolute;
        bottom: 1.609rem;
        left: 8.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-servers-block {
        bottom: 1.809rem;
    }
}

@media (min-width: 1280px) {
    .hero-servers-block {
        bottom: 2.309rem;
        left: 0;
        gap: 1.125rem;
    }
}

@media (min-width: 1920px) {
    .hero-servers-block {
        bottom: 3.938rem;
        left: 21.5rem;
    }
}

.servers-icon {
    height: 1.688rem; /* 27px */
    width: 9.750rem; /* 156px */
    color: #ffffff;
}

@media (min-width: 768px) {
    .servers-icon {
        height: 1.250rem;
        width: 7.500rem;
    }
}

@media (min-width: 1280px) {
    .servers-icon {
        height: 3.125rem;
        width: 18.313rem;
    }
}

.server-name {
    font-size: 1.616rem;
    font-weight: 300;
    line-height: 1;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .server-name {
        font-size: 1.238rem;
    }
}

@media (min-width: 1280px) {
    .server-name {
        font-size: 3.029rem;
    }
}

/* ===== БЛОК ВИДЕО ===== */
.video-block {
    position: relative;
    display: flex;
    height: 40vw;
    max-height: 19.03rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

@media (min-width: 768px) {
    .video-block {
        height: 22vw;
    }
}

@media (min-width: 1920px) {
    .video-block {
        max-height: 27rem;
    }
}

.video-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease-out;
}

.video-block:hover .video-image {
    filter: grayscale(0);
}

.play-icon {
    position: absolute;
    width: 4.25rem;
    height: 4.25rem;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.video-block:hover .play-icon {
    transform: scale(1.2);
    opacity: 0.4;
}

@media (min-width: 768px) {
    .play-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (min-width: 1280px) {
    .play-icon {
        width: 4.25rem;
        height: 4.25rem;
    }
    .video-block:hover .play-icon {
        transform: scale(1.6);
    }
}

/* ===== НИЖНЯЯ ЧАСТЬ ===== */
.hero-bottom {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .hero-bottom {
        margin-top: 0;
        margin-bottom: 2.536rem;
    }
}

/* Блок с кубиками (скрыт на мобильных) */
.cubes-block {
    display: none;
    position: relative;
    margin-right: 0.313rem;
    height: 14.595rem;
    min-width: 25.625rem;
    max-width: 25.625rem;
    background-color: #2a2a2b;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cubes-block {
        display: flex;
    }
}

.cubes-hover-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cubes-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.cubes-hover-container:hover .cubes-img {
    filter: grayscale(0);
}

@media (min-width: 768px) {
    .cubes-block {
        display: flex;
        height: 14.595rem;
        min-width: 25.625rem;
        max-width: 25.625rem;
    }
}

@media (min-width: 1024px) {
    .cubes-block {
        aspect-ratio: 16/9;
        height: auto;
        min-width: 31.625rem;
        max-width: 31.625rem;
    }
}

@media (min-width: 1280px) {
    .cubes-block {
        min-width: 41.625rem;
        max-width: 41.625rem;
    }
}

@media (min-width: 1536px) {
    .cubes-block {
        margin-right: 0.75rem;
        min-width: 47.625rem;
        max-width: 47.625rem;
    }
}

@media (min-width: 1920px) {
    .cubes-block {
        min-width: 62.75rem;
        max-width: 62.75rem;
    }
}

.cubes-placeholder {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #3a3a3b 0px,
        #3a3a3b 20px,
        #2a2a2b 20px,
        #2a2a2b 40px
    );
    border-radius: 4px;
}

.cubes-hover-simple {
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero-bg-gray.png');
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.cubes-hover-simple:hover {
    background-image: url('assets/images/hero-bg-color.png');
    filter: brightness(1.1); /* Дополнительный эффект осветления */
}

/* Основной контент справа */
.hero-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content {
        position: relative;
        border-left: 1px solid #3a3a3b;
    }
}

/* Верхняя строка: Кнопка "Как играть" + Онлайн */
.hero-stats-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid #3a3a3b;
}

@media (min-width: 1920px) {
    .hero-stats-row {
        border-bottom: 1px solid #3a3a3b;
    }
}

.how-to-play-btn-wrapper {
    display: flex;
    height: 100%;
    width: 34%;
    border: 1px solid #3a3a3b;
    border-left: 0;
    border-top: 0;
    padding: 0.5rem 0.5rem 0.5rem 0;
}

@media (min-width: 640px) {
    .how-to-play-btn-wrapper {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .how-to-play-btn-wrapper {
        padding: 0.5rem 0.5rem 0.5rem 0.5rem;
        width: 34%;
    }
}

@media (min-width: 1536px) {
    .how-to-play-btn-wrapper {
        padding: 1rem;
    }
}

@media (min-width: 1920px) {
    .how-to-play-btn-wrapper {
        width: 30%;
        border-bottom: 0;
    }
}

.how-to-play-btn {
    font-family: 'Gotham', 'Montserrat', sans-serif;
    position: relative;
    display: flex;
    height: 7rem; /* 112px */
    width: 100%;
    align-items: center;
    background-color: #f71e1e;
    padding: 0.75rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    color: #ffffff;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease-out, color 0.3s ease-out, font-size 0.3s ease-out;
}

/* ===== ТЕКСТ КНОПКИ ===== */
.btn-text {
    display: block;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    line-height: inherit;
    color: inherit;
    margin-bottom: 100px;
    transition: font-size 0.3s ease-out, color 0.3s ease-out;
}

.how-to-play-btn:hover .btn-text {
    font-size: 0.875rem;
    color: #f71e1e;
}

@media (min-width: 1536px) {
    .how-to-play-btn:hover .btn-text {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .how-to-play-btn {
        height: 6.5rem;
    }
}

@media (max-width: 767px) {
    .btn-text {
        margin-bottom: 50px;
    }
    
    .how-to-play-btn {
        align-items: flex-end;
    }
}

@media (max-width: 1536px) {
    .btn-text {
        margin-bottom: 50px;
    }
    
    .how-to-play-btn {
        align-items: flex-end;
    }
}

@media (min-width: 1536px) {
    .how-to-play-btn {
        height: 11.5rem;
        padding: 1.25rem;
        font-size: 1.5rem;
    }
}

@media (min-width: 1920px) {
    .how-to-play-btn {
        height: 14.5rem;
        font-size: 1.5rem;
    }
}

.how-to-play-btn:hover {
    background-color: #3a3a3b;
    color: #f71e1e;
    font-size: 0.875rem;
}

@media (min-width: 1536px) {
    .how-to-play-btn:hover {
        font-size: 1.25rem;
    }
}

.arrow-icon {
    position: absolute;
    bottom: 0.563rem;
    right: 0.563rem;
    width: 1.875rem;
    height: 1.875rem;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.how-to-play-btn:hover .arrow-icon {
    transform: scale(1.4);
}

@media (min-width: 1536px) {
    .arrow-icon {
        width: 3.125rem;
        height: 3.125rem;
    }
    .how-to-play-btn:hover .arrow-icon {
        transform: scale(2);
    }
}

/* Онлайн статистика */
.online-stats {
    font-family: 'Gotham', 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 0 0 1.188rem;
}

@media (min-width: 768px) {
    .online-stats {
        padding: 0.625rem 0 0 2.75rem;
    }
}

@media (min-width: 1024px) {
    .online-stats {
        padding: 0.625rem 0 0 1.688rem;
    }
}

@media (min-width: 1536px) {
    .online-stats {
        padding: 1.438rem 0 0 1.688rem;
    }
}

@media (min-width: 1920px) {
    .online-stats {
        padding: 0 0 0 1.688rem;
        border-left: 1px solid #3a3a3b;
        margin-left: 12.3rem;
    }
}

.online-stats-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.125rem;
}

@media (min-width: 768px) {
    .online-stats-inner {
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .online-stats-inner {
        gap: 1rem;
    }
}

@media (min-width: 1536px) {
    .online-stats-inner {
        gap: 1.75rem;
    }
}

.online-label {
    font-size: 0.822rem;
    font-weight: 300;
    line-height: 0.836;
}

@media (min-width: 1024px) {
    .online-label {
        font-size: 1.313rem;
    }
}

.online-count {
    font-size: 2.935rem;
    font-weight: 900;
    line-height: 0.836;
}

@media (min-width: 1024px) {
    .online-count {
        font-size: 4.188rem;
    }
}

@media (min-width: 1920px) {
    .online-count {
        font-size: 4.688rem;
    }
}

/* Строка "Скачать лаунчер" */
.hero-download-row {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: -1px;
}

.download-btn-wrapper {
    display: flex;
    width: calc(66% + 1px);
    border: 1px solid #3a3a3b;
    border-top: 0;
    border-right: 0;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

@media (min-width: 768px) {
    .download-btn-wrapper {
        border-bottom: 1px solid #3a3a3b;
        border-right: 1px solid #3a3a3b;
        padding: 0.5rem;
        width: calc(50% + 1px);
    }
}

@media (min-width: 1536px) {
    .download-btn-wrapper {
        padding: 1rem;
    }
}

@media (min-width: 1920px) {
    .download-btn-wrapper {
        width: 50%;
    }
}

.download-btn {
    position: relative;
    display: flex;
    height: 7rem;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #f71e1e;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease-out, color 0.3s ease-out, font-size 0.3s ease-out;
}

@media (min-width: 768px) {
    .download-btn {
        height: 5.94rem;
        padding: 0.75rem;
    }
}

@media (min-width: 1536px) {
    .download-btn {
        height: 6rem;
        padding: 1.25rem;
        font-size: 1.5rem;
    }
}

@media (min-width: 1920px) {
    .download-btn {
        height: 9rem;
    }
}

.download-btn:hover {
    background-color: #3a3a3b;
    color: #f71e1e;
    font-size: 0.875rem;
}

@media (min-width: 1536px) {
    .download-btn:hover {
        font-size: 1.25rem;
    }
}

.download-icon {
    position: absolute;
    bottom: 0.75rem;
    right: 0.5rem;
    width: 3.75rem;
    height: 3.75rem;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.download-btn:hover .download-icon {
    transform: scale(1.4);
}

@media (min-width: 768px) {
    .download-icon {
        width: 3.25rem;
        height: 3.25rem;
    }
}

@media (min-width: 1920px) {
    .download-icon {
        width: 5rem;
        height: 5rem;
    }
}

/* ===== СОЦИАЛЬНЫЕ СЕТИ ===== */
.social-block {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: 0.5rem;
    margin-top: 1.313rem;
}

@media (min-width: 768px) {
    .social-block {
        position: absolute;
        bottom: -2.536rem;
        right: 0;
        margin-right: 0;
    }
}

@media (min-width: 1024px) {
    .social-block {
        position: relative;
        bottom: 0;
        margin-left: 1.188rem;
        margin-right: auto;
        margin-top: 1.313rem;
    }
}

@media (min-width: 1280px) {
    .social-block {
        position: absolute;
        bottom: 0;
        left: 0;
        gap: 1.125rem;
    }
}

.social-title {
    font-family: 'Gotham', 'Montserrat', sans-serif;
    display: none;
    font-size: 1.313rem;
    font-weight: 100;
    line-height: 1;
}

@media (min-width: 1280px) {
    .social-title {
        display: inline-flex;
    }
}

.social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem; /* Уменьшено с 1.663rem */
    height: 2.5625rem;
    width: 100%;
}

@media (min-width: 768px) {
    .social-icons {
        gap: 0.9rem; /* Уменьшено с 1.75rem */
        height: auto;
    }
}

@media (min-width: 1280px) {
    .social-icons {
        gap: 1.2rem; /* Уменьшено с 2.604rem */
        height: 2.5625rem;
    }
}

.social-link {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    transition: color 0.3s ease-out;
    color: #fff;
}

@media (min-width: 768px) {
    .social-link {
        width: 1.1rem; /* Уменьшено с 1.375rem */
        height: 1.1rem; /* Уменьшено с 1.375rem */
    }
}

@media (min-width: 1280px) {
    .social-link {
        width: 1.5rem; /* Уменьшено с 2.063rem */
        height: 1.5rem; /* Уменьшено с 2.063rem */
    }
}

.social-link:hover {
    color: #f71e1e;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease-out;
}

.social-link:hover img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(72%) saturate(4220%) hue-rotate(349deg) brightness(102%) contrast(101%);
}

/* ===== АДАПТИВ ДЛЯ ОЧЕНЬ БОЛЬШИХ ЭКРАНОВ ===== */
@media (min-width: 1921px) {
    .hero-section {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

/* ===== СЕКЦИЯ "ЧТО ТАКОЕ ROLEPLAY" ===== */
.roleplay-section {
    font-family: 'Gotham', 'Montserrat', sans-serif;
    margin-bottom: 6.563rem;
    margin-top: 5.813rem;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 0 1rem;
    color: #ffffff;
}

@media (min-width: 640px) {
    .roleplay-section {
        margin-bottom: 8rem;
        margin-top: 6.313rem;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1536px) {
    .roleplay-section {
        margin-bottom: 12.75rem;
        margin-top: 12.75rem;
    }
}

.roleplay-wrapper {
    display: flex;
    width: 100%;
    max-width: 122.14rem;
    flex-direction: column;
    align-items: flex-start;
}

/* ===== ЗАГОЛОВОК ===== */
.roleplay-title {
    font-family: 'Unbounded', 'Gotham', sans-serif;
    font-size: 1.806rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 3rem;
    color: #ffffff;
}

@media (min-width: 640px) {
    .roleplay-title {
        font-size: 2.65rem;
    }
}

@media (min-width: 768px) {
    .roleplay-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1536px) {
    .roleplay-title {
        font-size: 6.431rem;
    }
}

@media (min-width: 1920px) {
    .roleplay-title {
        font-size: 6rem;
    }
}

/* ===== КОНТЕНТ ===== */
.roleplay-content {
    display: flex;
    width: 100%;
    flex-direction: column;
}

@media (min-width: 768px) {
    .roleplay-content {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* ===== ЛЕВАЯ ЧАСТЬ С КАРТИНКОЙ ===== */
.roleplay-image-block {
    position: relative;
    display: flex;
    flex-direction: column;
}

.roleplay-image-wrapper {
    position: relative;
    display: flex;
    height: 5.375rem;
    width: 12.063rem;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    margin-left: -1.5rem;
    padding-left: 1.5rem;
}

@media (min-width: 640px) {
    .roleplay-image-wrapper {
        height: 10.375rem;
        width: 20.2rem;
    }
}

@media (min-width: 768px) {
    .roleplay-image-wrapper {
        height: 27.750rem;
        width: 26.938rem;
        min-width: 26.938rem;
    }
}

@media (min-width: 1536px) {
    .roleplay-image-wrapper {
        height: 35.875rem;
        min-width: 38.938rem;
    }
}

@media (min-width: 1920px) {
    .roleplay-image-wrapper {
        margin-left: -5.875rem;
        height: 46.875rem;
        min-width: 67.375rem;
        padding-left: 5.875rem;
    }
}

.roleplay-image-container {
    position: absolute;
    z-index: -1;
    height: 5.375rem;
    width: 12.063rem;
    object-fit: cover;
    margin-left: -1.5rem;
}

@media (min-width: 640px) {
    .roleplay-image-container {
        height: 10.375rem;
        width: 20.2rem;
    }
}

@media (min-width: 768px) {
    .roleplay-image-container {
        height: 27.750rem;
        width: 26.938rem;
        min-width: 26.938rem;
    }
}

@media (min-width: 1536px) {
    .roleplay-image-container {
        height: 35.875rem;
        min-width: 38.938rem;
    }
}

@media (min-width: 1920px) {
    .roleplay-image-container {
        margin-left: -5.875rem;
        height: 46.875rem;
        min-width: 67.375rem;
    }
}

.roleplay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== ПРАВАЯ ЧАСТЬ С ТЕКСТОМ ===== */
.roleplay-text-block {
    margin-top: 2.125rem;
    display: flex;
    width: 100%;
    flex-direction: column;
}

@media (min-width: 768px) {
    .roleplay-text-block {
        margin-top: auto;
        margin-left: 0.75rem;
        margin-right: -1.5rem;
        width: 100%;
        border: 1px solid #3a3a3b;
        border-right: 0;
        padding: 1.125rem 1.5rem 1.25rem 1.25rem;
    }
}

@media (min-width: 1920px) {
    .roleplay-text-block {
        position: relative;
        margin-left: 2rem;
        border-top: 0;
        border-bottom: 0;
        padding: 2.813rem 0 2.813rem 2.813rem;
    }
}

/* Текст для мобильных */
.roleplay-text-mobile {
    margin-bottom: 3.438rem;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .roleplay-text-mobile {
        display: none;
    }
}

/* Текст для десктопа */
.roleplay-text-desktop {
    display: none;
    margin-bottom: 1.375rem;
    font-size: 0.875rem;
    font-weight: 100;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .roleplay-text-desktop {
        display: block;
    }
}

@media (min-width: 1536px) {
    .roleplay-text-desktop {
        font-size: 1rem;
    }
}

@media (min-width: 1920px) {
    .roleplay-text-desktop {
        margin-bottom: 1.563rem;
        font-size: 1.125rem;
    }
}

.roleplay-text-bold {
    font-weight: 600;
}

/* Подпись с вопросиком */
.roleplay-text-italic {
    display: none;
    margin-bottom: 1.375rem;
    font-size: 0.875rem;
    font-weight: 100;
    line-height: 1.3;
    opacity: 0.5;
}

@media (min-width: 1280px) {
    .roleplay-text-italic {
        display: inline-flex;
    }
}

@media (min-width: 1536px) {
    .roleplay-text-italic {
        font-size: 1rem;
    }
}

@media (min-width: 1920px) {
    .roleplay-text-italic {
        margin-bottom: 2.813rem;
        font-size: 1.125rem;
    }
}

/* ===== КНОПКА "УЗНАТЬ БОЛЬШЕ" ===== */
.roleplay-wiki-btn {
    position: relative;
    display: flex;
    height: 4.25rem;
    width: 80%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #f71e1e;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.roleplay-wiki-btn:hover {
    background-color: #3a3a3b;
    color: #f71e1e;
}

@media (min-width: 768px) {
    .roleplay-wiki-btn {
        height: 2.75rem;
        gap: 1rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 1536px) {
    .roleplay-wiki-btn {
        height: 4.188rem;
        font-size: 1.125rem;
    }
}

.roleplay-arrow {
    width: 1.875rem;
    height: 1.875rem;
    transition: transform 0.3s ease;
}

.roleplay-wiki-btn:hover .roleplay-arrow {
    transform: scale(0.7);
}

@media (min-width: 768px) {
    .roleplay-arrow {
        width: 0.75rem;
        height: 0.75rem;
    }
    .roleplay-wiki-btn:hover .roleplay-arrow {
        transform: scale(0.9);
    }
}

@media (min-width: 1536px) {
    .roleplay-arrow {
        position: absolute;
        right: 1.625rem;
        width: 1.75rem;
        height: 1.75rem;
        transform-origin: bottom right;
    }
    .roleplay-wiki-btn:hover .roleplay-arrow {
        transform: scale(0.7);
    }
}

.how-to-play-section {
    padding: 4rem 1rem;
    color: #ffffff;
    max-width: 122.14rem;
    margin: 0 auto;
}

.how-to-play-container {
    width: 100%;
}

.how-to-play-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
}

.how-to-play-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-block {
    border-bottom: 1px solid #3a3a3b;
    padding-bottom: 2rem;
}

.step-block-center {
    text-align: center;
}

.step-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.step-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 1rem;
}

.step-subtext {
    font-size: 0.875rem;
    font-weight: 300;
    color: #888;
    margin-bottom: 1rem;
}

.step-btn {
    background: #f71e1e;
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-btn:hover {
    background: #3a3a3b;
    color: #f71e1e;
}

.step-btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Cервера */

.servers-section {
    padding: 4rem 1rem;
    color: #ffffff;
    max-width: 122.14rem;
    margin: 0 auto;
    margin-top: -100px;
    margin-bottom: 100px;
}

.servers-container {
    width: 100%;
}

.servers-title {
    font-family: 'Unbounded', 'Gotham', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .servers-title {
        font-size: 2.813rem;
    }
}

.servers-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
}

@media (min-width: 1536px) {
    .servers-subtitle {
        font-size: 1.25rem;
    }
}

.servers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #3a3a3b;
}

@media (min-width: 640px) {
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 700px) {
    .servers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .servers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1920px) {
    .servers-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===== КАРТОЧКА СЕРВЕРА ===== */
.server-card {
    position: relative;
    min-height: 11rem;
    border: 1px solid #3a3a3b;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #1d1d1e;
}

.server-card:hover {
    background: #2a2a2b;
}

.server-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.server-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(100%);
    transform: scale(1.25);
    transition: all 0.3s ease;
}

.server-card:hover .server-bg-img {
    opacity: 0.4;
    filter: grayscale(0);
    transform: scale(1);
}

.server-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
}

@media (min-width: 1536px) {
    .server-content {
        padding: 1.5rem;
    }
}

.server-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.188rem;
    font-weight: 200;
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .server-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 1536px) {
    .server-header {
        font-size: 1.75rem;
        margin-bottom: 0.563rem;
    }
}

.server-number {
    display: none;
}

@media (min-width: 640px) {
    .server-number {
        display: block;
    }
}

.server-emoji {
    font-size: 1.188rem;
}

@media (min-width: 1536px) {
    .server-emoji {
        font-size: 1.75rem;
    }
}

.server-copy {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.688rem;
    height: 1.75rem;
    color: #4A4A4B;
    transition: color 0.3s ease;
}

@media (min-width: 640px) {
    .server-copy {
        width: 1.125rem;
        height: 1.188rem;
        top: 1rem;
        right: 1rem;
    }
}

@media (min-width: 1536px) {
    .server-copy {
        width: 1.688rem;
        height: 1.75rem;
        top: 1.5rem;
        right: 1.5rem;
    }
}

.server-card:hover .server-copy {
    color: #f71e1e;
}

.server-name {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.625rem;
    color: #ffffff;
}

@media (min-width: 640px) {
    .server-name {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1536px) {
    .server-name {
        font-size: 1.688rem;
        margin-bottom: 2rem;
    }
}

.server-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 0;
    background: #f71e1e;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    text-transform: uppercase;
    z-index: 2;
}

@media (min-width: 1536px) {
    .server-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* ===== СЕКЦИЯ "ИГРАЙ И СМОТРИ" ===== */
.watch-section {
    padding: 4rem 1rem;
    color: #ffffff;
    max-width: 122.14rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .watch-section {
        padding: 5rem 1.5rem;
    }
}

.watch-container {
    width: 100%;
}

.watch-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .watch-content {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
}

/* ===== ЛЕВАЯ ЧАСТЬ С ТЕКСТОМ ===== */
.watch-text {
    flex: 1;
}

.watch-title {
    font-family: 'Unbounded', 'Gotham', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .watch-title {
        font-size: 2rem;
    }
}

@media (min-width: 1536px) {
    .watch-title {
        font-size: 2.813rem;
    }
}

.watch-description {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 2rem;
}

@media (min-width: 1536px) {
    .watch-description {
        font-size: 1.25rem;
    }
}

/* ===== КНОПКА ===== */
.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #f71e1e;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.watch-btn:hover {
    color: #4b4b4b;
}

.watch-arrow {
    width: 0.875rem;
    height: 0.875rem;
    transition: all 0.3s ease;
}

.watch-btn:hover .watch-arrow {
    transform: translateX(4px) rotate(-45deg);
    color: #ffffff;
}

/* ===== ПРАВАЯ ЧАСТЬ С КАРТИНКОЙ ===== */
.watch-image-block {
    flex: 1;
    width: 100%;
}

@media (min-width: 768px) {
    .watch-image-block {
        max-width: 50%;
    }
}

.watch-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Соотношение 16:9 */
    overflow: hidden;
}

.watch-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #3a3a3b;
    overflow: hidden;
    background: #2a2a2b;
    transition: border-color 0.3s ease;
}

.watch-image-container:hover {
    border-color: #f71e1e;
}

.watch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transform: scale(1.05);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.watch-image-container:hover .watch-img {
    filter: grayscale(0);
    transform: scale(1);
}

/* ===== ОВЕРЛЕЙ НА ВСЮ СТРАНИЦУ ===== */
.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== ВЫЕЗЖАЮЩАЯ ПАНЕЛЬ ===== */
.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #121212;
    border-radius: 20px 20px 0 0;
    transition: bottom 0.3s ease;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-sheet.open {
    bottom: 0;
}