body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
    text-align: left; /* Выравнивание всего текста по левому краю */
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FFD700;
}

header nav ul li a {
    font-size: 15px; /* Можно изменить на нужное значение */
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    text-align: center;
    color: white;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-block-link {
    display: block;
    border: 4px solid transparent; /* Прозрачная граница по умолчанию */
    border-radius: 10px; /* Скругление углов */
    padding: 2px;
    transition: border-color 0.3s ease-in-out;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.custom-block-link:hover {
    border-width: 6px; /* Увеличиваем толщину при наведении */
    transform: scale(1.03); /* Немного увеличиваем */
}

/* Цвета для каждого блока */
#custom-block1 {
    border-color: #FFD700; /* Золотой */
}

#custom-block2 {
    border-color: #FF4500; /* Оранжевый */
}

#custom-block3 {
    border-color: #1E90FF; /* Синий */
}

#custom-block4 {
    border-color: #8A2BE2; /* Фиолетовый */
}


.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Заменяем ::before — теперь это <img> */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(45%);
    z-index: 0;
    pointer-events: none; /* чтобы картинка не мешала кликам */
}

/* Контент поверх картинки */
.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    width: 45%;

}

.hero-content p {
    font-size: 1.5rem;
    font-weight: bold;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.cta-button1 {
    background-color: #FFD700;
    color: black;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #FFC107;
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
    justify-content: flex-start;
    padding: 20px;
    background-color: #07183c;
    min-height: 100vh;
}

.content-section1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
    justify-content: flex-start;
    padding: 20px;
    background-color: #07183c;
    min-height: 100vh;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
    text-align: left; /* Текст по левому краю */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-align: left; /* Выравнивание заголовков по левому краю */
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: white;
    text-align: left; /* Выравнивание абзацев по левому краю */
}

.table-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #07183c;
    min-height: 100vh;
    padding: 20px;
    text-align: left;
    
}

.table-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
    justify-content: flex-start;
    padding: 90px;
    min-height: 100vh;
}

.table-section table {
    width: 80%;
    border-collapse: collapse;
    text-align: center;
    margin: 0 auto;
}

.table-section th, .table-section td {
    border: 1px solid white;
    padding: 10px;
}

/* Устанавливаем фиксированную ширину для левого столбца */
.table-section th:first-child, .table-section td:first-child {
    width: 30%; /* Можно настроить на нужный размер */
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
    justify-content: left;
    background-color: #07183c;
    min-height: 100vh;
}

.footer {
    background: black;
    padding: 20px;
    text-align: left; /* Выравнивание текста футера по левому краю */
}

.content-image1 {
    max-width: 40%;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    margin: 0 auto;
}

ul {
    list-style-type: none; /* Убираем стандартные маркеры */
    padding: 0; /* Убираем внутренние отступы */
    margin: 0; /* Убираем внешние отступы */
    text-align: left; /* Выравнивание списка по левому краю */
}

ul li {
    font-size: 1.2rem; /* Размер шрифта */
    line-height: 1.8; /* Межстрочный интервал для лучшего восприятия */
    color: white; /* Цвет текста */
    margin-bottom: 10px; /* Отступ снизу для каждого элемента списка */
    padding-left: 20px; /* Отступ слева для каждого пункта */
    position: relative; /* Для использования псевдо-элементов */
}

ul li::before {
    position: absolute;
    left: 0;
    color: #FFD700; /* Цвет галочки */
    font-size: 1.5rem; /* Размер галочки */
    top: 50%;
    transform: translateY(-50%); /* Выравниваем по центру */
}

ul li strong {
    color: #FFD700; /* Выделение текста жирным цветом */
    font-weight: bold;
}

/* Стили для заголовка */
h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-top: 20px; /* Отступ сверху */
    margin-bottom: 10px; /* Отступ снизу */
    text-align: left; /* Выравнивание заголовков по левому краю */
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #07183c;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.games-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Отступ между картинками */
    margin-top: 30px;
}

.game-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 200px; /* Заставляем элемент быть гибким с минимальной шириной 200px */
    max-width: 250px; /* Ограничиваем максимальную ширину картинки */
    margin: 10px;
}

.game-image {
    width: 80%; /* Картинка будет адаптироваться по ширине блока */
    height: auto;
    border-radius: 10px;
}

.content-image2{
    max-width: 80%;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    margin: 0 auto;
    padding: 1%;
    border: 5px solid #FFD700; 
}

.yyyyyi{
    font-size: 0.9rem;
    text-align: center;
}

