/* ============================================
   MOBILE APP - PURE FROM SCRATCH
   100% НОВЫЙ ДИЗАЙН - КОПИЯ MELLSTROY
   БЕЗ СТАРЫХ СТИЛЕЙ!
   ============================================ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1b0e26;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   ГЛАВНЫЙ КОНТЕЙНЕР
   ============================================ */
.mobile-app {
    width: 100%;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
    padding-bottom: 80px; /* Для bottom navigation */
}

body.view-bonuses .mobile-app {
    display: none !important;
}

body.view-menu {
    background: #140321;
    overflow: hidden !important; /* Блокируем прокрутку фона при открытом меню */
    position: fixed;
    width: 100%;
    height: 100%;
}

body.view-menu #menuBottomSheet {
    display: block !important;
}

body.view-bonuses.view-menu .mobile-app {
    display: block !important;
}

#menuBottomSheet .mobile-header--menu {
    background: #0c0413;
    padding: 16px;
    justify-content: space-between;
}

/* ============================================
   HEADER
   ============================================ */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: center; /* По центру для баланса */
    padding: 12px 16px;
    background: #1b0e26;
    position: absolute; /* Absolute позиционирование */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001; /* Поверх меню и всего остального */
}

/* Desktop Logo & Balance - скрыт на мобильных */
.desktop-logo-balance {
    display: none;
}

/* Во вкладке menu хедер всегда fixed */
body.view-menu .mobile-header {
    position: fixed;
}

.mobile-header__logo {
    flex-shrink: 0;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Glow wrapper for header logo */
.mobile-header__logo .header-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    background: radial-gradient(55% 55% at 50% 50%, rgba(247, 108, 255, 0.12) 0%, rgba(120, 70, 255, 0.08) 55%, rgba(40, 20, 90, 0) 85%);
    animation: header-logo-glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
    filter: blur(0);
    z-index: -1;
}

@keyframes header-logo-glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.45;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 0.7;
    }
}

.mobile-header__logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: -38px 0 -38px -55px;
    filter: drop-shadow(0 10px 18px rgba(138, 82, 255, 0.2)) drop-shadow(0 0 14px rgba(255, 138, 214, 0.28));
}

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

body.view-menu .mobile-header__auth {
    flex: unset;
}

/* Баланс по центру для авторизованных */
.mobile-header .header__user-balance {
    margin: 0 auto;
}

.mobile-header--menu-inline {
    justify-content: center; /* Центрируем баланс */
    align-items: center;
    gap: 16px;
    padding: 16px 0 12px; /* Добавлен отступ сверху */
    width: 100%;
    position: relative;
}

.mobile-header--menu-inline .mobile-header__logo {
    position: absolute !important;
    left: 16px !important; /* В начало слева */
    top: 50% !important; /* Выравниваем по центру хедера */
    transform: translateY(-50%) !important; /* Центрируем вертикально, чтобы был на одном уровне с балансом */
    pointer-events: auto !important;
    margin: 0 !important;
    z-index: 10 !important;
    height: auto !important;
}

.mobile-header--menu-inline .mobile-header__logo img {
    width: 48px !important; /* Правильный маленький размер */
    height: 75px !important;
    margin: 0 !important; /* Убираем все отрицательные отступы */
    filter: drop-shadow(0 10px 18px rgba(138, 82, 255, 0.2)) drop-shadow(0 0 14px rgba(255, 138, 214, 0.28)) !important;
    object-fit: contain !important;
}

/* Уменьшаем плашку баланса в меню */
.mobile-header--menu-inline .header__user-balance {
    transform: scale(0.98) !important; /* Уменьшаем на 2% */
    transform-origin: center !important;
}

/* Уменьшаем плашку баланса во вкладке бонусов */
.mobile-header--bonuses .header__user-balance {
    transform: scale(0.98) !important; /* Уменьшаем на 2% */
    transform-origin: center !important;
}


.btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-mobile--login {
    background: rgba(43, 34, 64, 0.85);
    color: #E7E2FF;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-mobile--login:active {
    background: rgba(53, 44, 74, 0.95);
}

.btn-mobile--register {
    background: #35ec90;
    color: #000000;
    font-weight: 700;
}

.btn-mobile--register:active {
    background: #19b450;
}

.mobile-header__balance {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: rgba(138, 75, 185, 0.3);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
}

/* ============================================
   BANNERS - INSTANT LOAD OPTIMIZED
   ============================================ */
.mobile-banners {
    margin: 8px 0 0 0;
    padding: 0;
    position: relative;
}

.mobile-banners__wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Padding для центрирования баннеров */
    padding-left: 3vw;
    padding-right: 0;
    opacity: 1;
}

/* Псевдоэлемент справа для центрирования последнего баннера */
.mobile-banners__wrapper::after {
    content: '';
    display: block;
    flex-shrink: 0;
    /* Ширина = 3vw (левый padding) + 12px (gap) */
    width: calc(3vw + 12px);
    height: 1px;
}

.mobile-banners__wrapper::-webkit-scrollbar {
    display: none;
}

.mobile-banner {
    flex: 0 0 94vw;
    width: 94vw;
    aspect-ratio: 670 / 448;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: center;
    background: linear-gradient(135deg, #2a1a3a 0%, #1a0a2a 100%);
}

/* ============================================
   DESKTOP ADAPTATION - 3 BANNERS FULL WIDTH (MELLSTROY STYLE)
   ============================================ */
@media (min-width: 768px) {
    .mobile-banners {
        margin: 8px 0 0;
        max-width: 100%;
        padding: 0 20px; /* Такой же padding как у mobile-controls */
        overflow: visible;
    }
    
    .mobile-banners__wrapper {
        gap: 12px;
        padding: 0; /* Убираем внутренние отступы */
        justify-content: flex-start;
        overflow: visible !important;
        scroll-snap-type: none;
        flex-wrap: nowrap;
        display: flex;
        box-sizing: border-box;
        width: 100%; /* На всю ширину контейнера */
    }
    
    .mobile-banners__wrapper::after {
        display: none;
    }
    
    .mobile-banner {
        flex: 0 0 calc((100% - 24px) / 3); /* 3 баннера с учетом gap */
        min-width: 0;
        max-width: calc((100% - 24px) / 3);
        width: calc((100% - 24px) / 3);
        aspect-ratio: 16 / 10.5;
        border-radius: 16px;
        box-sizing: border-box;
    }
    
    /* Скрываем баннеры после 3-го */
    .mobile-banner:nth-child(n+4) {
        display: none !important;
    }
    
    .mobile-banner__text {
        font-size: 14px;
        top: 12px;
        left: 12px;
        line-height: 1.2;
    }
    
    .mobile-banner__btn {
        bottom: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 8px;
    }
    
    /* Скрываем dots на десктопе */
    .mobile-banners__dots {
        display: none;
    }
}

@media (min-width: 1024px) {
    .mobile-banners {
        margin: 8px 0 0;
        padding: 0 20px; /* Такой же padding как у mobile-controls */
    }
    
    .mobile-banners__wrapper {
        gap: 14px;
        padding: 0;
        width: 100%;
    }
    
    .mobile-banner {
        flex: 0 0 calc((100% - 28px) / 3); /* 3 баннера с учетом gap 14px */
        max-width: calc((100% - 28px) / 3);
        width: calc((100% - 28px) / 3);
    }
    
    .mobile-banner__text {
        font-size: 16px;
        top: 16px;
        left: 16px;
    }
    
    .mobile-banner__btn {
        bottom: 16px;
        left: 16px;
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (min-width: 1280px) {
    .mobile-banners {
        margin: 8px 0 0;
        padding: 0 20px; /* Такой же padding как у mobile-controls */
    }
    
    .mobile-banners__wrapper {
        gap: 16px;
        padding: 0;
        width: 100%;
    }
    
    .mobile-banner {
        flex: 0 0 calc((100% - 32px) / 3); /* 3 баннера с учетом gap 16px */
        max-width: calc((100% - 32px) / 3);
        width: calc((100% - 32px) / 3);
        border-radius: 18px;
    }
    
    .mobile-banner__text {
        font-size: 18px;
        top: 18px;
        left: 18px;
    }
    
    .mobile-banner__btn {
        bottom: 18px;
        left: 18px;
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (min-width: 1600px) {
    .mobile-banners {
        padding: 0 20px; /* Такой же padding как у mobile-controls */
    }
    
    .mobile-banners__wrapper {
        gap: 18px;
        padding: 0;
        width: 100%;
    }
    
    .mobile-banner {
        flex: 0 0 calc((100% - 36px) / 3); /* 3 баннера с учетом gap 18px */
        max-width: calc((100% - 36px) / 3);
        width: calc((100% - 36px) / 3);
    }
    
    .mobile-banner__text {
        font-size: 20px;
        top: 20px;
        left: 20px;
    }
    
    .mobile-banner__btn {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 10px;
    }
}


/* ✨ SHIMMER ЭФФЕКТ для баннеров */
.mobile-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 3s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.mobile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
    /* CRITICAL: Hide alt text completely */
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
    /* Мгновенное отображение без transition */
    opacity: 1;
}

/* Glow removed */

.mobile-banner__text {
    position: absolute;
    top: 20px;
    left: 18px;
    color: #fff;
    z-index: 2;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    max-width: 60%;
}

.mobile-banner__btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-banner__btn:active {
    background: rgba(255, 255, 255, 0.18);
}

.mobile-banners__dots {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 12px;
    padding-bottom: 12px;
}

.mobile-banners__dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.mobile-banners__dots .dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* ============================================
   BONUSES PAGE
   ============================================ */
body:not(.view-bonuses) .mobile-bonuses-page {
    display: none;
}

body.view-bonuses .mobile-bonuses-page {
    display: block;
}

.mobile-bonuses-page {
    background: linear-gradient(180deg, #1a0b2e 0%, #16051a 100%);
    padding: 16px 16px 110px;
    display: flex;
    flex-direction: column;
    gap: 24px; /* Красивые отступы между всеми блоками */
}

.mobile-header--bonuses {
    background: #0c0413;
}

.mobile-header--menu {
    background: #0c0413;
    padding: 16px;
    justify-content: space-between;
}

.bonus-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 24px;
    border-radius: 28px;
    background: radial-gradient(120% 120% at 20% 0%, rgba(111, 57, 247, 0.32) 0%, rgba(31, 7, 51, 0.72) 40%, rgba(12, 2, 22, 0.92) 100%);
    overflow: hidden;
}

.bonus-hero__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 1;
}

.bonus-hero__chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bonus-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bonus-hero__chip::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8aec 0%, #9256ff 100%);
    opacity: 0.85;
}

.bonus-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bonus-hero__badge svg {
    stroke: currentColor;
}

.bonus-hero__title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.22;
    color: #ffffff;
    margin: 0;
}

.bonus-hero__subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.bonus-hero__actions {
    display: flex;
    gap: 12px;
}

.bonus-hero__btn {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bonus-hero__btn--primary {
    background: linear-gradient(135deg, #ff8aec 0%, #9256ff 100%);
    color: #0b0216;
    box-shadow: 0 16px 28px rgba(122, 68, 255, 0.36);
}

.bonus-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.bonus-hero__btn:hover {
    transform: translateY(-2px);
}

.bonus-hero__btn:active {
    transform: translateY(0);
}

.bonus-hero__visual {
    position: absolute;
    inset: -10% -10% 35% 50%;
    pointer-events: none;
}

.bonus-hero__visual::after {
    content: "";
    position: absolute;
    inset: auto 12% -40px auto;
    width: 180px;
    height: 180px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 138, 236, 0.42) 0%, rgba(146, 86, 255, 0.24) 100%);
    filter: blur(60px);
    opacity: 0.6;
}

.bonus-hero__orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.65;
}

