/* ============================================
   BITTRACKER - Современный тёмный дизайн
   Версия: 1.0
   ============================================ */

/* === CSS ПЕРЕМЕННЫЕ === */
:root {
    /* Цвета фона */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1624;
    --bg-tertiary: #141b2d;
    --bg-card: #1a1f35;
    --bg-hover: #1f2538;
    
    /* Акцентные цвета */
    --accent-primary: #00d4ff;
    --accent-secondary: #00ff88;
    --accent-hover: #00b8d4;
    
    /* Текст */
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Границы */
    --border-color: #1f2937;
    --border-hover: #374151;
    
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    
    /* Радиусы */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Шрифты */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* === БАЗОВЫЕ СТИЛИ === */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === ОСНОВНОЙ КОНТЕЙНЕР === */
#wrapper {
    max-width: 1200px;
    margin: 24px auto;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* === ШАПКА === */
.head {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: relative;
}

.head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.head header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 24px;
    position: relative;
}

/* Логотип BITTRACKER */
.logotip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.logotip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.logotip:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.logotip:hover::before {
    left: 100%;
}

/* Горизонтальное меню */
.ya-ekonomniy-inner {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-left: 0;
}

.line-menu {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    list-style: none;
    margin: 0;
}

.line-menu li {
    margin: 0;
}

.line-menu a {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    height: 36px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.line-menu a:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
    transform: translateY(-1px);
}

/* Кнопка "Личный кабинет" */
.book {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.book a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f97316, #ec4899);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
    transition: all 0.2s ease;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.book a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.6);
}

/* === ПОЛОСА ПОИСКА === */
.navi-wrap {
    padding: 16px 24px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.navi-items {
    display: flex;
    justify-content: center;
}

.search-wrap {
    max-width: 700px;
    width: 100%;
}

#quicksearch {
    margin: 0;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.search-box:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.search-box > span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.search-box input,
.search-box input:focus {
    flex: 1;
    height: 32px;
    padding: 0 12px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-primary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    border: none;
    border-radius: var(--radius-full);
    padding: 0 20px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* === ОСНОВНОЙ КОНТЕНТ === */
.content {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
}

/* Левый сайдбар */
.left_block {
    width: 240px;
    flex-shrink: 0;
}

/* Центральная колонка */
.centet_block {
    flex: 1;
    min-width: 0;
}

/* === КАРТОЧКИ И БЛОКИ === */
.list_br,
.block_index,
.torrent_info_index,
.nocometns,
.allusers,
.colhead,
.uComForm-inner,
.spoiler-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.list_br:hover,
.block_index:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

/* === ТАБЛИЦЫ === */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

td, th {
    padding: 12px 16px;
    font-size: 13px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: var(--bg-hover);
}

/* Заголовок таблицы */
.colhead {
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--accent-primary);
    padding: 12px 16px;
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Название торрента */
.torrent_name {
    padding: 12px 16px;
}

.torrent_name a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
    display: block;
}

.torrent_name a:hover {
    color: var(--accent-primary);
}

.torrent_name h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Теги */
.tags {
    margin-top: 8px;
}

.tags a {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 6px;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--accent-secondary);
    font-size: 11px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tags a:hover {
    background: var(--accent-secondary);
    color: var(--bg-primary);
}

/* Статистика (сиды/пиры/скачивания) */
.sid, .pir, .load {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

.sid b,
.pir b,
.load b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 20px;
    padding: 0 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: var(--bg-primary);
}

.sid b {
    background: var(--accent-secondary);
}

.pir b {
    background: #f97316;
}

.load b {
    background: var(--accent-primary);
}

/* Время */
.browse_time {
    font-size: 11px;
    color: var(--text-muted);
}

/* === КНОПКИ === */
a.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-secondary), #00cc70);
    color: var(--bg-primary) !important;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.3);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 255, 136, 0.5);
}

.button,
.button1,
.login_forms,
.addtorrent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.button:hover,
.button1:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* === ЛЕВЫЙ БЛОК: ПРОФИЛЬ И КАТЕГОРИИ === */
tr.mini_profile {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
}

tr.mini_profile:hover {
    background: var(--bg-hover);
    transform: translateX(4px);
}

tr.mini_profile td {
    border: none;
    padding: 12px;
}

.m_i {
    width: 40px;
    text-align: center;
}

.m_n a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
}

.m_n a b {
    font-weight: 600;
    color: var(--accent-primary);
}

.m_n a:hover {
    color: var(--accent-primary);
}

/* Категории */
.cat_list {
    display: block;
    padding: 8px 0;
}

.cat_list h2 {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 8px 0;
}

.cat_list a {
    display: block;
    padding: 6px 12px;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.cat_list a:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
    padding-left: 16px;
}

/* === ПАГИНАЦИЯ === */
td.pager {
    text-align: center;
    padding: 20px 0;
    background: transparent;
    border: none;
}

td.pager a b,
td.pagerhighlight b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin: 0 4px;
}

td.pager a b {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

td.pager a b:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

td.pagerhighlight b {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary) !important;
    border: none;
    box-shadow: var(--shadow-glow);
}

.pre_page,
.next_page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.pre_page:hover,
.next_page:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* === ФУТЕР === */
#footer {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
}

#footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s ease;
}

#footer a:hover {
    color: var(--accent-primary);
}

/* === УТИЛИТЫ === */
.nocometns {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.nocometns h2 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
}

.aside-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 20px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-primary);
}

/* Скрыть устаревшие элементы */
hr {
    display: none;
}

