* {
    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;
}

header {
    background-image: url('../img/hm-bg.png');
    background-size: cover;
    background-position: center;
    height: 136vh;
}

.hdr-text {
    margin-top: -35%;
    display: flex;
    flex-direction: column;
}

.hdr-text h1 {
    font-size: 90px;
    font-weight: 400;
    line-height: 114px;
}

.big-txt {
    font-size: 130px;
    font-weight: 400;
    color: #fff;
}

.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;
}

.news {
    margin-top: 140px;
    padding-left: 245px;
    padding-right: 245px;
}



.hdr-news {
    font-family: "Anton SC", sans-serif;
    display: flex;
    justify-content: center;
    font-size: 80px;
    font-weight: 400;
}

.news-content {
    display: flex;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    margin-top: 50px;
    gap: 20px;
}

.news-card-left {
    background: linear-gradient(180deg, #00506B 0%, #002990 100%);
    border-radius: 30px;
    border: #A8A8A8 2px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
}

.card-text {
    padding: 44px 40px;
    flex: 1;
}

.card-block-img {
    align-self: flex-end;
    margin-top: 5%;
}

.card-block-img img {
    display: block;
    height: auto;
    width: 100%;
    height: 100%;

}

.card-text h1 {
    font-size: 46px;
    font-weight: 400;
    line-height: 56px;
    text-wrap: nowrap;
}

.card-text p {
    font-size: 24px;
    font-weight: 400;
    font-family: "Exo 2", sans-serif;
    margin-top: 10px;
    width: 100%;
}

/* Main container */
.news-card-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 700px;
}

/* Shared card styles */
.card-item {
    border: 2px solid #002FDB;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    height: 430px;
}

