
        :root {
            --primary: #00a859;
            --primary-dark: #008749;
            --primary-light: #e0f7ec;
            --secondary: #0d47a1;
            --secondary-dark: #082e6b;
            --accent: #ff6b35;
            --accent-gradient: linear-gradient(135deg, #ff6b35, #ff8e53);
            --dark: #121826;
            --light: #f8fafc;
            --gray-light: #e2e8f0;
            --gray: #64748b;
            --glass-bg: rgba(255, 255, 255, 0.08);
            --glass-border: rgba(255, 255, 255, 0.18);
            --border-radius-sm: 12px;
            --border-radius: 20px;
            --border-radius-lg: 30px;
            --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            --container-max: 1400px;
        }

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

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }
html.active{
    overflow: hidden;
}
        body {
            font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
            line-height: 1.7;
            color: var(--dark);
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            min-height: 100vh;
            overflow-x: hidden;
        }

        .glass {
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
        }

        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        .app {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

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

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

        ul {
            list-style: none;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 28px;
            border-radius: var(--border-radius);
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-size: 16px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.7s ease;
            z-index: -1;
        }

        .btn:hover::after {
            left: 100%;
        }

        .header {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            color: white;
            position: relative;
        }

        .navbar {
            padding: 20px 0;
        }

        .navbar-wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar-logo img {
            height: 48px;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        }

        .navbar-nav {
            display: flex;
        }

        .navbar-nav ul {
            display: flex;
            gap: 30px;
        }

        .navbar-nav a {
            color: white;
            font-weight: 500;
            position: relative;
            padding: 8px 0;
            font-size: 16px;
        }

        .navbar-nav a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--accent-gradient);
            border-radius: 3px;
            transition: var(--transition);
        }

        .navbar-nav a:hover::before {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: transparent;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            z-index: 1001;
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 320px;
            height: 100vh;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            z-index: 1000;
            padding: 100px 30px 40px;
            transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
            box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-nav ul {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .mobile-menu-nav a {
            color: white;
            font-size: 18px;
            font-weight: 500;
            padding: 12px 20px;
            display: block;
            border-radius: var(--border-radius-sm);
            transition: var(--transition);
        }

        .mobile-menu-nav a:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(10px);
        }

        .mobile-menu-auth {
            margin-top: 40px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .navbar-auth {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .btn-lang {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-radius: var(--border-radius);
        }

        .btn-lang img {
            height: 20px;
            width: 30px;
            border-radius: 4px;
        }

        .btn-sign-in {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .btn-sign-up {
            background: var(--accent-gradient);
            color: white;
            box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
        }

        .btn-sign-up:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(255, 107, 53, 0.4);
        }

        .header-banner {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .header-banner::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1600857544205-bf8510ed2f79?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
            border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
            opacity: 0.9;
        }

        .header-banner-wrap {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 60px;
            position: relative;
            z-index: 1;
        }

        .header-banner-content {
            flex: 1;
        }

        .header-banner-content h1 {
            font-size: 3.5rem;
            margin-bottom: 24px;
            color: white;
            line-height: 1.2;
            text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .header-banner-content p {
            margin-bottom: 36px;
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
        }

        .header-banner-action {
            background: var(--accent-gradient);
            color: white;
            font-weight: 700;
            font-size: 1.2rem;
            padding: 18px 40px;
            border-radius: var(--border-radius);
            box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
        }

        .header-banner-action:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
        }

        .main {
            flex: 1;
            padding: 80px 0;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            margin-bottom: 80px;
        }

        @media (min-width: 768px) {
            .stats {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .stat-item {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            border: 1px solid var(--gray-light);
            position: relative;
            overflow: hidden;
        }

        .stat-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--accent-gradient);
        }

        .stat-item:hover {
            transform: translateY(-10px);
            box-shadow: var(--box-shadow-hover);
        }

        .stat-item-title {
            font-size: 1rem;
            color: var(--gray);
            margin-bottom: 12px;
            font-weight: 500;
        }

        .stat-item-value {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--secondary);
            margin-bottom: 20px;
            font-feature-settings: "tnum";
        }

        .stat-item-value::after {
            content: ' ₸';
        }

        .stat-item-range {
            height: 8px;
            background-color: var(--gray-light);
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }

        .stat-item-range::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 70%;
            background: var(--accent-gradient);
            transition: width 1.5s ease;
        }

        .stat-item:nth-child(2) .stat-item-range::after {
            width: 80%;
        }

        .stat-item:nth-child(3) .stat-item-range::after {
            width: 60%;
        }

        .stat-item:nth-child(4) .stat-item-range::after {
            width: 90%;
        }

        .lotteries {
            margin-bottom: 80px;
        }

        .lotteries-wrap {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            margin-bottom: 50px;
        }

        @media (min-width: 640px) {
            .lotteries-wrap {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .lotteries-wrap {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .lottery {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            border: 1px solid var(--gray-light);
            position: relative;
        }

        .lottery:hover {
            transform: translateY(-10px);
            box-shadow: var(--box-shadow-hover);
        }

        .lottery-logo {
            display: block;
            height: 180px;
            background: linear-gradient(135deg, var(--primary-light), white);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
            position: relative;
            overflow: hidden;
        }

        .lottery-logo::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0.3;
            animation: float 20s linear infinite;
        }

        @keyframes float {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(-20px, -20px) rotate(360deg); }
        }

        .lottery-logo img {
            max-height: 120px;
            filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
            position: relative;
            z-index: 1;
        }

        .lottery-title {
            padding: 24px 24px 12px;
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--secondary);
        }

        .lottery-price {
            padding: 0 24px;
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 24px;
        }

        .lottery-price::before {
            content: 'Джекпот: ';
            font-size: 1rem;
            color: var(--gray);
            font-weight: 500;
            display: block;
            margin-bottom: 5px;
        }

        .lottery-price::after {
            content: ' ₸';
        }

        .lottery-action {
            padding: 0 24px 24px;
            display: flex;
            gap: 12px;
        }

        .btn-lottery {
            flex: 1;
            background: var(--secondary);
            color: white;
            padding: 16px;
            border-radius: var(--border-radius-sm);
        }

        .btn-lottery:hover {
            background: var(--secondary-dark);
            transform: translateY(-2px);
        }

        .btn-lotteries {
            display: block;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            background: var(--accent-gradient);
            color: white;
            font-size: 1.2rem;
            padding: 20px;
            border-radius: var(--border-radius);
            box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
        }

        .btn-lotteries:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
        }

        .winnigs {
            margin-bottom: 80px;
        }

        .winnings-title {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 40px;
            color: var(--secondary);
            font-weight: 800;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }

        .winnings-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 25%;
            width: 50%;
            height: 4px;
            background: var(--accent-gradient);
            border-radius: 2px;
        }

        .winnings-wrap {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }

        @media (min-width: 992px) {
            .winnings-wrap {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .winnings-column {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            padding: 20px;
        }

        .table-container {
            overflow-x: auto;
            border-radius: var(--border-radius-sm);
            margin-bottom: 20px;
        }

        table {
            width: 100%;
            min-width: 500px;
            border-collapse: separate;
            border-spacing: 0;
        }

        table th {
            background: var(--secondary);
            color: white;
            padding: 18px 20px;
            text-align: left;
            font-weight: 600;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        table th:first-child {
            border-radius: 12px 0 0 0;
        }

        table th:last-child {
            border-radius: 0 12px 0 0;
        }

        table td {
            padding: 16px 20px;
            border-bottom: 1px solid var(--gray-light);
            font-weight: 500;
        }

        table tr:last-child td {
            border-bottom: none;
        }

        table tr:hover {
            background-color: rgba(13, 71, 161, 0.05);
        }

        .winnings-action {
            text-align: center;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            left: 50%;
            position: relative;
            transform: translateX(-50%);
            padding: 15px 30px;
            border-radius: var(--border-radius);
            background: rgba(0, 168, 89, 0.1);
            transition: var(--transition);
        }

        .winnings-action:hover {
            background: rgba(0, 168, 89, 0.2);
            transform: translateX(-50%) translateY(-3px);
            gap: 15px;
        }

        .winnings-action::after {
            content: '→';
            transition: var(--transition);
        }

        .content {
            background: white;
            border-radius: var(--border-radius);
            padding: 50px;
            box-shadow: var(--box-shadow);
            margin-top: 60px;
        }

        @media (max-width: 768px) {
            .content {
                padding: 30px 20px;
            }
        }

        .toc {
            background: var(--primary-light);
            border-radius: var(--border-radius);
            padding: 30px;
            margin-bottom: 40px;
            border-left: 6px solid var(--primary);
        }

        .toc-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--secondary);
        }

        .toc ol {
            list-style-type: decimal;
            padding-left: 25px;
        }

        .toc li {
            margin-bottom: 12px;
        }

        .toc a {
            color: var(--primary);
            font-weight: 500;
            transition: var(--transition);
        }

        .toc a:hover {
            color: var(--accent);
            padding-left: 10px;
        }

        h2 {
            font-size: 2.2rem;
            margin: 40px 0 25px;
            color: var(--secondary);
            padding-bottom: 15px;
            border-bottom: 3px solid var(--accent);
            font-weight: 800;
        }

        h3 {
            font-size: 1.6rem;
            margin: 30px 0 18px;
            color: var(--secondary);
            font-weight: 700;
        }

        p {
            margin-bottom: 24px;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        strong {
            color: var(--secondary);
            font-weight: 700;
        }

        em {
            color: var(--accent);
            font-style: italic;
        }

        ol, ul {
            margin-bottom: 24px;
            padding-left: 35px;
        }

        .content ul {
            list-style-type: '✓ ';
            color: var(--primary);
        }

        .content ul li {
            margin-bottom: 12px;
            padding-left: 10px;
        }

        .content ol {
            list-style-type: decimal;
            color: var(--secondary);
        }

        .content ol li {
            margin-bottom: 12px;
            padding-left: 10px;
        }

        .table-wrapper {
            overflow-x: auto;
            margin-bottom: 30px;
            border-radius: var(--border-radius-sm);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .table-wrapper table {
            min-width: 600px;
            border: none;
        }

        blockquote {
            background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(0, 168, 89, 0.05));
            border-left: 6px solid var(--accent);
            padding: 30px;
            margin: 30px 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            position: relative;
            overflow: hidden;
        }

        blockquote::before {
            content: '"';
            position: absolute;
            top: 10px;
            left: 10px;
            font-size: 80px;
            color: rgba(255, 107, 53, 0.1);
            font-family: serif;
            line-height: 1;
        }

        blockquote footer {
            margin-top: 15px;
            font-style: italic;
            color: var(--gray);
            font-weight: 500;
        }

        pre {
            background: var(--dark);
            color: white;
            padding: 25px;
            border-radius: var(--border-radius);
            overflow-x: auto;
            margin-bottom: 25px;
            font-family: 'Courier New', monospace;
            font-size: 1rem;
            line-height: 1.6;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
            color: white;
            padding: 60px 0 30px;
            margin-top: 80px;
        }

        .footer-navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 50px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            flex-wrap: wrap;
            gap: 30px;
        }

        .footer-logo img {
            height: 50px;
        }

        .footer-nav ul {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
        }

        .footer-nav a {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
            transition: var(--transition);
        }

        .footer-nav a:hover {
            color: white;
            transform: translateY(-2px);
        }

        .footer-content {
            text-align: center;
        }

        .footer-content p {
            max-width: 800px;
            margin: 0 auto 20px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
            line-height: 1.7;
        }

        @media (max-width: 1200px) {
            .header-banner-content h1 {
                font-size: 3rem;
            }
        }

        @media (max-width: 992px) {
            .navbar-nav {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .navbar-auth .btn-sign-in,
            .navbar-auth .btn-sign-up {
                display: none;
            }

            .header-banner::before {
                width: 40%;
                opacity: 0.7;
            }

            .header-banner-content h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            h1{
                font-size: 2rem;
                line-height: normal;
            }
            h2{
                font-size: 1.8rem;
                line-height: normal;
            }
            h3{
                font-size: 1.6rem;
                line-height: normal;
            }
            p{
                font-size: 1rem !important;
            }
            .mobile-menu-nav ul{
                gap: 10px;
                padding-left: 0;
            }
            .mobile-menu-nav a{
                padding: 0;
            }
            .header-banner {
                padding: 40px 0;
            }

            .header-banner::before {
                display: none;
            }

            .header-banner-wrap {
                text-align: center;
            }
           

            .header-banner-content h1 {
                font-size: 2.2rem;
            }
 .header-banner-img{
                display: none;
            }
            .main{
                padding: 40px 0;
            }
            .footer-navbar {
                flex-direction: column;
                text-align: center;
            }

            .footer-nav ul {
                justify-content: center;
                gap: 10px;
            }

            .stats {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .header-banner-content h1 {
                font-size: 1.8rem;
            }

            .btn {
                padding: 12px 20px;
            }

            .lottery-action {
                flex-direction: column;
            }

            .mobile-menu {
                width: 100%;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 0.8s ease forwards;
        }

        .stat-item, .lottery, .winnings-column {
            opacity: 0;
        }
    