body {
    background:#000;
}
/* Анимации (глобальный сброс, влияет на .lazyloaded transition) */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Lazy load */
.lazyloaded { opacity: 1; transition: opacity .3s; }

/* Payments блок */
.payments { padding: 20px 0; }
.payments-list { display: flex; flex-wrap: wrap; justify-content: center; }
.payments-ico { display: block; width: 125px; height: 80px; }
img {
    max-width: 100%;
    height: auto;
}
@media (min-width: 760px) and (max-width: 1000px) {
  .top-players {
    display: none !important;
  }
}
      /* GRID */
        .gx-slots-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin: 20px 0;
        }

        /* CARD */
        .gx-game-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            cursor: pointer;
        }

        .gx-game-item img {
            width: 100%;
            display: block;
            transition: filter .3s ease, transform .3s ease;
        }

        /* OVERLAY */
        .gx-hover-layer {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,.6);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity .3s ease;
            padding: 20px;
            text-align: center;
        }

        .gx-game-name {
            color: #fff;
            font-family: 'Roboto Slab', serif;
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 2px 6px rgba(0,0,0,.6);
        }

        /* PLAY BUTTON */
        .gx-action-button {
            background-color:#aa0707;
            color:#fff;
            padding:8px 20px;
            font-family:'Roboto Slab',serif;
            font-weight:700;
            font-size:16px;
            text-transform:uppercase;
            border-radius:6px;
            box-shadow:0 3px 5px rgba(0,0,0,.25);
            line-height:1.2;
            text-decoration:none;
            transition:transform .2s ease, background-color .2s ease;
        }

        .gx-action-button:hover {
            transform: translateY(-2px);
            background-color:#8f0606;
        }

        /* PC ONLY HOVER */
        @media (hover: hover) and (min-width: 769px) {
            .gx-game-item:hover img {
                filter: blur(4px);
                transform: scale(1.05);
            }
            .gx-game-item:hover .gx-hover-layer {
                opacity: 1;
            }
        }

        /* MORE BUTTON */
        .gx-loadmore-section {
            text-align: center;
            margin: 30px 0 60px;
        }

        .gx-loadmore-link {
            background-color:#aa0707;
            color:#fff;
            padding:12px 35px;
            font-family:'Roboto Slab',serif;
            font-weight:700;
            font-size:18px;
            text-transform:uppercase;
            border-radius:6px;
            box-shadow:0 3px 5px rgba(0,0,0,.25);
            line-height:1.2;
            text-decoration:none;
            display:inline-block;
            transition:transform .2s ease, background-color .2s ease;
        }

        /* FORCE HOVER COLOR */
        .gx-loadmore-link:hover {
            background-color:#8f0606 !important;
            transform: translateY(-2px);
        }

        /* MOBILE */
        @media (max-width: 768px) {
            .gx-slots-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .gx-hover-layer {
                display: none;
            }

            .gx-loadmore-link {
                display:block;
                width:100%;
            }
        }
.site-header {
  display: grid;
  grid-template-rows: auto auto;
  max-width: 980px;
  margin: auto;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 10px 20px;
  background: #010F18;
}

.header-logo img {
  width: 230px;
  height: 75px;
}

.header-auth {
  display: flex;
  gap: 5px;
}

.header-auth a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  width: 110px;
  height: 35px; 
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-signin {
  background: linear-gradient(to bottom, #fdca0b 0%, #ffba00 50%, #f04e23 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-register {
  background: linear-gradient(to bottom, #c6ff62 0%, #00c309 50%, #006017 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-auth a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.header-auth a:active {
  transform: translateY(0);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
}

.header-social {
  display: flex;
  gap: 1px;
  margin-left: 20px;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.header-nav {
  background: #001521;
  text-align: center;
}

.header-nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  gap: 0px;
  margin-left: -26px;
}

.header-nav ul li {
  display: inline;
}

.header-nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 1px 6px;
  font-size: 16px;
}

.header-nav ul li a:hover {
  background: #00334D;
  border-radius: 5px;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .site-header {
    max-width: 100%;
  }

  .header-top {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    justify-items: center;
  }
  .header-logo {
    margin-bottom: 10px;
  }
  .header-logo img {
    width: 200px;
    height: auto;
  }
  .header-auth {
    justify-content: center;
    margin-bottom: 10px;
  }

  .header-social,
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 105px;
    right: 30px;
    z-index: 2000;
  }
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-nav.active {
    display: block;
    top: 160px; 
    left: 0;
    width: 100%;
    background: #001521;
    text-align: center;
    z-index: 1500;
    margin-top: 10px;
    padding: 10px 0;
  }
  .header-nav.active ul {
    display: block;
    margin: 0;
    padding: 0;
  }
  .header-nav.active ul li {
    display: block;
    margin: 10px 0;
  }
  .header-nav.active ul li a {
    display: block;
    padding: 10px;
    font-size: 18px;
  }
}

