/* Контейнер страницы */
.slot-page-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

/* telegram */

.telegram-block {
  display: flex;
  align-items: center;
  background-color: #e9f5ff;
  border: 1px solid #cbe3ff;
  padding: 20px;
  border-radius: 12px;
  margin: 20px auto;
  margin-top: 90px;
  max-width: 1024px;
  gap: 20px;
}

.telegram-icon {
  width: 64px;
  height: 64px;
}

.telegram-text h2 {
  margin: 0 0 8px 0;
  font-size: 1.5em;
}

.telegram-text p {
  margin: 0 0 10px 0;
  font-size: 1em;
  line-height: 1.4;
}

.telegram-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0088cc;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.telegram-button:hover {
  background-color: #0077b6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
  text-decoration: none;
  /* transform: translateY(-1px); */
}

/* Заголовок страницы */
.slot-page-content h1 {
    font-weight: bold;
    color: #222;
    margin-top: 90px;
    margin-bottom: 20px;
    text-align: center;
}

/* Основной контент с iframe и таблицей */
.slot-content {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Плейсхолдер для iframe */
.iframe-placeholder {
    flex: 3;
    display: flex;
    flex-direction: column; /* Размещаем элементы (кнопки и iframe) вертикально */
    align-items: center;
    justify-content: center;
    gap: 10px; /* Расстояние между кнопками */
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 8px;
    position: relative;
    width: 100%; /* Занимает всю ширину */
    height: 610px; /* Фиксированная высота для десктопа */
}

/* Кнопка Play Demo */
.play-demo-btn {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.play-demo-btn:hover {
    background-color: #ff4c3b;
}

/* Кнопка казино в таком же стиле, как Play Demo */
.casino-play-btn {
    display: block;
    margin-top: 10px; /* Расстояние между кнопками */
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    background-color: #FFA500;
    color: black;
    border: none;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.casino-play-btn:hover {
    background-color: #e69500;
    color: black;
}

/* === DESKTOP (default) === */
.casino-play-btn-hidden {
    display: none; /* скрыта до клика */
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    background-color: #FFA500;
    color: black;
    border: none;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;

    width: 100%;
    position: relative; /* обычная кнопка внизу placeholder’а на десктопе */
    z-index: 1;
}

.casino-play-btn-hidden:hover {
    background-color: #e69500;
    color: black;
}

@media (max-width: 768px) {
    .casino-play-btn-hidden {
        display: none;

        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 18px 20px;

        background-color: #FFA500;
        color: black;

        font-size: 18px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;

        border: none;
        border-radius: 0;

        z-index: 9999;
    }
}

/* Стили для iframe */
.slot-iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: none; /* Скрыт по умолчанию */
}

/* Полноэкранный iframe для демо */
.fullscreen-iframe {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;

    /* ↓↓↓ самое важное ↓↓↓ */
    height: calc(100vh - 50px); /* освобождаем место снизу */

    background-color: black;
    z-index: 9998;
    border: none;
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

/* Кнопка закрытия демо */
.close-demo-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    font-size: 24px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease; /* Плавный эффект появления */
}

.close-demo-btn:hover {
    background-color: rgba(255, 0, 0, 1); /* При наведении цвет станет более ярким */
}

/* Стили для таблицы характеристик */
.slot-info {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slot-info p, .slot-info .provider-link {
    margin: 10px 0;
    font-size: 16px;
    color: #666;
}

.slot-info .provider-link:hover {
    color: #ff4c3b; /* Изменяем цвет при наведении */
}

.slot-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Основной контейнер для обзора */
.slot-review {
    max-width: 1200px; /* Ограничиваем ширину для лучшей читаемости */
    margin: 40px auto; /* Центрируем блок и добавляем отступы сверху и снизу */
    padding: 20px;
    background-color: #f9f9f9; /* Светлый фон для выделения текста */
    border: 1px solid #ddd; /* Легкая рамка вокруг блока */
    border-radius: 8px; /* Закругляем углы */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Тень для объема */
    font-family: Arial, sans-serif; /* Основной шрифт */
}

/* Заголовок обзора */
.slot-review h2 {
    font-size: 28px; /* Размер заголовка */
    font-weight: bold;
    color: #333;
    margin-bottom: 20px; /* Отступ снизу */
    text-align: center; /* Центрируем заголовок */
}

/* Обычный текст */
.slot-review p {
    font-size: 18px; /* Размер текста */
    line-height: 1.6; /* Межстрочный интервал для удобного чтения */
    color: #555; /* Темный цвет текста */
    margin-bottom: 20px; /* Отступ между абзацами */
}

/* Заголовки внутри текста */
.slot-review h3 {
    font-size: 22px; /* Размер подзаголовков */
    font-weight: bold;
    color: #444;
    margin-top: 30px; /* Отступ сверху для выделения секции */
    margin-bottom: 10px; /* Отступ снизу */
}

/* Изображения внутри текста */
.slot-review img {
    display: block;
    max-width: 100%; /* Изображение не выйдет за пределы контейнера */
    height: auto; /* Поддерживаем пропорции */
    margin: 20px 0; /* Отступы сверху и снизу */
    border-radius: 8px; /* Закругляем углы изображения */
}

/* Для ссылок */
.slot-review a {
    color: #ff6f61; /* Яркий цвет ссылок */
    text-decoration: underline;
}

.slot-review a:hover {
    color: #ff4c3b; /* Изменяем цвет при наведении */
}

/* Общий стиль для списков */
.slot-review ul {
    list-style-type: none; /* Убираем стандартные маркеры */
    padding-left: 0; /* Убираем отступы слева */
}

.slot-review li {
    font-size: 18px; /* Размер шрифта */
    line-height: 1.6; /* Межстрочный интервал */
    margin-bottom: 10px; /* Отступ между элементами списка */
    padding-left: 25px; /* Добавляем отступ для текста */
    position: relative; /* Для позиционирования маркера */
    color: #333; /* Цвет текста */
}

/* Стиль для маркера перед элементом списка */
.slot-review li::before {
    content: '•'; /* Символ маркера */
    color: #ff6f61; /* Цвет маркера */
    font-size: 24px; /* Размер маркера */
    position: absolute; /* Позиционируем маркер */
    left: 0; /* Располагаем его слева */
    top: 0; /* Выровняем по высоте строки */
}

/* Выравнивание текста и маркера */
.slot-review li {
    padding-left: 30px; /* Отступ для текста, чтобы не налезал на маркер */
}

/* Опционально: выделение жирным шрифтом для первой части текста */
.slot-review li strong {
    font-weight: bold; /* Жирный шрифт для выделения */
    color: #444; /* Темнее для акцента */
}

/* Блок для других игр */
.related-games {
    margin-top: 40px;
    /* padding: 20px; */
    background-color: #f9f9f9;
    border-radius: 8px;
}

/* Заголовок блока */
.related-games h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: left; /* Выравниваем заголовок по левому краю */
    color: #333;
}

/* Контейнер для игр и кнопки */
.related-games-container {
    display: flex;
    flex-wrap: nowrap; /* Все элементы на одной строке, без переноса */
    gap: 20px; /* Расстояние между карточками и кнопкой */
    align-items: flex-start; /* Выравниваем элементы по верху */
}

/* Карточка игры */
.related-game-item {
    width: 200px; /* Фиксированная ширина карточки */
    text-align: center;
    overflow: hidden; /* Обрезаем контент, если выходит за границы */
}

/* Изображение игры */
.related-game-item img {
    width: 100%; /* Картинка занимает всю ширину карточки */
    border-radius: 8px; /* Слегка закругляем углы */
    transition: transform 0.3s ease; /* Добавляем плавный эффект на наведение */
}

/* Название игры */
.related-game-item p {
    margin-top: 10px;
    font-weight: bold;
    word-wrap: break-word; /* Переносим длинные названия */
}

/* Кнопка "See More" */
.see-more-button {
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    color: #ff4f4f;
    text-decoration: none;
    border: 2px solid #ff4f4f;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    white-space: nowrap; /* Чтобы текст кнопки не переносился */
    height: fit-content; /* Чтобы кнопка не растягивалась */
    align-self: flex-start; /* Выровнена по верхнему краю контейнера */
}

/* Hover-эффект для кнопки */
.see-more-button:hover {
    background-color: #ff4f4f;
    color: #fff;
}

/* Блок с заголовком */
.slot-video h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
}

/* Контейнер видео — на всю ширину, с чёрным фоном */
.video-container {
    position: relative;
    width: 100%;
    background-color: #000; /* чёрный фон по бокам */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Само изображение — ограничено по ширине */
.video-container img {
    display: block;
    max-width: 720px;
    width: 100%;
    filter: blur(2px);
    transition: filter 0.3s ease;
}

/* Наведение — убираем размытие */
.video-container:hover img {
    filter: blur(0);
}

/* Кнопка воспроизведения */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 132px;
    height: 132px;
    background: url('/images/youtube-play-button.png') no-repeat center center;
    background-size: contain;
    z-index: 2;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-container:hover .play-button-overlay {
    opacity: 1;
}

/* Блок для комментов */

.slot-comments {
    margin-top: 30px;
}
.comment {
    display: flex;
    margin-bottom: 15px;
}
.comment img.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
}
.comment-content {
    max-width: 1200px;
}
.comment-content strong {
    display: block;
    margin-bottom: 5px;
}
.comment-content small {
    color: #666;
    font-size: 0.85em;
}

/* Мобильная версия (до 768px ширина экрана) */
@media (max-width: 768px) {
    .iframe-placeholder {
        width: 100%;
        min-height: 648px;
        margin-top: 20px;
    }

    .slot-content {
        flex-direction: column;
        align-items: center;
    }

    .slot-info {
        width: 100%;
        margin-top: 20px;
    }

    .related-games-container {
        display: flex;
        flex-direction: column; /* Элементы в колонку */
        gap: 15px; /* Расстояние между карточками */
        align-items: center; /* Центрируем карточки */
    }

    .related-game-item {
        width: 100%; /* Ширина карточек 90% от экрана */
        text-align: center; /* Центровка текста и изображения */
    }

    .related-game-item img {
        width: 100%; /* Картинка занимает всю ширину карточки */
        border-radius: 8px; /* Закругляем углы */
    }

    .see-more-button {
        width: 100%; /* Ширина кнопки 90% от экрана */
        text-align: center; /* Текст по центру */
        display: block; /* Кнопка занимает всю строку */
    }
}

/* Убираем подчеркивание у ссылок */
a {
    text-decoration: none;
    color: #000; 
}

/* Изменение цвета ссылки при наведении */
a:hover {
    color: #ff6f61;
}

/* Изменение цвета текста внутри ссылки при наведении */
a:hover p {
    color: #ff6f61;
}