*, ::after, ::before {
    box-sizing: border-box
}
html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent
}
article, footer, header, nav, section {
    display: block
}


body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif; /* Більш читабельний шрифт */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6; /* Збільшений міжрядковий інтервал для кращої читабельності */
    color: #212529;
    text-align: left;
    background-color: #F5F3FF; /* Світло-фіолетовий фон */
    overflow-x: hidden; /* Вимикає горизонтальну прокрутку */
    scroll-behavior: smooth; /* Плавна прокрутка */
    padding: 0 1rem; /* Додає відступ з боків для мобільних пристроїв */
    box-sizing: border-box; /* Включає padding у загальну ширину елементів */
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1.2rem; /* Трохи більший відступ для кращої роздільності тексту */
    font-weight: 700; /* Більш насичений стиль заголовків */
    line-height: 1.3; /* Збільшений міжрядковий інтервал для легшого читання */
    color: rgb(49, 49, 49); /* Темно-сірий колір для зручності читання */
}

/* Абзаци та списки */
p, ul {
    margin-top: 0;
    margin-bottom: 1.8rem; /* Додатковий відступ для покращення читабельності */
    line-height: 1.7; /* Збільшений міжрядковий інтервал */
    color: #555; /* М'якший темно-сірий колір для меншої втоми очей */
    font-size: 1.05rem; /* Трохи більший розмір шрифту для комфорту */
}

/* Посилання */
a {
    color: #007bff; /* Яскравий блакитний для привернення уваги */
    text-decoration: none;
    background-color: transparent;
    font-weight: 600; /* Напівжирний стиль для кращої видимості */
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: #0056b3; /* Темніший синій при наведенні */
    text-decoration: underline;
}

/* Списки */
ul {
    padding-left: 1.5rem; /* Відступ для списків для покращення структури */
}

ul li {
    margin-bottom: 0.8rem; /* Відступ між елементами списку для кращої роздільності */
}
/* Зображення */
img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%; /* Зробити зображення адаптивним */
    height: auto;
}

/* SVG */
svg {
    overflow: hidden;
}

/* Універсальний шрифт */
* {
    font-family: Arial, sans-serif; /* Більш читабельний шрифт */
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    background-color: #F5F3FF; /* Світло-фіолетовий фон таблиці */
    border-radius: 10px; /* Закруглені кути */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Тінь навколо таблиці */
}

table th, table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e0d8f7; /* Світлий бордюр для рядків */
}

table th {
    background-color: #5A1E9B; /* Темно-фіолетовий фон заголовків */
    color: #FFB319; /* Яскравий жовтий текст для заголовків */
    font-size: 1.2rem;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f8f8ff; /* Світлий фон для парних рядків */
}

table tr:nth-child(odd) {
    background-color: #ffffff; /* Білий фон для непарних рядків */
}

table tr:hover {
    background-color: #EADAF6; /* Легке виділення при наведенні */
}

table td {
    font-size: 1rem;
    color: #333; /* Основний темний текст */
}

table th, table td:first-child {
    border-left: none;
}

table th, table td:last-child {
    border-right: none;
}

table caption {
    caption-side: top;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #5A1E9B; 
    font-weight: bold;
}

.ml-2 {
    margin-left: .75rem !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6; /* Краща читабельність для більшого тексту */
}

/* Вирівнювання */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* Іконки */
.icon {
    flex-shrink: 0;
    width: auto;
    height: 1.5rem;
    vertical-align: middle;
    margin-right: 4px;
}

/* Гнучкий рядок */
.flex-row {
    display: flex;
    flex-direction: row; /* Розташування в ряд */
    flex-wrap: wrap; /* Дозволяє перенесення елементів на новий ряд */
    width: 100%;
    padding: 0 25px;
    margin: 0 auto;
    max-width: 1140px;
    align-items: center;
    justify-content: space-between;
}
.flex-row > div {
    padding: 5px 0
}
header .nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}
header .flex-row {
    padding: 10px 0
}

header {
    background-color: #5A1E9B; 
    padding: 20px 0;
    text-align: center;
}

header .logo {
    color: #FFB319;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-shadow: -2px -2px 0 #3A0A5A, 2px -2px 0 #3A0A5A, -2px 2px 0 #3A0A5A, 2px 2px 0 #3A0A5A; 
    position: relative;
    display: inline-block;
    font-stretch: expanded; 
}

header .logo .wide-letter {
    display: inline-block;
    transform: scaleX(1.2); 
}