h1 {
        font-size: 4rem;
        font-weight: bold;
        text-align: center;
        color: #FFD700;
        margin-bottom: 20px;
    }

    .contact-section h2,
    .contact-section p {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        max-width: 1200px;
        margin: 20px auto; /* Общий отступ сверху и снизу */
    }
    
    .contact-section h2 {
        margin-top: 40px;  /* Увеличенный отступ сверху для заголовков */
        margin-bottom: 20px; /* Отступ снизу перед текстом */
    }
    
    .contact-section p {
        margin-bottom: 30px; /* Увеличенный отступ снизу для лучшего восприятия */
    }

    footer {
        background-color: #111;
        color: white;
        text-align: center;
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    footer nav ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    footer nav ul li {
        display: inline;
    }
    footer nav ul li a {
        color: white;
        text-decoration: none;
        font-size: 16px;
    }
    .cta-button {
        background-color: #ff6600;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-size: 18px;
        transition: background 0.3s;
    }
    .cta-button:hover {
        background-color: #e55b00;
    }

    .table-section1{
        display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #07183c;
    min-height: 100vh;
    padding: 20px;
    }

    .calculator-container {
        max-width: 400px;
        margin: auto;
    }
    
    label, select, input {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    button {
        background: #28a745;
        color: white;
        padding: 10px;
        border: none;
        cursor: pointer;
    }
    
    #tax-result {
        margin-top: 20px;
        font-weight: bold;
    }

    header {
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        padding: 10px 20px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .chicken {
        height:20px; /* Размер картинки */
        width: 160px;
        margin-left:0%;
    }
    
    /* Блок кнопок (справа) */
    .header-button-container {
        display: flex;
        gap: 15px;
        margin-left: 70%;
    }
    
    /* Стили кнопок в хедере */
    .header-button {
        display: inline-block;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: bold;
        font-size: 1rem;
        text-decoration: none;
        text-align: center;
        color: white;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    /* Уникальные цвета для кнопок в хедере */
    .mostbet-header { background-color: #004494; }
    .mostbet-header:hover { background-color: #004494; }
    
    .jetton-header { background-color: #004494; }
    .jetton-header:hover { background-color: #004494; }
    
    .arkada-header { background-color: #004494; }
    .arkada-header:hover { background-color: #004494; }
    

nav {
    display: flex;
    align-items: center;
}

/* === КНОПКА МЕНЮ (по умолчанию скрыта на ПК) === */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

/* === Стили для меню (по умолчанию скрыто на мобилках) === */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

img{
    display: block;
    margin: 0 auto;
    width: 50%;
}

.imgd{
    display: block;
    margin: 0 auto;
    width: 25%; 
}

.imgddd{
    display: block;
    margin: 0 auto;
    width: 100%; 
}

.custom-video {
    width: 100%; /* Видео занимает всю ширину контейнера */
    max-width: 400px; /* Ограничение максимальной ширины */
    height: auto; /* Автоматическая высота для сохранения пропорций */
    border-radius: 12px; /* Скругление углов */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Легкая тень */
    display: block; /* Убирает лишние отступы */
    margin: 20px auto; /* Центрирование видео */
    background: #000; /* Фон, если видео не загружено */
    outline: none; /* Убираем стандартный фокус */
    transition: transform 0.3s ease-in-out; /* Плавное увеличение при наведении */
    margin-top: 0%;
}

.custom-video:hover {
    transform: scale(1.02); /* Легкое увеличение при наведении */
}

.custom-block-container {
    display: flex;
    gap: 30px;
    justify-content: center; /* Центрируем блоки по горизонтали */
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;  /* Добавляем отступ сверху */
    padding: 0 5px; /* Добавляем внутренние отступы, чтобы блоки не прижались к краям */
    
}

/* Стили для каждого блока */
.custom-block {
    position: relative;
    width: 100%;
    max-width: 280px;  /* Увеличиваем ширину блоков */
    border-radius: 12px;  /* Скругляем углы */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);  /* Тень для глубины */
    overflow: hidden;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении на блок */
.custom-block:hover {
    transform: translateY(-5px);  /* Поднимаем блок при наведении */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);  /* Увеличиваем тень */
}

/* Обертка для изображения */
.custom-image-wrapper {
    position: relative;
    width: 100%;
    height: 10%;  /* Увеличиваем высоту картинки */
    overflow: hidden;
}

/* Картинка внутри блока */
.custom-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;  /* Плавный переход для картинки */
}

/* Текст поверх изображения */
.custom-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 22px;  /* Увеличиваем шрифт */
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);  /* Тень для текста */
    z-index: 2;
}

.custom-description {
    padding: 20px;
    font-size: 16px;
    color: #333;
    background-color: #f7f7f7;
    text-align: center;
    flex-grow: 1; /* Описание растягивается, если текст длинный */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Фиксированная высота описания */
}

/* Анимация для изменения обводки при наведении */
#custom-block1:hover .custom-image-wrapper {
    border: 3px solid orange;
}

#custom-block2:hover .custom-image-wrapper {
    border: 3px solid blue;
}

#custom-block3:hover .custom-image-wrapper {
    border: 3px solid violet;
}

#custom-block4:hover .custom-image-wrapper {
    border: 3px solid purple;
}

.content-section3{
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
    justify-content: flex-start;
    padding: 20px;
    background-color: #07183c;
    min-height: 50vh;
    
}

.toc-container {
    width: 80%;
    background: #fff;
    color: #333;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: 8%;
}
.toc-container:hover {
    background: #f1f1f1;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.toc-list {
    display: none;
    background: #fff;
    color: #333;
    list-style: none;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 85%;
    text-align: center;
    margin-top: 10px;
    margin-left: 6%;
}
.toc-list a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    font-size: 18px;
    transition: color 0.3s;
}
.toc-list a:hover {
    color: #007BFF;
}

