@import url(https://fonts.googleapis.com/css?family=Open+Sans:regular,500,600,700,800&display=swap);
*,
*::before,
*::after {
    font-family: "Times New Roman", Times, Arial, serif sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    color: #a1a1a1;
}

body {
    width: 100%;
    background-color: #363a49;
    background-repeat: no-repeat repeat-y;
    background-position: center;
    background-size: cover;
    text-rendering: optimizeSpeed;
    min-height: 100vh;
    scroll-behavior: smooth;
}
body.lock {
    overflow-y: hidden;
}
body,
html {
    padding: 0;
    height: 100%;
    margin: 0;
    font-family: "Open Sans", sans-serif;
}
header {
    background-color: #0a0a0a;
    display: flex;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 10px 0;
    gap: 16px
}
header a {
    text-decoration: none;
    font-size: 10px;
}
header img {
    border: none;
}
header .container {
    max-width: 90vw;
    padding: 0 16px;
    margin: 0 auto;
    height: 100%;
}
header .logo {
    flex: 0 0 100px;
}
header .container .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .flex .item,
.btns {
    display: flex;
    align-items: center;
}
header .flex .item .list ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 50px;
    margin: 0;
    padding: 0;
}
header .flex .item .list ul li {
    font-weight: 600;
    font-size: 20px;
    position: relative;
}
header .flex .item .list ul li a:hover {
    color: #fffdff;
}
header .flex .item .list ul li::after {
    content: "";
    position: absolute;
    top: 100%;
    left: calc(50% - 53px);
    width: 106px;
    height: 2px;
    background: #f9f0ff;
    transform: scaleX(0);
}
header .flex .item .list ul li:hover::after {
    transform: scaleX(1);
    transition-duration: 0.2s;
}
header .flex .item:nth-child(2) {
    gap: 50px;
}
header .flex .item,
.btns {
    gap: 20px;
}
header .burger {
    display: none;
}
header .dropdown {
    position: relative;
    cursor: pointer;
}
header .dropdown span::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}
header .flex .item .list .dropdown-menu {
    position: absolute;
    top: 20px;
    left: 0;
    width: 200px;
    padding: 20px;
    margin-top: 10px;
    background-color: #513b90;
}