/* Основной контейнер слайдера */
.promo-slider {
    position: relative;
    width: 980px;
    height: 300px;
    margin: 20px auto 0;
    display: flex;
    background: #010F18;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Блок для слайдов */
.promo-slides {
    width: 65%;
    height: 100%;
    position: relative;
}

/* 📌 Слайд */
.promo-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.promo-slide:nth-child(1) {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/assets/img/ban1.webp");
    background-size: cover;
    background-position: center;
}

.promo-slide:nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/assets/img/ban2.webp");
    background-size: cover;
    background-position: center;
}

.promo-slide:nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/img/ban3.webp");
    background-size: cover;
    background-position: center;
}

.promo-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Точки переключения слайдов */
.promo-dots {
    position: absolute;
    bottom: 275px;
    left: 58%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.promo-dots span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.promo-dots span.active {
    background: #ffcc00;
}

/* Контент внутри слайда */
.promo-content {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.promo-content span {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffcc00;
}

.promo-content p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ddd;
}

/* Кнопка действия внутри слайда */
.promo-action {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(to bottom, #c6ff62 0%, #00c309 50%, #006017 100%);
    color: white;
    border-radius: 8px;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.promo-action:hover {
    transform: scale(1.05);
}

/* Блок с ТОП игроками */
.top-players {
    width: 35%;
    background: #001521;
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Заголовок внутри блока лучших игроков */
.top-players .top-title {
    text-align: center;
    font-size: 20px;
    color: #ffcc00;
    border-bottom: 2px solid rgba(255, 204, 0, 0.5);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.top-players ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-players li {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 204, 0, 0.1);
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 16px;
}

.top-players li a {
    display: block;
    font-weight: bold;
    color: #ffcc00;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.top-players li span {
    font-weight: bold;
    color: #ffffff;
}

.site-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(to bottom, #fdca0b 0%, #ffba00 50%, #f04e23 100%);
    color: #fff;
    font-weight: bold;
    padding: 10px 0 10px 0px;
    border-radius: 6px;
    margin-top: 12px;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-link:hover {
    transform: scale(1.05);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: black;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

/* Адаптивные стили для мобильных устройств */
@media screen and (max-width: 768px) {
    .promo-slider {
        width: 100%;
        height: auto;
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
        position: relative;
        margin: 10px auto;
    }

    .promo-slides {
        width: 100%;
        height: 280px;
        position: relative;
        overflow: hidden;
    }

    /* Слайд для мобильных устройств */
    .promo-slide {
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .promo-slide.active {
        opacity: 1;
        position: absolute;
        z-index: 2;
    }

    .promo-content {
        max-width: 90%;
        text-align: center;
    }

    .promo-content span {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .promo-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .promo-action {
        font-size: 14px;
        padding: 10px 18px;
    }

    .prev, .next {
        width: 35px;
        height: 35px;
        font-size: 14px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .promo-dots {
        position: relative;
        left: 175px;
        bottom: 360px;
        display: flex;
        justify-content: center;
        gap: 6px;
        z-index: 10000;
    }

    .promo-dots span {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        cursor: pointer;
    }

    .promo-dots span.active {
        background: #ffcc00;
    }

    .top-players {
        width: 100%;
        max-width: 360px;
        margin: 10px auto;
        padding: 0;
        border-radius: 8px;
        background: #001521;
        overflow: hidden;
    }

    .top-title {
        font-size: 18px;
        text-align: center;
        border-bottom: 2px solid rgba(255, 204, 0, 0.3);
    }

    .top-players ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .top-players li {
        font-size: 14px;
        padding: 10px;
        display: flex;
        justify-content: space-between;
        background: rgba(255, 204, 0, 0.1);
        border-radius: 5px;
        margin-bottom: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-players li a {
        display: block;
        font-weight: bold;
        color: #ffcc00;
        max-width: 70%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-players li span {
        font-weight: bold;
        color: #ffffff;
    }

    .site-link {
        padding: 10px 0 10px 35px;
    }
}

.game-gallery {
    max-width: 980px;
    margin: 0 auto 20px;
    background: #010F18;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 10px 0;
    overflow: hidden;
}

.gallery-title {
    color: #ffcc00;
    font-size: 22px;
    padding: 20px 20px;
}

/* Грид игровых карточек */
.game-grid {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 0.1fr));
    gap: 10px;
    justify-content: center;
}

/* Игровая карточка */
.game-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    background: #000;
}

/* Картинка карточки */
.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: filter 0.3s ease-in-out;
}

.game-card p {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-align: center;
}

/* Оверлей с кнопками */
.card-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffcc00;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    gap: 8px;
    display: flex;
    flex-direction: column;
}

/* При наведении затемняется картинка и показывается оверлей */
.game-card:hover img {
    filter: brightness(50%);
}

.game-card:hover .card-overlay {
    opacity: 1;
}

/* Стили для кнопок в оверлее */
.card-overlay a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #ffcc00;
    text-decoration: none;
    border-radius: 6px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}

.card-overlay a::before {
    content: "";
    font-size: 20px;
    margin-right: 6px;
    color: #ffcc00;
}

.card-overlay a:hover {
    transform: scale(1.1);
}

/* Кнопка "Больше игр" */
.more-games-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(to bottom, #c6ff62 0%, #00c309 50%, #006017 100%);
    border-radius: 8px;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.more-games-btn:hover {
    transform: scale(1.05);
}

/* Адаптивные стили */
@media screen and (max-width: 768px) {
    .game-gallery {
        padding: 10px;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .game-card {
        aspect-ratio: 1 / 1;
    }
    
    .game-card img {
        object-fit: contain;
    }
    
    .game-card p {
        font-size: 12px;
    }
    
    .card-overlay {
        font-size: 14px;
        padding: 6px 10px;
    }
}

.main-content {
  max-width: 920px;
  margin: 0 auto 20px;
  padding: 30px;
  background-color: #010F18;
  color: #F2F2F2;
  line-height: 1.6;
}

.main-content h1 {
    color: #ffcc00;
    margin-bottom: 20px;
    text-align: center;
}
.main-content h2,
.main-content h3 {
  color: #ffcc00;
  margin-bottom: 20px;
  text-align: left;
}

.main-content h1 {
  font-size: 2rem;
  line-height: 1;
}

.main-content h2 {
  font-size: 2rem;
}

.main-content h3 {
  font-size: 1.75rem;
}

.main-content p {
  margin-bottom: 15px;
  /*text-align: justify;*/
  font-size: 1rem;
}

.main-content ul {
  list-style: disc inside;
  margin: 15px 0;
  padding-left: 20px;
}

.main-content li {
  margin-bottom: 10px;
}

.main-content img {
  display: block;
  max-width: 100%;
  margin: 20px auto;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .main-content {
    padding: 20px;
  }
  .main-content h1 {
    font-size: 2rem;
  }
  .main-content h2 {
    font-size: 1.75rem;
  }
  .main-content h3 {
    font-size: 1.5rem;
  }
  .main-content p {
    font-size: 0.9rem;
  }
}

.main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  color: #F2F2F2;
}

.main-content table td,
.main-content table th {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 16px;
  vertical-align: middle;
}

/* Если потребуется шапка таблицы */
.main-content table th {
  background: #001521;
  color: #ffcc00;
  font-weight: bold;
  text-align: left;
}

/* Полосатые строки (опционально) */
.main-content table tr:nth-child(even) {
  background: #011b2b;
}

/* Адаптивность */
@media (max-width: 768px) {
  .main-content {
    padding: 20px;
  }
  
  .main-content table td,
  .main-content table th {
    padding: 8px 10px;
    font-size: 14px;
  }
}

.main-content section {
  background-color: #010F18;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.main-content section h2 {
  color: #ffcc00;
  margin-bottom: 15px;
  text-align: center;
}

.main-content section div {
  background-color: #001521;
  padding: 15px;
  margin-bottom: 15px;
}
    
.main-content section div span {
  display: block;
  color: #ffcc00;
  font-weight: bold;
  margin-top: 10px;
}

.main-content section a:last-of-type {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  background: linear-gradient(to bottom, #fdca0b 0%, #ffba00 50%, #f04e23 100%);
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  text-shadow: 1px 1px 1px #000;
  transition: transform 0.3s ease-in-out;
}

/* Эффект при наведении на ссылку */
.main-content section a:last-of-type:hover {
  transform: scale(1.05);
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
  .main-content {
    padding: 20px;
  }
  
  .main-content section {
    padding: 15px;
  }
  
  .main-content section h2 {
    font-size: 20px;
  }
  
  .main-content section div,
  .main-content section a:last-of-type {
    padding: 10px;
    font-size: 14px;
  }
}

.site-footer {
    max-width: 980px;
    margin: 0 auto;
  background-color: #010F18;
  color: #F2F2F2;
  padding: 40px 0;
  box-shadow: 0 -6px 15px rgba(0, 0, 0, 0.5);
  margin-top: 20px;
}

.footer-container {
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-nav {
  margin-bottom: 30px;
}

.footer-nav a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 15px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #F2F2F2;
}

.footer-copy {
  font-size: 14px;
  margin: 0;
  margin-right: 10px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    align-items: center;
    margin-top: 20px;
  }
  .footer-nav {
    margin-bottom: 10px;
  }
  .footer-nav a {
    margin: 0 8px;
    font-size: 14px;
  }

  .footer-copy {
    margin-right: 0px;
  }
  .main-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}




ul.payments-list.is-loaded {
    list-style-type: none;
}