/* ==========================================
   MOON ECLIPSE - GameStores Design
   Темная тема с лунными акцентами
   Совместимость с системой GameStores
   ========================================== */

:root {
    /* Цвета из Moon Eclipse фона - темно-синяя ночь */
    --moon-dark-blue: #1a1f2e;
    --moon-night-blue: #232b3d;
    --moon-sky-blue: #2d3a52;
    --moon-light-blue: #3d4f6b;
    
    /* Лунное свечение - голубовато-белое */
    --moon-glow: #a8c5dd;
    --moon-glow-bright: #d4e3f0;
    --moon-glow-dim: rgba(168, 197, 221, 0.3);
    
    /* Огненные акценты - оранжевые/теплые */
    --fire-orange: #ff7742;
    --fire-bright: #ff9f5a;
    --fire-glow: rgba(255, 119, 66, 0.4);
    --fire-dim: rgba(255, 119, 66, 0.2);
    
    /* Основные акцентные цвета */
    --accent-color-800: #ff7742;
    --accent-color-900: rgba(255, 119, 66, 0.4);
    --accent-color-light: #ff9f5a;
    --accent-color-glow: rgba(255, 119, 66, 0.5);
    
    /* Цвета текста */
    --font-color-700: #d4e3f0;
    --font-color-800: rgba(212, 227, 240, .7);
    --font-color-900: #6b7a8f;
    
    /* Фоновые цвета - темные синие тона */
    --bg-color-800: #1a1f2e;
    --bg-color-700: #232b3d;
    --bg-color-900: #141824;
    --bg-dark: #0d1117;
    --product-items-trans-bg-color: rgba(26, 31, 46, .6);
    
    /* Размеры */
    --default-font-size: 14px;
    --safe-padding: 15px;
    
    /* Card система */
    --background-color: rgba(26, 31, 46, 0.5);
    --text-color: #8b9aaf;
    --card-background-color: rgba(35, 43, 61, .3);
    --card-border-color: rgba(168, 197, 221, 0.15);
    --card-tile-color: rgba(255, 119, 66, 0.2);
    --card-hover-icon-color: #ff9f5a;
    --card-hover-icon-background-color: rgba(255, 119, 66, 0.15);
    --card-hover-icon-border-color: rgba(255, 119, 66, 0.3);
}

/* ==========================================
   БАЗОВЫЕ СТИЛИ
   ========================================== */

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

