:root {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size-adjust: none;

    --color-text: #a3a3a3;
    --color-bg: #01001d;
    --color-card-bg: #010a37;

    --color-primary-1: #ffd200;
    --color-primary-2: #ffc001;

    --color-secondary-1: #1557d9;
    --color-secondary-2: #0b1569;

    --color-button-bg-hover: rgba(140, 172, 238, 0.2);

    --color-link: #7faaff;
    --color-link-hover: #a3c0ff;

    --button-shadow: 0 4px 6px rgba(0,0,0,.4);
}
*, *:before, *:after {
    box-sizing: border-box;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
}
html,body {
    margin: 0;padding: 0;
    height: 100%;
}

body {
    min-width: 320px;
    font-size: 16px;
    line-height: 1.48;
    font-family: 'Open Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-variation-settings: "wdth" 100;
    background-color: var(--color-bg);
    color: var(--color-text);
}
body.menu-open, body.modal-open {
    overflow: hidden;
}
.container {
    max-width: 960px;
    min-width: 320px;
    margin: 0 auto;
    padding: 0 10px;
    overflow: hidden;
}
img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: inline-block;
}
a {
    color: var(--color-link);
    text-decoration: underline;
}
a:hover {
    color: var(--color-link-hover);
}

h1,h2,h3,h4,h5,h6 {
    margin: 2em 0 0.75em;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}
h1 {
    font-size: 2.25rem;
}
h2 {
    font-size: 1.75rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.25rem;
}
h5 {
    font-size: 1rem;
}
h6 {
    font-size: .875rem;
}
.stack {
    display: flex;
}
.stack.row {
    flex-direction: row;
}
.stack.column {
    flex-direction: column;
}

.page-header {
    z-index: 100;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transition: .3s all ease;
}
.page-header .container {
    border: 1px solid var(--color-secondary-2);
    border-top: 0 none;
    background-color: var(--color-card-bg);
    transition: .3s all ease;
    max-width: 960px;
    min-width: 320px;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    align-items: center;
    padding: 0 16px;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.page-header .logo {
    display: flex;
    align-items: center;
    width: 114px;
}
.page-header .logo img {
    width: 100%;
    height: auto;
    display: block;
}
.top-nav {
    margin: auto;
    display: flex;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}
.top-nav a {
    font-weight: 600;
    padding: 8px 12px;
    text-decoration: none;
}
.page-header-buttons {
    flex: 0 0 min-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.button {
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    border: 1px solid transparent;
    background: none;
    color: var(--color-secondary-1);
    text-decoration: none;
    box-shadow: var(--button-shadow);
}
.button:hover {
    background-color: var(--color-button-bg-hover);
}
.button.primary {
    background: linear-gradient(180deg,var(--color-primary-1),var(--color-primary-2));
    color: var(--color-secondary-1);
}
.button.full-size {
    width: 100%;
    padding: 8px 16px;
}
.button.signup, .button.login {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    font-family: inherit;
}
.button.signup {
    background: linear-gradient(180deg,var(--color-primary-1),var(--color-primary-2));
}
.button.login {
    border: 1px solid var(--color-secondary-1);
}
.button.burger {
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-secondary-1);
}
.button.burger path {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: .3s all ease;
    transform-origin: center;
}
.menu-open .button.burger .bar1 {
    transform: rotate(45deg) translate(0px, 6px);
}
.menu-open .button.burger .bar2 {
    opacity: 0;
}
.menu-open .button.burger .bar3 {
    transform: rotate(-45deg) translate(0px, -6px);
}

/* games block */
.games-grid {
    max-width: 100%;
    margin: 1em 0;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 8px;
    justify-items: flex-start;
}
.games-grid .card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.games-grid .card .card_provider_icon {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    object-fit: cover;
}
.games-grid .card .picture_wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
}
.games-grid .card .picture_wrap .picture {
    width: 100%;
    min-height: 100%;
    border-radius: 8px;
    aspect-ratio: 172/112;
}
.games-grid .card .card_overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: #0b1569e6;
    padding: 8px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: .3s opacity ease-in-out;
}
.card:hover .card_overlay {
    opacity: 1;
    visibility: visible;
    max-height: 100%;
}
.card .card_name {
    font-size: 12px;
}
.button.card_button, .button.card_button_demo {
    margin: 4px 0;
    font-size: 12px;
    line-height: 16px;
}
.button.card_button {
    background: linear-gradient(180deg,var(--color-primary-1),var(--color-primary-2));
    box-shadow: var(--button-shadow);
}
.button.card_button_demo {
    border: 1px solid var(--color-secondary-1);
    box-shadow: var(--button-shadow);
}

.screenshots-slider {
    padding: 0 0 30px !important;
    margin: 20px 0;
}

.table {
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background-color: transparent;
}
.table th, .table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--color-secondary-2);
}
.table th:first-child, .table td:first-child {
    padding-left: 0;
}
.table th:last-child, .table td:last-child {
    padding-right: 0;
}


.form-line {
    margin-bottom: 24px;
    position: relative;
}
.form-line label {
    position: absolute;
    left: 10px;
    top: -10px;
    color: var(--color-text);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    pointer-events: none;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-secondary-2);
    border-radius: 8px;
    padding: 1px 6px;
}

