 body {
            margin: 0;
            font-family: Arial, sans-serif;
            background: #121212;
            color: #ffffff;
            overflow-x: hidden;
        }
        header {
            background: #1e1e1e;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo {
            max-height: 50px;
        }
        nav ul {
            list-style: none;
            display: flex;
            padding: 0;
            margin: 0;
        }
        nav ul li {
            margin-left: 20px;
        }
        nav ul li a {
            color: white;
            text-decoration: none;
            font-size: 1rem;
            font-weight: bold;
        }
        .page-title {
            text-align: center;
            margin: 20px 0;
            font-size: 1.5rem;
            color: #ffcc00;
        }
        .table-container {
            padding: 20px 0;
            width: 100%;
            overflow-x: auto;
        }
        table {
            width: 90%;
            max-width: 1200px;
            margin: auto;
            border-collapse: collapse;
            background: #1e1e1e;
counter-reset: rowNumber;
        }
        table th, table td {
            padding: 12px;
            border: 1px solid #444;
            text-align: center;
        }
        table th {
            background: #222;
            color: #ffcc00;
        }
        table td img {
            max-width: 150px;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        table tr:hover {
            background-color: #333;
        }
        .rating {
            color: #ffcc00;
            text-shadow: 1px 1px 2px #000;
            font-size: 1.3rem;
        }
        .button {
            display: inline-block;
            padding: 12px 20px;
            background: linear-gradient(45deg, #ff9800, #ff5722);
            color: #fff;
            font-weight: bold;
            text-decoration: none;
            border-radius: 8px;
            transition: 0.3s;
            text-align: center;
        }
        .button:hover {
            background: linear-gradient(45deg, #ff5722, #ff9800);
        }
        footer {
            text-align: center;
            padding: 10px 0;
            background: #1e1e1e;
            margin-top: 20px;
        }
.table-text {
    width: 90%; /* Совпадает с шириной таблицы */
    max-width: 1200px; /* Максимальная ширина */
    margin: 20px auto; /* Выравнивание по центру */
    text-align: justify; /* Равномерное распределение текста */
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
}

        @media (max-width: 768px) {
            table {
                width: 100%;
                border: none;
            }
            table th {
                display: none;
            }
            table td {
                display: block;
                text-align: center;
                width: 100%;
                padding: 10px 0;
                border: none;
            }
 .rating {
        display: block;
        font-size: 1.1rem; /* Можно подогнать размер */
        text-align: center;
    }
    nav ul {
        flex-wrap: wrap; /* Разрешает перенос элементов на новую строку */
        justify-content: center; /* Выравнивает меню по центру */
    }
    nav ul li {
        margin-left: 10px; /* Уменьшаем отступы между элементами */
        margin-bottom: 5px; /* Добавляем немного отступа вниз, если пункты переносятся */
    }
    nav ul li a {
        font-size: 0.85rem; /* Уменьшаем размер шрифта для мобильных */
    }
}
/* Для всех ячеек с нужным классом */
td.table__num::before {
  counter-increment: rowNumber;
  content: counter(rowNumber);
  color: gold;
  font-weight: bold;
  font-size: 24px;
}
}