/* VIP CARD (first card) */
.card-item.one {
    background: linear-gradient(180deg, #00226B 0%, #011239 100%);
    display: flex;
}

.card-block-flex {
    display: flex;
    width: 100%;
    position: relative;
}

.card-text-one {
    padding: 44px 40px;
    z-index: 2;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-text-one h1 {
    font-size: 46px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    text-wrap: nowrap;
    color: white;
}

.card-text-one p {
    font-size: 24px;
    font-family: "Exo 2", sans-serif;
    line-height: 1.3;
    color: white;
    margin-bottom: 30px;
}

.card-block-img-2 {
    position: absolute;

    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.card-block-img-2 img {
    height: 84%;
    width: auto;
    width: 90%;
    object-fit: contain;
    object-position: right bottom;
}

/* WINNERS CARD (second card) */
.card-item.two {
    background: url('../img/candy-bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 40px;
}

.card-text-two {
    color: white;
}

.card-text-two h1 {
    font-size: 46px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.card-text-two p {
    font-size: 24px;
    font-family: "Exo 2", sans-serif;
    line-height: 1.3;
    width: 60%;
}

/* Shared button styles */
.card-block-btn {
    margin-top: auto;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 25px;
    font-family: "Exo 2", sans-serif;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}

.card-btn:hover {
    opacity: 0.8;
}

.card-btn img {
    width: 20px;
    height: 17px;
}

.news-card-bottom {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    z-index: 1010;
    position: relative;
}

.news-card-bottom a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    color: #fff;
    text-decoration: none;
    font-family: "Anton", sans-serif;
    gap: 24px;
    font-size: 36px;
    background: linear-gradient(180deg, #1198DB 0%, #00B8F0 50%, #0080FF 100%);
    border-radius: 8px;
}

.game-mode-sec {
    margin-top: -7.5%;
}

.rabbit-img {
    width: 100%;
    display: flex;
    justify-content: center;
}

.rabbit-img img {
    width: 80%;
}

.mode-set {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.mob {
    display: none !important;
}

.mode-set {
    margin-top: -20%;
}

.nav-mode-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: -5.1%;
    border: #0183FD 2px solid;
    border-radius: 10px 10px 0 0;
    /* Додає заокруглення всьому контейнеру */
    overflow: hidden;
    /* Ховає виступаючі частини за межі контейнера */
}

.nav-mode-list-li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 28px;
    font-weight: bold;
    padding: 30px 40px;
    gap: 15px;
    font-family: "Exo 2", sans-serif;
    background: linear-gradient(180deg, #06ade92e 0%, #0184fe34 100%);
    border-left: 2px solid #0183FD;
}

.nav-mode-list-li:first-child {
    border-left: none;
    border-top-left-radius: 8px;
}

.nav-mode-list-li:last-child {
    border-top-right-radius: 8px;
}

.game-square {
    width: 100%;
    height: 820px;
    border-radius: 24px;
    margin-top: -1.5%;
    background: linear-gradient(180deg, #00226B 0%, #011239 100%);
    border: #0183FD 2px solid;
}

.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;
}

.carusel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 20px 0;
    margin-top: 180px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carusel::-webkit-scrollbar {
    display: none;
}

.game-item {
    flex: 0 0 calc(100% - 30px);
    max-width: 480px;
    height: 680px;
    border-radius: 10px;
    transition: transform 0.3s;
    background: linear-gradient(180deg, #0051ffbe 0%, #021429 100%);
    scroll-snap-align: start;
    /* Для кращого скролу */
}

/* Additional responsive styles for elements that need adaptation */

/* Improve mobile menu functionality */
@media (max-width: 991px) {

    /* 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;
    }

    /* Add close button styling */
    .close-menu {
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }

    /* Improve mobile menu button display */
    .hdr-nav-navig.active .hdr-btn {
        display: inline-flex;
        margin-top: 40px;
    }

    .card-block-img img {
        max-width: 350px;
    }

}

/* Fix game-square responsiveness */
@media (max-width: 767px) {
    .game-square {
        margin-top: 10px;
        height: auto;
        min-height: 400px;
        padding: 20px;
    }
}

/* Improve carusel responsiveness */
@media (max-width: 767px) {
    .game-item {
        flex: 0 0 85%;
        max-width: 85%;
        height: auto;
        min-height: 450px;
    }

    .controls {
        width: 90%;
        margin: 15px auto;
    }
}

/* Fix footer layout on mobile */
@media (max-width: 767px) {
    .ftr-row {
        gap: 40px;
    }

    .ftr-column {
        width: 100%;
    }

    .ftr-link {
        text-align: left;
    }

    .ftr-link a {
        margin-top: 15px;
    }

    .ftr-soc {
        justify-content: flex-start;
        margin-left: 0;
    }
}

/* Fix call-to-action section on mobile */
@media (max-width: 767px) {
    .cta-img {
        margin-left: 0;
    }

    .cta-btns {
        align-items: center;
        margin-top: 20px;
        gap: 15px;
    }

    .cta-btns .btn-sign,
    .cta-btns .btn-log {
        width: 80%;
        max-width: 250px;
    }
}

/* Fix nav-mode-list on smaller screens */
@media (max-width: 575px) {
    .nav-mode-list {

        width: 100%;
        border-radius: 10px;
    }

    .nav-mode-list-li {
        width: 100%;
        border-left: none;
        border-top: 2px solid #0183FD;
    }

    .nav-mode-list-li:first-child {
        border-top: none;
        border-top-right-radius: 8px;
    }

    .nav-mode-list-li:last-child {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
}

/* Improve logos-array responsiveness */
@media (max-width: 575px) {
    .logos-array {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        justify-items: center;
        align-items: center;
    }

    .logos-array img {
        max-width: 80px;
        height: auto;
    }
}

/* Fix rabbit image positioning on very small screens */
@media (max-width: 375px) {
    .rabbit-img img {
        width: 100%;
        margin-top: 20%;
        margin-bottom: 30%;
    }

    .mode-set {
        margin-top: -65%;
    }
}

/* Fix header text on landscape orientation */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        height: auto;
        min-height: 100vh;
    }

    .hdr-text {
        margin-top: 10%;
        padding-bottom: 50px;
    }

    .hdr-text h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .big-txt {
        font-size: 60px;
    }
}

/* Fix scrolling issues on mobile */
@media (max-width: 767px) {
    .carusel {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 10px 0;
    }

    .game-item {
        scroll-snap-align: center;
    }
}

/* Improve accessibility for touch devices */
@media (hover: none) {

    a:hover,
    .card-btn:hover,
    .scroll-btn:hover,
    .nav-mode-list-li:hover {
        transform: none;
    }

    a:active,
    .card-btn:active,
    .scroll-btn:active,
    .nav-mode-list-li:active {
        opacity: 0.8;
    }
}



/* Для більших екранів, коли контейнер ширший за 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;
}

.br-mob {
    display: none;
}

.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;
}

.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;
    }

    .hdr-btn {
        padding: 15px 25px;
        font-size: 24px;
        display: none;
    }

    .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;
    }

    .news {
        padding-left: 80px;
        padding-right: 80px;
        margin-top: 100px;
    }

    .hdr-news {
        font-size: 60px;
    }

    .card-text h1,
    .card-text-one h1,
    .card-text-two h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .card-text p,
    .card-text-one p,
    .card-text-two p {
        font-size: 20px;
    }

    .card-item {
        height: 380px;
    }

    .game-square {
        height: 600px;
        width: 90%;
    }

    .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;
    }

    .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;
    }

    .news {
        padding-left: 40px;
        padding-right: 40px;
        margin-top: 80px;
    }

    .hdr-news {
        font-size: 50px;
    }

    .news-content {
        flex-direction: column;
        align-items: center;
    }

    .news-card-left,
    .news-card-right {
        max-width: 100%;
    }

    .card-item {
        height: auto;
        min-height: 350px;
    }

    .card-text-one {
        width: 65%;
    }

    .card-block-img-2 img {
        height: 75%;
    }

    .game-mode-sec {
        margin-top: -10%;
    }

    .mode-set {
        margin-top: -25%;
    }

    .nav-mode-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-mode-list-li {
        font-size: 20px;
        padding: 20px 25px;
    }

    .game-square {
        height: 500px;
    }

    .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;
    }

    .call-to-action {
        margin-top: 80px;
    }

    .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;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {

    .desk,
    .desk img {
        display: none !important;
    }

    header {
        background-image: url('../img/mob/mob-bg-1.png');
        background-size: cover;
        height: 50vh;
    }

    .mob {
        display: block !important;
    }

    .container,
    .container-2 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hdr-navigation {
        padding-top: 30px;
    }

    .hdr-navigation img {
        max-width: 120px;
    }

    a.hdr-btn {
        padding: 12px 20px;
        font-size: 20px;
        gap: 10px;
        display: none;
    }

    .hdr-btn img {
        width: 18px;
        height: 16px;
    }


    .hdr-text {
        margin-top: -46%;
    }

    .hdr-text h1 {
        font-size: 26px;
        line-height: 34px;
    }

    .big-txt {
        font-size: 40px;
    }

    .hdr-text p {
        font-size: 14px;
        width: 100%;
        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;
    }

    .news {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 10%;
    }

    .hdr-news {
        font-size: 40px;
    }

    .card-text {
        padding: 30px 25px;
    }

    .card-text h1,
    .card-text-one h1,
    .card-text-two h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .card-text p,
    .card-text-one p,
    .card-text-two p {
        font-size: 18px;
    }

    .card-text-one {
        width: 100%;
        padding: 30px 25px;
    }

    .card-block-img-2 {
        display: none;
    }


    .card-item.one {
        flex-direction: column;
        background-image: url('../img/mob/mob-rab.png');
        background-size: cover;
        background-position: right;
    }


    .card-item.two {
        padding: 30px 25px;
    }

    .card-text-two p {
        width: 100%;
    }

    .news-card-bottom {
        zoom: 1.1;
        margin-top: 6%;
    }

    .news-card-bottom a {
        padding: 15px 30px;
        font-size: 24px;
    }

    .rabbit-img img {
        width: 100%;
        margin-top: 14%;
        margin-bottom: 20%;

    }



    .mode-set {
        margin-top: -35%;
    }

    .nav-mode-list {
        width: 100%;
        border-radius: 10px;
        margin-top: 16%;
    }



    .nav-mode-list-li {
        border-left: none;
        border-top: 2px solid #0183FD;
        border-radius: 0;
        width: 100%;
        text-align: center;
    }

    .nav-mode-list-li:first-child {
        border-top: none;
    }

    .game-square {
        height: 400px;
        margin-top: 0;
    }

    .logos-array {
        margin-top: 60px;
        padding: 20px;
    }

    .logos-array img {
        max-width: 80px;
    }

    .carusel {
        margin-top: 60px;
    }

    .game-item {
        max-width: 360px;
        height: 450px;
    }

    .call-to-action {
        margin-top: 60px;
    }

    .cta-img img {
        width: 90%;
        zoom: 1;
    }

    .block-flex {
        display: flex !important;
        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) {

    .card-text h1,
    .card-text-one h1,
    .card-text-two h1 {
        font-size: 26px;
        line-height: 32px;
    }

    .card-text p,
    .card-text-one p,
    .card-text-two p {
        font-size: 16px;
    }

    .card-text {
        padding: 25px 20px;
    }

    .card-item {
        height: auto;
        min-height: 300px;
    }

    .card-btn {
        font-size: 18px;
    }

    .news-card-bottom a {
        padding: 12px 25px;
        font-size: 20px;
        gap: 15px;
    }

    .news-card-bottom a img {
        width: 16px;
        height: 14px;
    }

    .game-mode-sec {
        margin-top: -15%;
    }

    .mode-set {
        margin-top: -45%;
    }

    .nav-mode-list-li {
        font-size: 16px;
        padding: 15px 20px;
        gap: 10px;
    }

    .nav-mode-list-li img {
        width: 20px;
        height: 20px;
    }

    .game-square {
        height: 350px;
        border-radius: 15px;
    }

    .logos-array {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 15px;
    }

    .logos-array img {
        max-width: 70px;
        height: auto;
    }

    .carusel {
        padding: 10px 0;
    }

    .game-item {
        max-width: 260px;
        height: 400px;
    }

    .controls {
        gap: 15px;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
    }

    .scroll-btn img {
        width: 16px;
        height: 16px;
    }

    .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;
        display: none;
    }

    .hdr-btn img {
        width: 14px;
        height: 12px;
    }

    .hdr-text {
         margin-top: -46%;
    }

    .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;
    }

    .news {
        margin-top: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .br-mob {
        display: block;
    }

    .hdr-news {
        font-size: 30px;
    }

    .news-content {
        flex-direction: column;
        align-items: center;
    }

    .news-card-left,
    .news-card-right {
        max-width: 100%;
    }

    .card-item {
        height: auto;
        min-height: 300px;
    }

    .card-text-one {
        width: 100%;
        padding: 20px 15px;
    }

    .card-block-img-2 {
        display: none;
    }

    .card-text-two {
        padding: 20px 15px;
    }

    .card-text-two p {
        width: 100%;
    }

    .hdr-news {
        font-size: 28px;
    }

    .news-content {
        margin-top: 30px;
    }

    .card-text h1,
    .card-text-one h1,
    .card-text-two h1 {
        font-size: 22px;
        line-height: 28px;
    }

    .card-text p,
    .card-text-one p,
    .card-text-two p {
        font-size: 14px;
    }

    .card-text {
        padding: 20px 15px;
    }

    .card-item {
        min-height: 250px;
    }

    .card-btn {
        font-size: 16px;
    }

    .news-card-bottom a {
        padding: 10px 20px;
        font-size: 18px;
    }

    .mode-set {
        margin-top: -55%;
    }

    .nav-mode-list-li {
        font-size: 14px;
        padding: 12px 15px;
    }

    .nav-mode-list-li img {
        width: 16px;
        height: 16px;
    }

    .game-square {
        height: 300px;
    }

    .logos-array {
        margin-top: 40px;
    }

    .logos-array img {
        max-width: 60px;
    }

    .carusel {
        margin-top: 40px;
    }

    .game-item {
        max-width: 220px;
        height: 350px;
    }

    .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;

    }

    .hdr-nav-navig.active .hdr-btn {
        margin-top: 30px;
    }
}





/* 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;
    }
}