.form-line input,
.form-line textarea {
    width: 100%;
    padding: 16px;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-secondary-2);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 16px;
    font-family: inherit;
}

.welcome-bonus {
    align-items: center;
    border: 1px solid var(--color-secondary-3);
    background-color: var(--color-secondary-2);
    border-radius: 4px;
    display: flex;
    height: 100%;
    justify-content: space-between;
    margin: 30px 0 20px;
    max-height: 68px;
    padding: 12px 18px;
    position: relative;
    width: 100%;
    text-decoration: none;
}
.welcome-bonus-content {
    flex: 0 0 100%;
}
.welcome-bonus img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 358px;
    height: 89px;
    max-height: none;
}
.welcome-bonus-title, .welcome-bonus-number {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    margin: 0;
}
.welcome-bonus-title {
    color: #f6f7fb;
    position: relative;
    z-index: 2;
}
.welcome-bonus-number {
    color: #ffd200;
    padding: 0 0 4px;
}



/* Footer & Bottom menu */
footer {
    border-top: 1px solid var(--color-secondary-2);
    background: var(--color-card-bg);
    margin: 20px auto 0;
    padding: 30px 0 50px;
}
.footer-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 30px 0;
}
footer .logo {
    display: flex;
    align-items: center;
    width: 114px;
    margin-right: 20px;
}
footer .logo img {
    width: 100%;
    height: auto;
    display: block;
}
footer .copy {
    flex: 1;
}
.footer-section {
    flex: 1;
    justify-self: flex-start;
    align-self: flex-start;
}
.footer-section hr {
    border-top: 1px solid var(--color-secondary-2);
    height: 0;
    overflow: hidden;
    margin: 20px 0;
}
.footer-nav {
    width: 100%;
    padding: 0 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
}
.footer-nav a {
    display: flex;
    justify-content: space-between;
    gap:4px;
    text-decoration: none;
}
.footer-nav a:after {
    display: block;
    content: '';
    width: 24px;
    height: 24px;
    background: url(/img/chevron-right.svg) 0 0 no-repeat;
}
.footer-section h4 {
    margin-top: 0;
}
.footer-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.footer-icons img {
    max-width: 120px;
    max-height: 20px;
}
.security-icons {
    justify-content: space-between;
    align-items: center;
}
.security-icons>* {
    display: flex;
    justify-content: center;
    align-items: center;
}
.security-icons img {
    max-width: 100%;
}

.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
    transition: all .3s ease;
    will-change: transform;
    z-index: 950;
}
.bottom-menu-container {
    background: #010a37;
    border-top: 1px solid var(--color-secondary-2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 480px;
    min-height: 52px;
    min-width: 320px;
    padding: 0 0 env(safe-area-inset-bottom);
    transition: padding-bottom .5s ease;
    width: 100%;

    border-left: 1px solid var(--color-secondary-2);
    border-radius: 8px 8px 0 0;
    border-right: 1px solid var(--color-secondary-2);
}
.bottom-menu a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    min-height: 48px;
    text-align: center;
    text-decoration: none;
    pointer-events: all!important;
    touch-action: manipulation;
}
.bottom-menu a.search {
    width: 36px;
    height: 36px;
    min-height: 36px;
    background: linear-gradient(180deg,var(--color-primary-1),var(--color-primary-2));
    border-radius: 50%;
    box-shadow: 0 3.5px 3.5px #01000c40;
}
.bottom-menu svg {
    backface-visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
    shape-rendering: geometricPrecision;
    image-rendering: optimizeQuality;
}
.bottom-menu a span {
    color: #7faaff;
    font-size: 8px;
    font-weight: 600;
    line-height: 11px;
    padding-top: 4px;
    text-align: center;
    width: max-content;
}
.bottom-menu a.search span {
    display: none;
}




.modals {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    justify-content: center;
    align-items: flex-start;
    z-index: 99999;
    display: none;
    max-width: 100%;
}
body.modal-open .modals {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(21,87,217,0.5);
    backdrop-filter: blur(10px) sepia(80%);
    z-index: 9;
}
.modal-window {
    display: none;
    margin: auto;
    z-index: 999999;
    border: 1px solid var(--color-secondary-2);
    background-color: var(--color-card-bg);
    padding: 12px 26px;
    border-radius: 8px;
    position: relative;
    max-width: 98%;
}
.modal-window.active {
    display: block;
}
.modal-title {
    text-align: center;
    margin-top: 0;
}
.modal-demo {
    width: 940px;
    max-width: 100%;
}
.modal-window .close-btn {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px;
    height: 32px;
    border: 0 none;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--color-link);
}
.modal-window .close-btn:hover {
    color: var(--color-link-hover);
}







@media (max-width: 640px) {
    .button.burger {
        display: flex;
    }
    .top-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--color-card-bg);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--color-secondary-2);
        transform: translateY(calc(-60px - 100%));
        transition: transform .3s ease;
        z-index: 99;
    }
    .menu-open .top-nav {
        transform: translateY(0);
    }
}
@media (max-width: 480px) {
    .page-header-buttons .button.signup span,
    .page-header-buttons .button.login span {
        width: 0;
        height: 0;
        overflow: hidden;
    }
    .bottom-menu-container {
        border-left: 0 none;
        border-right: 0 none;
        border-radius: 0;
    }
}