body {
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    background-color: #0d1117;
    background-image: linear-gradient(to bottom, #0d1117 0%, #1a1f2e 50%, #232b3d 100%);
    color: var(--font-color-800);
    font-weight: 400;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    font-size: var(--default-font-size);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body::after {
    content: " ";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .4;
    background: 
        radial-gradient(circle at 50% 20%, rgba(168, 197, 221, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 60%, rgba(45, 58, 82, 0.3) 0%, transparent 50%);
}

.container {
    padding: 0 var(--safe-padding);
    margin: 0 auto;
    max-width: 1400px;
}

/* ==========================================
   HEADER / НАВИГАЦИЯ
   ========================================== */

.Header-module__wrapper {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(35, 43, 61, 0.8) 100%);
    backdrop-filter: blur(10px);
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 0 15px;
    min-height: 60px;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 15px;
    border: 1px solid rgba(168, 197, 221, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.Header-module__logo {
    width: 182px;
    padding: unset;
    height: 65px;
    background-repeat: no-repeat;
    /* Уменьшаем само фоновое изображение логотипа до 1/4 прежнего размера */
    background-size: auto 25% !important;
    background-position: left center;
    color: transparent !important;
    display: flex;
    align-items: center;
    position: relative;
    text-transform: none;
    transition: all 0.3s ease;
}

/* На случай, если логотип выводится изображением внутри блока */
.Header-module__logo img {
    width: 25% !important;
    height: 25% !important;
    object-fit: contain;
    object-position: left center;
}

.Header-module__logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(168, 197, 221, 0.6));
}

/* ==========================================
   SWIPER / КАРУСЕЛЬ
   ========================================== */

swiper-container {
    width: 100%;
    height: 200px;
    top: 75px;
    padding-right: 8px;
    border-radius: 25px;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0px;
    z-index: 1;
    display: block;
    border-radius: 25px;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 50%;
    height: 50%;
    object-fit: contain;
    transform-origin: center center;
    color: #7c7c7c;
}

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
    display: inline-block;
    border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
    background: #7c7c7c;
    opacity: var(--swiper-pagination-bullet-inactive-opacity, .2);
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.Banner-module__img {
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 15px;
    width: 100%;
    transition: transform 0.3s ease;
}

.Banner-module__img:hover {
    transform: scale(1.02);
}

/* ==========================================
   КАТЕГОРИИ / ФИЛЬТРЫ
   ========================================== */

.store-categories {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.Categories-module__categories {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin: -5px;
    font-size: 13px;
}

.Categories-module__category {
    border-radius: 10px;
    border: #313131 solid 1px;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    padding: .4rem 1rem;
    transition: all .2s ease-in-out;
    color: #fff;
    background: #333;
    border-color: transparent;
    outline: none !important;
    margin: 5px;
}

.Categories-module__category:hover {
    transform: scale(0.95);
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .2);
}

.Categories-module__category.Categories-module__active {
    border-radius: 10px;
    transform: scale(0.95);
    color: #fff;
    border: none;
    font-weight: 600;
    background: linear-gradient(135deg, #ff7742, #ff9f5a);
    box-shadow: 0 0 20px rgba(255, 119, 66, 0.5);
}

.Categories-module__category.Categories-module__active:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #ff9f5a, #ffb876);
    box-shadow: 0 0 25px rgba(255, 159, 90, 0.7);
}

.store-categories .btn {
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all .2s ease-in-out;
    border: none !important;
}

.store-categories .btn.active {
    color: #fff;
    border: none;
    transform: scale(1);
    font-weight: 400;
    background: #dc14c2c7;
}

.btn.btn-secondary {
    background-color: #1c1c1c;
    color: white;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    padding: .4rem 1rem;
    border: none;
    transition: all 0.2s ease-out;
}

.btn.btn-secondary:hover {
    box-shadow: none;
    color: white;
}

/* ==========================================
   ТОВАРЫ / PRODUCTS
   ========================================== */

.Products-module__wrapper {
    margin-top: 15px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

/* Карточка товара: не накрываем изображение сплошным светлым фоном */
.Product-module__wrapper {
    object-fit: contain;
    padding: 8%;
    width: 100%;
    height: 100%;
    /* Без градиента на фоне карточки */
    background: rgba(26, 31, 46, 0.18);
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 197, 221, 0.1);
}

.Product-module__wrapper:hover {
    transform: scale(1.05);
    background: rgba(45, 58, 82, 0.35);
    box-shadow: 0 0 30px rgba(168, 197, 221, 0.3), 0 8px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(168, 197, 221, 0.3);
}

.Product-module__wrapper:hover .Product-module__name {
    opacity: 1;
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.85);
}

.Product-module__name {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--font-color-700);
    font-size: 12px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(10px);
}

.Product-module__wrapper:hover .Product-module__name {
    opacity: 1;
    transform: translateY(0);
}