header .logo span {
    color: #FFFFFF;
    font-size: 1.5rem;

    padding: 5px 12px;
    border-radius: 15px;
    position: absolute;
    bottom: -11px; 
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

header .nav {
    flex-direction: row;
}

header .nav a {
    color: #FFB319; /* Яскравий жовтий текст */
    white-space: nowrap;
    display: block;
    padding: .5rem .75rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
}

header .nav a:hover {
    color: #FFFFFF; /* Білий текст при наведенні */
    background-color: rgba(255, 179, 25, 0.2); /* Напівпрозорий жовтий фон при наведенні */
}

header .desktop {
    display: none;
}


header .mobile {
    display: block;
    padding: 0 15px;
    background-color: #5A1E9B; 
}

header .mobile .flex-row {
    position: relative;
    z-index: 10;
    background-color: #5A1E9B; 
    flex-direction: row !important;
    padding: 10px 0;
}

header .mobile .nav {
    flex-direction: column;
    background-color: #3A0A5A; 
    position: absolute;
    z-index: 9;
    top: -999px;
    width: calc(100% - 30px);
    left: 15px;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
}

header .mobile .nav.active {
    top: 73px;
}

header .mobile .nav a {
    color: #FFB319; 
    padding: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

header .mobile .nav a:hover {
    color: #FFFFFF; 
    background-color: #5A1E9B; 
    border-radius: 8px;
}
.btn-menu {
    outline: 0;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.btn-menu img {
    width: 26px;
    filter: invert(100%); 
}

.btn-download {
    color: #5A1E9B; /* Фіолетовий текст */
    background-color: #FFB319; /* Жовтий фон */
    font-size: 1.32rem;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 30px; /* Заокруглені краї */
    border: none; /* Видалення фіолетової обводки */
    text-align: center;
    cursor: pointer;
    display: inline-block;
    transition: color 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 0 0 3px #rgb(140, 77, 207); /* Фіолетове обведення */
}

.btn-download:hover {
    color: #FFFFFF; /* Білий текст при наведенні */
    background-color: #FF9900; /* Темніший жовтий фон при наведенні */
    box-shadow: 0 0 0 3px rgb(140, 77, 207); /* Залишити фіолетове обведення при наведенні */
}
.section-1 {
    text-align: center;
    padding: 20px 0
}
.section-1 h1 {
    font-size: 3.5rem;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin: 20px 0
}
.section-1 h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #495057;
    margin: 30px 0
}
.section-1 img {
    display: none;
    height: auto;
    max-width: 110%;
    border: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none
}
.colored-section {
    background-color: #fbe9fd
}
.section-2 {
    text-align: center
}
.section-2 .top-svg {
    height: 96px
}
.section-2 .top-svg path {
    fill: #f5f5ff
}
.section-2 .bottom-svg {
    height: 96px
}
.section-2 .bottom-svg path {
    fill: #1b1f3b
}
.section-2 h3 {
    font-size: 2.5rem;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin: 20px 0
}
.section-2 h5 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #495057;
    margin: 30px 0
}
.section-2 img {
    height: auto;
    max-width: 70%;
    border: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none
}
.section-3 {
    background-color: #1b1f3b;
    padding: 3rem 0 8rem;
}

.section-3 h3 {
    display: block;
    text-align: center;
    color: #ffd700; /* Яскравий золотий колір для заголовка */
    font-size: 2.5rem;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin: 20px 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Додає тінь для виділення */
}

.section-3 h5 {
    display: block;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
    color: #ccc; /* Світліший текст для підзаголовка */
    margin: 30px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-3 .card-parent {
    display: flex;
    flex-wrap: wrap; /* Дозволяє карткам переноситися на новий рядок */
    gap: 20px; /* Простір між картками */
    justify-content: center; /* Центрує картки по горизонталі */
    padding: 10px;
    width: 100%;
}

.section-3 .card {
    flex: 1 1 300px; /* Картки матимуть мінімальну ширину 300px */
    max-width: 300px;
    padding: 1.5rem;
    background-color: #2e2b4f; /* Темно-фіолетовий відтінок для фону карток */
    border: 1px solid #ffd700; /* Золотий бордюр */
    border-radius: 0.625rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Тінь для додаткового ефекту */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.section-3 .card:hover {
    transform: scale(1.05); /* Невелике збільшення картки при наведенні */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* Сильніша тінь при наведенні */
}

.section-3 .card .avatar-author {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.section-3 .card .avatar {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #ffd700; /* Додає золотий бордюр навколо аватару */
}

.section-3 .card h6 {
    font-size: 1rem;
    margin-bottom: 0;
    color: #ffd700; /* Золотий колір для імені */
}

.section-3 .card p.lead {
    color: #ddd; /* Світло-сірий текст для відгуків */
    font-size: 1.1rem;
    line-height: 1.6;
}

.section-4.pt-50 {
    padding-top: 50px;
}
.section-4.px-0 {
    padding-left: 0;
    padding-right: 0;
}
.section-4 h1 {
    font-size: 3rem;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin: 20px 0
}
.section-4 h2 {
    font-size: 2.7rem;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin: 20px 0
}
.section-4 h3 {
    font-size: 2.3rem;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin: 20px 0
}
.section-4 h5 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #495057;
    margin: 30px 0
}
.section-4 img {
    max-width: 250px;
    margin: 30px 0
}
.section-4 p a {
    margin: 5px;
    min-width: 220px
}
.section-4 p a span {
    display: inline-block;
    vertical-align: middle
}
footer {
    background-color: #1b1f3b;
    padding: 3rem 0;
    color: #fff
}
footer h5 {
    font-size: 1.5rem
}
footer ul {
    list-style: none;
    margin: 0;
    padding: 0
}
footer ul li {
    padding: 2px 0
}
footer ul li a {
    color: #fff;
    opacity: .8;
    font-weight: 700
}
@media (min-width: 992px) {
    header .nav {
    flex-direction: row
}
}
@media (min-width: 768px) {
    .flex-row {
    flex-direction: row;
    padding-right: 12px;
    padding-left: 12px
}
.section-2 {
    text-align: left
}
.section-1 img {
    display: block
}
.flex-row > div {
    padding: 0
}
footer {
    padding: 3rem 0 8rem
}
.section-3 .card-parent {
    width: calc(100% / 3)
}
.section-1 .flex-row > div:first-child {
    width: 46%
}
.section-1 .flex-row > div:nth-child(2) {
    width: 8%
}
.section-1 .flex-row > div:last-child {
    width: 46%
}
.section-2 .flex-row > div:first-child {
    width: 46%
}
.section-2 .flex-row > div:nth-child(2) {
    width: 8%
}
.section-2 .flex-row > div:last-child {
    width: 46%
}
}
@media (min-width: 420px) {
    .section-1 {
    padding: 100px 0
}
.flex-row > div {
    padding: 25px 0
}
.section-4 {
    text-align: center;
    padding: 100px
}
.section-4 p a {
    margin: 0 5px
}
header .desktop {
    display: block
}
header .mobile {
    display: none
}
}
.svg-transition path {
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.2));
}

.games-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.games-gallery .game {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    max-width: 250px;
}

.games-gallery .game:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.games-gallery img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.games-gallery button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #5A1E9B;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.games-gallery button:hover {
    background-color: #FFB319;
}

