* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #021429;
    color: #fff;
    font-family: "Anton SC", sans-serif;
}

a {
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
    transform: scale(1.05);
}

.container {
    padding-left: 100px;
    padding-right: 100px;
}

.hdr-navigation {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding-top: 50px;
    font-family: "Exo 2", sans-serif;
    box-shadow: 0 4px 2px -2px linear-gradient(to bottom, #010F22, #00122B);
}

.ul-nav-hdr {
    display: flex;
    justify-content: space-between;
    list-style: none;
    gap: 55px;
    width: 100%;
    margin-left: 28%;
}

.hdr-navigation img {
    width: 100%;
    max-width: 256px;
}

.hdr-nav-navig {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    flex-direction: row;
}

.ul-nav-hdr a {
    font-size: 26px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.hdr-btn {
    background: linear-gradient(180deg, #1198DB 0%, #01c4ff 50%, #0080FF 100%);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 8px;
    color: #000660;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
}

.hdr-btn img {
    width: 23px;
    height: 20px;
}

.container-faq {
    padding-left: 225px;
    padding-right: 225px;
    margin-top: 8%;

}

.faq-block {
    margin-left: -3.6%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0050B0 10%, #002F6D 100%);
    border: #005FD1 1px solid;
    padding: 44px 50px;
    border-radius: 16px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-ask {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-ask p {
    font-weight: 600;
    font-size: 30px;
    font-family: "Exo 2", sans-serif;
    color: #fff;
}

.faq-ask img {
    width: 44px;
    height: 44px;
    transition: transform 0.3s ease;
}

.faq-block.active .faq-ask img {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-block.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    font-weight: 400;
    font-size: 28px;
    font-family: "Exo 2", sans-serif;
    margin-top: 70px;
    color: #fff;
}


header {
    background-image: url('../img/sec-bg.png');
    background-size: cover;
    background-position: center;
    height: 136vh;
}

.hdr-text {
    margin-top: -57%;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.hdr-text h1 {
    font-size: 180px;
    font-weight: 400;
    line-height: 114px;
}

.hdr-text h3 {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 2%;
    font-family: "Anton SC", sans-serif;
}

.hdr-text p {
    font-family: "Exo 2", sans-serif;
    font-size: 26px;
    width: 78%;
    margin-top: 50px;
}

.hdr-btns {
    width: 100%;

    display: flex;
    justify-content: flex-start;
    gap: 24px;
    margin-top: 40px;
}

.btn-sign {
    padding: 30px 66px;
    background: linear-gradient(180deg, #00C32A 0%, #00E323 50%, #00A72F 100%);
    border-radius: 4px;
    font-size: 42px;
    color: #fff;
    font-family: "Exo 2", sans-serif;
    text-decoration: none;
    font-weight: 600;
    width: 190px;
    text-align: center;
}

.btn-log {
    padding: 30px 66px;
    background: linear-gradient(180deg, #1198DB 0%, #00B8F0 50%, #0080FF 100%);
    border-radius: 4px;
    font-size: 42px;
    color: #fff;
    font-family: "Exo 2", sans-serif;
    text-decoration: none;
    font-weight: 600;
    width: 190px;
    text-align: center;
}

.logos-array {
    margin-top: 180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: #0183FE 0.5px solid;
    border-bottom: #0183FE 0.5px solid;
    padding: 30px 50px;
}

.logos-array img:first-child {
    max-width: 110px;
}

.logos-array img:fourth-child {
    max-width: 110px;
}

.container-2 {
    padding-left: 100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Для більших екранів, коли контейнер ширший за 690px */
@media (min-width: 720px) {

    /* 690px + gap + padding */
    .game-item {
        flex: 0 0 690px;
    }
}

.game-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.controls {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px auto;
    max-width: 450px;
    width: calc(100% - 40px);
    /* Враховуємо padding контейнера */
}

.scroll-track {
    flex: 1;
    height: 10px;
    background: #07658F;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.scroll-thumb {
    position: absolute;
    height: 100%;
    background: #0E9FE0;
    border-radius: 8px;
    width: 20%;
    left: 0;
    transition: width 0.3s, left 0.3s;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    background: #0E9FE0;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.scroll-btn:hover {
    background: #0080ffc3;
}

.scroll-btn:disabled {
    background: #0080ffc3;
    cursor: not-allowed;
}

.scroll-btn img {
    width: 20px;
    height: 20px;
}

.call-to-action {
    margin-top: 180px;
    width: 100%;
}

.cta-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-left: -1.5%;
    /* Запобігає виходу за межі */
}

.cta-img img {
    width: 70%;
    zoom: 1.5;
    height: auto;
    display: flex;
    margin: 0 auto;

}

.cta-btns {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: -15.6%;
}


.ftr-row {
    display: flex;
    justify-content: space-between;
    margin-top: 180px;
}

.ftr-soc {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-left: -6%;
}

.ftr-soc img {
    width: 42px;
    height: 42px;
}

.ftr-column h1 {
    font-family: "Exo 2", sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 46px;
}

.ftr-items {
    display: flex;
    flex-direction: column;
    justify-content: left;
    margin-top: 60px;
    font-family: "Exo 2", sans-serif;
}

.ftr-items:last-child {
    margin-bottom: 100px;
}

.ftr-items h2 {
    font-size: 24px;
    font-weight: bold;
    color: #00B7FF;
}

.ftr-items p {
    font-size: 24px;
    font-weight: bold;
}

.ftr-link-lists {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: right;
}

.ftr-link {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.ftr-link a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-family: "Exo 2", sans-serif;
    font-weight: bold;
    margin-top: 50px;
}

.mob {
    display: none !important;
}













.nav-mode-list-li:hover {
    background: #06ADE9;
    /* Легкий фон при наведенні */
}

.nav-mode-list-li.active {
    background: linear-gradient(180deg, #06ADE9 0%, #0183FE 100%);
    color: white;
    /* Змінюємо колір тексту для кращої читабельності */
}

.nav-mode-list-li.active img {
    filter: brightness(0) invert(1);
    /* Робить іконку білою */
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Бургер -> Хрестик */
.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile menu style */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .hdr-nav-navig {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #00226B 0%, #011239 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
    }

    .hdr-nav-navig.active {
        top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    body.menu-open {
        overflow: hidden;
    }

    .ul-nav-hdr {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .ul-nav-hdr a li {
        color: white;
        font-size: 18px;
        font-weight: 500;
        text-align: left;
        text-decoration: none;
    }

    .hdr-btn {
        margin-top: 20px;
        color: white;
    }
}

/* Responsive styles */
/* Base styles remain the same */

/* Media Queries for Responsive Design */



/* Small Desktop / Laptop (992px to 1199px) */
@media (max-width: 1199px) {

    .container,
    .container-2 {
        padding-left: 60px;
        padding-right: 60px;
    }

    .ul-nav-hdr {
        margin-left: 15%;
        gap: 30px;
    }

    .ul-nav-hdr a {
        font-size: 22px;
    }

    .container-faq {
        padding-left: 25px;
        padding-right: 25px;
        margin-top: 8%;

    }

    .desk {
        display: none;
    }

    .mob {
        display: block !important;
    }

    .faq-ask p {
        font-size: 16px;
        font-weight: 400;
    }

    .faq-block {
        margin-left: -3.6%;
        width: 100%;
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #0050B0 10%, #002F6D 100%);
        border: #005FD1 1px solid;
        padding: 14px 12px;
        border-radius: 6px;
        margin-bottom: 10px;
        cursor: pointer;
    }

    .faq-answer p {
        font-weight: 300;
        font-size: 16px;
        font-family: "Exo 2", sans-serif;
        margin-top: 20px;
        line-height: 20px;
        color: #fff;
    }

    .faq-ask img {
        width: 20px;
        height: 20px;
    }

    .hdr-text h3 {
        font-size: 20px;
        margin-top: 6%;
    }



    .hdr-btn {
        padding: 15px 25px;
        font-size: 24px;
    }

    .hdr-text {
        margin-top: -25%;
    }

    .hdr-text h1 {
        font-size: 70px;
        line-height: 90px;
    }

    .big-txt {
        font-size: 100px;
    }

    .hdr-text p {
        font-size: 22px;
        width: 85%;
    }

    .btn-sign,
    .btn-log {
        padding: 25px 50px;
        font-size: 32px;
        width: 160px;
    }

    .nav-mode-list-li {
        font-size: 24px;
        padding: 25px 30px;
    }

    .logos-array {
        margin-top: 120px;
        padding: 25px 40px;
    }

    .carusel {
        margin-top: 120px;
    }

    .game-item {
        max-width: 420px;
        height: 600px;
    }

    .call-to-action {
        margin-top: 120px;
    }

    .ftr-row {
        margin-top: 120px;
    }

    .ftr-column h1 {
        font-size: 36px;
        line-height: 42px;
    }

    .ftr-items h2 {
        font-size: 22px;
    }

    .ftr-items p,
    .ftr-link a {
        font-size: 22px;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {

    .container,
    .container-2 {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hdr-navigation img {
        max-width: 200px;
        position: relative;
        z-index: 1060;
    }

    .ul-nav-hdr {
        display: none;
    }

    .block-flex {
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin-top: 24%;
        margin-bottom: -16%;
    }


    .burger {
        display: flex;
    }

    .hdr-nav-navig {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background: linear-gradient(180deg, #00226B 0%, #011239 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
    }

    .hdr-btn {
        display: none !important;
    }

    .hdr-nav-navig.active {
        right: 0;
    }

    .ul-nav-hdr.mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-left: 0;
        text-align: left;
        margin-top: 50px;
    }

    .hdr-text {
        margin-top: 20%;
    }

    .hdr-text h1 {
        font-size: 60px;
        line-height: 75px;
    }

    .big-txt {
        font-size: 80px;
    }

    .hdr-text p {
        font-size: 20px;
        width: 90%;
    }

    .btn-sign,
    .btn-log {
        padding: 20px 40px;
        font-size: 30px;
        width: 140px;
    }



    .logos-array {
        margin-top: 80px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .logos-array img {
        max-width: 100px;
    }

    .carusel {
        margin-top: 80px;
    }

    .game-item {
        max-width: 380px;
        height: 550px;
    }

    .advan-block {
        margin-top: 10%;
    }

    .hdr-text h3 {
        font-size: 16px;
        font-weight: bold;
        margin-top: 12%;
        font-family: "Exo 2", sans-serif;
    }

    .call-to-action {
        margin-top: 60px;
    }

    .cta-btns {
        margin-top: -20%;
    }

    .ftr-row {
        margin-top: 80px;
        gap: 50px;
    }

    .ftr-soc {
        margin-left: 0;
        justify-content: flex-start;
    }

    .ftr-link-lists {
        flex-wrap: wrap;
        gap: 10px;
    }

    h1.left {
        text-align: left;
    }

    h1.right {
        text-align: right;
    }

    .ftr-link {
        text-align: right;
    }

    .ftr-link a {
        margin-top: 30px;
    }

    .square p {
        font-weight: 300;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {

    .desk,
    .desk img {
        display: none !important;
    }

    header {
        background-image: url('../img/mob/mob-bg-2.png');
        background-size: cover;
        height: 50vh;
    }

    .mob {
        display: flex;
    }

    .container,
    .container-2 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hdr-navigation {
        padding-top: 30px;
    }

    .hdr-navigation img {
        max-width: 120px;
    }

    .hdr-btn {
        padding: 12px 20px;
        font-size: 20px;
        gap: 10px;
    }

    .hdr-btn img {
        width: 18px;
        height: 16px;
    }


    .hdr-text {
        margin-top: -56%;
    }

    .hdr-text h1 {
        font-size: 68px;
        line-height: 34px;
    }

    .big-txt {
        font-size: 40px;
    }

    .hdr-text p {
        font-size: 14px;
        width: 100%;
        text-align: center;
        padding: 0;
        margin-top: 20px;
    }

    .hdr-btns {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        align-items: center;
    }

    .btn-sign,
    .btn-log {
        padding: 15px 30px;
        font-size: 20px;
        width: 100%;
        max-width: 300px;
    }

    .advan-block-hdr h2 {
        font-family: "Anton SC", sans-serif;
        font-size: 22px;
        font-weight: 400;
        margin-bottom: 30px;
    }

    .blocks-row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        margin-bottom: 30px;
        zoom: 0.6 !important;
        margin-left: 4%;
    }

    .text-enc {
        font-size: 18px;
        font-weight: 600;
        font-family: "Exo 2", sans-serif;
        text-align: center;
        width: 100%;
        text-transform: uppercase;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .text-block {
        margin-top: 20%;
    }




    .logos-array {
        margin-top: 60px;
        padding: 20px;
    }

    .logos-array img {
        max-width: 80px;
    }


    .block-flex {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 24%;
        margin-bottom: -16%;
    }

    .cta-btns {
        gap: 5px;
        align-items: center;
    }

    .ftr-column h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .ftr-items {
        margin-top: 20px;
    }

    .ftr-items h2 {
        font-size: 14px;
    }

    .ftr-items p,
    .ftr-link a {
        font-size: 18px;
    }

    .ftr-link a {
        margin-top: 20px;
    }
}

/* Mobile Portrait (up to 575px) */
/* Mobile Portrait (up to 575px) continued */
@media (max-width: 575px) {


    .logos-array {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 15px;
    }

    .logos-array img {
        max-width: 70px;
        height: auto;
    }


    .cta-img img {
        width: 100%;
        margin-left: 2%;
    }

    .ftr-row {
        gap: 40px;
    }

    .ftr-column h1 {
        font-size: 16px;
        line-height: 32px;
    }

    .ftr-soc {
        gap: 20px;
    }

    .ftr-soc img {
        width: 32px;
        height: 32px;
    }

    .ftr-items {
        margin-top: 20px;
    }

    .ftr-items h2 {
        font-size: 18px;
    }

    .ftr-items p,
    .ftr-link a {
        font-size: 16px;
    }

    .ftr-items:last-child {
        margin-bottom: 60px;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {

    .container,
    .container-2 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hdr-navigation {
        padding-top: 20px;
    }

    .hdr-navigation img {
        max-width: 120px;
    }

    .hdr-btn {
        padding: 8px 12px;
        font-size: 16px;
        gap: 8px;
    }

    .hdr-btn img {
        width: 14px;
        height: 12px;
    }

    .hdr-text {
        margin-top: -74%;
    }

    .hdr-text h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .big-txt {
        font-size: 40px;
    }

    .hdr-text p {
        font-size: 14px;
        margin-top: 20px;
    }

    .btn-sign,
    .btn-log {
        padding: 10px 20px;
        font-size: 18px;
        width: 150px;
    }



    .br-mob {
        display: block;
    }

    .logos-array {
        margin-top: 40px;
    }

    .logos-array img {
        max-width: 60px;
    }


    .call-to-action {
        margin-top: 40px;
    }

    .cta-btns .btn-sign,
    .cta-btns .btn-log {
        padding: 8px 15px;
        font-size: 16px;
        width: 140px;
    }

    .ftr-row {
        margin-top: 60px;
    }

    .ftr-column h1 {
        font-size: 16px;
        line-height: 28px;
    }

    .ftr-items h2 {
        font-size: 16px;
    }

    .ftr-items p,
    .ftr-link a {
        font-size: 14px;
    }
}

/* Fix for navigation on mobile devices */
@media (max-width: 991px) {

    /* Mobile menu overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1040;
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }

    /* Mobile navigation positioning */
    .hdr-navigation {
        position: relative;
        z-index: 1060;
    }

    /* Ensure the burger menu is always visible */
    .burger {
        position: relative;
        z-index: 1070;
    }

    /* Adjust mobile menu items */
    .hdr-nav-navig.active .ul-nav-hdr {
        display: flex;
        flex-direction: column;
        padding-left: 16%;
        margin-top: -80%;
        margin-left: 0;
        width: 100%;

    }

    .ul-nav-hdr a {
        border-bottom: 1px #fff solid;
        padding-bottom: 20px;
        width: 84%;
    }

    .ul-nav-hdr li:last-child {
        border-bottom: none;

    }

    /* Make mobile menu take full height and add proper padding */
    .hdr-nav-navig.active {
        right: 0;
        top: 0;
        height: 100vh;
        padding-top: 80px;
        overflow-y: auto;
    }



    .blocks-row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        margin-bottom: 30px;
        zoom: 0.8;
        margin-left: 4%;
    }
}





/* Orientation specific adjustments */
@media (max-height: 600px) and (orientation: landscape) {

    .hdr-text {
        margin-top: 15%;
    }

    .hdr-btns {
        flex-direction: row;
    }

    .mode-set {
        margin-top: -15%;
    }

    .nav-mode-list {
        flex-direction: row;
    }

    .cta-btns {
        flex-direction: row;
    }
}


/* Print styles */
@media print {
    body {
        background-color: white;
        color: black;
    }

    header,
    .game-mode-sec,
    .call-to-action,
    .carusel,
    .logos-array {
        display: none;
    }

    .container,
    .container-2,
    .news {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .hdr-navigation {
        box-shadow: none;
    }

    a {
        text-decoration: underline;
        color: black;
    }

    .card-item,
    .news-card-left {
        border: 1px solid #ccc;
        background: none !important;
    }

    .card-text h1,
    .card-text-one h1,
    .card-text-two h1,
    .card-text p,
    .card-text-one p,
    .card-text-two p {
        color: black;
    }
}