* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Оптимизация производительности */
html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    /* Оптимизация прокрутки */
    .container {
        will-change: transform;
        transform: translateZ(0);
    }
    
    /* Улучшение производительности анимаций */
    .casino-card {
        will-change: transform;
        transform: translateZ(0);
    }
    
    .casino-btn {
        will-change: transform;
        transform: translateZ(0);
    }
    
    /* Улучшение отклика на касания */
    .casino-btn:active {
        transform: scale(0.95) translateZ(0);
        transition: transform 0.1s ease;
    }
    
    .nav-menu a:active {
        transform: scale(0.98) translateZ(0);
        transition: transform 0.1s ease;
    }
    
    /* Улучшение прокрутки на iOS */
    .container {
        -webkit-overflow-scrolling: touch;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #f0f0f0;
    line-height: 1.6;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
}

header {
    background: linear-gradient(135deg, #1a1a1a, #000);
    padding: 0;
    border-bottom: 3px solid #ffd700;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 2.2em;
    font-weight: 900;
    color: #ffd700 !important;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 1;
    visibility: visible;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu a {
    color: #f0f0f0;
    text-decoration: none;
    padding: 25px 20px;
    display: block;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    font-weight: 600;
}

.nav-menu a:hover {
    background: rgba(255, 215, 0, 0.15);
    border-bottom-color: #ffd700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 1.8em;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.1);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 
        0 0 50px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, transparent, #ffd700);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
}

h1 {
    font-size: 2.8em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700, #daa520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
    border-bottom: 3px solid #ffd700;
    padding-bottom: 15px;
}

h2 {
    color: #ffd700;
    font-size: 2em;
    font-weight: 700;
    margin: 50px 0 25px 0;
    border-left: 5px solid #ffd700;
    padding-left: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, transparent);
}

.intro {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: #f0f0f0;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    font-size: 1.2em;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.casino-card {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 3px solid #333;
    border-radius: 25px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.casino-card:hover::before {
    left: 100%;
}

.casino-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #ffd700;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.casino-name {
    font-size: 1.8em;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.casino-logo {
    height: 40px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.casino-bonus {
    background: linear-gradient(45deg, #b8860b, #daa520, #ffd700);
    color: #000;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 800;
    margin: 15px 0;
    display: inline-block;
    box-shadow: 
        0 5px 20px rgba(184, 134, 11, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid #ffd700;
    font-size: 1.1em;
}

.casino-payments {
    color: #ccc;
    margin: 20px 0;
    font-size: 1em;
    line-height: 1.8;
    flex-grow: 1;
}

.casino-btn {
    background: linear-gradient(45deg, #b8860b, #daa520, #ffd700);
    color: #000;
    padding: 18px 35px;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    font-weight: 800;
    width: 100%;
    margin-top: auto;
    font-size: 1.2em;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 25px rgba(184, 134, 11, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    border: 3px solid #ffd700;
    font-family: inherit;
    min-height: 48px;
    min-width: 120px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.casino-btn:hover {
    background: linear-gradient(45deg, #daa520, #ffd700, #ffed4e);
    transform: scale(1.05);
    box-shadow: 
        0 12px 35px rgba(255, 215, 0, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.casino-btn:active {
    transform: scale(0.98);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

th, td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background: linear-gradient(135deg, #1a1a1a, #000);
    color: #ffd700;
    font-weight: 800;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

td {
    color: #f0f0f0;
    font-size: 1em;
}

tr:hover {
    background: rgba(255, 215, 0, 0.08);
}

.highlight {
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    color: #ffd700;
    padding: 25px;
    border-radius: 20px;
    margin: 30px 0;
    border: 3px solid #ffd700;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.2);
    text-align: center;
    font-weight: 700;
    font-size: 1.2em;
}

ul {
    list-style: none;
}

ul li {
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    color: #f0f0f0;
    margin: 15px 0;
    padding: 20px;
    border-left: 5px solid #ffd700;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 1.1em;
}

.faq {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 35px;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 25px;
}

.faq-question {
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 12px;
    font-size: 1.3em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.faq-answer {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1.1em;
}

.cta-final {
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700);
    color: #000;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    margin: 40px 0;
    font-size: 1.5em;
    font-weight: 800;
    box-shadow: 
        0 15px 50px rgba(184, 134, 11, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    border: 3px solid #ffd700;
}

footer {
    background: linear-gradient(135deg, #000, #1a1a1a);
    color: #f0f0f0;
    padding: 50px 0 30px;
    margin-top: 60px;
    border-top: 3px solid #ffd700;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 800;
}

.footer-section ul li {
    background: none;
    padding: 8px 0;
    border: none;
    color: #ccc;
    box-shadow: none;
    margin: 10px 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.footer-bottom {
    border-top: 2px solid #444;
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    color: #999;
    font-size: 1.1em;
}

/* ===== 404 PAGE STYLES ===== */

/* Constellation d'étoiles dorées */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffd700;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Chemins sinueux */
.path {
    position: absolute;
    stroke: rgba(255, 215, 0, 0.3);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 10, 5;
    animation: pathFlow 8s linear infinite;
}

@keyframes pathFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 100; }
}

.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.content {
    background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 700px;
    width: 100%;
    box-shadow: 
        0 0 50px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.compass {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    border: 3px solid #ffd700;
    border-radius: 50%;
    background: radial-gradient(circle, #2a2a2a, #1a1a1a);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 80px;
    background: linear-gradient(to top, #ff4444, #ffd700);
    transform: translate(-50%, -50%) rotate(45deg);
    transform-origin: center;
    border-radius: 2px;
    animation: needleSpin 4s ease-in-out infinite;
}

.compass-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #ffd700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #000;
}

.compass-marks {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffd700;
    font-weight: bold;
    font-size: 0.8em;
}

@keyframes needleSpin {
    0% { transform: translate(-50%, -50%) rotate(45deg); }
    25% { transform: translate(-50%, -50%) rotate(135deg); }
    50% { transform: translate(-50%, -50%) rotate(225deg); }
    75% { transform: translate(-50%, -50%) rotate(315deg); }
    100% { transform: translate(-50%, -50%) rotate(405deg); }
}

.error-title {
    font-size: 4em;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #daa520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 0.1em;
}

.message {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.quote {
    font-style: italic;
    font-size: 1.1em;
    color: #ccc;
    margin-bottom: 40px;
    padding: 20px;
    border-left: 4px solid #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 0 10px 10px 0;
}

.navigation-help {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.nav-card {
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #e0e0e0;
    display: block;
}

.nav-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.nav-card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.nav-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.nav-card p {
    font-size: 0.9em;
    opacity: 0.8;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #b8860b, #daa520, #ffd700);
    color: #000;
    border-color: #ffd700;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #daa520, #ffd700, #ffed4e);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffd700;
    border-color: #ffd700;
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.05);
}

.breadcrumb {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 0.9em;
    z-index: 20;
}

.breadcrumb a {
    color: #ffd700;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== MOBILE FIRST RESPONSIVE DESIGN ===== */

/* Mobile First - базовые стили для мобильных устройств */
@media (max-width: 480px) {
    body { 
        padding: 5px; 
        font-size: 14px;
    }
    
    .container { 
        padding: 15px; 
        margin: 10px auto;
    }
    
    h1 { 
        font-size: 1.8em; 
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    h2 { 
        font-size: 1.4em; 
        margin-bottom: 20px;
    }
    
    .casino-grid { 
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    
    .casino-card {
        padding: 20px 15px;
    }
    
    .casino-name {
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    
    .casino-logo {
        height: 30px;
        max-width: 40px;
    }
    
    .casino-btn {
        padding: 16px 25px;
        font-size: 1.1em;
        min-height: 52px;
        border-radius: 25px;
    }
    
    .header-content { 
        padding: 0 10px; 
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        font-size: 1.8em;
        text-align: center;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(255, 215, 0, 0.2);
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        text-align: center;
        font-size: 1.1em;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 2px 0;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 215, 0, 0.15);
        transform: translateX(5px);
    }
    
    .mobile-menu-btn { 
        display: flex; 
        font-size: 1.5em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    table { 
        font-size: 0.8em; 
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
    }
    
    th, td { 
        padding: 12px 8px; 
        min-width: 100px;
        border: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    th {
        background: rgba(255, 215, 0, 0.1);
        font-weight: bold;
        position: sticky;
        top: 0;
        z-index: 10;
    }
}

/* Small tablets and large phones */
@media (min-width: 481px) and (max-width: 768px) {
    body { 
        padding: 8px; 
    }
    
    .container { 
        padding: 20px; 
        margin: 15px auto;
    }
    
    h1 { 
        font-size: 2em; 
    }
    
    h2 { 
        font-size: 1.5em; 
    }
    
    .casino-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .casino-logo {
        height: 35px;
        max-width: 50px;
    }
    
    .header-content { 
        padding: 0 15px; 
    }
    
    /* Show mobile menu on larger phones/small tablets */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .logo {
        font-size: 2em;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .casino-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 25px;
    }
    
    .casino-logo {
        height: 40px;
        max-width: 60px;
    }
    
    /* Ensure mobile menu is hidden on tablets */
    .mobile-menu-btn {
        display: none !important;
    }
    
    /* Ensure regular navigation is shown on tablets */
    .nav-menu {
        display: flex !important;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .casino-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 30px;
    }
    
    .casino-logo {
        height: 40px;
        max-width: 60px;
    }
    
    /* Ensure mobile menu is hidden on desktop */
    .mobile-menu-btn {
        display: none !important;
    }
    
    /* Ensure regular navigation is shown on desktop */
    .nav-menu {
        display: flex !important;
    }
}

/* Legacy mobile styles (для обратной совместимости) */
@media (max-width: 768px) {
    body { padding: 10px; }
    .container { 
        padding: 20px; 
        margin: 20px auto;
    }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.6em; }
    .casino-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    table { font-size: 0.9em; }
    th, td { padding: 12px; }
    .header-content { padding: 0 15px; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }
    .nav-menu.active { display: flex; }
    .nav-menu a {
        padding: 20px;
        border-bottom: 1px solid #444;
    }
    .mobile-menu-btn { display: flex; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* 404 Page Mobile Styles */
    .content {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .error-title {
        font-size: 3em;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .compass {
        width: 80px;
        height: 80px;
    }
    
    .compass-needle {
        height: 60px;
    }
    
    .navigation-help {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}
