/* ============================================================ */
/* БАЗОВЫЕ НАСТРОЙКИ                                            */
/* ============================================================ */
:root {
    --bg-main: #090714;
    --bg-card: #13111c;
    --bg-panel: #0f0d1a;
    --accent-purple: #7b2cbf;
    --accent-purple-hover: #9d4edd;
    --accent-yellow: #ffcc00;
    --accent-blue: #0088cc;
    --text-main: #ffffff;
    --text-muted: #8b8a94;
    --border-color: rgba(255, 255, 255, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================ */
/* ШАПКА (HEADER)                                               */
/* ============================================================ */
.header {
    background: #090714;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo img { height: 28px; }

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
}

.nav__link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav__link.active {
    background: rgb(123 44 191 / 50%);
    border-color: rgba(123, 44, 191, 0.4);
    color: #fff;
    box-shadow: 0 0 15px rgba(123, 44, 191, 0.2);
}

.nav__link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.online-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #a0a0a0;
    border: 1px solid rgba(255,255,255,0.05);
}

.online-pill .dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
}

.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #a0a0a0;
    border: 1px solid rgba(255,255,255,0.05);
    user-select: none;
}
    
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #13111c;
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.2s;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
    
.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
    
.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #fff;
    font-size: 13px;
    transition: background 0.2s;
}
    
.lang-dropdown a:hover {
    background: rgba(123, 44, 191, 0.2);
}

.balance-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.05);
}

.balance-pill svg {
    width: 16px;
    height: 16px;
    color: var(--accent-yellow);
}

.btn-deposit {
    background: var(--accent-yellow);
    color: #000;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-deposit:hover { transform: scale(1.05); }

.icon-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    color: #a0a0a0;
    border: 1px solid rgba(255,255,255,0.05);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #333;
    border: 2px solid var(--accent-purple);
    object-fit: cover;
}

.nav__dropdown { position: relative; }
    
.nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #13111c;
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.2s;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
    
.nav__dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
    
.nav__dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
    
.nav__dropdown-menu a:hover {
    background: rgba(123, 44, 191, 0.2);
    color: var(--accent-purple-hover);
}

/* ============================================================ */
/* ОСНОВНОЙ КОНТЕЙНЕР (СЕТКА)                                   */
/* ============================================================ */
.container {
    max-width: 1600px;
    margin: 24px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* ЖЕЛЕЗНОЕ ПРАВИЛО: запрещает Grid-колонкам раздуваться от картинок */
.container > * { min-width: 0; }

/* ============================================================ */
/* ЛЕВАЯ КОЛОНКА (ТОП СКИНЫ)                                    */
/* ============================================================ */
.sidebar-left {
   /* background: var(--bg-panel);*/
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 100px); 
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.sidebar-title svg { color: var(--accent-purple); }

.live-badge {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 4px;
}
.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 6px #ef4444;
}

.top-skins-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    overflow-y: auto; 
    scrollbar-width: none; 
    flex: 1; 
}

.top-skins-list::-webkit-scrollbar { display: none; }

.skin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #181522;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
    position: relative;
    overflow: hidden;
}

.skin-item:hover { background: #211c30; }

.skin-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--item-color, #22c55e);
    box-shadow: 0 0 10px var(--item-color, #22c55e);
}

.skin-item__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0; /* КЛЮЧЕВОЕ: разрешает тексту сжиматься внутри флекс-контейнера */
    flex: 1;      /* Занимает всё свободное место */
    overflow: hidden; /* Обрезает всё лишнее */
}

.skin-item__img {
    width: 50px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0; /* КЛЮЧЕВОЕ: картинка никогда не сжимается и не выпихивает текст */
}

.skin-item__info {
    display: flex;
    flex-direction: column;
}

.skin-item__name {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.2;
}
    
.skin-item__sub {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
}

.skin-item__price {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    margin-top: 2px;
}

.skin-item__right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
}

.btn-all-skins {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #a0a0a0;
    transition: all 0.2s;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.05);
}

.btn-all-skins:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* ============================================================ */
/* ЦЕНТРАЛЬНАЯ КОЛОНКА                                          */
/* ============================================================ */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    width: 100%;
}

