

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

html {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --bg-dark: #1a1a1f;
    --bg-darker: #0f0f13;
    --bg-sidebar: #1e1e24;
    --purple: #7b2cbf;
    --purple-light: #9d4edd;
    --blue: #00b4d8;
    --cyan: #0096c7;
    --green: rgb(0, 200, 84);;
    --pink: #ff006e;
    --text-primary: #f0f2f5;
    --text-secondary: #a0a0a0;
    --border-color: #2a2a30;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Шапка */
.header {
    background: var(--bg-darker);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 15px;
}
.logo img {
	 height: 40px;
}
.logo-small img {
	 height: 20px;
}

.main-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-link.active {
    background: var(--blue);
    color: var(--text-primary);
}

.nav-link .icon {
    font-size: 14px;
}

.header-right {
    display: flex;
    gap: 5px;
}

.btn-login {
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-register {
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--green);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #00e676;
    transform: translateY(-2px);
}

/* Основной контейнер */
.main-container {
    display: flex;
    min-height: calc(100vh - 70px);
    width: 100%;
}

/* Боковое меню */
.sidebar {
    width: 240px;
    background: var(--bg-sidebar);
    padding: 20px 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar.collapsed {
    width: 0px;
}

.sidebar.collapsed .sidebar-link span:not(.icon),
.sidebar.collapsed .sidebar-header span:not(.icon),
.sidebar.collapsed .user-login span:not(.icon),
.sidebar.collapsed .sidebar-download,
.sidebar.collapsed h3,
.sidebar.collapsed small,
.sidebar.collapsed .free-money-banner span:not(.icon),
.sidebar.collapsed .badge,
.sidebar.collapsed .badge-new {
    display: none;
}

.sidebar-header {
    padding: 0 20px 20px;
}

.sidebar.collapsed .sidebar-header {
    padding: 0 10px 20px;
}

@media (max-width: 768px) {
    .sidebar-header {
        padding: 20px 20px 20px !important;
    }
}

.user-login {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.sidebar.collapsed .user-login {
    justify-content: center;
    padding: 12px;
}

.user-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

.free-money-banner {
    margin: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #00c853, #00e676);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.free-money-banner a {
	 text-decoration: none;
	 color: var(--text-primary);
	 display: flex;
	 align-items: center;
	 gap: 10px;
	 width: 100%;
}
.sidebar.collapsed .free-money-banner {
    margin: 20px 10px;
    padding: 12px;
    justify-content: center;
}

.sidebar-nav,
.sidebar-games,
.sidebar-footer {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar.collapsed .sidebar-nav,
.sidebar.collapsed .sidebar-games,
.sidebar.collapsed .sidebar-footer {
    border-bottom: 1px solid var(--border-color);
    padding: 5px 0;
}

.sidebar-games h3 {
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar.collapsed .sidebar-games h3 {
    padding: 5px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding: 12px 0;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.sidebar-link .icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.badge {
    margin-left: auto;
    background: var(--pink);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.badge-new {
    margin-left: auto;
    background: var(--blue);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.sidebar-download {
    margin: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sidebar-download div {
    font-size: 13px;
}

.sidebar-download small {
    color: var(--text-secondary);
    font-size: 11px;
}

.sidebar-social {
    display: flex;
    gap: 10px;
    padding: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.sidebar.collapsed .sidebar-social {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar.collapsed .social-link {
    width: 36px;
    height: 36px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.sidebar-support {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(0, 184, 216, 0.1);
    margin: 0 20px;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-support {
    flex-direction: column;
    padding: 10px;
    margin: 0 10px;
    gap: 5px;
}

.sidebar.collapsed .sidebar-support span:not(.icon) {
    display: none;
}

.sidebar.collapsed .sidebar-support .support-badge {
    display: none;
}

.support-badge {
    margin-left: auto;
    background: var(--blue);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Основной контент */
.content {
    flex: 1;
    padding: 30px;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

/* Главный баннер */
.hero-banner {
    background: linear-gradient(135deg, #6a00f4, #9d00ff, #c500f9);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    width: 100%;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.btn-play {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--purple);
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-image {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Боковые баннеры */
.side-banners {
    position: fixed;
    right: 30px;
    top: 100px;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

@media (max-width: 1400px) {
    .side-banners {
        position: static;
        width: 100%;
        flex-direction: row;
        margin-bottom: 30px;
        padding: 0 30px;
    }
    
    .banner-card {
        flex: 1;
    }
}

.banner-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    align-items: center;
}

.banner-car {
    background: linear-gradient(135deg, #00b4d8, #0096c7);
}

.banner-bonus {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
}

.banner-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 13px;
    opacity: 0.9;
}

.banner-card img {
    position: absolute;
    right: -20px;
    bottom: -10px;
    width: 140px;
    height: auto;
}

/* Секции игр */
.games-section {
    margin-bottom: 50px;
}

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

.section-header h2 {
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-small {
    font-size: 24px;
    font-weight: 800;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-grid {
    font-size: 24px;
}
.icon-grid img {
	 width: 24px;
	 height: 24px;
	 display: block;
}

.view-all {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all:hover {
    gap: 12px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--bg-sidebar);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    aspect-ratio: 3/4;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 184, 216, 0.3);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .hero-banner {
        padding: 40px 30px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-image {
        max-width: 300px;
        right: 20px;
    }
}

/* Мобильная нижняя навигация */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 1001;
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 11px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 80px;
}

.mobile-nav-item.active {
    color: var(--blue);
}

.mobile-nav-item .nav-icon {
    font-size: 24px;
    transition: all 0.3s ease;
}

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

.mobile-nav-item:active .nav-icon {
    transform: scale(1.1);
}

/* Overlay для мобильного меню */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header-left {
        padding-left: 15px;
    }
    
    .header-right {
        gap: 8px;
        padding-right: 15px;
    }
    
    .btn-login,
    .btn-register {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    /* Показываем мобильную навигацию */
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Скрываем кнопку меню в хедере */
    .menu-toggle {
        display: none;
    }
    
    .main-container {
        width: 100vw;
        padding: 0;
        display: block;
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 80vw;
        max-width: 340px;
        z-index: 999;
        transform: translateX(-100%);
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.8);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* На мобильном всегда развернуто */
    .sidebar.collapsed {
        width: 80vw;
        max-width: 340px;
    }
    
    /* Показываем все элементы на мобильном */
    @media (max-width: 768px) {
        .sidebar .sidebar-link span:not(.icon),
        .sidebar .user-login span:not(.icon),
        .sidebar h3,
        .sidebar small,
        .sidebar .badge,
        .sidebar .badge-new {
            display: inline !important;
        }
        
        .sidebar .sidebar-download {
            display: flex !important;
        }
        
        .sidebar .free-money-banner span:not(.icon) {
            display: inline !important;
        }
        
        .sidebar .sidebar-link {
            padding: 12px 20px !important;
            justify-content: flex-start !important;
            gap: 12px !important;
        }
        
        .sidebar .user-login {
            padding: 12px 15px !important;
            justify-content: flex-start !important;
            gap: 10px !important;
        }
        
        .sidebar .free-money-banner {
            display: none;
        }
        
        .sidebar .sidebar-social {
            flex-direction: row !important;
            gap: 10px !important;
            padding: 20px !important;
        }
        
        .sidebar .social-link {
            width: 40px !important;
            height: 40px !important;
        }
        
        .sidebar .sidebar-support {
            flex-direction: row !important;
            padding: 15px 20px !important;
            margin: 0 20px !important;
            gap: 8px !important;
        }
        
        .sidebar .sidebar-support span:not(.icon),
        .sidebar .sidebar-support .support-badge {
            display: inline !important;
        }
        
        .sidebar .sidebar-header {
            padding: 0 20px 20px !important;
        }
        
        .sidebar .sidebar-games h3 {
            padding: 10px 20px !important;
        }
    }
    
    .sidebar.active {
        transform: translateX(0);
        top: 30px;
    }
    
    /* Кнопка закрытия меню */
    .sidebar-close {
        display: none;
        position: absolute;
        top: 20px;
        left: 20px;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 26px;
        font-weight: 300;
        cursor: pointer;
        z-index: 1001;
        transition: opacity 0.2s ease;
        line-height: 1;
        padding: 0;
        margin: 0;
        -webkit-tap-highlight-color: transparent;
    }
    
    @media (max-width: 768px) {
        .sidebar-close {
            display: flex;
        }
        
        .sidebar-close:active {
            opacity: 0.6;
        }
    }
    
    .content {
        padding: 0;
        width: 100vw;
        max-width: 100%;
        margin: 0;
    }
    
    .hero-banner {
        padding: 30px 15px;
        min-height: 280px;
        border-radius: 0;
        margin-bottom: 0;
        width: 100vw;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .hero-image {
        max-width: 200px;
        right: 10px;
    }
    
    .btn-play {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .side-banners {
        flex-direction: column;
        padding: 15px;
        margin-bottom: 0;
        width: 100vw;
        gap: 15px;
    }
    
    .banner-card {
        border-radius: 0;
        width: 100%;
    }
    
    .games-section {
        padding: 20px 15px;
        margin-bottom: 0;
    }
    
    .games-section:last-child {
        padding-bottom: 80px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 20px;
		  color: var(--text-primary);
    }
    
    .section-header {
        margin-bottom: 15px;
    }
    
    .game-card {
        border-radius: 12px;
    }
    
    .game-name {
        font-size: 12px;
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .header-right {
        gap: 6px;
    }
    
    .btn-login {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .btn-register {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-image {
        display: none;
    }
    
    .btn-play {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .game-name {
        font-size: 11px;
        padding: 8px 6px;
    }
    
    .mobile-nav-item {
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .mobile-nav-item .nav-icon {
        font-size: 20px;
    }
}

/* Скроллбар */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.nav-iconsas {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-color: #9aa1b1;
    -webkit-mask: url(img/casino.svg) no-repeat center / contain;
    mask: url(img/casino.svg) no-repeat center / contain;
}

/* ВАЖНО! Скрываем img внутри */
.nav-iconsas img {
    display: none;
}

/* Промо баннеры */
.promo-banners {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.promo-banner {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px;
    min-height: 280px;
        flex-direction: column;
}

/* Главный баннер */
.promo-banner-main {
    background: url(img/tS3XLFv_nX7sNaM4SER_5XojrYPMmLkIRpRS6SdpcAFZ_Jln3eCA29Df8dlIRmHZGpKHpo_G5sMzhfrEhFFRK0DHq7dt4G0IM12o.avif) no-repeat center/cover;
}

.promo-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #ffffff;
}

.btn-promo {
    display: inline-block;
    padding: 14px 40px;
    background: #ffffff;
    color: #1a1a2e;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.promo-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Боковые баннеры */
.promo-banners-side {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
}

.promo-banner-money {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    min-height: 150px;
	 width: 50%;
}

.promo-banner-bonus {
    background: linear-gradient(135deg, #7b2cbf 0%, #5a189a 100%);
    padding: 25px;
    min-height: 150px;
	 width: 50%;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.promo-content-small p {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

.bonus-icon {
    font-size: 16px;
}

.promo-image-small {
    position: absolute;
    right: -2px;
    bottom: 0px;
    width: 120px;
    height: 80px;
}

.promo-image-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .promo-banners {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .promo-banners-side {
        flex-direction: row;
		  display: none;
    }

    .promo-banner-money,
    .promo-banner-bonus {
        flex: 1;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .promo-banners {
        padding: 0 15px;
        gap: 15px;
    }

    .promo-banner {
        padding: 30px 20px;
        min-height: 220px;
    }

    .promo-banner-main {
        min-height: 250px;
    }

    .promo-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .btn-promo {
        padding: 12px 30px;
        font-size: 14px;
    }

    .promo-image {
        width: 40%;
    }

    .promo-banners-side {
        flex-direction: column;
    }

    .promo-banner-money,
    .promo-banner-bonus {
        min-height: 120px;
        padding: 20px;
    }

    .promo-image-small {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .promo-content h2 {
        font-size: 20px;
    }

    .promo-banner {
        padding: 25px 15px;
        min-height: 180px;
		  margin-top: 15px;
		  margin-bottom: 0;
    }

    .promo-image {
        opacity: 0.3;
    }

    .promo-content-small p {
        font-size: 13px;
    }
}

        .footer-section {
            background: linear-gradient(135deg, #1a1d29 0%, #0f1118 100%);
            padding: 40px 20px;
				margin: 40px 0;
        }
		  .footer-section h1 {
			font-size: 36px;
			margin-bottom: 20px;
		  }
		  @media (max-width: 767px) {
    .footer-section h1 {
			font-size: 30px;
			line-height: 1.2;
			margin-bottom: 20px;
		  
}}

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .footer-block {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            padding: 30px;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }

        /* Support Block */
        .support-block {
            background: linear-gradient(135deg, #1e3a5f 0%, #0d1929 100%);
        }

        .support-block::before {
            content: '';
            position: absolute;
            right: -50px;
            bottom: -50px;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 50%;
        }

        .badge {
            display: inline-block;
            background: #0066ff;
            color: #fff;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 15px;
            width: fit-content;
        }

        .block-title {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 8px;
        }

        .block-text {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .support-button {
            background: #0066ff;
            color: #fff;
            border: none;
            padding: 14px 24px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: auto;
        }

        .support-button:hover {
            background: #0052cc;
            transform: translateY(-2px);
        }

        /* Support Image */
        .support-image {
            position: absolute;
            right: 20px;
            bottom: 0;
            width: 120px;
            height: auto;
            opacity: 0.9;
        }

        /* Contact Block */
        .contact-item {
            margin-bottom: 25px;
        }

        .contact-item:last-child {
            margin-bottom: 0;
        }

        .contact-label {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 8px;
        }

        .contact-value {
            font-size: 15px;
            color: #fff;
            font-weight: 500;
        }

        /* Blog Block */
        .blog-block {
            background: linear-gradient(135deg, #1a4d2e 0%, #0d1f15 100%);
            position: relative;
        }

        .blog-icon {
            position: absolute;
            right: 15px;
            top: 15px;
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            box-shadow: 0 8px 24px rgba(74, 222, 128, 0.3);
        }

        .social-icons {
            display: flex;
            gap: 12px;
            margin-top: auto;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .social-icon svg {
            width: 20px;
            height: 20px;
            fill: #fff;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .blog-block {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 640px) {
            .footer-section {
                padding: 30px 15px;
            }

            .footer-container {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .footer-block {
                padding: 25px;
            }

            .support-image {
                width: 100px;
                right: 10px;
            }

            .blog-icon {
                width: 70px;
                height: 70px;
                font-size: 32px;
            }

            .block-title {
                font-size: 16px;
            }
        }
			  .footer-section a {
				text-decoration: none;
				color: var(--text-primary);

							  }

/* Horizontal Navigation */
        .horizontal-nav {
            display: flex;
            gap: 0.3rem;
            overflow-x: auto;
            padding: 0.5rem 0;
            margin-bottom: 1.5rem;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(147, 51, 234, 0.5) transparent;
        }

		  @media (min-width: 767px) {
    .horizontal-nav {
        display: none;
}}

        .horizontal-nav::-webkit-scrollbar {
            height: 4px;
        }

        .horizontal-nav::-webkit-scrollbar-track {
            background: transparent;
        }

        .horizontal-nav::-webkit-scrollbar-thumb {
            background: rgba(147, 51, 234, 0.5);
            border-radius: 2px;
        }

        .horizontal-nav::-webkit-scrollbar-thumb:hover {
            background: rgba(147, 51, 234, 0.7);
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: rgba(30, 20, 60, 0.5);
            border: 1px solid rgba(147, 51, 234, 0.3);
            border-radius: 12px;
            color: white;
            text-decoration: none;
            white-space: nowrap;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .nav-link:hover {
            background: rgba(147, 51, 234, 0.3);
            transform: translateY(-2px);
        }

        .nav-link.active {
            background: #0075ff;
            border-color: transparent;
        }

        .nav-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        /* SVG Icons */
        .icon {
            width: 100%;
            height: 100%;
            fill: currentColor;
        }

        /* Demo content */
        .demo-content {
            background: rgba(30, 20, 60, 0.5);
            border: 1px solid rgba(147, 51, 234, 0.3);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
        }

        .demo-content h2 {
            margin-bottom: 1rem;
        }

        .nav-link.active,
.sidebar-link.active,
.mobile-nav-item.active {
  background: var(--blue);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: rgba(0, 180, 216, 0.15);
  border-left: 3px solid var(--blue);
}