header .flex .item .list .dropdown ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
header .flex .item .list .dropdown ul li a {
    font-size: 14px;
}
header .flex .item .list .dropdown li::after {
    width: auto;
}
/* Для десктопной версии */
.menu-toggle {
    position: fixed;
    top: 25px; /* Значение для десктопной версии */
    left: 20px;
    z-index: 1000;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 50px; /* Увеличиваем размер кнопки */
    height: 50px;
  }
  
  /* Медиа-запрос для мобильной версии */
  @media (max-width: 768px) {
    .menu-toggle {
      top: 30px; /* Устанавливаем значение top для мобильной версии */
    }
  }
  
  .menu-bar {
    display: block;
    width: 40px;
    height: 5px;
    background-color: #ffffff; /* Цвет полосок */
    border-radius: 2px;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: -300px; /* Меню скрыто */
    width: 300px;
    height: 100%;
    background: linear-gradient(to bottom, #050505, #232725); /* Градиентный фон */
    color: #b9b9b9; /* Цвет текста */
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .sidebar.open {
    left: 0; /* Открываем меню */
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: rgb(201, 201, 201); /* Красный цвет для крестика */
    font-size: 30px;
    cursor: pointer;
  }
  
  .menu-items {
    list-style: none;
    padding: 0;
    margin-top: 50px;
  }
  
  .menu-items li {
    margin: 20px 0;
  }
  
  .menu-items a {
    color: #d1d1d1; /* Цвет текста */
    text-decoration: none;
    font-size: 18px;
  }
  
  .menu-items a:hover {
    text-decoration: underline;
  }
  
footer {
    background-color: #363a49;
    min-height: 50px;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 20px;
    display: flex;
    height: auto;
}

img {
    border-style: none;
    max-width: 100%;
    -ms-interpolation-mode: bicubic;
    display: flex;
    position: relative;
    border: #363a49 5px solid;
    margin: 0 auto;
    border-radius: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    padding-top: 40px;
    color: #ccff008c;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #bce614;
}
h3,
h4,
h5,
h6 {
    font-weight: bold;
    margin: 0;
    padding: 0;
}
p {
    text-align: justify;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

a {
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
.middle-text {
    text-align: center;
}
ul,
ol,
li {
    text-align: left;
}

ul[class],
ol[class] {
    padding: 0;
    list-style: none;
}
.ice-casino-body {
    max-width: 1200px;
    padding-top: 5px;
    background-color: #363a49;
    display: block;
    align-content: center;
    margin: 0 auto;
    text-align: center;
    margin-top: 0px;
}
.ice-casino-table {
    border: 5px solid #a1a1a1;
    background-color: #363a49;
    border-radius: 15px;
    padding: 5px;
    display: inline-flex;
    max-width: 1000px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    color: #e6e6e6;
}
.ice-casino-table tr td {
    border: 5px solid #a1a1a1;
    background-color: #363a49;
    border-radius: 15px;
    padding: 5px;
    color: #e6e6e6;
}

.ice-casino-table a {
    color: #e6e6e6;
}
.fancy-table {
    width: 80%; /* Adjust width for larger screens */
    margin: 20px auto;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: linear-gradient(to right, #f9f9f9, #fff);
}

/* Mobile styles */
@media (max-width: 768px) {
    .fancy-table {
        width: 100%; /* Full width on smaller screens */
    }
}
  .fancy-table th {
    background-color: #c9f909b5;
    color: rgb(155, 155, 155);
    padding: 12px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
  }
  
  .fancy-table td {
    padding: 12px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border-top: 1px solid #ddd;
  }

  .fancy-table tr:hover {
    background-color: #f1f1f1;

  }

  .fancy-table tr:nth-child(even) {
    background-color: #f7f7f7;
  }

  .fancy-table tbody tr:first-child {
    border-top: none;
  }
.ice-casino-btn1 {
    border: 0px;
    border-radius: 20px;
    height: 40px;
    min-width: 100px;
    width: auto;
    background-color: #ffffff;
    text-align: center;
    float: right;
    cursor: pointer;
    touch-action: manipulation;
    padding-left: 15px;
    padding-right: 15px;

}

.ice-casino-btn2 {
    border: 0px;
    border-radius: 20px;
    height: 40px;
    min-width: 100px;
    width: auto;
    background-color: #ccff00;
    text-align: center;
    float: right;
    cursor: pointer;
    touch-action: manipulation;
    padding-left: 10px;
    padding-right: 10px;
    animation: glow 2s infinite; /* Анимация каждые 1.5 сек */
}



@keyframes glow {
  0% {
    box-shadow: 0 0 5px hsl(95, 90%, 53%); /* Исходная тень */
  }
  50% {
    box-shadow: 0 0 20px #cbf71c; /* Увеличенная тень */
    background-color: #bae705fe; /* Изменение цвета фона */
  }
  100% {
    box-shadow: 0 0 5px #ccff00; /* Возврат к исходной тени */
  }
}
.btn1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    font-size: medium;
    color: #000000;
    font-weight: bold;
}
.btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    font-size: medium;
    color: #000000;
    font-weight: bold;
}
.btn3 {
    padding: 5px;
    display: block;
    height: 100%;
    font-size: 20px;
    color: #000000;
    font-weight: bold;
    background-color: #ccff00;
    border: #c9f909 solid 5px;
    border-radius: 15px;
    max-width: 500px;
    margin: 15px auto;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn3:hover {
    background-color: #aad305; /* Изменение фона */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
.link {
    text-decoration: none;
}

.flag {
    display: block;
    max-width: 40px;
    float: right;
    margin-right: 10px;
    margin-top: 20px;
}
.flag img {
    border-radius: 5px;
    border: #363a49 solid 5px;
}
.ice-casino-developers img {
    border-radius: 15px;
    width: 100%;
    border: none;
}
.ice-casino-partners img {
    border-radius: 15px;
    width: 100%;
    border: none;
}

.ice-casino-navigation {
    margin-left: 30px;
}
.ice-casino-content {
    margin: 0 30px 0 30px;
    word-wrap: break-word;
}

.ice-casino-bunner {
    margin: 0 auto;
}
.ice-casino-bunner img {
    border-radius: 15px;
}
.kopy {
    margin: 0 auto;
}
.banner img {
    width: 100%;
    transition: transform 0.5s ease;
  }
  
  .banner img:hover {
    transform: scale(1.05);
  }
  @media (max-width: 768px) {
    .banner img:hover {
        transform: scale(1.00);
        
    }
}
@media (max-width: 1199px) {
    .header .burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        z-index: 3;
    }
    .header .burger::after,
    .header .burger::before {
        content: "";
    }
    .header .burger::after,
    .header .burger::before,
    .header .burger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #3129c6;
        border-radius: 10px;
        transition: all 0.3s ease 0s;
    }
    .header .burger::before {
        top: 0;
    }
    .header .burger::after {
        bottom: 0;
    }
    .header .burger span {
        top: 9px;
    }
    .header .burger.active::before {
        transform: rotate(45deg);
        top: 9px;
    }
    .header .burger.active::after {
        transform: rotate(-45deg);
        bottom: 9px;
    }
    .header .burger.active span {
        transform: scale(0);
    }
    .header .list {
        display: none;
    }
    .header .btns {
        gap: 10px;
        position: relative;
        z-index: 3;
        flex-direction: column;
    }
    header .flex .item .list .dropdown span {
        font-size: 24px;
    }
    header .flex .item .list .dropdown ul li a {
        font-size: 16px;
    }
    header .flex .item,
    .btns {
        justify-content: center;
    }
    .btn1,
    .btn2 {
        font-size: 16px;
    }
    .header .list.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: #363a49;

        ul {
            flex-direction: column;
        }
    }
    .header .logo {
        position: relative;
        z-index: 3;
    }
    header .flex .item .list ul li a {
        font-size: 24px;
    }
    header .container {
        max-width: 100%;
    }
}
.fancy-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } .fancy-table-scroll table { width: 100%; border-collapse: collapse; }
/* Стиль стрелочки */
.scroll-to-top {
    position: fixed; /* Фиксируем кнопку на экране */
    bottom: 20px; /* Отступ снизу */
    right: 20px; /* Отступ справа */
    font-size: 36px; /* Увеличиваем размер смайлика */
    color: #8A2BE2; /* Цвет смайлика (фиолетовый) */
    text-align: center; /* Выравнивание текста по центру */
    cursor: pointer; /* Курсор в виде руки при наведении */
    transition: transform 0.3s ease; /* Плавный переход для увеличения при наведении */
    z-index: 1000; /* Обеспечиваем, чтобы кнопка была наверху */
    opacity: 0; /* Скрываем кнопку по умолчанию */
    visibility: hidden; /* Скрываем кнопку по умолчанию */
    pointer-events: none; /* Запрещаем взаимодействие, пока кнопка скрыта */
    text-decoration: none; /* Убираем подчеркивание */
  }
  
  /* Эффект при наведении */
  .scroll-to-top:hover {
    transform: scale(1.2); /* Немного увеличиваем размер при наведении */
  }
  
  /* Появление кнопки, когда страница прокручена */
  .scroll-to-top.visible {
    opacity: 1; /* Делаем кнопку видимой */
    visibility: visible; /* Делаем кнопку видимой */
    pointer-events: auto; /* Разрешаем взаимодействие с кнопкой */
  }