/* ============================================================ */
/* БАННЕР ПРОМОКОДА (КАК НА 2 СКРИНЕ)                           */
/* ============================================================ */

.promo-banner {
    /* Градиентный фон с фиолетовым оттенком */
    background: linear-gradient(90deg, #1c1030 0%, #2d154a 100%);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(123, 44, 191, 0.3);
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.15);
    min-height: 72px;
}

/* Левая часть: иконка + текст */
.promo-banner__left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0; /* Не сжимается */
}

/* Иконка подарка */
.promo-banner__icon {
    width: 48px;
    height: 48px;
    background: rgba(123, 44, 191, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px; /* Размер эмодзи */
    line-height: 1;
    border: 1px solid rgba(123, 44, 191, 0.35);
    box-shadow: 0 4px 12px rgba(123, 44, 191, 0.15) inset;
}

/* Текст */
.promo-banner__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-banner__text h4 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.promo-banner__text p {
    font-size: 13px;
    color: #a0a0b0;
    margin: 0;
    line-height: 1.3;
}

/* Форма справа */
.promo-banner__form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 500px;
    margin-left: auto; /* Прижимаем к правому краю */
    min-width: 0;
}

/* Поле ввода */
.promo-banner__form input {
    flex: 1;
    min-width: 0;
    background: #120d1c; /* Тёмный фон, как на 2 скрине */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 44px;
}

.promo-banner__form input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.promo-banner__form input:focus {
    border-color: var(--accent-purple-hover);
    box-shadow: 0 0 10px rgba(123, 44, 191, 0.3);
}

/* Кнопка "Активировать" */
.promo-banner__form button {
    background: linear-gradient(90deg, #7b2cbf 0%, #9d4edd 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 28px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s;
    white-space: nowrap;
    height: 44px;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
    text-transform: none;
    letter-spacing: 0;
}

.promo-banner__form button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* ============================================================ */
/* СЛАЙДЕР (ФИКС: картинка внутри, слайды не съезжают)         */
/* ============================================================ */
.hero-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;          /* обрезаем всё за скруглениями */
    width: 100%;
    max-width: 100%;
    height: 420px;
    background-color: #120d1c;
    isolation: isolate;        /* изолированный stacking context */
}

.hero-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;          /* ключевой фикс — трек тоже обрезает */
}

.hero-slider__slide {
    position: absolute;
    inset: 0;                  /* top/right/bottom/left: 0 — надёжнее 4 свойств */
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    display: block;
    padding: 0;
    z-index: 1;
    overflow: hidden;          /* слайд не выпустит картинку */
    transform: none !important; /* запрет JS двигать слайд */
    will-change: opacity;      /* плавность без дёрганья */
}

.hero-slider__slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Картинка строго внутри слайда */
.hero-slider__slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    display: block;
    max-width: 100%;
}

/* Затемнение */
.hero-slider__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 7, 20, 0.95) 0%, rgba(9, 7, 20, 0.6) 40%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Контент */
.hero-banner__content {
    position: relative;
    z-index: 3;
    max-width: 550px;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-break: break-word;
    box-sizing: border-box;
}

/* Точки и стрелки */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-arrows {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-banner__title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #fff;
    font-style: italic;
}
.hero-banner__title span {
    display: block;
    color: var(--accent-purple-hover);
    font-style: italic;
    font-size: 34px;
}
.hero-banner__desc {
    font-size: 16px;
    color: #d1d5db;
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 400px;
}
.hero-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-purple);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.4);
    position: relative;
    z-index: 3;
    width: fit-content;
}
.hero-banner__btn:hover {
    background: var(--accent-purple-hover);
    transform: translateY(-2px);
}
/* ============================================================ */
/* КАРТОЧКА СКИНА (ГРАДИЕНТ КАК НА 2 СКРИНЕ)                    */
/* ============================================================ */