.Product-module__price {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 6px 12px;
    border-radius: 0 0 14px 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    font-size: 11px;
    /* Собственный градиент ценника; фон карточки не меняет */
    background: linear-gradient(135deg, rgba(168, 197, 221, 0.9), rgba(212, 227, 240, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(168, 197, 221, 0.3);
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3;
    letter-spacing: 0.5px;
}

.Product-module__discount {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 11px;
    background: linear-gradient(135deg, rgba(255, 119, 66, 0.9), rgba(255, 159, 90, 0.95));
    backdrop-filter: blur(5px);
    padding: 4px 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 8px rgba(255, 119, 66, 0.4);
    z-index: 2;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================
   XBOX / ВИДЖЕТЫ
   ========================================== */

.xbox {
    position: relative;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}

.xbox__header {
    background: linear-gradient(135deg, rgba(35, 43, 61, 0.9), rgba(45, 58, 82, 0.8));
    padding: 15px;
    border-radius: 15px 15px 0px 0px;
    border-top: solid 2px rgba(168, 197, 221, 0.2);
    border-left: solid 2px rgba(168, 197, 221, 0.2);
    border-right: solid 2px rgba(168, 197, 221, 0.2);
}

.xbox__body {
    padding: 10px;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9), rgba(35, 43, 61, 0.8));
    border-radius: 0px 0px 15px 15px;
    border-bottom: solid 2px rgba(168, 197, 221, 0.2);
    border-left: solid 2px rgba(168, 197, 221, 0.2);
    border-right: solid 2px rgba(168, 197, 221, 0.2);
}

.xbox__body .input-group-addon {
    background: rgba(35, 43, 61, 0.8);
}

h4 {
    font-size: 17px;
    font-weight: 400;
}

.boxHeader {
    background: linear-gradient(135deg, rgba(35, 43, 61, 0.9), rgba(45, 58, 82, 0.8));
    padding: 15px;
    border-radius: 15px 15px 0px 0px;
    border-top: solid 2px rgba(168, 197, 221, 0.2);
    border-left: solid 2px rgba(168, 197, 221, 0.2);
    border-right: solid 2px rgba(168, 197, 221, 0.2);
    justify-content: center;
    text-align: center;
}

.boxBody {
    padding: 15px;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9), rgba(35, 43, 61, 0.8));
    border-radius: 0px 0px 0px 0px;
    border-left: solid 2px rgba(168, 197, 221, 0.15);
    border-right: solid 2px rgba(168, 197, 221, 0.15);
}

.boxFooter {
    background: linear-gradient(135deg, rgba(35, 43, 61, 0.9), rgba(45, 58, 82, 0.8));
    border-radius: 0px 0px 15px 15px;
    border-bottom: solid 2px rgba(168, 197, 221, 0.2);
    border-left: solid 2px rgba(168, 197, 221, 0.2);
    border-right: solid 2px rgba(168, 197, 221, 0.2);
}

/* ==========================================
   СОЦИАЛЬНЫЕ ВИДЖЕТЫ
   ========================================== */

.Widgets-module__wrapper {
    margin-right: 0px;
    margin-left: 10px;
}