.bonus-hero__orb--one {
    top: 0;
    right: 10%;
    background: rgba(158, 0, 207, 0.65);
    animation: hero-orb 9s ease-in-out infinite alternate;
}

.bonus-hero__orb--two {
    top: 40%;
    right: -10%;
    background: rgba(39, 148, 255, 0.55);
    animation: hero-orb 12s ease-in-out infinite alternate;
}

.bonus-hero__card {
    position: absolute;
    bottom: -24px;
    right: 6%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px;
    background: rgba(21, 4, 36, 0.82);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(9, 1, 14, 0.62);
    color: #ffffff;
    font-weight: 700;
    text-align: right;
    transform: rotate(-6deg);
}

.bonus-hero__card span {
    font-size: 18px;
}

.bonus-hero__card small {
    font-size: 12px;
    opacity: 0.8;
}

.bonus-section__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.bonus-section__header h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.bonus-section__header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.bonus-section--alt {
    background: linear-gradient(160deg, rgba(146, 86, 255, 0.16) 0%, rgba(21, 7, 38, 0.92) 65%, rgba(12, 2, 22, 0.95) 100%);
    border-radius: 28px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 50px rgba(8, 1, 16, 0.55);
}

.bonus-section--alt .bonus-section__header {
    margin-bottom: 20px;
}

.bonus-section--alt .bonus-section__header h2 {
    font-size: 20px;
}

.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.bonus-card {
    background: rgba(28, 10, 42, 0.85);
    border-radius: 22px;
    padding: 22px 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 36px rgba(7, 0, 18, 0.45);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bonus-card__badge {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 138, 236, 0.18);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bonus-card__badge--purple {
    background: rgba(146, 86, 255, 0.22);
}

.bonus-card__badge--blue {
    background: rgba(80, 184, 255, 0.22);
}

.bonus-card__badge--green {
    background: rgba(74, 232, 173, 0.18);
    color: #0b2f22;
}

.bonus-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.bonus-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.55;
}

.bonus-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.bonus-card ul li {
    padding-left: 18px;
    position: relative;
}

.bonus-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
}

.bonus-card__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bonus-card__footer button {
    align-self: flex-start;
    padding: 10px 20px;
    border-radius: 14px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.bonus-card__footer button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

.bonus-card__note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.bonus-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.bonus-step {
    background: rgba(27, 8, 40, 0.88);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-step__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: rgba(146, 86, 255, 0.2);
    color: #ffffff;
}

.bonus-step h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.bonus-step p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
}

.bonus-support {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.bonus-support__card {
    padding: 22px 20px;
    border-radius: 22px;
    background: rgba(20, 7, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #ffffff;
}

.bonus-support__card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.bonus-support__card p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.74);
}

.bonus-support__card button {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #5affd8 0%, #22b4ff 100%);
    color: #04121f;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 16px 28px rgba(30, 180, 255, 0.32);
}

.bonus-support__card button:hover {
    transform: translateY(-2px);
}

/* Футер теперь виден на странице бонусов */

.bonus-support__card--terms ul {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
}

