
        /* Базовые переменные для быстрой смены цветовой схемы бренда */
        :root {
            --bg-main: #0f172a;       /* Основной фон (темный) */
            --bg-secondary: #1e293b;  /* Фон секций и карточек */
            --bg-header: #020617;     /* Фон шапки */
            --primary: #dc2626;       /* Главный акцентный цвет (Красный для Mafia) */
            --primary-hover: #b91c1c; /* Цвет при наведении */
            --text-main: #f8fafc;     /* Основной текст */
            --text-muted: #94a3b8;    /* Второстепенный текст */
            --border-color: #334155;  /* Цвет границ */
            --radius: 8px;            /* Скругление углов */
        }

        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", Helvetica, Arial, sans-serif, "Sofia Sans";
            background-color: var(--bg-main);
            color: var(--text-main);
            line-height: 1.6;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s;
        }

        a:hover {
            color: var(--primary);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        
        .header-top {
            background-color: var(--bg-header);
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo img {
            max-height: 70px; 
            width: auto;
            display: block;
            transform: scale(1.6); 
    transform-origin: left center;
        }

        .auth-buttons {
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 10px 20px;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            font-size: 14px;
            will-change: transform, box-shadow;
        }

        
        .btn:hover {
            transform: translateY(-3px);
        }

        
        .btn:active {
            transform: translateY(1px);
        }

        .btn-outline {
            background: transparent;
            color: var(--text-main);
            border: 1px solid var(--border-color);
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
        }

        .main-nav {
            background-color: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-list {
            display: flex;
            list-style: none;
            overflow-x: auto;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        .nav-list::-webkit-scrollbar {
            display: none;
        }

        .nav-list li {
            white-space: nowrap;
        }

        .nav-list a {
            display: block;
            padding: 15px 20px;
            font-size: 14px;
            font-weight: 500;
            border-bottom: 2px solid transparent;
        }

        .nav-list a:hover, .nav-list a.active {
            border-bottom-color: var(--primary);
            color: var(--primary);
        }

        
        .hero {
            background: linear-gradient(rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.4)), url('../images/hero-mafia-casino.png') center/cover no-repeat;
            padding: 100px 20px; 
            text-align: center;
            border-bottom: 1px solid var(--border-color);
        }

      .hero h1 {
    font-family: "Sofia Sans"; 
    font-size: 50px;
    margin-bottom: 15px;
    color: #f9f9f5;
    font-weight: 900; 
}

        .hero p {
            font-size: 20px;
            color: var(--primary);
            margin-bottom: 30px;
            max-width: 600px;
            margin-inline: auto;
            font-weight: 700
        }

        
        .content-section {
            padding: 40px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .content-section h2 {
            font-size: 28px;
            margin-bottom: 20px;
            color: #fff;
        }

        .content-section h3 {
            font-size: 22px;
            margin: 25px 0 15px;
            color: #fff;
        }

        .content-section h4 {
            font-size: 18px;
            margin: 20px 0 10px;
            color: var(--text-main);
        }

        .content-section p {
            margin-bottom: 15px;
            color: var(--text-muted);
        }
        
        .content-section ul, .content-section ol {
            margin-bottom: 15px;
            padding-left: 20px;
            color: var(--text-muted);
        }

        .content-section li {
            margin-bottom: 8px;
        }

        
        .full-width-image {
            width: 100%;
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border-color);
            margin: 20px 0;
            background-color: var(--bg-secondary);
        }

        .full-width-image img {
            width: 100%;
            height: auto;
            max-height: 450px;
            display: block;
            object-fit: cover;
        }

       
        .table-responsive {
            overflow-x: auto;
            margin-bottom: 20px;
        }

        .review-table {
            width: 100%;
            min-width: 600px;
            border-collapse: collapse;
            background-color: var(--bg-secondary);
            border-radius: var(--radius);
            overflow: hidden;
        }

        .review-table th, .review-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .review-table th {
            background-color: rgba(255, 255, 255, 0.05);
            font-weight: 600;
            color: #fff;
        }

        .review-table tr:last-child td {
            border-bottom: none;
        }

        
        .pros-cons {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        .pros, .cons {
            flex: 1;
            min-width: 300px;
            background-color: var(--bg-secondary);
            padding: 20px;
            border-radius: var(--radius);
            border: 1px solid var(--border-color);
        }
        .pros h3 { color: #10b981; margin-top: 0; }
        .cons h3 { color: #ef4444; margin-top: 0; }

        
        footer {
            background-color: var(--bg-header);
            padding: 40px 0;
            text-align: center;
            border-top: 1px solid var(--border-color);
            color: var(--text-muted);
            font-size: 14px;
        }

        
        @media (max-width: 768px) {
            .hero h1 { font-size: 28px; }
            .content-section h2 { font-size: 24px; }
            .auth-buttons .btn { padding: 8px 12px; font-size: 13px; }
        }
 
.author-box {
    background-color: var(--bg-secondary);
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 14px;
    color: var(--text-muted);
}
.author-box strong { 
    color: var(--text-main); 
}   

.cta-container {
    text-align: center;
    width: 100%;
    margin: 40px 0;
}

.cta-pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); } 
    70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@media (max-width: 768px) {.burger-menu {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}


@media (max-width: 768px) {
    
    .burger-menu {
        display: flex; 
        margin-right: auto; 
        margin-left: 20px;  
    }

    
    .main-nav {
        position: relative; 
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        flex-direction: column; 
        max-height: 0; 
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        border-bottom: none;
    }

   
    .nav-list.active {
        max-height: 500px;
        border-bottom: 2px solid var(--primary);
    }

    .nav-list a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
        font-size: 16px; 
    }

    
    .burger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0; 
    }
    .burger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
    
    body { padding-bottom: 70px; }
    
    .cta-container.sticky-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 10px;
        background: rgba(2, 6, 23, 0.95); 
        backdrop-filter: blur(10px);
        z-index: 1000;
        border-top: 1px solid var(--border-color);
    }
    
    .cta-container.sticky-mobile .btn {
        width: 100%;
        display: block;
    }
}

@media (min-width: 769px) {
    .burger-menu {
        display: none !important;
    }
}
@media (max-width: 768px) {
    
    
    .logo {
        order: 1;
    }

    
    .auth-buttons {
        order: 2;
        margin-left: auto; 
    }

    
    .burger-menu {
        display: flex; 
        order: 3; 
        margin-left: 15px; 
        margin-right: 0;   
    }

    
}