.social-box {
    text-align: center;
    display: grid;
    line-height: 2rem;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.vkontakte {
    background: #2c3547;
    border: 2px solid #3c4861;
    box-shadow: 0 10px 20px 0 rgba(0, 98, 255, 0.15);
    border-radius: 15px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
    padding: 5px 0px 2px 0px;
    transition: 0.3s;
    cursor: pointer;
}

.vkontakte:hover {
    background: #202735;
    transform: scale(1.05);
}

.telegram {
    background: #2c3e47;
    border: 2px solid #3c5661;
    box-shadow: 0 10px 20px 0 rgba(0, 200, 255, 0.15);
    border-radius: 15px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
    padding: 5px 0px 2px 0px;
    transition: 0.3s;
    cursor: pointer;
}

.telegram:hover {
    background: #203035;
    transform: scale(1.05);
}

.youtube {
    background: #472c2c;
    border: 2px solid #613c3c;
    box-shadow: 0 10px 20px 0 rgba(255, 0, 0, 0.15);
    border-radius: 15px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
    padding: 5px 0px 2px 0px;
    transition: 0.3s;
    cursor: pointer;
}

.youtube:hover {
    background: #352020;
    transform: scale(1.05);
}

.discord-b {
    background-color: rgba(39, 39, 39, .75);
    border-radius: 0px 15px 15px 0px;
    font-size: 17px;
    color: #fff;
    width: 130px;
    height: 66px;
    display: block;
    line-height: 64px;
    position: absolute;
    left: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    background-origin: content-box;
    cursor: pointer;
    transition: 0.5s;
}

.discord-b:hover {
    transform: scale(1.1);
    background-color: rgba(39, 39, 39, .75);
    text-decoration: none !important;
    box-shadow: 0 5px 0 #dc6648;
}

.vk-b {
    background-color: rgba(39, 39, 39, .75);
    border-radius: 15px 0px 0px 15px;
    color: #fff;
    width: 130px;
    height: 66px;
    display: block;
    line-height: 64px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    background-origin: content-box;
    cursor: pointer;
    transition: 0.5s;
}

.vk-b:hover {
    transform: scale(1.1);
    background-color: rgba(39, 39, 39, .75);
    text-decoration: none !important;
    box-shadow: 0 5px 0 #48a4dc;
}

/* ==========================================
   КНОПКИ
   ========================================== */

.Button-module__btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.Button-module__btn.Button-module__gray {
    color: var(--font-color-800);
    background-color: #373737;
    border-color: #494949;
    border-radius: 10px;
}

.Button-module__btn.Button-module__gray:hover,
.Button-module__btn.Button-module__gray:focus {
    background-color: #434343;
    transform: scale(0.95);
}

.Button-module__btn.Button-module__accent {
    color: var(--font-color-700);
    background: linear-gradient(135deg, #ff7742, #ff9f5a);
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 119, 66, 0.4);
}

.Button-module__btn.Button-module__accent:hover,
.Button-module__btn.Button-module__accent:focus {
    background: linear-gradient(135deg, #ff9f5a, #ffb876);
    box-shadow: 0 6px 20px rgba(255, 159, 90, 0.6);
    transform: translateY(-2px);
}

/* ==========================================
   НАБОРЫ / KIT ITEMS
   ========================================== */

.kit-items {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.kit-item {
    margin: 8px;
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, rgba(35, 43, 61, 0.5) 0%, rgba(255, 119, 66, 0.2) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 200ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: 1px solid rgba(255, 119, 66, 0.3);
}

.kit-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 119, 66, 0.5);
    border-color: rgba(255, 159, 90, 0.6);
}

.kit-item__image {
    width: 100%;
    transform: scale(0.7);
}

.kit-item__quantity {
    top: -20px;
    position: relative;
    border-radius: 0px 0px 15px 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
}

.KitContent-module__containsItem {
    margin: -8px 2px 8px;
    position: relative;
    background: linear-gradient(135deg, rgba(35, 43, 61, 0.8), rgba(45, 58, 82, 0.6));
    border-radius: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(168, 197, 221, 0.2);
}

.KitContent-module__containsItem:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0px 10px 25px rgba(255, 119, 66, 0.3);
    border-color: rgba(255, 119, 66, 0.4);
}

.KitContent-module__itemName {
    background: #fff0;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
    text-shadow: 0 0 4px rgb(0 0 0 / 40%);
    text-overflow: ellipsis;
    padding: 8px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    color: var(--font-color-800);
    font-size: 15px;
    overflow: hidden;
    white-space: nowrap;
}

.KitContent-module__itemCount {
    right: 10px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 4px 6px;
    background-color: rgb(0 0 0 / 0%);
    color: rgba(255, 255, 255, .7) !important;
    text-align: end;
}

/* ==========================================
   МОДАЛЬНЫЕ ОКНА
   ========================================== */

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    outline: 0;
    overflow: hidden;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translateY(-25%);
}

.modal.show .modal-dialog {
    transform: translate(0);
}