.ftrtyvc{
    color: #e55b00; /* темно-серый цвет для хорошей читаемости */
    text-decoration: none; /* убираем подчеркивание */
}

.ftrtyvc:hover {
    color: #007BFF; /* немного светлее при наведении */
    text-decoration: underline; /* добавляем подчеркивание при наведении, чтобы выделить ссылку */
  }

  .promo-code {
    background: yellow;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

  .cta-button32 {
    background-color: #26a4e2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s;
    font-weight: bold;
}
.cta-button32:hover {
    background-color: #1a83b8;
}

/* Для маленьких экранов, например, мобильных устройств */
@media (max-width: 1200px) {
    .menu-toggle {
        display: flex; /* Показываем кнопку меню */
    }

    nav ul {
        display: none; /* По умолчанию скрываем меню */
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        padding: 10px;
        border-radius: 5px;
    }

    /* Показываем меню при наличии класса show */
    nav ul.show {
        display: flex;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.9rem;
        margin-left: 10px; 
    }
    .cta-button {
        padding: 8px 15px;
        font-size: 0.9rem;
        margin-left: 10px; 
    }

    footer nav ul {
        flex-direction: column;
        align-items: center;
    }

    .custom-video{
        margin-top: 10%;
    }

    .custom-block-container {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Уменьшаем расстояние между блоками на мобильных */
    }

    .custom-block {
        width: 90%;
        max-width: 100%;
    }

    /* Уменьшаем высоту изображения на мобильных */
    .custom-image-wrapper {
        height: 200px;
    }
    .toc-container {
        font-size: 14px;
        padding: 8px 12px;
    }

    .hero-content {
        width: 70%; /* Расширяется на мобильных */
        max-width: 100%;
        padding: 20px;
    }

    .custom-description {
        height: 175px;
    }

    .header-button{
        font-size: 15px;
    } 

    .header-button-container{
        margin-left: 28%;
    }

}

@media (max-width: 768px) {
    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .hero-content {
        width: 90%; /* Расширяется на мобильных */
        max-width: 100%;
        padding: 20px;
    }

    .cta-button {
        width: 70%;
        font-size: 1rem;
        padding: 12px 20px;
    }

    .custom-description {
        height: 175px;
    }

    .header-button-container{
        margin-left: -1%;
    }

    .header-button{
        font-size: 10px;
    } 

      h1 {
        font-size: 3rem !important;
    }

    .yyyyyi {
        font-size: 1.3rem !important; 
    }
}

@media (max-width: 400px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 50%;
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .hero-content {
        width: 100%; /* Расширяется на мобильных */
        max-width: 100%;
        padding: 20px;
    }

    .cta-button {
        width: 100%;
        font-size: 1rem;
        padding: 10px 15px;
    }

    .custom-description {
        height: 175px;
    }

    .header-button-container{
        margin-right: -7%;
    }

    h1 {
        font-size: 2rem !important; /* Ещё меньше для очень маленьких экранов */
    }

    .yyyyyi {
        font-size: 1.2rem !important;
    }
}