font {
    color: inherit !important;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    
    .left_block {
        width: 100%;
    }
    
    .head header {
        flex-wrap: wrap;
        height: auto;
        padding: 12px;
    }
    
    .logotip {
        width: 100%;
        margin-bottom: 12px;
    }
    
    .ya-ekonomniy-inner {
        width: 100%;
    }
    
    .line-menu {
        flex-wrap: wrap;
        width: 100%;
    }
    
    .book {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 12px;
    }
    
    .book a {
        width: 100%;
    }
}

/* === АНИМАЦИИ === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.list_br,
.block_index,
table {
    animation: fadeIn 0.3s ease-out;
}

/* === СКРОЛЛБАР === */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* === ДОП. НАСТРОЙКА ЦВЕТОВ ДЛЯ ПОПУЛЯРНЫХ ИГР И НИЖНИХ ЗАГОЛОВКОВ === */

/* Надпись "ПОПУЛЯРНЫЕ ЗАПРОСЫ" */
.aside-title {
    color: var(--accent-secondary) !important;
    border-bottom-color: var(--accent-secondary);
}

/* Популярные запросы - список ссылок (.det_7) */
.det_7 {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 0;
}

.det_7 a {
    display: inline-block;
    color: var(--accent-secondary) !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    text-decoration: none;
    padding: 4px 8px;
    margin: 2px 4px;
    border-radius: var(--radius-sm);
    background: rgba(0, 255, 136, 0.1);
    transition: all 0.2s ease;
}

.det_7 a:hover {
    color: var(--bg-primary) !important;
    background: var(--accent-secondary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.3);
}

/* Популярные запросы (список из футера / сайдбара) */
.seo_key h2 {
    color: var(--accent-secondary) !important;
}

.seo_key:hover h2 {
    color: var(--accent-primary) !important;
}

/* Заголовки под скриншотами в блоках видео / картинок */
.video_row a h2 {
    color: var(--text-primary);
}

.video_row a h2:hover {
    color: var(--accent-primary);
}

/* Скрыть старый баннер X360 FREEBOOT, не трогая PHP */
img[src*="xbox_360_club_freeboot_torrent"] {
    display: none !important;
}

/* === МОДАЛЬНОЕ ОКНО АВТОРИЗАЦИИ === */
.overlay {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
}

/* jQuery fadeIn() ставит display:block — принудительно включаем flex, чтобы окно было по центру */
#overlay[style*="display: block"] {
    display: flex !important;
}

.shtab-kvartira-box {
    width: 400px;
    max-width: 90%;
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    color: var(--text-primary);
    animation: fadeIn 0.3s ease-out;
}

.shtab-kvartira-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.shtab-kvartira-input {
    margin-bottom: 20px;
}

.shtab-kvartira-input input,
.shtab-kvartira-input input:focus {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    line-height: 48px;
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: all 0.2s ease;
}

.shtab-kvartira-input input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    outline: none;
}

.shtab-kvartira-input input::placeholder {
    color: var(--text-muted);
}

.shtab-kvartira-button {
    margin-bottom: 16px;
}

.shtab-kvartira-button button {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    height: 48px;
    line-height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.shtab-kvartira-button button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.5);
}

.shtab-kvartira-checkbox {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 16px 0;
    text-align: center;
}

.shtab-kvartira-checkbox input {
    display: none;
}

.shtab-kvartira-checkbox input + label:before {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    top: 3px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-color);
    content: "";
    background-color: var(--bg-tertiary);
    display: inline-block;
    transition: all 0.2s ease;
}

.shtab-kvartira-checkbox input:checked + label:before {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.shtab-kvartira-checkbox label a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.shtab-kvartira-checkbox label a:hover {
    color: var(--accent-primary);
}

.shtab-kvartira-links {
    text-align: center;
    line-height: 30px;
    margin-top: 16px;
}

.shtab-kvartira-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.shtab-kvartira-links a:hover {
    color: var(--accent-primary);
}

.overlay-close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 24px !important;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    transition: all 0.2s ease;
}

.overlay-close:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
    transform: rotate(90deg) scale(1.1);
}

.overlay-close img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* === ПОПУЛЯРНЫЕ ИГРЫ / СКОРО НА САЙТЕ (названия + платформы PC/XBOX/PS) === */

/* Заголовки секций типа "НОВЫЕ ИГРЫ", "Скоро на сайте" */
.top_h1 {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    padding: 6px 10px;
    border-left: 3px solid var(--accent-secondary);
    background: rgba(0, 255, 136, 0.06);
    border-radius: var(--radius-sm);
}

/* Блок "Популярные Игры" (список в сайдбаре) */
table.tr-list-item {
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

table.tr-list-item td {
    border-bottom: 0;
    padding: 0;
}

.list_top {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.2s ease;
}

.list_top:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

a.name-rus h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    color: var(--text-primary);
    line-height: 1.25;
    transition: color 0.2s ease;
}

a.name-rus:hover h2 {
    color: var(--accent-secondary);
}

.list_top span a {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.list_top span a:hover {
    color: var(--accent-primary);
    border-color: rgba(0, 212, 255, 0.5);
}

/* Карточки в карусели (НОВЫЕ/ПОПУЛЯРНЫЕ/СКОРО) */
.index_b {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.index_b:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.index_b .item_desc {
    padding: 10px 12px 12px;
}

.index_b .item_desc a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    display: block;
    transition: color 0.2s ease;
}

.index_b .item_desc a:hover {
    color: var(--accent-secondary);
}

/* подписи платформы (PC / XBOX 360 / PS3 ...) */
.tinfo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

/* бейджи (firmware/скоро на сайте и т.п.) */
.sub_firm {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bg-primary);
    background: var(--accent-secondary);
    box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.25);
}