.modal.fade.show {
    display: block;
    opacity: 1;
    backdrop-filter: blur(5px);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.show {
    opacity: .5;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 30px auto;
    max-width: 500px;
}

.modal-dialog.modal-lg {
    max-width: 900px;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgba(41, 41, 41, 0.8);
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 15px;
    outline: 0;
}

.modal.fade.show .modal-dialog.modal-lg .modal-content {
    background: rgba(41, 41, 41, 0.8);
    color: white;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: none;
    border: none;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #bbb;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 15px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px;
    background: none;
}

.ModalLayout-module__modal {
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
}

/* ==========================================
   ОПИСАНИЕ ТОВАРОВ
   ========================================== */

.productModalDescription {
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
    background-color: var(--bg-color-700);
    border-radius: 10px;
    border: dashed 1px #424242;
}

.productModalContainsItem {
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    border-radius: 10px;
    background-color: #28282800;
    padding: 10px;
    position: relative;
    display: flex;
    align-items: center;
}

.productModalProductAvailability {
    color: #f3be32;
    text-align: center;
    font-weight: 500;
    font-size: 12px;
}

.productModalGiveText {
    margin: 10px;
    color: #dc14cd40;
    display: block;
    text-align: center;
    font-weight: 500;
}

/* ==========================================
   РУЛЕТКА / ROULETTE
   ========================================== */

.RouletteContent-module__lineWrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.95), rgba(35, 43, 61, 0.9));
    display: flex;
    height: 290px;
    align-items: center;
    border-top: 2px solid rgba(168, 197, 221, 0.2);
    border-bottom: 2px solid rgba(168, 197, 221, 0.2);
}

.RouletteContent-module__line {
    margin-left: -360px;
    position: absolute;
    display: flex;
}

.RouletteContent-module__rouletteItem {
    display: inline-block;
    width: 240px;
    text-align: center;
    margin: 0 8px;
    user-select: none;
    background: hsla(0, 0%, 100%, .04);
    border-radius: 2px;
    box-shadow: none;
    background: transparent;
    border: 1px solid;
    border-color: rgba(255, 255, 255, 0);
}

.RouletteContent-module__rouletteItemImg {
    width: 240px;
    height: 240px;
    padding: 25px;
    overflow: hidden;
    border-radius: 35px;
    background: linear-gradient(135deg, rgba(35, 43, 61, 0.8), rgba(45, 58, 82, 0.6));
    transform: scale(0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 119, 66, 0.2);
    border: 1px solid rgba(168, 197, 221, 0.2);
}

.RouletteContent-module__rouletteItemInfo {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.RouletteContent-module__triangle.RouletteContent-module__top {
    content: "";
    position: absolute;
    left: 50%;
    margin: 1px 0 0 -30px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    align-content: center;
    animation-name: bounce-2;
    animation-timing-function: ease;
    border-top: 20px solid #bbb;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    top: 0;
}

.RouletteContent-module__triangle.RouletteContent-module__bottom {
    visibility: hidden;
    bottom: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 24px solid #dc14cd40;
}

.RouletteContent-module__footer {
    border-radius: 0px 0px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================
   ПОИСК
   ========================================== */

.Search-module__wrapper {
    width: 100%;
    display: flex;
    height: 34px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-color-700);
    margin-top: 15px;
}

.Search-module__input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 15px;
    color: var(--font-color-700);
    font-size: 14px;
}

.Search-module__input:focus {
    outline: none;
}

/* ==========================================
   CARD СИСТЕМА (ВИДЖЕТЫ)
   ========================================== */

.card {
    background-color: var(--background-color);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.05), 0px 8px 15px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--card-border-color);
    padding: 10px 10px 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
    transition: box-shadow 0.25s;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background-color: var(--card-background-color);
}

.card .icon {
    z-index: 2;
    position: relative;
    display: table;
    padding: 8px;
}

.card .icon::after {
    content: "";
    position: absolute;
    inset: 1.5px;
    border-radius: 10px;
    background-color: var(--card-icon-background-color);
    border: 1px solid var(--card-icon-border-color);
    backdrop-filter: blur(2px);
    transition: background-color 0.25s, border-color 0.25s;
}

.card .icon svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 24px;
    height: 24px;
    transform: translateZ(0);
    color: var(--card-icon-color);
    transition: color 0.25s;
}

.card h4 {
    z-index: 2;
    position: relative;
    margin: 12px 0 4px 0;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    line-height: 2;
    color: var(--card-label-color);
}

.card p {
    z-index: 2;
    position: relative;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
}

.card .background {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #282828;
}

.card:hover {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.04), 0px 15px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.card:hover .icon::after {
    background-color: #dc14cd14;
}

/* ==========================================
   АДАПТИВНОСТЬ
   ========================================== */

