/* Мобильная адаптация */
@media (max-width: 768px) {
    /* Увеличиваем кнопки для тач-экрана */
    .btn, button, .nav-link {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
    
    /* Меню в мобилке */
    .navbar-collapse {
        background: rgba(26, 29, 36, 0.95);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        padding: 60px 20px;
        overflow-y: auto;
    }
    
    .navbar-toggler {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 10000;
        background: #c9a44b;
        border: none;
        border-radius: 8px;
        padding: 12px 16px;
    }
    
    /* Таблицы в мобилке */
    .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Карточки в 2 колонки */
    .card {
        width: calc(50% - 20px) !important;
        margin: 10px;
        float: left;
    }
    
    /* Модалки на весь экран */
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }
    
    .modal-content {
        height: 100%;
        border-radius: 0;
    }
    
    /* Контейнеры */
    .container, .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Шрифты */
    body {
        font-size: 16px;
    }
    
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .card {
        width: 100% !important;
        margin: 10px 0;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .col, .col-6, .col-4 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Touch-friendly зоны */
.touch-zone {
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Убираем hover эффекты на мобилках */
@media (hover: none) {
    .inventory-item:hover {
        transform: none;
    }
    
    .inventory-item:active {
        transform: scale(0.95);
    }
}