.bonus-highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.bonus-highlight-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 22px;
    background: radial-gradient(140% 120% at 10% 0%, rgba(255, 138, 236, 0.28) 0%, rgba(18, 5, 29, 0.9) 60%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 32px rgba(9, 0, 17, 0.5);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-highlight-card--blue {
    background: radial-gradient(150% 130% at 15% -20%, rgba(80, 184, 255, 0.32) 0%, rgba(9, 18, 44, 0.9) 60%);
}

.bonus-highlight-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.bonus-highlight-card p,
.bonus-highlight-card ul {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.bonus-highlight-card ul {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bonus-highlight-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -60% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(60px);
}

.bonus-faq {
    background: rgba(15, 5, 25, 0.88);
    border-radius: 26px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(5, 0, 12, 0.5);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-faq__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bonus-faq__item-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: rgba(146, 86, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.bonus-faq__item-content h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.bonus-faq__item-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes hero-orb {
    0% { transform: scale(0.9) translate(0, 0); opacity: 0.55; }
    100% { transform: scale(1.08) translate(12px, -8px); opacity: 0.85; }
}

@media (min-width: 520px) {
    .mobile-bonuses-page {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .bonus-hero {
        padding: 32px 32px 36px;
    }
    
    .bonus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .bonus-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Десктопная адаптация бонусов - минимальные отступы как на главной */
@media (min-width: 768px) {
    .mobile-bonuses-page {
        padding: 0 20px 110px 0 !important; /* Убираем левый padding, чтобы логотип встал на место */
        gap: 0; /* Убираем gap между хедером и контентом */
    }
    
    /* Убираем отрицательные margins у bonuses-list на десктопе */
    .bonuses-list {
        margin: 0 !important; /* Убираем отрицательный margin */
        padding: 0 !important; /* Убираем padding - выравнивание будет через родителя */
        display: grid !important; /* Меняем на grid */
        grid-template-columns: repeat(3, 1fr) !important; /* 3 колонки */
        gap: 16px !important; /* Gap между карточками */
        max-width: 100% !important;
    }
    
    /* Применяем обрезку пустого пространства логотипа в бонусах (как на главной) */
    body.view-bonuses .desktop-logo-balance__logo img {
        margin: -15px 0 -15px -30px !important; /* Обрезаем пустое пространство */
    }
    
    /* Сдвигаем логотип еще левее в секции бонусов */
    body.view-bonuses .desktop-logo-balance__logo {
        left: 12px !important; /* Сдвигаем еще левее */
    }
    
    /* Контент бонусов должен иметь padding слева для выравнивания */
    .mobile-bonuses-page > *:not(.desktop-logo-balance) {
        padding-left: 20px;
        margin-top: -32px; /* Подтягиваем контент еще выше к хедеру */
    }
    
    /* Делаем надпись "Bonus" крупнее и очень жирной на десктопе */
    body.view-bonuses .bonus-hero__title {
        font-size: 48px !important; /* Увеличиваем размер значительно */
        font-weight: 900 !important; /* Максимальная жирность */
        letter-spacing: -0.02em !important; /* Немного сжимаем для лучшего вида */
        line-height: 1.2 !important; /* Контролируем высоту строки */
    }
    
    .bonus-hero {
        padding: 28px 24px;
        margin-top: 0; /* Убираем верхний отступ */
    }
    
    .bonus-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 колонки как на Mellstroy */
        gap: 12px; /* Уменьшаем gap между карточками */
    }
    
    .bonus-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
    
    .bonus-support {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    
    .bonus-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    
    /* Уменьшаем отступы у секций */
    .bonus-section--alt {
        padding: 20px 18px;
    }
    
    .bonus-card {
        padding: 16px; /* Нормальный padding */
        border-radius: 18px;
        display: grid; /* Используем Grid вместо Flexbox */
        grid-template-columns: 1fr 45%; /* Левая колонка для контента, правая для изображения */
        grid-template-rows: auto auto 1fr; /* Строки: info, button, spacer */
        gap: 10px 12px; /* Вертикальный и горизонтальный gap */
        min-height: 180px;
        max-height: 200px;
        width: 100%;
        position: relative;
        overflow: visible;
        align-items: start; /* Выравниваем элементы по верху */
    }
    
    /* Таймер в правом верхнем углу */
    .bonus-card__timer {
        position: absolute;
        top: 12px;
        right: 12px;
        margin: 0;
        z-index: 3;
    }
    
    .bonus-card__timer-label {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
    
    /* Контент слева вверху */
    .bonus-card__info {
        grid-column: 1; /* Левая колонка */
        grid-row: 1; /* Первая строка */
        display: flex;
        flex-direction: column;
        gap: 6px; /* Gap между заголовком и описанием */
        z-index: 2;
        align-self: start; /* Прижимаем к верху */
    }
    
    /* Кнопка под контентом (под title и description) */
    .bonus-card__button {
        grid-column: 1; /* Левая колонка */
        grid-row: 2; /* Вторая строка (сразу под info) */
        align-self: start; /* Прижимаем к верху своей ячейки */
        padding: 10px 20px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        z-index: 2;
        background: rgba(255, 255, 255, 0.95) !important; /* Белый фон */
        color: #000 !important; /* Черный текст */
        border: none !important;
        border-radius: 12px !important;
        cursor: pointer;
        transition: all 0.2s ease;
        width: fit-content; /* Ширина по содержимому */
        min-width: 120px; /* Минимальная ширина */
    }
    
    .bonus-card__button:hover {
        background: rgba(255, 255, 255, 1) !important;
        transform: translateY(-1px);
    }
    
    /* Изображение справа на всю высоту */
    .bonus-card__image {
        grid-column: 2; /* Правая колонка */
        grid-row: 1 / -1; /* Все строки (от первой до последней) */
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 1;
        align-self: end; /* Прижимаем к низу */
        display: flex;
        align-items: flex-end; /* Выравниваем содержимое по низу */
        justify-content: center;
        margin-right: -8px; /* Немного выходит за край */
        margin-bottom: -8px; /* Убираем gap снизу */
    }
    
    .bonus-card__image img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: bottom center; /* Выравниваем изображение по низу */
    }
    
    /* Заголовок - крупный и жирный */
    .bonus-card h3,
    .bonus-card__title {
        font-size: 22px !important; /* Увеличиваем */
        font-weight: 700 !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        color: #fff !important;
    }
    
    /* Описание - мелкое и серое */
    .bonus-card p,
    .bonus-card__description {
        font-size: 13px !important; /* Увеличиваем с 11px */
        line-height: 1.4 !important;
        margin: 0 !important; /* Убираем margin-bottom */
        color: rgba(255, 255, 255, 0.75) !important; /* Светло-серый */
    }
    
    .bonus-card__badge {
        padding: 4px 10px !important;
        font-size: 10px !important;
    }
}
    
    .bonus-support {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bonus-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .bonus-hero__actions {
        flex-direction: column;
    }

    .bonus-hero__visual {
        display: none;
    }

    .bonus-support__card button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   BONUSES PAGE (refresh)
   ============================================ */
body.view-bonuses {
    background: #1b0e26; /* Такой же фон как на главной странице */
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow-x: hidden;
}

/* Для iOS - заполняем весь экран */
html:has(body.view-bonuses) {
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background: #1b0e26;
}

/* Футер теперь виден на странице бонусов */

.mobile-bonuses-page {
    background: linear-gradient(180deg, #1a0b2e 0%, #16051a 100%);
    padding: 16px 16px 110px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bonus-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
}

.bonus-header__back {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.bonus-header__back:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
}

.bonus-header__logo img {
    height: 28px;
}

.bonus-header__balance {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #ffffff;
}

.bonus-header__balance-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.58);
}

.bonus-header__balance-value {
    font-size: 16px;
    font-weight: 700;
}

.bonus-header__wallet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #ff8aec 0%, #9256ff 100%);
    color: #130225;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 16px 28px rgba(120, 70, 255, 0.4);
}

.bonus-header__wallet:hover {
    transform: translateY(-2px);
}

.bonus-header__wallet span {
    display: inline-block;
}

.bonus-tags {
    display: flex;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    scrollbar-width: none;
}

.bonus-tags::-webkit-scrollbar {
    display: none;
}

.bonus-tags__item {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
}

.bonus-tags__item--accent {
    background: linear-gradient(135deg, rgba(111, 57, 247, 0.45) 0%, rgba(255, 138, 236, 0.35) 100%);
    color: #15042a;
}

.bonus-hero-new {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px 24px;
    border-radius: 28px;
    background: radial-gradient(120% 120% at 20% 0%, rgba(111, 57, 247, 0.36) 0%, rgba(31, 7, 51, 0.82) 45%, rgba(12, 2, 22, 0.96) 100%);
    box-shadow: 0 26px 48px rgba(6, 0, 15, 0.55);
    overflow: hidden;
    margin-bottom: 0; /* Отступы управляются через gap родителя */
}

.bonus-hero-new__copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.bonus-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
}

.bonus-tag svg {
    stroke: currentColor;
}

.bonus-hero-new__copy h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.bonus-hero-new__copy p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.bonus-hero-new__actions {
    display: flex;
    gap: 12px;
}

.bonus-main-btn,
.bonus-ghost-btn {
    flex: 1;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bonus-main-btn {
    border: none;
    background: linear-gradient(135deg, #ff8aec 0%, #9256ff 100%);
    color: #0b0216;
    box-shadow: 0 16px 28px rgba(122, 68, 255, 0.36);
}

.bonus-ghost-btn {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.bonus-main-btn:hover,
.bonus-ghost-btn:hover {
    transform: translateY(-2px);
}

.bonus-main-btn:active,
.bonus-ghost-btn:active {
    transform: translateY(0);
}

.bonus-hero-new__visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.bonus-hero-new__card {
    align-self: flex-end;
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 1, 37, 0.92);
    box-shadow: 0 24px 42px rgba(6, 0, 15, 0.55);
    transform: rotate(-5deg);
    color: #ffffff;
    font-weight: 700;
    text-align: right;
}

.bonus-hero-new__card span {
    display: block;
    font-size: 18px;
}

.bonus-hero-new__card small {
    font-size: 12px;
    opacity: 0.8;
}

.bonus-hero-new__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bonus-hero-new__chips button {
    padding: 10px 14px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.18s ease;
}

.bonus-hero-new__chips button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.bonus-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 0; /* Отступы управляются через gap родителя */
}

.bonus-card-new {
    border-radius: 22px;
    padding: 26px 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(26, 8, 40, 0.9);
    box-shadow: 0 22px 42px rgba(4, 0, 12, 0.5);
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #ffffff;
}

.bonus-card-new__label {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
}

.bonus-card-new--welcome .bonus-card-new__label {
    background: rgba(255, 138, 236, 0.28);
}

.bonus-card-new--tournament .bonus-card-new__label {
    background: rgba(146, 86, 255, 0.28);
}

.bonus-card-new--exchange .bonus-card-new__label {
    background: rgba(103, 216, 255, 0.28);
}

.bonus-card-new--cashback .bonus-card-new__label {
    background: rgba(74, 232, 173, 0.28);
}

.bonus-card-new h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.bonus-card-new p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.bonus-card-new ul {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.bonus-card-new footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bonus-card-new footer button {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.bonus-card-new footer button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

.bonus-card-new footer span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.bonus-steps-new {
    border-radius: 26px;
    padding: 24px 20px;
    background: rgba(18, 7, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 24px 42px rgba(3, 0, 10, 0.52);
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #ffffff;
    margin-bottom: 0; /* Отступы управляются через gap родителя */
}

.bonus-steps-new__head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.bonus-steps-new__head p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
}

.bonus-steps-new__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.bonus-steps-new__item {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(28, 12, 44, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bonus-steps-new__item span {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(146, 86, 255, 0.28);
    color: #ffffff;
    font-weight: 700;
}

.bonus-steps-new__item h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.bonus-steps-new__item p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.bonus-extras {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0; /* Отступы управляются через gap родителя */
}

.bonus-extras__highlight,
.bonus-extras__support {
    border-radius: 24px;
    padding: 22px 20px;
    background: rgba(19, 6, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(4, 0, 12, 0.48);
    color: #ffffff;
}

.bonus-extras__highlight h2,
.bonus-extras__support h2 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
}

.bonus-extras__highlight ul,
.bonus-extras__rules ul {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.bonus-extras__support button {
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #5affd8 0%, #22b4ff 100%);
    color: #051520;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 16px 28px rgba(34, 180, 255, 0.32);
}

.bonus-extras__support button:hover {
    transform: translateY(-2px);
}

.bonus-extras__rules {
    margin-top: 16px;
}

.bonus-extras__rules h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.bonus-faq-new {
    border-radius: 24px;
    padding: 24px 20px;
    background: rgba(17, 6, 27, 0.92);
    margin-bottom: 0; /* Отступы управляются через gap родителя */
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 38px rgba(4, 0, 10, 0.48);
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #ffffff;
}

.bonus-faq-new h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.bonus-faq-new__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.bonus-faq-new__list article {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(31, 12, 46, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bonus-faq-new__list article h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.bonus-faq-new__list article p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

@media (min-width: 520px) {
    .mobile-bonuses-page {
        padding: 20px 24px 120px;
    }

    .bonus-tags {
        padding: 8px 8px;
    }

    .bonus-hero-new {
        flex-direction: row;
        justify-content: space-between;
    }

    .bonus-hero-new__copy {
        max-width: 55%;
    }

    .bonus-hero-new__chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bonus-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bonus-steps-new__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bonus-extras {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bonus-faq-new__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .bonus-hero-new__actions {
        flex-direction: column;
    }

    .bonus-hero-new__visual {
        display: none;
    }
}

/* ============================================
   SEARCH & PROVIDERS
   ============================================ */
.mobile-controls {
    display: flex;
    gap: 8px;
    padding: 12px 16px 8px 16px;
}

.mobile-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #2e1c40;
    border: none;
    border-radius: 12px;
}

.mobile-search svg {
    stroke-width: 2;
    stroke: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.mobile-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.mobile-providers {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #2e1c40;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.mobile-providers svg {
    stroke-width: 2;
}

/* ============================================
   CATEGORY CHIPS
   ============================================ */
.mobile-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 16px 10px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}

.mobile-chips::-webkit-scrollbar {
    display: none;
    height: 0;
}

.chip {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: auto;
    height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    background: #2e1c40;
    border: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
    overflow: hidden;
}

.chip::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chip.chip--active::after {
    opacity: 0; /* Убираем белую обводку */
}

@keyframes chip-outline-pulse {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 0 2px rgba(162, 93, 255, 0.55), 0 0 14px rgba(162, 93, 255, 0.6);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 0 3px rgba(255, 95, 216, 0.6), 0 0 20px rgba(130, 70, 255, 0.85);
    }
}

.chip span {
    display: block;
}

.chip svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.chip:hover,
.chip:focus-visible {
    background: #3a2450;
    color: #ffffff;
}

.chip.chip--active,
.chip.chip--active:hover,
.chip.chip--active:focus-visible {
    background: linear-gradient(135deg, #a832ff 0%, #ff5fd8 45%, #8c5bff 100%) !important;
    color: #ffffff !important;
    background-size: 220% 220%;
    animation: chip-active-gradient 3.2s ease-in-out infinite;
}

.chip:active {
    transform: scale(0.94);
    background: linear-gradient(135deg, #a832ff 0%, #ff5fd8 45%, #8c5bff 100%);
    color: #ffffff;
}

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

/* ============================================
   SLOTS SECTIONS
   ============================================ */
.mobile-sections {
    padding: 0;
}

.mobile-section {
    padding: 0 16px 20px 16px;
    margin-top: 12px;
}

.mobile-sections > .mobile-section:nth-of-type(2) {
    margin-top: 6px;
}

.mobile-sections > .mobile-section:nth-of-type(3) {
    margin-top: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.view-all svg {
    stroke-width: 2;
}

/* ============================================
   SLOTS SCROLL - ТОЧНО КАК MELLSTROY
   ============================================ */
.slots-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}

.slots-scroll::-webkit-scrollbar {
    display: none;
}

/* SLOT CARD - УВЕЛИЧЕННЫЕ РАЗМЕРЫ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ (130px × 178px) */
.slot-card {
    flex: 0 0 130px;
    width: 130px;
    min-width: 130px;
    height: 178px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.slot-card:active {
    transform: scale(0.95);
}

.slot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 🪟 СТЕКЛЯННЫЙ ЭФФЕКТ с отблесками (без рамки) */
.slot-card:not(.slot-card--view-all)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* VIEW ALL BUTTON */
.slot-card--view-all {
    background: rgba(43, 34, 64, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-all-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.view-all-content .count {
    font-size: 11px;
    opacity: 0.7;
}

/* ============================================
   ALL GAMES GRID
   ============================================ */
.mobile-section.mobile-all-games {
    padding: 0 16px 24px;
    position: relative;
}

.mobile-section.mobile-all-games .section-header {
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    z-index: 10;
    background: #1b0e26;
    padding: 12px 0;
}

.all-games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 56px; /* Отступ для absolute header */
}

.all-game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(38, 25, 65, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(8, 4, 26, 0.42);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.all-game-card__image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(20, 12, 36, 0.6);
    position: relative;
}

/* 🪟 СТЕКЛЯННЫЙ ЭФФЕКТ с отблесками (без рамки) */
.all-game-card__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

.all-game-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.all-game-card__title {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
}

.all-game-card:active {
    transform: scale(0.97);
    box-shadow: 0 10px 20px rgba(8, 4, 26, 0.36);
}

.all-game-card--hidden {
    display: none !important;
}

.all-games-show-more {
    margin: 18px auto 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #a832ff 0%, #ff5fd8 50%, #8c5bff 100%);
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.all-games-show-more:active {
    transform: scale(0.98);
    box-shadow: 0 8px 18px rgba(124, 57, 255, 0.35);
}

.all-games-show-more[disabled] {
    opacity: 0.65;
    pointer-events: none;
}

@media (max-width: 420px) {
    .mobile-section.mobile-all-games {
        padding: 0 14px 22px;
    }

    .all-games-grid {
        gap: 10px;
    }

    .all-game-card {
        padding: 9px;
        border-radius: 14px;
    }

    .all-game-card__title {
        font-size: 10px;
    }

    .all-games-show-more {
        margin-top: 16px;
        padding: 10px 18px;
        font-size: 12px;
    }
}

.mobile-footer {
    margin: 32px 16px 24px;
}

.mobile-footer__card {
    position: relative;
    padding: 0;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(37, 22, 60, 0.95) 0%, rgba(17, 10, 34, 0.94) 55%, rgba(12, 8, 24, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 32px 48px rgba(8, 4, 21, 0.48);
    display: flex;
    flex-direction: column;
}

.mobile-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px 12px;
}

.mobile-footer__logo {
    display: flex;
    align-items: center;
}

.mobile-footer__logo img {
    width: 30px;
    height: auto;
}

.mobile-footer__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-left: auto;
}

.mobile-footer__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.mobile-footer__chip-flag {
    font-size: 11px;
    line-height: 1;
}

.mobile-footer__chip--circle {
    width: 32px;
    height: 32px;
    justify-content: center;
    padding: 0;
}

.mobile-footer__chip svg {
    width: 16px;
    height: 16px;
}

.mobile-footer__sections {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
    margin: 12px 20px 16px;
}

.mobile-footer__section {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.mobile-footer__section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mobile-footer__section-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.mobile-footer__section-body {
    display: none;
    padding: 0 16px 14px;
}

.mobile-footer__section-body a {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.18s ease;
}

.mobile-footer__section-body a:last-child {
    margin-bottom: 0;
}

.mobile-footer__section-body a:hover {
    color: #ffffff;
}

.mobile-footer__section--open {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.mobile-footer__section--open .mobile-footer__section-body {
    display: block;
}

.mobile-footer__section--open .mobile-footer__section-toggle svg {
    transform: rotate(180deg);
}

.mobile-footer__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 20px 18px;
}

.mobile-footer__promo {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    margin: 0 20px 18px;
}

.mobile-footer__promo-image {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-footer__promo-button {
    padding: 12px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #a832ff 0%, #ff5fd8 55%, #8c5bff 100%);
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 26px rgba(120, 58, 236, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mobile-footer__promo-button {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 11px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #a832ff 0%, #ff5fd8 55%, #8c5bff 100%);
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 26px rgba(120, 58, 236, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mobile-footer__promo-button:active {
    transform: scale(0.96);
    box-shadow: 0 12px 20px rgba(120, 58, 236, 0.32);
}

.mobile-footer {
    margin-bottom: 96px;
}

.mobile-footer__socials {
    padding: 0 20px;
    margin-bottom: 12px;
}

.mobile-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 20px 22px;
}

.mobile-footer__bottom span:last-child {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

@media (min-width: 768px) {
    .mobile-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 420px) {
    .mobile-footer {
        margin: 26px 14px 28px;
    }

    .mobile-footer__card {
        border-radius: 24px;
    }

    .mobile-footer__promo-button {
        padding: 10px 24px;
        bottom: 16px;
        left: 16px;
    }

    .mobile-footer__promo-image {
        height: auto;
    }
}

@media (min-width: 768px) {
    .mobile-footer__info {
        grid-column: span 1;
    }

    .mobile-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: flex-start;
    }
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #1a1625;
    padding: 8px 0 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 999;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.nav-item.active {
    color: #8B5CF6;
}

.nav-item.active svg {
    stroke: #8B5CF6;
    fill: #8B5CF6;
}

.nav-item:active {
    transform: scale(0.9);
}

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    .slot-card {
        flex: 0 0 129px;
        width: 129px;
        min-width: 129px;
        height: 173px; /* Пропорция 3:4, уменьшено на 10%, увеличено на 1% */
    }
    
    .mobile-header__logo img {
        width: 200px;
        height: 200px;
        margin: -52px 0 -52px -75px;
    }

    .mobile-header__logo .header-logo-glow {
        width: 140px;
        height: 140px;
    }
    
    .mobile-section {
        padding: 0 20px 24px 20px;
    }
    
    .mobile-controls {
        padding: 12px 20px 8px 20px;
    }
    
    .mobile-chips {
        padding: 8px 20px 12px 20px;
    }
}

/* ============================================
   SMOOTH ANIMATIONS
   ============================================ */
.slot-card,
.chip,
.btn-mobile,
.nav-item {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Плавная прокрутка для iOS */
.slots-scroll,
.mobile-chips,
.mobile-banners__wrapper {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.mobile-section.mobile-last-wins {
    background: transparent;
    border-radius: 0;
    padding: 0 16px 24px;
    margin-bottom: 24px;
    box-shadow: none;
}

.last-wins-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.last-wins-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.last-wins-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: radial-gradient(130% 120% at 0% 0%, rgba(162, 93, 255, 0.35) 0%, rgba(60, 40, 120, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb3ff;
}

.last-wins-title-group h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.last-wins-subtitle {
    font-size: 12px;
    color: rgba(223, 220, 255, 0.6);
}

.last-wins-online {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(223, 220, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.last-wins-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #46ff8f;
    box-shadow: 0 0 12px rgba(70, 255, 143, 0.65);
}

.last-wins-online-count {
    font-size: 14px;
    font-weight: 600;
    color: #46ff8f;
}

.last-wins-list {
    display: flex;
    gap: 16px;
    overflow: hidden;
    padding: 32px 4px 0;
}

.last-wins-list::after {
    content: "";
    flex: 0 0 12px;
}

.last-wins-card {
    position: relative;
    min-width: 220px;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 18px;
    padding: 12px 20px 12px 94px;
    box-shadow: 0 14px 24px rgba(8, 4, 26, 0.44);
    background: linear-gradient(135deg, rgba(26, 18, 47, 0.92) 0%, rgba(18, 12, 35, 0.88) 100%);
    transition: transform 0.2s ease;
    overflow: visible;
}

.last-wins-card:hover {
    transform: translateY(-4px);
}

.last-wins-card-image {
    position: absolute;
    left: 12px;
    top: -24px;
    width: 72px;
    height: 108px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 32px rgba(12, 6, 34, 0.55);
    z-index: 2;
}

.last-wins-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.last-wins-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    width: 100%;
}

.last-wins-amount-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(180deg, #46ff8f 0%, #20dd73 100%);
    color: #04121d;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 5px 12px;
    box-shadow: 0 12px 24px rgba(30, 225, 121, 0.45);
    align-self: flex-start;
    max-width: 100%;
    white-space: nowrap;
}

.last-wins-game {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 8px;
}

.last-wins-email {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 8px;
}

.mobile-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-section .section-header + .last-wins-list {
    margin-top: 8px;
}

@media (max-width: 420px) {
    .last-wins-card {
        min-width: 210px;
        min-height: 64px;
        padding: 10px 18px 10px 76px;
        gap: 10px;
    }

    .last-wins-card-image {
        left: 12px;
        top: -18px;
        width: 58px;
        height: 90px;
        border-radius: 12px;
    }

    .last-wins-amount-chip {
        font-size: 10px;
        padding: 4px 10px;
    }

    .last-wins-game {
        font-size: 14px;
    }

    .last-wins-email {
        font-size: 10px;
    }
}

.mobile-feature-banner {
    padding: 12px 16px 18px;
}

.feature-banner-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff3c9f 50%, #7b5dff 100%);
    box-shadow: 0 8px 16px rgba(63, 18, 77, 0.24);
    overflow: hidden;
    animation: feature-gradient-flow 4.5s ease-in-out infinite;
    background-size: 320% 320%;
}

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

.feature-banner-card::after {
    content: "";
    position: absolute;
    right: -36px;
    top: -46px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(0.6px);
    border-radius: 50%;
    pointer-events: none;
    animation: feature-orb-pulse 5s ease-in-out infinite;
}

@keyframes feature-orb-pulse {
    0%, 100% { transform: scale(0.95) translate(0, 0); opacity: 0.7; }
    50% { transform: scale(1.1) translate(10px, 6px); opacity: 0.4; }
}

.feature-banner-card::before {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(124, 255, 253, 0.28) 0%, rgba(124, 255, 253, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: feature-orb-pulse 7s ease-in-out infinite reverse;
}

.feature-banner-card .feature-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    mix-blend-mode: screen;
    opacity: 0.45;
    pointer-events: none;
    animation: feature-overlay-wave 3.2s ease-in-out infinite;
}

@keyframes feature-overlay-wave {
    0% { transform: translateX(-15%); opacity: 0.3; }
    50% { transform: translateX(15%); opacity: 0.55; }
    100% { transform: translateX(-15%); opacity: 0.3; }
}


.feature-banner-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: calc(100% - 110px);
}

.feature-banner-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.feature-banner-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.feature-banner-title--primary {
    font-size: 19px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 1.02;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
    margin: -2px 0 0;
}

.feature-banner-action {
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 12px;
    background: #ffffff;
    color: #2d0f4c;
    font-weight: 700;
    font-size: 11px;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-banner-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(74, 28, 111, 0.24);
}

.feature-banner-amount {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 11px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(4px);
    margin-left: -4px;
}

.feature-banner-amount-value {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.015em;
}

.feature-banner-amount-caption {
    font-size: 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.feature-banner-image {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 98px;
    height: 136px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 26px rgba(33, 0, 54, 0.38);
    margin-left: 16px;
    transform: translateX(6px);
}

.feature-banner-image img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
}

@media (max-width: 480px) {
    .feature-banner-card {
        padding: 8px 12px;
    }

    .feature-banner-text {
        max-width: calc(100% - 90px);
        gap: 6px;
    }

    .feature-banner-title--primary {
        font-size: 18px;
        margin-top: -1px;
    }

    .feature-banner-image {
        width: 88px;
        height: 120px;
        margin-left: 12px;
        transform: translateX(4px);
    }

    .feature-banner-amount {
        padding: 5px 10px;
    }

    .feature-banner-amount-value {
        font-size: 14px;
    }
}

.mobile-footer__socials {
    display: flex;
    gap: 10px;
}

.mobile-footer__socials--single {
    justify-content: flex-start;
    margin-top: -4px;
}

.mobile-footer__socials--single a {
    width: 36px;
    height: 36px;
}

.mobile-footer__socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: transform 0.18s ease, background 0.18s ease;
}

body.banner-modal-open {
    overflow: hidden;
    overscroll-behavior: contain;
}

/* ============================================
   BANNER DETAILS MODAL (MELLSTROY STYLE)
   ============================================ */
.mellstroy-banner-modal {
    position: fixed;
    inset: 0;
    padding: clamp(10px, 3vh, 32px) clamp(6px, 3vw, 20px) 0;
    padding-bottom: max(0px, calc(env(safe-area-inset-bottom)));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mellstroy-banner-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mellstroy-banner-modal__overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.mellstroy-banner-modal.active .mellstroy-banner-modal__overlay {
    opacity: 1;
}

.mellstroy-banner-modal__content {
    position: relative;
    width: min(98vw, 540px);
    max-height: min(700px, calc(100vh - 24px));
    max-height: min(700px, calc(100vh - 24px - env(safe-area-inset-bottom)));
    background: linear-gradient(145deg, #221739 0%, #1f1632 50%, #1b1229 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 16px 36px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mellstroy-banner-modal.active .mellstroy-banner-modal__content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.mellstroy-banner-modal__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #2b1f40;
    position: relative;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    flex-shrink: 0;
}

.mellstroy-banner-modal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mellstroy-banner-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(10, 5, 22, 0.42);
    border-radius: 12px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.mellstroy-banner-modal__close:hover {
    background: rgba(24, 12, 48, 0.6);
    transform: rotate(90deg);
}

.mellstroy-banner-modal__body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}

.mellstroy-banner-modal__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(138, 75, 185, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    align-self: flex-start;
}

.mellstroy-banner-modal__title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin: 0;
}

.mellstroy-banner-modal__description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0;
}

.mellstroy-banner-modal__meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mellstroy-banner-modal__meta-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(138, 75, 185, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 30px rgba(10, 0, 24, 0.38);
}

.mellstroy-banner-modal__meta-item span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
}

.mellstroy-banner-modal__meta-item strong {
    font-size: 15px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: pre-line;
}

.mellstroy-banner-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.mellstroy-banner-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff77d9 0%, #8a4bb9 50%, #6841f7 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 20px 34px rgba(106, 54, 182, 0.36);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mellstroy-banner-modal__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 40px rgba(106, 54, 182, 0.4);
}

.mellstroy-banner-modal__cta:active {
    transform: translateY(0);
    box-shadow: 0 18px 30px rgba(106, 54, 182, 0.32);
}

.mellstroy-banner-modal__cta-secondary {
    background: rgba(138, 75, 185, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 600;
}

.mellstroy-banner-modal__cta-secondary:hover {
    background: rgba(138, 75, 185, 0.28);
}

.mellstroy-banner-modal__cta-secondary:active {
    background: rgba(138, 75, 185, 0.22);
}

@media (max-width: 420px) {
    .mellstroy-banner-modal__content {
        width: 97vw;
        max-height: min(640px, calc(100vh - 16px));
        max-height: min(640px, calc(100vh - 16px - env(safe-area-inset-bottom)));
    }

    .mellstroy-banner-modal__body {
        padding: 24px 22px 28px;
        gap: 16px;
    }

    .mellstroy-banner-modal__title {
        font-size: 24px;
    }

    .mellstroy-banner-modal__description {
        font-size: 14px;
    }
}

.menu-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: rgba(12, 4, 19, 0.65);
    border-radius: 16px;
    gap: 16px;
}

.menu-sheet-logo img {
    width: 36px;
    height: 36px;
}

.menu-sheet-balance {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.menu-sheet-auth {
    display: flex;
    gap: 8px;
}

/* Когда меню открыто, скрываем все кроме меню и header */
body.view-menu .mobile-app > *:not(#menuBottomSheet):not(.mobile-header) {
    display: none !important;
}

.menu-sheet-top {
    padding: 0 16px 16px;
}

.mobile-header--menu-inline {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    box-shadow: none;
    padding: 16px 0 12px; /* Добавлен отступ сверху */
    justify-content: center; /* Центрируем баланс */
    align-items: center;
    gap: 16px;
    width: 100%;
}

.mobile-header--menu-inline .mobile-header__logo {
    position: absolute !important;
    left: 16px !important; /* В начало слева */
    top: 50% !important; /* Выравниваем по центру хедера */
    transform: translateY(-50%) !important; /* Центрируем вертикально, чтобы был на одном уровне с балансом */
    pointer-events: auto !important;
    margin: 0 !important;
    z-index: 10 !important;
    height: auto !important;
}

.mobile-header--menu-inline .mobile-header__logo img {
    width: 48px !important; /* Правильный маленький размер */
    height: 75px !important;
    margin: 0 !important; /* Убираем все отрицательные отступы */
    filter: drop-shadow(0 10px 18px rgba(138, 82, 255, 0.2)) drop-shadow(0 0 14px rgba(255, 138, 214, 0.28)) !important;
    object-fit: contain !important;
}

.mobile-header--menu-inline .mobile-header__auth {
    margin-left: 0 !important; /* Убираем auto, чтобы баланс был по центру */
    margin-right: 0 !important;
}

/* Уменьшаем плашку баланса в меню */
.mobile-header--menu-inline .header__user-balance {
    transform: scale(0.98) !important; /* Уменьшаем на 2% */
    transform-origin: center !important;
}


.mobile-header--menu-inline .mobile-game-close,
.mobile-header--bonuses .mobile-game-close {
    display: none !important;
}

body.view-bonuses:not(.view-menu) .mobile-app {
    display: none !important;
}

/* Mobile Terms Page Styles */
.mobile-terms-page {
    background: #0f0515;
    padding: 16px 16px 110px;
    min-height: 100vh;
}

.mobile-header--terms {
    background: #0c0413;
}

.mobile-terms-content {
    max-width: 100%;
    margin: 0 auto;
}

.terms-banner {
    background: rgba(138, 82, 255, 0.1);
    border: 1px solid rgba(138, 82, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.terms-banner p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.terms-section {
    margin-bottom: 32px;
    padding: 20px;
    background: rgba(18, 7, 32, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-section h2 {
    color: #A855F7;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 0;
}

.terms-section p {
    color: #E5E7EB;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section p strong {
    color: #ffffff;
    font-weight: 600;
}

body.view-terms .mobile-main-page,
body.view-terms .mobile-bonuses-page {
    display: none !important;
}

body.view-terms .mobile-terms-page {
    display: block !important;
}







/* ========================================
   BONUSES PAGE STYLES - CUSTOM
   ======================================== */

.mobile-bonuses-page {
    width: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available; /* Для iOS Safari */
    background: #1b0e26; /* Такой же фиолетовый фон как на главной */
    overflow-x: hidden;
    padding-bottom: 0; /* Убрал лишний padding снизу страницы */
}

/* Хедер на странице бонусов absolute (как на главной) */
.mobile-bonuses-page .mobile-header {
    position: absolute !important;
}

/* Кнопка закрытия бонусов всегда видна (в отличие от главной страницы где она скрыта) */
.mobile-bonuses-page .mobile-game-close {
    display: flex !important;
}

.bonuses-content {
    padding: 56px 0 0 0; /* Убрал нижний padding - отступ будет у футера */
}

/* Футер на странице бонусов - параллелен с заголовками Bonus и FAQ */
.mobile-bonuses-page .mobile-footer {
    margin: 40px -16px 100px -16px; /* Отрицательный margin как у карточек */
    padding: 0 12px; /* Padding как у карточек бонусов */
}

.mobile-bonuses-page .mobile-footer__card {
    border-radius: 28px; /* Красивое скругление */
    margin: 0; /* Убрал margin - выравнивание через padding родителя */
}

/* Главный заголовок "Bonus" */
.bonuses-main-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px 0;
    padding: 0 8px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px; /* Уменьшил с 20px до 16px - еще левее */
}

/* Секция бонусов */
.bonuses-section {
    margin-bottom: 32px;
}

.bonuses-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px 0;
    padding: 0 8px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px; /* Уменьшил с 20px до 16px - еще левее */
}

/* Bonuses List - выходит за края экрана */
.bonuses-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 12px; /* Небольшие отступы для баннеров */
    margin: 0 -16px; /* Отрицательный margin чтобы выйти за края */
}

/* Bonus Card - на всю ширину экрана */
.bonus-card {
    position: relative;
    border-radius: 16px;
    padding: 16px;
    overflow: hidden;
    min-height: 274px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Градиенты для каждой карточки с плавной живой анимацией */
.bonus-card--gradient-1 {
    background: linear-gradient(135deg, #230037, #4a0068, #600090, #4a0068, #230037);
    background-size: 400% 400%;
    animation: gradientBreathing 8s ease-in-out infinite;
}

.bonus-card--gradient-2 {
    background: linear-gradient(135deg, #000B48, #001a7a, #002FC9, #001a7a, #000B48);
    background-size: 400% 400%;
    animation: gradientBreathing 8s ease-in-out infinite;
}

.bonus-card--gradient-3 {
    background: linear-gradient(135deg, #7D5100, #b37800, #FFB200, #b37800, #7D5100);
    background-size: 400% 400%;
    animation: gradientBreathing 8s ease-in-out infinite;
}

.bonus-card--gradient-4 {
    background: linear-gradient(135deg, #3B0044, #7a0074, #FF18E4, #7a0074, #3B0044);
    background-size: 400% 400%;
    animation: gradientBreathing 8s ease-in-out infinite;
}

/* Плавная дышащая анимация градиента */
@keyframes gradientBreathing {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 75%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 25%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Таймер вверху слева */
.bonus-card__timer {
    position: relative;
    z-index: 3;
    margin-bottom: 8px;
}

.bonus-card__timer-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Изображение справа - занимает большую часть карточки */
.bonus-card__image {
    position: absolute;
    right: -10px;
    top: 55%;
    transform: translateY(-50%);
    width: 240px;
    height: 250px;
    z-index: 1;
    pointer-events: none;
}

.bonus-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Информация внизу слева */
.bonus-card__info {
    position: relative;
    z-index: 2;
    margin-top: auto;
    margin-bottom: 12px;
    max-width: 60%;
}

.bonus-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.bonus-card__description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

/* Кнопка внизу слева */
.bonus-card__button {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 140px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    color: #000;
}

.bonus-card__button:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* FAQ Section */
.bonuses-faq {
    margin-top: 32px;
    padding: 0; /* Убрал padding */
    margin-left: -16px;
    margin-right: -16px;
}

.bonuses-faq .bonuses-section-title {
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px; /* Еще левее - такой же как у кнопок бонусов */
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 12px; /* Такой же padding как у кнопок бонусов */
}

.faq-item {
    background: #1f1632; /* Цвет неактивной кнопки */
    border: none; /* Убрал белую обводку */
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Плавная анимация */
}

.faq-item.active {
    background: #2e243f; /* Цвет активной кнопки */
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    flex: 1;
    padding-right: 12px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Плавная анимация иконки */
    color: rgba(255, 255, 255, 0.6);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; /* Более плавная анимация */
    padding: 0 16px;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 16px 16px 16px;
    opacity: 1;
}

.faq-answer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}







/* ============================================
   DESKTOP ADAPTATION - FULL RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
    /* Скрываем мобильный header на десктопе */
    .mobile-only-header {
        display: none !important;
    }
    
    /* КРИТИЧНО: Скрываем ВСЕ мобильные хедеры на десктопе */
    .mobile-header {
        display: none !important;
    }
    
    /* Desktop Logo & Balance - ВСЕГДА показываем на десктопе */
    .desktop-logo-balance {
        display: block !important;
        width: 100%;
        background: #1b0e26;
        padding: 0;
        margin: 0;
    }
    
    .desktop-logo-balance__container {
        max-width: 100%;
        margin: 0 auto;
        padding: 16px 20px 16px; /* Максимальные отступы сверху и снизу */
        display: flex;
        align-items: center;
        justify-content: center; /* Центрируем содержимое */
        gap: 24px;
        position: relative; /* Для абсолютного позиционирования логотипа */
    }
    
    /* Логотип - уменьшенный размер, без подсвечивания */
    .desktop-logo-balance__logo {
        position: absolute;
        left: 20px; /* Прижат к левому краю */
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100px; /* Немного уменьшили */
        height: 70px; /* Уменьшили высоту */
        padding: 6px 0; /* Небольшое пространство сверху и снизу */
        overflow: hidden;
    }
    
    .desktop-logo-balance__logo img {
        width: 100px; /* Немного уменьшили */
        height: 100px;
        object-fit: contain;
        margin: -15px 0 -15px -30px; /* Пропорционально уменьшили обрезку */
        filter: none; /* Убираем подсвечивание */
    }
    
    /* Баланс - по центру */
    .desktop-logo-balance__balance {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        padding: 6px 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .desktop-logo-balance__balance:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
    }
    
    .desktop-logo-balance__balance .currency-icon-wrapper {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .desktop-logo-balance__balance .currency-image {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }
    
    .desktop-logo-balance__balance span {
        font-size: 14px;
        font-weight: 600;
        color: #fff;
    }
    
    .desktop-logo-balance__balance .header__user-balance-add {
        margin-left: 6px;
    }
    
    .desktop-logo-balance__balance .btn {
        padding: 6px 16px;
        background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        color: #fff;
        transition: all 0.3s ease;
    }
    
    .desktop-logo-balance__balance .btn:hover {
        background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
        transform: scale(1.05);
    }
    
    /* Auth buttons для неавторизованных - по центру, оригинальные цвета */
    .desktop-logo-balance__auth {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .desktop-logo-balance__auth .btn-mobile {
        padding: 10px 24px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    /* Оригинальные цвета из мобильной версии */
    .desktop-logo-balance__auth .btn-mobile--login {
        background: rgba(43, 34, 64, 0.85);
        color: #E7E2FF;
        border: none;
    }
    
    .desktop-logo-balance__auth .btn-mobile--login:hover {
        background: rgba(53, 44, 74, 0.95);
        transform: translateY(-2px);
    }
    
    .desktop-logo-balance__auth .btn-mobile--register {
        background: #35ec90;
        color: #000000;
        border: none;
    }
    
    .desktop-logo-balance__auth .btn-mobile--register:hover {
        background: #19b450;
        transform: translateY(-2px);
    }
    
    /* Контент - убираем padding-top так как нет header */
    .mobile-content {
        padding-top: 0 !important;
    }
    
    /* Баннеры - минимальный отступ сверху */
    .mobile-banners {
        margin-top: 4px !important;
    }
    
    /* Контейнер приложения - теперь внутри wrapper */
    .mobile-app {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding-bottom: 40px;
    }
    
    /* Хедер - оставляем absolute как в мобильной версии */
    .mobile-header {
        position: absolute; /* Оставляем absolute для консистентности */
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 16px 20px; /* Такой же padding как у контента */
        background: #1b0e26; /* Фон как у body */
        z-index: 100; /* Ниже сайдбара */
    }
    
    .mobile-header__logo {
        position: relative; /* Делаем relative чтобы был внутри контейнера */
        left: 0; /* Убираем absolute позиционирование */
        top: auto;
        transform: none;
    }
    
    .mobile-header__logo img {
        width: 180px;
        height: 180px;
    }
    
    /* Контент */
    .mobile-content {
        padding: 76px 0 0 0; /* Padding-top = высота header (76px) */
        width: 100%;
    }
    
    /* Секция All Games - используем общие правила mobile-section */
    .mobile-section.mobile-all-games {
        padding: 0 20px !important; /* Такой же padding как у баннеров */
        margin-top: 24px;
    }
    
    /* Заголовок секции - выравниваем параллельно верхним секциям */
    .mobile-section.mobile-all-games .section-header {
        position: static;
        margin-bottom: 24px;
        padding: 0; /* Убираем внутренний padding */
    }
    
    /* Сетка игр - адаптивные колонки, заполняют всю ширину, ТОЛЬКО 3 ряда */
    /* Сетка игр - FLEXBOX как в других секциях для одинакового поведения */
    .all-games-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 0;
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Карточки в All Games - ТОЧНО такой же размер как slot-card на десктопе */
    .all-game-card {
        flex: 0 0 129px;
        width: 129px;
        min-width: 129px;
        height: 173px;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        display: block;
    }
    
    .all-game-card__image-wrapper {
        width: 100%;
        height: 100%;
        background: transparent;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
    }
    
    /* Стеклянный эффект как у slot-card */
    .all-game-card__image-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
        pointer-events: none;
        z-index: 1;
        mix-blend-mode: overlay;
    }
    
    .all-game-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 12px;
    }
    
    /* Скрываем title на десктопе, чтобы карточка была как slot-card */
    .all-game-card__title {
        display: none;
    }
    
    /* Карточки слотов - оптимальный размер (164px × 218px, уменьшено на 10%, увеличено на 1%) */
    .slot-card {
        flex: 0 0 164px;
        width: 164px;
        min-width: 164px;
        height: 218px;
    }
    
    /* НЕ скрываем карточки - пусть JavaScript управляет видимостью */
    
    .all-game-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(8, 4, 26, 0.6);
    }
    
    /* Навигация - скрываем на десктопе или делаем горизонтальной */
    .mobile-nav {
        position: relative;
        bottom: auto;
        padding: 16px 24px;
        justify-content: center;
        gap: 24px;
        background: rgba(25, 1, 39, 0.95);
        border-radius: 16px;
        margin: 24px 0;
    }
    
    .mobile-nav__item {
        flex: 0 0 auto;
        min-width: auto;
    }
}

@media (min-width: 1024px) {
    /* Большие экраны - FLEXBOX как в других секциях */
    .all-games-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* Карточки в All Games - ТОЧНО такой же размер как slot-card */
    .all-game-card {
        flex: 0 0 164px;
        width: 164px;
        min-width: 164px;
        height: 218px;
    }
    
    .all-game-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Карточки слотов - оптимальный размер */
    .slot-card {
        flex: 0 0 164px;
        width: 164px;
        min-width: 164px;
        height: 218px;
    }
    
    /* НЕ скрываем карточки - пусть JavaScript управляет видимостью */
    
    /* Увеличиваем отступы для хедера */
    .mobile-header {
        padding: 16px 32px;
    }
    
    .mobile-header__logo {
        left: 32px; /* Выравниваем с отступом баннеров */
    }
    
    /* Секция All Games - такой же padding как у баннеров */
    .mobile-section.mobile-all-games {
        padding: 0 20px !important;
        margin-top: 24px;
    }
    
    /* Контент без padding */
    .mobile-content {
        padding: 0;
    }
    
    /* Баннеры - увеличиваем максимальную ширину */
    .mobile-banner {
        max-width: 500px;
    }
}

@media (min-width: 1280px) {
    /* Очень большие экраны - FLEXBOX как в других секциях */
    .all-games-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* Карточки в All Games - ТОЧНО такой же размер как slot-card */
    .all-game-card {
        flex: 0 0 164px;
        width: 164px;
        min-width: 164px;
        height: 218px;
    }
    
    .all-game-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Карточки слотов - оптимальный размер */
    .slot-card {
        flex: 0 0 164px;
        width: 164px;
        min-width: 164px;
        height: 218px;
    }
    
    /* НЕ скрываем карточки - пусть JavaScript управляет видимостью */
    
    /* Еще больше отступы для хедера */
    .mobile-header {
        padding: 16px 40px;
    }
    
    .mobile-header__logo {
        left: 40px; /* Выравниваем с отступом баннеров */
    }
    
    /* Секция All Games - такой же padding как у баннеров */
    .mobile-section.mobile-all-games {
        padding: 0 20px !important;
        margin-top: 24px;
    }
    
    /* Контент без padding */
    .mobile-content {
        padding: 0;
    }
}

@media (min-width: 1600px) {
    /* Сверхбольшие экраны - FLEXBOX как в других секциях */
    .all-games-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* Карточки слотов - оптимальный размер */
    .slot-card {
        flex: 0 0 164px;
        width: 164px;
        min-width: 164px;
        height: 218px;
    }
    
    /* НЕ скрываем карточки - пусть JavaScript управляет видимостью */
    
    /* Максимальные отступы для хедера */
    .mobile-header {
        padding: 16px 48px;
    }
    
    .mobile-header__logo {
        left: 48px; /* Выравниваем с отступом баннеров */
    }
}

/* ============================================
   DESKTOP SIDEBAR (только для десктопов 768px+)
   ============================================ */

@media (min-width: 768px) {
    /* Main Content Wrapper - контейнер для всего контента после сайдбара */
    .main-content-wrapper {
        margin-left: 276px;
        transition: margin-left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: margin-left;
        max-width: calc(100vw - 276px);
        overflow-x: hidden;
    }
    
    body.sidebar-collapsed .main-content-wrapper {
        margin-left: 86px;
        max-width: calc(100vw - 86px);
    }

    /* Sidebar - скрыт по умолчанию, показываем только на десктопах */
    .sidebar-mell {
        position: fixed;
        top: 8px;
        left: 8px;
        width: 260px;
        height: calc(100vh - 16px);
        background: #281837;
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 20px;
        padding: 8px 6px;
        z-index: 1002; /* Поверх хедера (1001) */
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        box-shadow: 0 8px 32px rgba(0,0,0,0.4);
        transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: width, padding;
    }

    /* Scrollbar styles */
    .sidebar-mell::-webkit-scrollbar { width: 3px; }
    .sidebar-mell::-webkit-scrollbar-track { background: transparent; }
    .sidebar-mell::-webkit-scrollbar-thumb { background: rgba(147,51,234,0.4); border-radius: 10px; }

    /* Collapsed state */
    .sidebar-mell.collapsed {
        width: 70px;
        padding: 12px 6px;
    }

    /* Logo */
    .sidebar-mell__logo {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-weight: 800;
        font-size: 17px;
        padding: 10px 12px;
        margin-bottom: 10px;
        letter-spacing: 0.02em;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-mell__logo img {
        width: 28px;
        height: 28px;
        filter: drop-shadow(0 2px 10px rgba(139,92,246,0.5));
    }

    .sidebar-mell.collapsed .sidebar-mell__logo {
        padding: 10px 8px;
        justify-content: center;
    }

    .sidebar-mell.collapsed .sidebar-mell__logo img {
        width: 32px;
        height: 32px;
    }

    .sidebar-mell.collapsed .sidebar-mell__logo span {
        display: none;
    }

    /* Players Online */
    .sidebar-mell__online {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 8px 14px;
        margin-bottom: 6px;
        color: rgba(255,255,255,0.5);
        font-size: 13px;
        font-weight: 400;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: padding, gap;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    
    .sidebar-mell__online-right { margin-left: auto; }
    .sidebar-mell__online-label { opacity: .8; }

    .sidebar-mell.collapsed .sidebar-mell__online {
        flex-direction: column;
        gap: 4px;
        padding: 8px 4px;
        font-size: 10px;
    }

    .sidebar-mell__online-dot {
        width: 8px;
        height: 8px;
        background: #22c55e;
        border-radius: 50%;
        box-shadow: 0 0 12px #22c55e;
        animation: pulse-green-glow 1.5s ease-in-out infinite;
    }

    @keyframes pulse-green-glow {
        0%, 100% { 
            opacity: 1;
            transform: scale(1);
            box-shadow: 0 0 12px #22c55e;
        }
        50% { 
            opacity: 0.7;
            transform: scale(1.2);
            box-shadow: 0 0 20px #22c55e;
        }
    }

    .sidebar-mell__online-count {
        color: #fff;
        font-weight: 600;
        font-size: 14px;
    }

    /* User Profile */
    .sidebar-mell__profile {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        margin: 0 6px 2px 6px;
        background: rgba(255,255,255,0.03);
        border-radius: 14px;
        cursor: pointer;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: padding, gap;
    }

    .sidebar-mell__profile:hover {
        background: #7c3aed;
        transform: translateX(2px);
    }

    .sidebar-mell.collapsed .sidebar-mell__profile {
        padding: 8px;
        justify-content: center;
    }

    .sidebar-mell__profile-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #9333ea, #3b82f6);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        position: relative;
        flex-shrink: 0;
    }

    .sidebar-mell__profile-info {
        flex: 1;
        min-width: 0;
    }

    .sidebar-mell__profile-name {
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sidebar-mell__profile-id {
        color: rgba(255,255,255,0.5);
        font-size: 12px;
        margin-top: 1px;
    }

    .sidebar-mell__profile-arrow {
        width: 16px;
        height: 16px;
        color: rgba(255,255,255,0.6);
        flex-shrink: 0;
    }

    /* Collapse Toggle Button */
    .sidebar-mell__collapse-toggle {
        position: absolute;
        top: 50%;
        right: -18px;
        transform: translateY(-50%);
        width: 36px;
        height: 60px;
        background: rgba(42, 26, 82, 0.95);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(124, 58, 237, 0.3);
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: rgba(255,255,255,0.7);
        z-index: 1001;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .sidebar-mell__collapse-toggle:hover {
        background: rgba(124, 58, 237, 0.4);
        border-color: rgba(124, 58, 237, 0.6);
        color: #fff;
        transform: translateY(-50%) scale(1.05);
    }

    .sidebar-mell__collapse-toggle svg {
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
    }

    .sidebar-mell.collapsed .sidebar-mell__collapse-toggle svg {
        transform: rotate(180deg);
    }

    /* Guest login row */
    .sidebar-mell__login { 
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        margin: 0 6px 6px 6px;
        background: rgba(255,255,255,0.06);
        border-radius: 14px;
        color: rgba(255,255,255,0.9);
        cursor: pointer;
        border: none;
    }
    
    .sidebar-mell__login:hover { 
        background: rgba(255,255,255,0.06); 
        color: #ffffff; 
    }
    
    .sidebar-mell__login svg { 
        width: 22px; 
        height: 22px; 
        opacity: .9;
    }
    
    .sidebar-mell__login-avatar { 
        width: 40px; 
        height: 40px; 
        border-radius: 50%; 
        background: rgba(255,255,255,0.06); 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        border: none; 
        overflow: hidden; 
    }
    
    .sidebar-mell__login:hover svg { 
        color: #a63ef7; 
        stroke: #a63ef7; 
        fill: #a63ef7; 
    }
    
    .sidebar-mell__login-avatar img { 
        width: 22px; 
        height: 22px; 
        display: block; 
    }

    /* Menu Sections */
    .sidebar-mell__section { 
        margin: 4px 0 2px; 
        padding: 0 16px; 
        color: rgba(255,255,255,0.3);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Menu Items */
    .sidebar-mell__item {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(255,255,255,0.7);
        padding: 9px 14px;
        margin: 0 6px 1px 6px;
        border-radius: 14px;
        cursor: pointer;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: background-color, transform;
        font-weight: 500;
        font-size: 15px;
        position: relative;
        white-space: nowrap;
        line-height: 1.3;
        background: transparent;
    }

    .sidebar-mell__item svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    /* Hide text when collapsed */
    .sidebar-mell.collapsed .sidebar-mell__item {
        padding: 10px;
        justify-content: center;
    }

    .sidebar-mell.collapsed .sidebar-mell__item svg {
        margin: 0;
    }

    /* Hover state */
    .sidebar-mell__item:hover:not(.active) {
        background: transparent;
        color: rgba(255,255,255,0.95);
    }
    
    .sidebar-mell__item:hover:not(.active) svg { 
        opacity: 1; 
        color: #a63ef7; 
        stroke: #a63ef7; 
    }
    
    .sidebar-mell__item:hover:not(.active) .sidebar-mell__item-text {
        background: linear-gradient(135deg, #a63ef7 0%, #7c3aed 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Active state */
    .sidebar-mell__item.active {
        background: transparent;
        color: #ffffff;
        font-weight: 600;
    }
    
    .sidebar-mell__item.active .sidebar-mell__item-text {
        background: linear-gradient(135deg, #a63ef7 0%, #7c3aed 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .sidebar-mell__item.active svg { 
        color: #a63ef7; 
        stroke: #a63ef7; 
        opacity: 1;
    }

    /* Press feedback */
    .sidebar-mell__item:active {
        background: rgba(124, 58, 237, 0.25);
    }

    .sidebar-mell__item-badge {
        margin-left: auto;
        background: #22c55e;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Hide text content when collapsed */
    .sidebar-mell.collapsed .sidebar-mell__item-text,
    .sidebar-mell.collapsed .sidebar-mell__item-badge,
    .sidebar-mell.collapsed .sidebar-mell__profile-info,
    .sidebar-mell.collapsed .sidebar-mell__profile-arrow,
    .sidebar-mell.collapsed .sidebar-mell__section {
        display: none;
    }

    /* Footer */
    .sidebar-mell__footer {
        margin-top: auto;
        padding: 10px 12px 0;
        border-top: 1px solid rgba(255,255,255,0.04);
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-mell__footer-social {
        display: flex;
        gap: 6px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-mell__footer-social a {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #2563eb;
        border-radius: 8px;
        color: #fff;
        font-size: 16px;
        transition: all 0.25s ease;
        text-decoration: none;
    }

    .sidebar-mell__footer-social a:hover {
        background: #3b82f6;
        transform: translateY(-2px);
    }

    .sidebar-mell.collapsed .sidebar-mell__footer {
        padding: 10px 4px 0;
        flex-direction: column;
        gap: 6px;
    }

    .sidebar-mell.collapsed .sidebar-mell__footer-social {
        flex-direction: column;
        gap: 6px;
    }

    /* Убираем margin у mobile-app - теперь используем main-content-wrapper */
    .mobile-app {
        margin-left: 0;
    }
}

/* Скрываем сайдбар на мобильных */
@media (max-width: 767px) {
    .sidebar-mell {
        display: none !important;
    }
    
    .mobile-app {
        margin-left: 0 !important;
    }
    
    .main-content-wrapper {
        margin-left: 0 !important;
        max-width: 100% !important;
    }
}