@media (max-width: 768px) {
    .Products-module__wrapper {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .Header-module__wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .Categories-module__categories {
        flex-direction: column;
    }
    
    .modal-dialog {
        margin: 10px;
    }
}

@media (min-width: 992px) {
    .col-sm-4 {
        width: 20%;
    }
}

/* ==========================================
   УТИЛИТЫ
   ========================================== */

.text-center { text-align: center; }
.text-muted { color: var(--font-color-900); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

.info {
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 10px;
}

.info-links {
    font-size: 12px;
    display: grid;
    line-height: 1.8;
}

.info-links a {
    font-size: 12px;
    transition: 0.3s;
    color: var(--font-color-800);
}

.info-links a:hover {
    color: #dc14cd40;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1f2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff7742, #ff9f5a);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff9f5a, #ffb876);
}


/* FIX: закрепляем цену и градиент только в нижней полосе карточки */
.Product-module__wrapper {
    position: relative !important;
    overflow: hidden !important;
    /* Не используем светлый градиент на всей площади карточки */
    background: rgba(26, 31, 46, 0.22) !important;
}

.Product-module__wrapper:hover {
    background: rgba(35, 43, 61, 0.35) !important;
}

.Product-module__wrapper .Product-module__price,
.Product-module__price {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 30px;
    margin: 0 !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
    border-radius: 0 0 14px 14px !important;
    background: linear-gradient(
        to top,
        rgba(168, 197, 221, 0.95) 0%,
        rgba(168, 197, 221, 0.72) 45%,
        rgba(168, 197, 221, 0) 100%
    ) !important;
    box-shadow: none !important;
    z-index: 10 !important;
    text-align: center !important;
}

/* FIX: уменьшение баннера 1130x1130 */
img.Banner-module__img {
    display: block !important;
    width: 280px !important;
    max-width: 280px !important;
    height: 280px !important;
    max-height: 280px !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
    margin: 10px auto !important;
}
/* Яркое уведомление о получении товара */
.productModalGiveText {
    color: #ffb347 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-shadow:
        0 0 3px rgba(255, 179, 71, 0.8),
        0 0 8px rgba(255, 140, 40, 0.6);
    opacity: 1 !important;
}
/* Moon Eclipse — блоки донат-китов */
.donate-kits { color:#f2f2f2; font-family:inherit; }
.donor-tier { margin:18px 0 26px; padding:16px; background:rgba(13,17,23,.92); border:1px solid rgba(255,145,55,.35); border-radius:14px; }
.tier-title { margin:0 0 14px; color:#ffad5a; font-size:24px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; }
.donor-kit { margin:12px 0; padding:12px; background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.08); border-radius:10px; }
.donor-kit h3 { margin:0 0 10px; color:#fff; font-size:17px; }
.kit-items { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.kit-item { min-width:0; min-height:62px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; text-align:center; padding:9px 5px; border:1px solid rgba(255,145,55,.28); border-radius:8px; background:linear-gradient(145deg,rgba(32,36,43,.95),rgba(17,20,26,.95)); }
.kit-item .item-name { color:#e9edf2; font-size:12px; line-height:1.3; overflow-wrap:anywhere; }
.kit-item b { color:#ffad5a; font-size:13px; }
.kit-item small { color:#aeb7c2; font-size:10px; line-height:1.3; }
.tier-fantom .tier-title { color:#ff9b42; }
.tier-dark .tier-title { color:#c0c7d2; }
.tier-shadow .tier-title { color:#b8a0ff; }
.tier-vampire .tier-title { color:#f06b8d; }
@media(max-width:600px) { .kit-items { grid-template-columns:repeat(2,minmax(0,1fr)); } .donor-tier { padding:10px; } }

/* Иконки RustLabs */
.kit-item { position:relative; min-height:118px; padding:10px 6px; }
.kit-item-icon { width:64px; height:64px; object-fit:contain; display:block; margin:0 auto 5px; }
.kit-item b { position:absolute; top:6px; right:7px; padding:2px 5px; border-radius:5px; background:#101318; }