/* Desktop: hide mobile navbar */
.mobile-site-header,
.mobile-site-menu {
    display: none;
}

.home-inner-container.row {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .topbar-container,
    .site-header {
        display: none !important;
    }

    /* Mobile navbar */
    .mobile-site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 12px;
        background: linear-gradient(180deg, #e82f2f 0%, #bf1a1a 55%, #9e1414 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        position: sticky;
        top: 0;
        z-index: 1040;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        text-decoration: none;
        line-height: 0;
    }

    .mobile-logo img {
        display: block;
        height: 32px;
        width: auto;
        max-width: 130px;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .mobile-login-panel {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 62px;
        padding: 6px 14px;
        border-radius: 999px;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        text-transform: none;
        line-height: 1;
        border: 1px solid rgba(255, 255, 255, 0.25);
        white-space: nowrap;
    }

    .mobile-btn-login {
        background: linear-gradient(180deg, #c82f2f 0%, #9e1a1a 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .mobile-btn-register {
        background: linear-gradient(180deg, #ff5e5e 0%, #e02f2f 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .mobile-header-divider {
        display: block;
        width: 1px;
        height: 28px;
        background: rgba(255, 255, 255, 0.45);
        flex-shrink: 0;
    }

    .mobile-menu-trigger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-menu-trigger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    body.mobile-menu-open .mobile-menu-trigger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.mobile-menu-open .mobile-menu-trigger span:nth-child(2) {
        opacity: 0;
    }

    body.mobile-menu-open .mobile-menu-trigger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile slide-out menu */
    .mobile-site-menu {
        display: block;
        pointer-events: none;
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        transition: opacity 0.25s ease;
        z-index: 1041;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 85vw);
        height: 100%;
        background: linear-gradient(180deg, #bf1a1a 0%, #6e0f0f 100%);
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 1042;
        overflow-y: auto;
        padding: 16px 0 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    body.mobile-menu-open .mobile-site-menu {
        pointer-events: auto;
    }

    body.mobile-menu-open .mobile-menu-backdrop {
        opacity: 1;
    }

    body.mobile-menu-open .mobile-menu-panel {
        transform: translateX(0);
    }

    .mobile-menu-close {
        position: absolute;
        top: 10px;
        right: 12px;
        width: 36px;
        height: 36px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
    }

    .mobile-nav-list {
        list-style: none;
        margin: 44px 0 0;
        padding: 0;
    }

    .mobile-nav-list > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-nav-list > li > a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        text-transform: uppercase;
    }

    .mobile-nav-list > li > a img {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .mobile-nav-list > li > a:active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* General mobile layout */
    img,
    picture img {
        max-width: 100%;
        height: auto;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .banner,
    .banner .slick-slide img,
    .banner-carousel > div:first-child img {
        aspect-ratio: 16 / 9;
    }

    .announcement-container {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 12px;
        gap: 8px;
    }

    .announcement-container > [data-section="announcements"] {
        width: 100%;
    }

    .home-inner-container {
        display: block;
        gap: 0;
        margin-bottom: 20px;
        margin-top: 10px;
        margin-left: 0;
        margin-right: 0;
    }

    .home-inner-container > [class*="col-"] {
        display: block;
        width: 100%;
        float: none;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 12px;
    }

    .home-inner-container > [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    .home-inner-container [data-section="jackpot"] > a {
        display: block;
        width: 100%;
    }

    .home-progressive-jackpot,
    .lottery-result-container {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .lottery-result-container {
        overflow: visible;
    }

    .lottery-result-container .lottery-result {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
        padding: 10px 12px;
        box-sizing: border-box;
        overflow: visible;
    }

    .lottery-result-container .lottery-result > picture {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        margin-right: 4px;
    }

    .lottery-result-container .lottery-result picture img,
    .lottery-result-container .lottery-result > img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 56px;
        max-height: 56px;
        object-fit: contain;
    }

    .lottery-result-container .lottery-numbers {
        flex: 0 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
        min-height: 56px;
        margin-left: 8px;
        padding: 8px 10px;
        box-sizing: border-box;
        overflow: visible;
    }

    .lottery-result-container [data-lottery-number] {
        flex: 0 0 35px;
        width: 35px;
        height: 45px;
        margin: 0;
        background-repeat: no-repeat;
        background-image: var(--image-src);
        background-position: -1px center;
        background-size: 364px 45px;
    }

    .lottery-result-container [data-lottery-number="1"] {
        background-position: -36.5px center;
    }

    .lottery-result-container [data-lottery-number="2"] {
        background-position: -72px center;
    }

    .lottery-result-container [data-lottery-number="3"] {
        background-position: -109.5px center;
    }

    .lottery-result-container [data-lottery-number="4"] {
        background-position: -146px center;
    }

    .lottery-result-container [data-lottery-number="5"] {
        background-position: -182.75px center;
    }

    .lottery-result-container [data-lottery-number="6"] {
        background-position: -219.5px center;
    }

    .lottery-result-container [data-lottery-number="7"] {
        background-position: -256.25px center;
    }

    .lottery-result-container [data-lottery-number="8"] {
        background-position: -292.5px center;
    }

    .lottery-result-container [data-lottery-number="9"] {
        background-position: -328.5px center;
    }

    .lottery-result-container .lottery-date {
        padding: 6px 10px 8px;
        font-size: 11px;
    }

    .home-progressive-jackpot {
        padding: 6px;
        border-radius: 16px;
    }

    .home-progressive-jackpot .outer-container,
    .home-progressive-jackpot .inner-container {
        display: block;
        width: 100%;
        padding: 4px;
        border-radius: 14px;
        box-sizing: border-box;
        flex-grow: 0;
    }

    .home-progressive-jackpot .border-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 10px 8px;
        border-radius: 12px;
        box-sizing: border-box;
        flex-grow: 0;
        min-width: 0;
    }

    .home-progressive-jackpot .jackpot-play-section {
        align-items: center;
        margin-left: 0;
        width: 100%;
        flex-shrink: 0;
    }

    .home-progressive-jackpot .jackpot-play-section img {
        width: 64px;
        max-width: 100%;
        height: auto;
    }

    .home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
        font-size: 16px;
        text-align: center;
    }

    .home-progressive-jackpot .jackpot-container {
        display: block;
        width: 100%;
        max-width: 100%;
        font-size: clamp(20px, 6.5vw, 32px);
        letter-spacing: 2px;
        padding: 8px 6px;
        border-radius: 10px;
        flex-grow: 0;
        box-sizing: border-box;
        overflow: hidden;
        min-width: 0;
    }

    .home-progressive-jackpot .jackpot-inner-container {
        display: block;
        width: 100%;
        padding: 6px;
        border-radius: 8px;
        flex-grow: 0;
        box-sizing: border-box;
        min-width: 0;
    }

    .home-progressive-jackpot .jackpot-border-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 100%;
        line-height: 1.3;
        padding: 10px 8px;
        border-radius: 8px;
        flex-grow: 0;
        box-sizing: border-box;
        overflow: hidden;
        min-width: 0;
    }

    .home-progressive-jackpot .jackpot-currency {
        margin-right: 6px;
        flex-shrink: 0;
        font-size: 1em;
    }

    .home-progressive-jackpot #progressive_jackpot {
        font-size: 1em;
        letter-spacing: 2px;
        word-break: break-all;
        text-align: center;
        line-height: 1.3;
    }

    .popular-games {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .popular-games [data-section="left"],
    .popular-games [data-section="right"] {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        box-sizing: border-box;
    }

    .popular-games [data-section="left"] .section-title {
        width: 100%;
        box-sizing: border-box;
    }

    .popular-games [data-section="left"] .jackpot-winners,
    .popular-games .jackpot-winners .winners-ticker-container {
        width: 100%;
        box-sizing: border-box;
    }

    .popular-games [data-section="left"] > a {
        display: block;
        width: 100%;
        margin-top: 8px;
    }

    .popular-games [data-section="left"] > a picture,
    .popular-games [data-section="left"] > a img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .popular-games [data-section="right"] .scrtabs-tab-container,
    .popular-games [data-section="right"] .tab-content,
    .popular-games .tab-pane {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .popular-games .tab-pane picture {
        display: block;
        width: 100%;
    }

    .popular-games .animated-image {
        display: block;
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        pointer-events: none;
    }

    .popular-games .popular-game-list {
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }

    .popular-games .popular-game-list .game-item {
        width: 50%;
    }

    .popular-game-title-container .container-content .game-list .game-item {
        width: calc((100% - 16px) / 3);
    }

    .download-apk-container .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .download-apk {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 0;
        text-align: center;
    }

    .download-apk > div {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        opacity: 1 !important;
    }

    .download-apk > div:first-child picture,
    .download-apk > div:first-child img {
        display: block;
        width: 100%;
        max-width: 260px;
        height: auto;
        margin: 0 auto;
    }

    .download-apk .h2 {
        font-size: 22px;
        text-align: center;
    }

    .download-apk .h2 > strong {
        display: block;
        text-align: center;
        font-size: 28px;
    }

    .download-apk .h3 {
        font-size: 14px;
        text-align: center;
        margin: 8px 0 12px;
    }

    .download-apk-info {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    .download-apk-section {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px 16px;
        width: 100%;
    }

    .download-apk-section > * {
        flex: 0 0 auto;
        flex-basis: auto;
        width: auto;
        margin: 0;
    }

    .download-apk-qr-code {
        flex: 0 0 94px;
    }

    .download-apk-qr-code img {
        display: block;
        width: 94px;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .download-apk-detail {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex: 1 1 160px;
        min-width: 0;
        text-align: center;
    }

    .download-apk-section > span {
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
        font-size: 14px;
        line-height: 1.45;
    }

    .download-apk-section > span i {
        display: inline;
        white-space: nowrap;
    }

    .download-apk .btn {
        display: inline-block;
        width: auto;
        min-width: 160px;
        padding: 8px 16px;
    }

    .site-info-container:not(:last-child):after {
        display: none;
    }

    .footer-links > li {
        display: block;
    }

    .footer-links > li + li > a {
        border-left: 0;
        padding-left: 0;
    }

    .copyright {
        text-align: center;
    }

    .provider-container {
        display: block;
        width: 100%;
        margin-right: 0;
        box-sizing: border-box;
    }

    .provider-section .provider-container .hover-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .provider-section .provider-container .hover-list > li {
        flex: 0 0 calc((100% - 24px) / 4);
        width: calc((100% - 24px) / 4);
        margin: 0 !important;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        box-sizing: border-box;
    }

    .provider-section .provider-container .hover-list > li > picture:first-child {
        display: block;
        width: 100%;
        position: relative;
    }

    .provider-section .provider-container .hover-list > li > picture:last-child {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .provider-section .provider-container .hover-list > li img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 34px;
        object-fit: contain;
    }

    .modal-dialog {
        margin: 10px auto;
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .mobile-logo img {
        height: 28px;
        max-width: 110px;
    }

    .mobile-btn {
        min-width: 56px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .mobile-header-divider {
        height: 24px;
    }

    .home-progressive-jackpot .jackpot-container {
        font-size: clamp(18px, 5.5vw, 28px);
        letter-spacing: 1px;
        padding: 6px 4px;
    }

    .home-progressive-jackpot .jackpot-play-section img {
        width: 52px;
    }

    .home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
        font-size: 14px;
    }

    .home-progressive-jackpot .jackpot-border-container {
        padding: 6px 4px;
    }

    .popular-game-title-container .container-content .game-list .game-item {
        width: calc((100% - 10px) / 2.5);
    }

    .provider-section .provider-container .hover-list > li {
        flex: 0 0 calc((100% - 16px) / 3);
        width: calc((100% - 16px) / 3);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .announcement-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 16px;
        padding: 12px 16px;
    }

    .announcement-container > [data-section="title"] {
        flex: 0 0 auto;
        order: 1;
        white-space: nowrap;
    }

    .announcement-container > [data-section="date"] {
        flex: 0 0 auto;
        order: 2;
        margin-left: auto;
        white-space: nowrap;
        font-size: 12px;
    }

    .announcement-container > [data-section="announcements"] {
        flex: 1 1 100%;
        order: 3;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        height: 34px;
    }

    .announcement-container .tickercontainer,
    .announcement-container .tickercontainer .mask {
        width: 100%;
        height: 34px;
        overflow: hidden;
    }

    .announcement-container ul.newsticker,
    .announcement-container .announcement-list.newsticker {
        display: block;
        height: 34px;
        overflow: hidden;
        white-space: nowrap;
    }

    .announcement-container ul.newsticker li,
    .announcement-container .announcement-list li {
        display: inline-block;
        white-space: nowrap;
        line-height: 34px;
        padding: 0 40px 0 0;
        vertical-align: top;
    }

    .home-inner-container > [class*="col-"] {
        width: 100%;
        float: none;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 16px;
    }

    .home-progressive-jackpot .border-container {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .home-progressive-jackpot .jackpot-container {
        font-size: clamp(22px, 3vw, 30px);
        letter-spacing: 2px;
    }

    .home-progressive-jackpot .jackpot-border-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 10px;
    }

    .lottery-result-container .lottery-result {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 12px 16px;
    }

    .lottery-result-container .lottery-result > picture {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        margin-right: 8px;
    }

    .lottery-result-container .lottery-result picture img {
        width: 100%;
        height: 100%;
        max-width: 64px;
        max-height: 64px;
        object-fit: contain;
    }

    .lottery-result-container .lottery-numbers {
        flex: 0 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-left: 12px;
        padding: 10px 14px;
        min-height: 56px;
    }

    .lottery-result-container [data-lottery-number] {
        flex: 0 0 40px;
        width: 40px;
        height: 50px;
        background-size: 364px 50px;
    }

    .lottery-result-container [data-lottery-number="1"] {
        background-position: -36.5px center;
    }

    .lottery-result-container [data-lottery-number="2"] {
        background-position: -72px center;
    }

    .lottery-result-container [data-lottery-number="3"] {
        background-position: -109.5px center;
    }

    .lottery-result-container [data-lottery-number="4"] {
        background-position: -146px center;
    }

    .lottery-result-container [data-lottery-number="5"] {
        background-position: -182.75px center;
    }

    .lottery-result-container [data-lottery-number="6"] {
        background-position: -219.5px center;
    }

    .lottery-result-container [data-lottery-number="7"] {
        background-position: -256.25px center;
    }

    .lottery-result-container [data-lottery-number="8"] {
        background-position: -292.5px center;
    }

    .lottery-result-container [data-lottery-number="9"] {
        background-position: -328.5px center;
    }

    .provider-section .provider-container .hover-list > li {
        flex: 0 0 calc((100% - 24px) / 4);
        width: calc((100% - 24px) / 4);
    }
}

/* Small desktop / 1024px */
@media (min-width: 992px) and (max-width: 1199px) {
    .announcement-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 20px;
        padding: 12px 18px;
    }

    .announcement-container > [data-section="title"] {
        flex: 0 0 auto;
        order: 1;
    }

    .announcement-container > [data-section="date"] {
        flex: 0 0 auto;
        order: 2;
        margin-left: auto;
        font-size: 12px;
    }

    .announcement-container > [data-section="announcements"] {
        flex: 1 1 100%;
        order: 3;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        height: 34px;
    }

    .announcement-container .tickercontainer,
    .announcement-container .tickercontainer .mask {
        width: 100%;
        height: 34px;
        overflow: hidden;
    }

    .announcement-container ul.newsticker,
    .announcement-container .announcement-list.newsticker {
        display: block;
        height: 34px;
        overflow: hidden;
    }

    .announcement-container ul.newsticker li,
    .announcement-container .announcement-list li {
        display: inline-block;
        white-space: nowrap;
        line-height: 34px;
        padding: 0 40px 0 0;
        vertical-align: top;
    }

    .home-inner-container > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .home-inner-container [data-section="jackpot"] > a {
        display: block;
        height: 100%;
    }

    .home-progressive-jackpot {
        padding: 6px;
        border-radius: 20px;
        height: 100%;
        box-sizing: border-box;
    }

    .home-progressive-jackpot .outer-container,
    .home-progressive-jackpot .inner-container {
        padding: 5px;
        border-radius: 50px;
    }

    .home-progressive-jackpot .border-container {
        gap: 10px;
        padding: 8px 10px;
        border-radius: 50px;
        align-items: center;
    }

    .home-progressive-jackpot .jackpot-play-section {
        margin-left: 6px;
        flex-shrink: 0;
        align-items: flex-end;
    }

    .home-progressive-jackpot .jackpot-play-section img {
        width: 58px;
        height: auto;
    }

    .home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
        font-size: 16px;
    }

    .home-progressive-jackpot .jackpot-container {
        flex: 1 1 auto;
        min-width: 0;
        font-size: clamp(13px, 1.4vw, 20px);
        letter-spacing: 1px;
        padding: 5px;
        border-radius: 40px;
        overflow: hidden;
    }

    .home-progressive-jackpot .jackpot-inner-container {
        padding: 4px;
        min-width: 0;
    }

    .home-progressive-jackpot .jackpot-border-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 2px 6px;
        line-height: 1.2;
        padding: 6px 12px 8px;
        min-width: 0;
    }

    .home-progressive-jackpot .jackpot-currency {
        margin-right: 4px;
        flex-shrink: 0;
    }

    .home-progressive-jackpot #progressive_jackpot {
        font-size: inherit;
        letter-spacing: 1px;
        line-height: 1.2;
        word-break: break-all;
        text-align: center;
    }

    .lottery-result-container {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
    }

    .lottery-result-container .lottery-result {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 10px 8px;
        flex: 1;
    }

    .lottery-result-container .lottery-result > picture {
        flex: 0 0 auto;
        width: 52px;
        height: 52px;
        margin: 0;
    }

    .lottery-result-container .lottery-result picture img {
        width: 100%;
        height: 100%;
        max-width: 52px;
        max-height: 52px;
        object-fit: contain;
    }

    .lottery-result-container .lottery-numbers {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-left: 0;
        padding: 6px 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .lottery-result-container [data-lottery-number] {
        flex: 0 0 32px;
        width: 32px;
        height: 40px;
        margin: 0;
        background-size: 364px 40px;
        background-position: -1px center;
    }

    .lottery-result-container [data-lottery-number="1"] {
        background-position: -36.5px center;
    }

    .lottery-result-container [data-lottery-number="2"] {
        background-position: -72px center;
    }

    .lottery-result-container [data-lottery-number="3"] {
        background-position: -109.5px center;
    }

    .lottery-result-container [data-lottery-number="4"] {
        background-position: -146px center;
    }

    .lottery-result-container [data-lottery-number="5"] {
        background-position: -182.75px center;
    }

    .lottery-result-container [data-lottery-number="6"] {
        background-position: -219.5px center;
    }

    .lottery-result-container [data-lottery-number="7"] {
        background-position: -256.25px center;
    }

    .lottery-result-container [data-lottery-number="8"] {
        background-position: -292.5px center;
    }

    .lottery-result-container [data-lottery-number="9"] {
        background-position: -328.5px center;
    }

    .lottery-result-container .lottery-date {
        font-size: 10px;
        padding: 4px 8px 6px;
        line-height: 1.3;
    }

    .provider-section .provider-container .hover-list > li {
        flex: 0 0 calc((100% - 30px) / 5);
        width: calc((100% - 30px) / 5);
    }
}

/* Footer badges: certification, responsible gaming, browsers */
@media (max-width: 1199px) {
    .site-footer .supported-browser-container {
        display: flex;
        justify-content: center;
    }

    .site-footer .row:has(.supported-browser-container) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 24px;
        margin-left: 0;
        margin-right: 0;
    }

    .site-footer .row:has(.supported-browser-container) > .col-md-5,
    .site-footer .row:has(.supported-browser-container) > .col-md-3,
    .site-footer .row:has(.supported-browser-container) > .supported-browser-container {
        float: none;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .site-footer .row:has(.supported-browser-container) .footer-section-title {
        text-align: center;
    }

    .site-footer .row:has(.supported-browser-container) .hover-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 0 auto;
        padding: 0;
    }

    .site-footer .row:has(.supported-browser-container) .hover-list > li {
        margin-left: 0 !important;
    }

    .site-footer .row:has(.supported-browser-container) .hover-list > li > picture:last-child {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .site-footer .row:has(.supported-browser-container) > .col-md-5,
    .site-footer .row:has(.supported-browser-container) > .col-md-3,
    .site-footer .row:has(.supported-browser-container) > .supported-browser-container {
        width: auto;
        flex: 0 1 calc(33.333% - 20px);
        max-width: 280px;
    }
}

@media (max-width: 767px) and (hover: none) {
    .popular-games .popular-game-list .game-item .link-container,
    .popular-game-title-container .container-content .game-list .game-item .link-container {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.4);
    }
}
