* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

a {
    color: white;
}

.cta-button { background: #ff2400; color: white; padding: 15px 30px; border-radius: 5px; text-decoration: none; display: inline-block; }


/* Шапка */
.header {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

h1, h2, h3 {
    margin: 20px 0;
}

h1 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}


.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Меню */
.nav {
    display: flex;
    gap: 20px;
}


body {
    box-sizing: border-box;
    margin: 0;
    font-family: Roboto, sans-serif;
    background-color: #0f1d1e;
    color: #fff;
}

.header {
    background: linear-gradient(90deg, #112527, #1b4143);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
}

.header:hover {
    background: linear-gradient(90deg, #1b4143, #112527);
}

 .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

 .nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

 .nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

 .nav a:hover {
    background-color: #ff2400;
    color: #fff;
    transform: scale(1.1);
}

.red-button {
    background-color: #ff2400;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.red-button:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}

 .nav .icon {
    display: flex;
    align-items: center;
    gap: 4px;
}

 .nav .icon i {
    font-size: 1.2rem;
}

.nav.active {
    display: flex;
}

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Мобильное меню */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #112527;
    padding: 8px 0;
}

.mobile-nav a {
    color: white;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    display: block;
}

.mobile-nav.active {
    display: flex;
}


.sidebar {
    width: 240px;
    background-color: #112527;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 80px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #1d3536;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar ul li:hover {
    background-color: #1b4143;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
}

/* Кнопка-аккордеон для мобилы */
.sidebar-toggle {
  display: none;
  background: #eef2f7;
  border: none;
  padding: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
}


/* Основной контент */
.main {
    margin-left: 240px;
    padding: 40px;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(100% - 240px);
}

.main > p {
    text-align: center;
}

.cta-hero {
    margin-top: 16px;
}

.highlight {
color: #FF5733;
font-weight: bold;
/* Дополнительные стили */
}
h2 .highlight {
color: #FF2400;
font-weight: bold;
}
p .highlight {
color: #FF2400;
font-weight: bold;
}

.promo-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
}

.promo {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #182f30;
    border-radius: 10px;
    padding: 20px;
    /* height: 280px; */
    width: 48%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.promo .content {
    z-index: 2;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.promo img {
    position: absolute;
    height: 100%;
    bottom: 0;
    right: -25px;
    z-index: 1;
    object-fit: contain;
}

.promo h2 .highlight {
color: #FFD700; /* Золотой цвет */
font-family: 'Montserrat', sans-serif; /* Новый шрифт */
font-weight: 700; /* Жирный стиль */
font-size: 40px;
}

.promo:nth-child(2) h2 .highlight {
font-size: 24px;
}

.promo h2 {
    font-size: 2rem;
    margin: 0;
    margin-bottom: 24px;
}

.promo:nth-child(2) h2 {
    font-size: 1.5rem;
}

.promo p {
    font-size: 1rem;
    margin-bottom: 24px;
}



/* Блок промокода */
.promo-box {
background: linear-gradient(135deg, #1E3C72, #2A5298); /* Градиентный фон */
border: none;
border-radius: 12px;
padding: 40px 50px;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
max-width: 500px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-box:hover {
transform: translateY(-5px);
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

/* Заголовок */
.promo-title {
font-size: 28px;
color: #FFFFFF;
margin-bottom: 25px;
letter-spacing: 1px;
}

/* Инструкция */
.promo-instruction {
font-size: 16px;
color: #F0F0F0;
line-height: 1.6;
margin-bottom: 30px;
}

.promo-instruction .promocode {
font-weight: bold;
}

/* Контейнер с промокодом и кнопкой копирования */
.promo .copy-container {
display: inline-flex;
align-items: center;
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 8px;
padding: 4px 8px;
margin-top: 8px;
margin-bottom: 8px;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.copy-container:hover {
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Стили для текста промокода */
.promo .copy-text {
font-size: 16px;
color: #FFFFFF;
letter-spacing: 1px;
user-select: all; /* Позволяет выделять текст */
margin-right: 12px;
}

/* Стили для кнопки копирования */
.promo .copy-button {
background-color: #ff2400;
border: none;
border-radius: 8px;
width: 40px;
height: 40px;
color: #FFFFFF;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
transition: background-color 0.3s ease, transform 0.2s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.promo .copy-button:hover {
background-color: #182f30;
transform: scale(1.05);
}

.promo .copy-button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.5);
}


.promo button {
    background-color: #ff2400;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.promo button:hover {
    background-color: #c0392b;
}

.slots {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
    width: 100%;
    margin: 20px 0;
}

.slot {
    width: 23%;
    height: 180px;
    position: relative;
    border-radius: 8px;
}

.slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}


.background-block {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(128, 128, 128, 0.5);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.slot:hover .background-block {
opacity: 1;
}

.btn-play,
.btn-demo {
margin: 10px 10px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 4px;
transition: all 0.3s ease;
outline: none;
}

/* Стили для первой кнопки (Играть) */
.btn-play {
background-color: #ff2400; /* Основной цвет */
color: white;
animation: blink 2s infinite; /* Мигающий эффект */
}

/* Мигающий эффект для первой кнопки */
@keyframes blink {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}

/* Эффект наведения для первой кнопки */
.btn-play:hover {
background-color: #B01200; /* Немного темнее основной цвет */
transform: scale(1.1);
animation: none;
}

/* Стили для второй кнопки (Демо) */
.btn-demo {
background-color: transparent; /* Прозрачный фон */
color: white; /* Цвет текста соответствует первой кнопке */
border: 2px solid white; /* Граница */
}

/* Эффект наведения для второй кнопки */
.btn-demo:hover {
transform: scale(1.1); 
}

.section .features {
display: flex;
align-items: center;
}

.section img {
    width: 100%;
    object-fit: contain;
    object-position: center; 
    margin-top: 8px;
}

.section .features img {
width: 40%;
margin: 20px;
}

.section .features > div {
width: 60%;
margin-right: 20px;
}


.seo-advantages {
    background: none;
    margin: 20px 0;
    border-radius: 10px;
}

.license-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: #182f30;
    border-radius: 10px;
}

.bonus-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.bonus-step {
    padding: 20px;
    background: #182f30;
    border-radius: 8px;
    text-align: center;
}

.promo-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
}

.promo-modal {
    position: relative;
    background: linear-gradient(45deg, #1b4143, #112527);
    color: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    margin: 10vh auto;
    animation: modalShow 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #ff2400;
}

.promo-content {
    text-align: center;
    width: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-content ul {
    width: 40%;
}

.promo-content ul li {
    margin: 10px 0;
}

#promoInput {
    width: 60%;
    padding: 15px;
    margin: 20px 0;
    border: 2px solid #ff2400;
    border-radius: 8px;
    background: #182f30;
    color: white;
}


.available-games {
    margin-top: 20px;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
}

.available-games > div {
    padding: 20px;
    background: #182f30;
    border-radius: 8px;
    text-align: center;
    width: 49%;
}

.available-games div.live-game {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    height: 500px;
}

.available-games div.live-game > div {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.available-games div.live-game > div p {
    width: 80%;
}

.available-games .live-game img {
    width: 40%;
    height: 100%;
    object-fit: contain;
}

.available-games img {
    width: 100%;
}

section {
    padding: 20px;
    margin: 20px 0;
    background-color: #182f30;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #ff2400;
    color: white;
}
ul, ol {
    margin: 10px 0;
    padding-left: 20px;
}

/* @keyframes modalShow {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
} */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    color: black
}

.modal {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 20vh auto;
    animation: modalShow 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

@keyframes modalShow {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.seo-text {
    margin: 20px 0;
}


.footer {
        text-align: center;
    margin-top: 20px;
    margin-left: 240px;
background-color: #1d3536;
color: #ffffff;
padding: 40px 20px;
font-size: 14px;
text-align: center;
}

.footer-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
/* max-width: 1200px; */
margin: 0 auto;
}

.footer-column {
width: 30%;
min-width: 250px;
padding: 15px;
text-align: left;
}

.footer-column h3 {
color: #ff2400;
font-size: 18px;
margin-bottom: 10px;
}

.footer-column p {
line-height: 1.6;
}

.footer-column ul {
list-style: none;
padding: 0;
}

.footer-column ul li {
margin: 5px 0;
}

.footer-column ul li a {
color: #ff2400;
text-decoration: none;
transition: 0.3s;
}

.footer-column ul li a:hover {
text-decoration: underline;
}

/* Aşağı hissə */
.footer-bottom {
margin-top: 30px;
padding-top: 15px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
font-size: 13px;
}

.footer-bottom a {
color: #ff2400;
text-decoration: none;
transition: 0.3s;
}

.footer-bottom a:hover {
text-decoration: underline;
}

.cta-inline a {
  color: #ff2400;         /* яркий красный */
  font-weight: 700;       /* жирный */
  text-decoration: none;  /* убираем подчёркивание */
  border-bottom: 2px solid #ff2400; /* подчёркивание в стиле линии */
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta-inline a:hover {
  color: #c91a00;          /* темнее при наведении */
  border-bottom-color: #c91a00;
}

.cta-inline a:active {
  color: #a81800;          /* ещё темнее при клике */
  border-bottom-color: #a81800;
}

.card-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border: 2px solid #ff2400; /* ярко-красная рамка */
  border-radius: 8px;
  font-weight: 600;
  color: #ff2400; /* красный текст */
  text-decoration: none;
  transition: all 0.25s ease;
}

.card-cta:hover {
  background: #ff2400;
  color: #fff; /* текст становится белым при ховере */
}

.reviews-grid.teaser {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.review-mini {
  background: #0f1d1e;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-size: .95rem;
}
.review-mini .stars {
  color: #ffb703;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.hero img {width: 100%;}

.cta-inline {margin-top: 8px;}

.muted {margin-top: 8px;}


@media (max-width: 768px){
  .reviews-grid.teaser { grid-template-columns: 1fr; }
}


@media (max-width: 1024px) {

.main {
        padding: 50px 0 0 0;
        margin-left: 0;
        margin: 20px;
        width: 100%;
    }
}



/* Адаптивность */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    h1 {
        margin-bottom: 20px;
    }
    .main {
        padding: 20px;
        /* margin-left: 0; */
        margin: 80px 0;
    }

    .promo-section {
        flex-direction: column;
    }

    .promo-instruction .promocode {
        color: #ff2400;
        background: white;
        padding: 4px;
        border-radius: 4px;
    }

    .promo {
        display: flex;
        width: 100%;
        height: 350px;
        align-items: center;
        padding: 16px;
    } 

    .promo h2 {
        width: 80%;
    }

    .promo:nth-child(2) {
        height: 320px;
    }

    .promo:nth-child(2) img {
        top: 70px;
    }

    .promo .content {
        width: 100%;
    }

    .promo img {
        height: 250px;
        right: -20px;
    }

    .slots {
        gap: 16px;
    }

    .slot {
        height: 100px;
        width: 47%;
    }

    .burger {
        display: block;
    }

    .seo-advantages {
        padding: 0;
    }

    .btn-demo {
        border: none;   
    }
    .btn-play,
    .btn-demo {
    padding: 10px 10px;
    margin: 0;
}

table {
    display: block;
        overflow: scroll;
} 

.section .features {
flex-direction: column-reverse;
}

.section .features > div {
width: 100%;
}

.section .features img { 
width: 100%;
}

.available-games > div {
width: 100%;
}

.available-games div.live-game {
flex-direction: column;
}

.available-games .live-game img {
width: 100%;
height: 50%;
}

.available-games div.live-game > div {
width: 100%;
}
}

/* Мобайл: сайдбар становится аккордеоном сверху контента */
@media (max-width: 992px) {
  .sidebar {
    position: relative;
    top: auto; left: auto;
    width: 100%;
    height: auto;
    margin: 0 0 16px 0;
    padding: 10px;
  }
  .sidebar-toggle { display: block; }
  .sidebar ul { display: none; }
  .sidebar ul.active { display: block; }

  .header {
    width: 100vw;
  }

  .footer {
    margin-left: 0;
  }
}

/* Чтобы контент не наезжал на сайдбар на десктопе */
@media (min-width: 993px) {
  .main { margin-left: 260px; }
}