@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: #ffffff;
    
}

body {
    background-color: #1e0640 !important; /* Світло-синій колір */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    height: auto;
}
body.lock {
    overflow-y: hidden;
}
body,
html {
    padding: 0;
    height: 100%;
    margin: 0;
    font-family: "Open Sans", sans-serif;
}
header {
    background-color: #3b0a75 !important;
    display: flex;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 2px 0;
}
header a {
    text-decoration: none;
    font-size: 18px;
}
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: #6891dc;
}
header .flex .item .list ul li::after {
    content: "";
    position: absolute;
    top: 100%;
    left: calc(50% - 53px);
    width: 106px;
    height: 2px;
    background: #729ded;
    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: 30px;
    left: 0;
    width: 200px;
    padding: 20px;
    background-color: #722f76;
}
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;
}
footer {
    background-color: rgba(16, 25, 48, 0.8) !important;
    min-height: 70px;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 20px;
    display: flex;
    height: auto;
}
.image-with-caption {
    display: flex;
    flex-direction: column; /* Вертикальне розташування */
    align-items: center; /* Вирівнювання по центру */
    text-align: center; /* Текст по центру */
    gap: 8px; /* Відстань між зображенням і текстом */
    padding: 10px; /* Відступи всередині блоку */
    background-color: rgba(255, 255, 255, 0.1); /* Легка напівпрозора підкладка */
    border-radius: 10px; /* Заокруглені краї */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Додаємо тінь для об’єму */
    transition: transform 0.3s ease; /* Ефект при наведенні */
}

.image-with-caption:hover {
    transform: scale(1.05); /* Збільшення блоку при наведенні */
}

.image-with-caption img {
    width: 60px; /* Розмір зображення */
    height: auto; /* Пропорційність зберігається */
}

.image-with-caption .caption {
    font-size: 16px; /* Збільшений розмір тексту */
    font-weight: bold; /* Жирний шрифт */
    color: #ffffff; /* Білий колір тексту */
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5); /* Тінь тексту */
}

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

h1 {
    font-size: 2rem;
    font-weight: bold;
    padding-top: 79px;
    color: #f8f8f7;
}
h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f7f8f5;
}
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;
}
.joker-casino-body {
    max-width: 1200px;
    padding-top: 5px;
    background-color: transparent !important;
    display: block;
    align-content: center;
    margin: 0 auto;
    text-align: center;
    margin-top: 0px;
}
.joker-casino-table {
    border: 5px solid #e1ecfb;
    background-color: #590a60;
    border-radius: 15px;
    padding: 5px;
    display: inline-flex;
    max-width: 1000px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    color: #0e0f19;
}
.joker-casino-table tr td {
    border: 5px solid #e1ecfb;
    background-color: #fafafa;
    border-radius: 15px;
    padding: 5px;
    color: #0e0f19;
}
.joker-casino-table a {
    color: #0e0f19;
}
@media (max-width: 768px) { /* Відступи з усіх сторін для p */
    p {
        padding: 15px;
    }
}
.joker-casino-btn1 {
    border: 0px;
    border-radius: 8px; /* Заокруглення для квадратної форми */
    height: 50px; /* Висота */
    min-width: 100px; /* Мінімальна ширина */
    width: auto;
    background: #8f00ff;
    text-align: center;
    float: right;
    cursor: pointer;
    touch-action: manipulation;
    padding-left: 20px; /* Додано для гарного вигляду тексту */
    padding-right: 20px;
}

.joker-casino-btn2 {
    border: 0px;
    border-radius: 8px; /* Заокруглення для квадратної форми */
    height: 50px; /* Висота */
    min-width: 100px; /* Мінімальна ширина */
    width: auto;
    background: #8f00ff;
    text-align: center;
    float: right;
    cursor: pointer;
    touch-action: manipulation;
    padding-left: 20px; /* Додано для зручного вигляду тексту */
    padding-right: 20px;
}
.btn1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    font-size: medium;
    color: #29e953;
    font-weight: bold;
}

.desktop-image {
    display: block; /* Відображається за замовчуванням */
    animation: zoomInOut 5s infinite; /* Анімація тільки для десктопу */
}

/* Стилі для мобільного зображення */
.mobile-image {
    display: none; /* Прихована за замовчуванням */
    animation: none; /* Без анімації */
}

/* Анімація збільшення та віддалення */
@keyframes zoomInOut {
    0% {
        transform: scale(1); /* Початковий розмір */
    }
    50% {
        transform: scale(1.05); /* Збільшення на 5% */
    }
    100% {
        transform: scale(1); /* Повернення до початкового розміру */
    }
}

/* Медійні стилі для мобільних пристроїв */
@media (max-width: 768px) {
    .desktop-image {
        display: none; /* Приховуємо десктопне зображення */
        animation: none !important; /* Примусово вимикаємо анімацію */
    }

    .mobile-image {
        display: block; /* Відображаємо мобільне зображення */
        animation: none !important; /* Без анімації для мобільного */
        transform: scale(1) !important; /* Скидаємо будь-яке масштабування */
    }
}

.btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    font-size: medium;
    color: #29e953;
    font-weight: bold;
}
.btn3 {
    padding: 5px;
    display: block;
    height: 100%;
    font-size: 20px;
    color: #ffffff; /* Білий текст для кращої контрастності */
    font-weight: bold;
    background: #FFD700; /* Градієнтний фон */
    border: 3px solid #FFD700; /* Тонша рамка в основному кольорі */
    border-radius: 15px;
    max-width: 500px;
    margin: 15px auto;
}
.link {
    text-decoration: none;
}

.flag {
    display: block;
    max-width: 40px;
    float: right;
    margin-right: 10px;
    margin-top: 20px;
}
.flag img {
    border-radius: 5px;
    border: #e1ecfb solid 5px;
}

.joker-casino-partners img {
    border-radius: 15px;
    width: 100%;
    border: none;
}
.joker-casino-navigation {
    margin-left: 30px;
}
.joker-casino-content {
    margin: 0 30px 0 30px;
    word-wrap: break-word;
}

.joker-casino-bunner {
    margin: 0 auto;
}
.joker-casino-bunner img {
    border-radius: 10px;
    width: 1201px; /* Ширина картинки */
    height: 506px; /* Автоматичне масштабування по висоті для збереження пропорцій */
}
.kopy {
    margin: 0 auto;
}

@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: #002b39;

        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%;
    }
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } .table-scroll table { width: 100%; border-collapse: collapse; }