* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f0728 0%, #1a0b2e 50%, #0f0728 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 7, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle:hover {
    background: rgba(147, 51, 234, 0.3);
    border-radius: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-collapse {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
}

.menu-collapse:hover {
    background: rgba(147, 51, 234, 0.3);
    border-radius: 8px;
}

.arrow {
    display: block;
    width: 8px;
    height: 8px;
    border-left: 2px solid white;
    border-top: 2px solid white;
    transform: rotate(-45deg);
}

.sidebar.collapsed .arrow {
    transform: rotate(135deg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login {
    padding: 0.5rem 1rem;
    background: #8acaff1f;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.btn-login:hover {
    background: rgba(147, 51, 234, 0.3);
}

.btn-register {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: transform 0.2s;
}

.btn-register:hover {
    transform: scale(1.05);
}

/* Main Wrapper */
.main-wrapper {
    display: flex;
    margin-top: 64px;
    /* padding-bottom: 80px; */
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 64px;
    bottom: 0;
    width: 256px;
    background: rgba(15, 7, 40, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(147, 51, 234, 0.3);
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 100;
    transform: translateX(-100%);
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	 margin-top: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.4rem 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    position: relative;
	 font-size: 14px;
}

.nav-item:hover {
    background: rgba(147, 51, 234, 0.3);
}

.nav-item.active {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.nav-item .icon {
    font-size: 1.25rem;
    min-width: 24px;
}

.nav-item .label {
    flex: 1;
    white-space: nowrap;
}

.badge {
    background: #10b981;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.nav-divider {
    height: 1px;
    background: rgba(147, 51, 234, 0.3);
    margin: 0.5rem 0;
}

.sidebar-footer {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.vk {
    background: #0077ff;
}

/* Content */
.content {
    flex: 1;
    padding: 0.7rem;
    margin-left: 0;
    transition: margin-left 0.3s;
    max-width: 100%;
	 margin-top: 30px;
}

/* Promo Section */
.promo-section {
    margin-bottom: 2rem;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.promo-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-card-1 {
    background: url('img/promo1.jpg');
    background-size: cover;
    background-position: center;
}

.promo-card-2 {
    background: url('img/promo2.jpg');
    background-size: cover;
    background-position: center;
}

.promo-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}

.promo-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.promo-content p {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.promo-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: rgba(30, 20, 60, 0.7);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.promo-btn:hover {
    background: rgba(30, 20, 60, 0.9);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card {
        height: 240px;
    }

    .promo-content h2 {
        font-size: 1.75rem;
    }

    .promo-content p {
        font-size: 1.5rem;
    }
}

/* Categories */
.categories {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.categories::-webkit-scrollbar {
    height: 4px;
}

.categories::-webkit-scrollbar-thumb {
    background: rgba(147, 51, 234, 0.5);
    border-radius: 2px;
}

.category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 20, 60, 0.5);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    white-space: nowrap;
    transition: all 0.3s;
}
@media (max-width: 767px) {
    .category {
    padding: 0.2rem 0.7rem;
	font-size: 12px;}
.category-icon img {
	width: 16px;
	height: auto;
}
.categories {
	gap: 0.3rem;
}
}

.category:hover {
    background: rgba(147, 51, 234, 0.3);
    transform: translateY(-2px);
}

.category.active {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-color: transparent;
}

.category-icon {
    font-size: 1.25rem;
}

/* Games Section */
.games-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 28px;
	 color: #e6e6e6;
}

.see-all {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.see-all:hover {
    color: #c084fc;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.game-card {
    background: rgba(30, 20, 60, 0.5);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.game-image {
    width: 100%;
    height: 295px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.game-1 { 
    background: url('img/e07f963f-6cd7-4321-ad59-9fbbe32fe0c0_vertical.avif') center/cover no-repeat;
}
.game-2 { 
    background: url('img/v_endorphinaendorphina2_hellhot100_endorphina2_hellhot100.avif') center/cover no-repeat;
}
.game-3 { 
    background: url('img/1975f900-4022-420a-bb40-5cf42dd57b07_vertical.avif') center/cover no-repeat;
}
.game-4 { 
    background: url('img/v_threeoaks777coins_777_coins.avif') center/cover no-repeat;
}
.game-5 { 
    background: url('img/78577845-ef7d-4e5c-a551-8f12f0db9ecf_vertical.avif') center/cover no-repeat;
}
.game-6 { 
    background: url('img/16623258-f322-4d9d-810c-b717a1d66500_vertical.avif') center/cover no-repeat;
}
.game-7 { 
    background: url('img/9f653a9b-85d1-4c86-a0ec-76af9794a67c_vertical.avif') center/cover no-repeat;
}
.game-8 { 
    background: url('img/231ca5ac-6f4a-4207-b381-3a51eb03d96c_vertical.avif') center/cover no-repeat;
}
.game-9 { 
    background: url('img/432337c6-5e06-449b-88ef-68e1ddc960dc_vertical.avif') center/cover no-repeat;
}
.game-10 { 
    background: url('img/6100e7cc-2ff7-41b1-8163-de484e0059b8_vertical.avif') center/cover no-repeat;
}
.game-11 { 
    background: url('img/c324ac59-0600-495e-8f2d-83e75c168f50_vertical.avif') center/cover no-repeat;
}
.game-12 { 
    background: url('img/136739b4-24e0-48af-824c-8cabe67897d2_vertical.avif') center/cover no-repeat;
}
.game-13 { 
    background: url('img/f1876709-4f25-43c5-94a8-24fac9b51f88_vertical.avif') center/cover no-repeat;
}
.game-14 { 
    background: url('img/395c7836-6ae3-449f-b202-226fe3ed8be4_vertical.avif') center/cover no-repeat;
}

.game-info {
    padding: 1rem;
}

.game-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.game-provider {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Originals Grid */
.originals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.original-card {
    height: 150px;
    border-radius: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.original-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.original-1 { background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%); }
.original-2 { background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%); }
.original-3 { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); }
.original-4 { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.original-5 { background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%); }
.original-6 { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 7, 40, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(147, 51, 234, 0.3);
    padding: 0.5rem;
    z-index: 1000;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    transition: color 0.3s;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.mobile-nav-item.active {
    color: #a855f7;
}

.mobile-icon {
    font-size: 1.5rem;
}

.mobile-badge {
    position: absolute;
    top: -5px;
    right: 15%;
    background: #10b981;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    font-size: 0.625rem;
    font-weight: 600;
}

/* Responsive */
@media (min-width: 1024px) {
    .menu-collapse {
        display: block;
    }

    .sidebar {
        transform: translateX(0);
    }
    
    .sidebar-overlay {
        display: none;
    }

    .content {
        margin-left: 256px;
        transition: margin-left 0.3s ease;
		  margin-top: 20px;
    }

    .sidebar.collapsed {
        width: 80px;
    }
    
    .sidebar.collapsed .nav-item .label,
    .sidebar.collapsed .nav-item .badge {
        display: none;
    }

    .sidebar.collapsed ~ .content {
        margin-left: 80px;
        margin-top: 30px;
        margin-right: 20px;
    }

    .btn-login {
        display: inline-block;
    }
}

@media (max-width: 1023px) {
    .menu-toggle {
        display: none;
    }

    .logo img {
        width: 100%;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-nav {
        display: flex;
        justify-content: space-around;
    }

    .main-wrapper {
        padding-bottom: 80px;
    }

    .promo-slider {
        height: 200px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .character {
        width: 120px;
        height: 120px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .btn-login {
        display: block;
    }
}

@media (max-width: 640px) {
    .search-bar {
        flex-direction: column;
    }

    .providers-btn {
        width: 100%;
        justify-content: center;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .promo-slider {
        height: 180px;
    }

    .slide {
        padding: 1.5rem;
    }

    .slide-image {
        display: none;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }
}
        /* Footer */
        .footer {
            background: #1f1632;
            border-top: 1px solid rgba(147, 51, 234, 0.2);
            padding: 3rem 1.5rem 2rem;
            margin-top: auto;
				border-radius: 20px;
        }

        .footer-container {
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 2fr 1.5fr;
            gap: 3rem;
            align-items: start;
        }

        /* Logo Section */
        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            color: white;
        }

        .footer-logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5rem;
        }

        .footer-logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .footer-social {
            display: flex;
            gap: 0.75rem;
        }

        .social-link {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.25rem;
        }

        .social-link.telegram {
            background: #0088cc;
        }

        .social-link.vk {
            background: #0077ff;
        }

        .social-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
        }

        /* Footer Links */
        .footer-links {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .footer-column h3 {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            opacity: 0.9;
        }

        .footer-column ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-column a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .footer-column a:hover {
            color: #a855f7;
            transform: translateX(5px);
        }

        /* Support Card */
        .footer-support {
            background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
            border-radius: 16px;
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
        }

        .support-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 0.375rem 0.75rem;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.75rem;
        }

        .support-title {
            font-size: 1.125rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
        }

        .support-text {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .support-btn {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .support-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .support-info {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .support-info-item {
            margin-bottom: 1rem;
        }

        .support-info-label {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0.25rem;
        }

        .support-info-value {
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .support-info-value a {
            color: white;
            text-decoration: none;
        }

        .support-info-value a:hover {
            text-decoration: underline;
        }

        /* Footer Bottom */
        .footer-bottom {
            max-width: 1200px;
            margin: 2rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid rgba(147, 51, 234, 0.2);
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.875rem;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .footer-container {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .footer-links {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .footer {
                padding: 2rem 1rem 1.5rem;
            }

            .footer-links {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .footer-bottom {
                font-size: 0.8rem;
            }
        }

@media (max-width: 767px) {
    .game-image {
        height: 140px;}
		.promo-card-2 {
			display: none;
		}
		}

		.footer-tx h1 {
			font-size: 36px;
			line-height: 1.2;
			margin-bottom: 20px;
		}

				.footer-tx p {
			font-size: 16px;
			line-height: 1.4;
			font-weight: 400;
			margin-bottom: 20px;
			color: #a1a1a1;
		}

		.footer-text {
    background: #1f1632;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    padding: 3rem 1.5rem 2rem;
    margin-top: auto;
	 margin-bottom: 40px;
    border-radius: 20px;
}


@media (max-width: 767px) {
    .footer-text {
        font-size: 22px;padding: 24px;
}}