.skin-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #181522;
    padding: 10px 12px 10px 10px;
    border-radius: 8px;
    transition: background 0.2s;
    overflow: hidden;
    gap: 10px;
    
    /* Яркая чёткая линия слева */
    border-left: 3px solid var(--item-color, #22c55e);
}
.skin-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%; /* до середины */
    
    /* Ключевой момент: используем transparent, а не rgba(24,21,34,0) */
    background: linear-gradient(
        90deg, 
        var(--item-color, #22c55e) 0%, 
        transparent 100%
    );
    
    opacity: 0.35; 
    z-index: 1;
    pointer-events: none;
    
    /* Убираем возможные артефакты рендеринга */
    -webkit-mask-image: linear-gradient(90deg, black 0%, transparent 100%);
    mask-image: linear-gradient(90deg, black 0%, transparent 100%);
}

/* Лёгкая подсветка при наведении */
.skin-item:hover {
    background: #211c30;
}

/* Контент поверх градиента */
.skin-item__left,
.skin-item__right {
    position: relative;
    z-index: 2;
}

/* Контент должен быть поверх градиента */
.skin-item__left,
.skin-item__right {
    position: relative;
    z-index: 2;
}
/* Контейнер с текстом (название, подпись, цена) */
.skin-item__info {
    display: flex;
    flex-direction: column;
    /* КЛЮЧЕВОЕ: разрешает тексту сжиматься внутри flex-контейнера */
    min-width: 0; 
    /* Занимает всё свободное место, но не больше */
    flex: 1;      
    /* Отступы, чтобы текст не прилипал к правой части (процентам) */
    padding-right: 8px; 
    overflow: hidden; /* Обрезает то, что не влезло */
}

/* Само название (например, "Raider Leather Armor") */
.skin-item__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    
    /* МАГИЯ ОБРЕЗКИ: */
    white-space: nowrap;      /* Запрещаем переносить текст на новую строку */
    overflow: hidden;         /* Скрываем всё, что вылезло за границы */
    text-overflow: ellipsis;  /* Добавляем "..." в конце */
    display: block;           /* Обязательно для работы text-overflow */
    max-width: 100%;          /* Не даём растянуться шире контейнера */
}

/* Подпись (например, "Ястреб" или "Поле битвы") */
.skin-item__sub {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
    
    /* Тоже обрезаем, если слишком длинное */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

/* Цена */
.skin-item__price {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    margin-top: 2px;
    white-space: nowrap; /* Цену лучше не переносить */
}

.skin-item__right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
    flex-shrink: 0; /* Запрещаем сжимать правую часть */
    white-space: nowrap;
}

/* ============================================================ */
/* ИСПРАВЛЕНИЕ ПРАВОЙ КОЛОНКИ (TELEGRAM)                        */
/* ============================================================ */
.tg-banner {
    position: relative;
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    /* Фон оставляем, он будет виден, если картинка не загрузится */
    background: linear-gradient(135deg, #0e1726 0%, #1a2c47 100%);
    border: 1px solid rgba(0, 136, 204, 0.3);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Твой новый фон для Telegram */
.tg-banner__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6; /* Чуть приглушим, чтобы текст читался */
    pointer-events: none;
}

/* Убираем старую эмодзи-ракету */
.tg-banner::before {
    display: none; 
}

.tg-banner__content {
    position: relative;
    z-index: 2;
}
.tg-banner h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
}
.tg-banner h3 span { color: #00bfff; }
.tg-banner p {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 16px;
    line-height: 1.5;
}
.tg-banner__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0088cc;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}
.tg-banner__btn:hover {
    background: #0099e6;
    transform: translateY(-2px);
}