h2, h3 {
    color: #5A1E9B;
}

.payment-table, .limits-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    background-color: #F5F3FF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.payment-table th, .limits-table th, .payment-table td, .limits-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.payment-table th, .limits-table th {
    background-color: #5A1E9B;
    color: #FFB319;
    font-weight: bold;
}

.payment-table tr:nth-child(even), .limits-table tr:nth-child(even) {
    background-color: #f8f8f8;
}

.payment-table tr:hover, .limits-table tr:hover {
    background-color: #EADAF6;
}

.payment-table td, .limits-table td {
    font-size: 1rem;
    color: #333;
}

.banners-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.single-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5A1E9B;
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    max-width: 900px; /* Збільшений максимальний розмір */
    margin: 40px auto; /* Центрування по горизонталі */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-banner:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.banner-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%; /* Збільшена область для зображення */
    padding: 10px;
}

.banner-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.banner-content {
    flex: 1;
    padding-left: 30px; /* Збільшено відступ для кращого вигляду */
}

.banner-content h2 {
    font-size: 2rem; /* Збільшений заголовок */
    margin-bottom: 15px;
    color: #FFB319;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #FFF;
}

.banner-buttons {
    display: flex;
    gap: 15px;
}

.btn-participer, .btn-savoir-plus {
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-participer {
    background-color: #9c4dff;
    color: #fff;
}

.btn-participer:hover {
    background-color: #c684ff;
}

.btn-savoir-plus {
    background-color: #FFB319;
    color: #5A1E9B;
}

.btn-savoir-plus:hover {
    background-color: #ffd85e;
}