/* ============================================================ */
/* СТИЛИ ПРОМОКОДА (ШРИФТЫ)                                     */
/* ============================================================ */
.promo-banner__form input {
    flex: 1;
    min-width: 0;
    background: #0b0914;
    border: 1px solid rgba(123, 44, 191, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px; /* Чуть разряженный шрифт для кода */
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.promo-banner__form input::placeholder {
    color: #6b7280;
    font-weight: 400;
    letter-spacing: normal;
}
.promo-banner__form input:focus { 
    border-color: var(--accent-purple-hover);
    box-shadow: 0 0 10px rgba(123, 44, 191, 0.2);
}

.promo-banner__form button {
    background: linear-gradient(90deg, #7b2cbf, #9d4edd); /* Градиент для кнопки */
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 24px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
}
.promo-banner__form button:hover { 
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.hero-arrows {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-arrow:hover { background: rgba(255,255,255,0.2); }

.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ============================================================ */
/* ПРАВАЯ КОЛОНКА (Сайдбар)                                     */
/* ============================================================ */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tg-banner {
    position: relative;
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #0e1726 0%, #1a2c47 100%);
    border: 1px solid rgba(0, 136, 204, 0.3);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tg-banner::before {
    content: '🚀';
    position: absolute;
    right: -10px;
    top: 20px;
    font-size: 100px;
    opacity: 0.15;
    transform: rotate(15deg);
    z-index: 0;
    filter: drop-shadow(0 0 20px #0088cc);
}

.tg-banner__content {
    position: relative;
    z-index: 2;
}
.tg-banner h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
}
.tg-banner h3 span { color: #00bfff; }
.tg-banner p {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 16px;
    line-height: 1.5;
}
.tg-banner__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0088cc;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}
.tg-banner__btn:hover {
    background: #0099e6;
    transform: translateY(-2px);
}

.free-case-banner {
    background: linear-gradient(135deg, #1f0b38 0%, #11051f 100%);
    border: 1px solid rgba(123, 44, 191, 0.4);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.1) inset;
}

.free-case-chest {
    position: absolute;
    right: -10px;
    top: 40px;
    font-size: 90px;
    opacity: 0.9;
    transform: rotate(-10deg);
    filter: drop-shadow(0 0 20px #9d4edd);
    z-index: 1;
}

.free-case-banner h3 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 4px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    color: #fff;
}
.free-case-banner p {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    max-width: 150px;
}

.timer {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.timer__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(123, 44, 191, 0.4);
    box-shadow: 0 0 10px rgba(123, 44, 191, 0.2) inset;
    min-width: 55px;
}
.timer__value {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.timer__label {
    font-size: 9px;
    color: #a0a0a0;
    text-transform: uppercase;
    font-weight: 600;
}

.free-case-banner__btn {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #7b2cbf, #9d4edd);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.5);
}
.free-case-banner__btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* ============================================================ */
/* СЕКЦИЯ ВСЕХ КЕЙСОВ                                           */
/* ============================================================ */
.cases-section {
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 24px;
    width: 100%;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.case-item {
    background: var(--bg-panel);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
}

.case-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
}

.case-item img {
    width: 100%;
    max-width: 180px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
}

.case-item__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.case-item__price {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-yellow);
}

/* ============================================================ */
/* АДАПТИВНОСТЬ                                                 */
/* ============================================================ */
@media (max-width: 1300px) {
    .container {
        grid-template-columns: 240px 1fr;
    }
    .sidebar-right {
        grid-column: span 2;
        flex-direction: row;
    }
    .tg-banner, .free-case-banner {
        flex: 1;
    }
}

@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
    }
    .sidebar-left {
        display: none;
    }
    .sidebar-right {
        grid-column: span 1;
        flex-direction: column;
    }
    .nav, .header__right .lang-selector, .header__right .balance-pill, .header__right .btn-deposit, .header__right .online-pill { display: none; }
    .promo-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .promo-banner__form { width: 100%; max-width: 100%; margin-left: 0; }
    .hero-slider { height: 350px; }
    .hero-slider__slide { padding: 30px; }
    .hero-banner__title { font-size: 32px; }
    .hero-banner__title span { font-size: 28px; }
    .hero-dots { left: 30px; }
}

/* ============================================================ */
/* ФУТЕР И МОДАЛКИ                                              */
/* ============================================================ */
.footer { display: block !important; position: relative !important; z-index: 10 !important; clear: both; margin-top: 40px; padding: 30px 20px 20px; background: #0d0f1a; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.page { position: relative; z-index: 1; }
.page__bg { z-index: 0 !important; }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 9999; }
.modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #14172a; padding: 30px; border-radius: 16px; z-index: 10000; width: 100%; max-width: 400px; border: 1px solid rgba(124, 92, 255, 0.3); }
.modal .close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.modal .title { font-size: 20px; font-weight: 700; margin-bottom: 20px; text-align: center; }
.modal input { width: 100%; padding: 12px 16px; margin-bottom: 12px; background: #0e1020; border: 1px solid rgba(124, 92, 255, 0.3); border-radius: 8px; color: #fff; }
.modal .button--pay { width: 100%; padding: 12px; background: #7C5CFF; border: none; border-radius: 8px; color: #fff; font-weight: 700; cursor: pointer; }
.modal .socials { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.modal .socials a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.modal .subtitle { text-align: center; font-size: 12px; color: #a0a0a0; margin-top: 20px; }
.hidden { display: none !important; }
.error-auth { background: rgba(255,0,0,0.1); color: #ff4444; padding: 10px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; display: none; }

/* ============================================================ */
/* ZD-СЛАЙДЕР — ПОЛНОСТЬЮ ИЗОЛИРОВАННЫЕ КЛАССЫ                  */
/* Не пересекается с hero-slider, slick, owl, swiper             */
/* ============================================================ */

.zd-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 420px;
    border-radius: 16px;
    background: #120d1c;
    /* ЖЁСТКАЯ изоляция: всё, что выходит за пределы — обрезается */
    overflow: hidden !important;
    isolation: isolate;
    contain: layout paint style;
    /* Блокируем любые трансформации от сторонних плагинов */
    transform: none !important;
}

.zd-slider__viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    contain: layout paint;
}

.zd-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Никаких transform от плагинов */
    transform: none !important;
}

/* --- СЛАЙД --- */
.zd-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease-in-out, visibility 0.55s ease-in-out;
    /* Гарантированный сброс */
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    contain: layout paint;
    z-index: 1;
}

.zd-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* --- ФОНОВАЯ КАРТИНКА --- */
.zd-slide__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.zd-slide__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* --- ЗАТЕМНЕНИЕ --- */
.zd-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(9, 7, 20, 0.95) 0%,
        rgba(9, 7, 20, 0.65) 40%,
        rgba(9, 7, 20, 0) 100%
    );
    pointer-events: none;
}

/* --- КОНТЕНТ --- */
.zd-slide__content {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    max-width: 580px;
    height: 100%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-break: break-word;
    transform: none !important;
}

.zd-slide__title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    color: #fff;
    font-style: italic;
}

.zd-slide__title span {
    display: block;
    font-size: 34px;
    color: #9d4edd;
    font-style: italic;
}

.zd-slide__desc {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.5;
    max-width: 420px;
    margin: 0 0 28px 0;
}

.zd-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    background: linear-gradient(90deg, #7b2cbf, #9d4edd);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(123, 44, 191, 0.45);
    transition: transform 0.2s, filter 0.2s;
    position: relative;
    z-index: 3;
}

.zd-slide__btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* --- ТОЧКИ --- */
.zd-dots {
    position: absolute;
    bottom: 26px;
    left: 50px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.zd-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.zd-dot.is-active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* --- СТРЕЛКИ --- */
.zd-arrow {
    position: absolute;
    bottom: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.zd-arrow:hover { background: rgba(255, 255, 255, 0.22); }

.zd-arrow--prev { right: 70px; }
.zd-arrow--next { right: 20px; }

/* --- АДАПТИВ --- */
@media (max-width: 992px) {
    .zd-slider { height: 360px; }
    .zd-slide__content { padding: 32px; max-width: 100%; }
    .zd-slide__title { font-size: 30px; }
    .zd-slide__title span { font-size: 24px; }
    .zd-slide__desc { font-size: 14px; margin-bottom: 20px; }
    .zd-dots { left: 32px; bottom: 22px; }
    .zd-arrow { width: 36px; height: 36px; }
    .zd-arrow--prev { right: 62px; }
    .zd-arrow--next { right: 16px; }
}

@media (max-width: 576px) {
    .zd-slider { height: 320px; }
    .zd-slide__content { padding: 24px; }
    .zd-slide__title { font-size: 24px; }
    .zd-slide__title span { font-size: 18px; }
    .zd-slide__desc { display: none; }
    .zd-dots { left: 24px; }
}