        /* === GLOBAL STYLES === */
        .d-flex-center {
            display: flex !important;
            justify-content: center !important;
        }

        body {
            background-color: #19232c;
            color: #e6e6e6;
            font-family: 'Inter', 'Segoe UI', sans-serif;
            font-size: 16px;
            line-height: 1.6;
        }

        .text-muted {
            --bs-text-opacity: 1;
            color: #cccc !important;
        }

        .quote-box {
            color: #e1e1e1;
            display: inline;
        }


        /* === NAVBAR === */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 1030;
            background-color: #111;
            border-bottom: 1px solid #222;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
        }

        .dropdown-menu-dark {
            --bs-dropdown-bg: #111 !important;
            border-radius: 0 0 25px 25px !important;
        }

        /* MENU */
        li.nav-item {
            align-items: center;
            color: #fff;
            font-family: neo-sans, sans-serif;
            font-size: 15px;
            font-weight: 700;
            justify-content: flex-start;
            padding: 11px 15px;
            text-align: left;
            text-decoration: none;
        }

        .navbar-brand {
            font-family: 'Inter', 'Segoe UI', sans-serif;
            font-size: 1.75rem;
            font-weight: 700;
            color: #fff !important;
            letter-spacing: 1px;
        }

        .navbar-nav .nav-link {
            color: #ddd !important;
            text-transform: uppercase;
            font-size: 0.9rem;
            margin-right: 1rem;
        }

        .navbar-nav .nav-link:hover {
            color: #f5d36d !important;
        }


        /* === NAVBAR TOGGLER ICON OVERRIDE === */
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        }

        /* === LANGUAGE DROPDOWN === */
        .language-switcher {
            display: flex;
            align-items: center;
            gap: .5rem;
        }

        .language-flag {
            width: 24px;
            height: 18px;
            border-radius: 2px;
        }

        .language-grid-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: .75rem;
            padding: 1rem;
        }

        .language-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: .5rem;
            background: #1f1f1f;
            border-radius: 8px;
            color: #ddd;
            text-decoration: none;
            transition: background .2s, transform .2s;
        }


        .language-item:hover {
            background: #2a2a2c;
            transform: translateY(-2px);
            color: #fff;
        }

        .lang-offcanvas {
            width: 80%;
        }

        @media(min-width:768px) {
            .lang-offcanvas {
                width: 35%;
            }
        }

        /* ensure offcanvas list-group items look tight */
        .offcanvas-body .list-group-item {
            border: none;
            border-bottom: 1px solid #444;
            padding: 10px !important;
        }

        .offcanvas-body .list-group-item:last-child {
            border-bottom: none;
        }





        /* === HERO === */
        .hero {
            background: url('/assets/images/hero.webp') center/cover no-repeat;
            color: #fff;
            text-align: center;
            padding: 120px 20px;
            position: relative;
            border-radius: 12px;
            margin-bottom: 60px;
            margin-top: -1.5rem !important;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: rgba(5, 5, 5, 0.6);
            border-radius: 12px;
        }

        .hero h1,
        .hero p,
        .hero a {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            color: #f5d36d;
            margin-bottom: 20px;
        }

        .hero p {
            font-size: 1.25rem;
            color: #ccc;
            margin-bottom: 30px;
        }

        .hero .btn-primary {
            background-color: #f5d36d;
            border-color: #f5d36d;
            color: #111;
            font-weight: 600;
            text-transform: uppercase;
        }

        .hero .btn-primary:hover {
            background-color: #e0bd54;
        }

        .cta-buttons-wrapper .btn {
            font-weight: 600;
            padding: 14px 24px;
            font-size: 1rem;
            border-radius: 8px;
        }

        @media (min-width: 768px) {
            .cta-buttons-wrapper .btn {
                min-width: 280px;
                max-width: 320px;
            }
        }

        .fullscreen-loader {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 9999;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.7);
            /* semi-transparent dark */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .fullscreen-loader.d-none {
            display: none !important;
        }

        .lazy-section {
            min-height: 600px;
            /* or height you expect the content to occupy */
            position: relative;
        }

        .lazy-section .loading-spinner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1.2rem;
            color: #aaa;
        }



        /* === CASINO OFFERS === */
        .offer-card {
            background-color: #1b1b1d;
            border: 1px solid #333;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s ease;
        }

        .offer-card:hover {
            transform: translateY(-5px);
        }

        .offer-card img {
            width: 100%;
            height: 140px;
            object-fit: cover;
        }

        .offer-card-body {
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 180px;
        }

        .offer-card-title {
            font-size: 1.1rem;
            font-weight: bold;
            color: #f5d36d;
        }

        .offer-desc {
            font-size: 0.95rem;
            color: #bbb;
        }

        .btn-offer {
            background-color: #28a745;
            color: #fff;
            padding: 8px 14px;
            font-weight: 600;
            border: none;
            border-radius: 5px;
            transition: background 0.2s;
        }

        .btn-offer:hover {
            background-color: #218838;
        }

        #offers .card img {
            max-height: 100px;
            object-fit: contain;
        }

        #offers .card {
            border-radius: 1rem;
            overflow: hidden;
        }

        /* === GAMES FILTER BAR === */
        .category-bar {
            background-color: #111;
            white-space: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
            padding: 10px 0;
            border-bottom: 1px solid #333;
        }

        .category-bar::-webkit-scrollbar {
            display: none;
        }

        .category-btn {
            background-color: #1e1e1f;
            border: 1px solid #333;
            color: #ccc;
            font-weight: 600;
            padding: 8px 18px;
            border-radius: 6px;
            margin-right: 8px;
            transition: all 0.2s ease;
        }

        .category-btn:hover {
            background-color: #2a2a2c;
            color: #fff;
        }

        .category-btn.active {
            background-color: #f5d36d;
            color: #111;
            border-color: #f5d36d;
        }

        /* === FOOTER === */
        footer {
            background-color: #111;
            color: #aaa;
            text-align: center;
            padding: 20px;
            margin-top: 60px;
            border-top: 1px solid #333;
        }

        .footer-links a {
            color: #ccc;
            margin: 0 10px;
            text-decoration: none;
        }

        .footer-links a:hover {
            color: #f5d36d;
        }

        /* === ARTICLE CARDS === */
        .article-card {
            background-color: #1b1b1d;
            border: 1px solid #333;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .article-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
        }

        .article-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-bottom: 1px solid #333;
        }

        .article-card-body {
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex-grow: 1;
        }

        .article-card-body h5 {
            font-size: 1.15rem;
            font-weight: bold;
            color: #f5d36d;
            margin-bottom: 0.75rem;
        }

        .article-card-body p {
            font-size: 0.95rem;
            color: #ccc;
            flex-grow: 1;
            margin-bottom: 1rem;
        }

        .article-card-body a.btn {
            background-color: #f5d36d;
            color: #111;
            border: none;
            font-weight: 600;
            text-transform: uppercase;
            transition: background 0.2s ease;
            padding: 8px 12px;
        }

        .article-card-body a.btn:hover {
            background-color: #e6be52;
        }

        /* === ARTICLE DETAIL PAGE === */
        .article-flex-wrap {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            align-items: flex-start;
            margin-bottom: 40px;
        }

        .article-img-container {
            flex: 0 0 300px;
            max-width: 100%;
        }

        .article-img-container img {
            border-radius: 12px;
            max-width: 100%;
            height: auto;
            object-fit: cover;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
        }

        .article-flex-wrap .article-text {
            flex-grow: 1;
            min-width: 0;
        }

        .article-content h3 {
            color: #f5d36d;
            margin-top: 20px;
        }

        .article-content p,
        .article-content li {
            color: #ddd;
            line-height: 1.6;
        }

        .article-thumb-img {
            max-height: 100%;
            object-fit: cover;
            border-radius: 12px;
        }

        .article-floating-thumbnail {
            position: relative;
            font-size: 1rem;
            line-height: 1.7;
        }

        .article-floated-image {
            float: left;
            width: 300px;
            max-width: 100%;
            margin-right: 30px;
            margin-bottom: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
            object-fit: cover;
        }

        /* === RESPONSIVE === */
        @media (max-width: 768px) {
            .article-flex-wrap {
                flex-direction: column;
            }

            .article-img-container {
                width: 100%;
            }

            .article-card img {
                height: 140px;
            }

            .article-thumb-img {
                max-height: 250px;
                margin-bottom: 20px;
            }

            .article-floated-image {
                float: none;
                display: block;
                margin: 0 auto 20px;
            }
        }

        /* === OFFERS === */
        .offers-slider {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1rem;
        }

        .offer-tile {
            background-color: #1b1b1d;
            border: 1px solid #2e2e2e;
            border-radius: 10px;
            padding: 16px;
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
            transition: box-shadow .3s ease;
        }

        .offer-tile:hover {
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
        }

        .offer-logo img {
            max-width: 60px;
            max-height: 60px;
            object-fit: contain;
            margin-bottom: 12px;
        }

        .offer-content h5 {
            font-size: 1rem;
            font-weight: bold;
            color: #fff;
            margin-bottom: 5px;
        }

        .offer-content p {
            font-size: .9rem;
            color: #aaa;
        }

        .offer-buttons {
            margin-top: .75rem;
            display: flex;
            gap: .5rem;
            opacity: 0;
            transform: translateY(10px);
            transition: all .3s ease;
        }

        .offer-tile:hover .offer-buttons {
            opacity: 1;
            transform: translateY(0);
        }

        .offer-buttons .btn {
            flex: 1;
            font-size: .8rem;
            padding: 6px 10px;
        }

        /* ✅ MOBILE OVERRIDES */
        @media (max-width: 768px) {
            .offers-slider {
                /*display: flex;*/
                overflow-x: auto;
                flex-wrap: nowrap;
                gap: 1rem;
                scroll-snap-type: x mandatory;
                padding-bottom: 1rem;
            }

            .offer-tile {
                flex: 0 0 85%;
                min-width: 280px;
                height: 100%;
                min-height: 320px;
                scroll-snap-align: start;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .offer-buttons {
                opacity: 1 !important;
            }

            .navbar-brand {
                font-size: 1.1rem;
            }

            .navbar-toggler-icon {
                /* already overridden above */
            }

            .offer-logo,
            .offer-content {
                text-align: center;
            }

            .offer-logo img {
                max-width: 125px;
                max-height: 85px;
                border-radius: 100px;
            }

            .hero h1 {
                font-size: 1.5rem;
            }

            /* Mobile sidebar styles applied above */
        }

        .secondary-button:hover {
            background: #3a4352;
        }

        /* == MODAL subscription == */
        .iti {
            position: relative;
            width: 100% !important;
            z-index: 10000 !important;
        }

        .iti__flag {
            background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/18.1.1/img/flags.png");
            background-repeat: no-repeat;
            background-color: transparent;
            background-position: 20px 0;
        }

        .iti__country-list {
            z-index: 10001 !important;
            max-height: 260px;
            overflow-y: auto;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .iti__flag-container {
            padding-left: 10px;
            z-index: 10001;
        }

        .iti__flag-box,
        .iti__country-name {
            color: #000;
        }

        @media (max-width:480px) {
            .modal-content {
                margin: 20% auto;
                padding: 20px;
            }

            .iti__country-list {
                max-height: 200px;
            }
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 99999;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(10, 10, 10, 0.8);
            overflow: auto;
        }

        .modal-content input::placeholder {
            color: #999;
        }

        .modal-content input {
            border-radius: 6px;
            padding-left: 48px !important;
        }

        /* Mobile sidebar (reinforce) */
        .mobile-sidebar.active {
            left: 0 !important;
        }

        /* ------------------------------------------- */
        /* 2‑Level desktop dropdown (“fly‑out”) styling */
        /* ------------------------------------------- */
        .dropdown-submenu {
            position: relative;
        }

        .dropdown-submenu>.dropdown-menu {
            top: 0;
            left: 100%;
            margin-left: .125rem;
        }

        /* make sure the body region also inherits the dark background */
        #mobileOffcanvas .offcanvas-body {
            background-color: #111820;
        }

        .offcanvas-header {
            background-color: #111;
            color: #fff;
        }

        .offcanvas-header .btn-close {
            background-color: white;
        }

        .dropdown-item:hover {
            background-color: #fff !important;
            color: #111 !important;
        }


        /* And ensure desktop dropdowns are hidden on mobile: */
        @media (max-width: 991.98px) {
            .navbar-nav.d-none.d-lg-flex {
                display: none !important;
            }
        }

        /* only on desktop breakpoints */
        @media (min-width: 992px) {

            /* top‑level dropdown opens on hover */
            .navbar-nav .nav-item.dropdown:hover>.dropdown-menu {
                display: block;
            }

            /* fly‑out (second‑level) opens on hover */
            .dropdown-submenu:hover>.dropdown-menu {
                display: block;
            }

            /* make sure the submenu is positioned to the right */
            .dropdown-submenu>.dropdown-menu {
                top: 0;
                left: 100%;
                margin-left: .125rem;
            }

            /* optional: keep arrow rotated when open */
            .navbar-nav .dropdown:hover>.nav-link::after,
            .dropdown-submenu:hover>.dropdown-item::after {
                transform: rotate(180deg);
            }
        }

        .card-date {
            color: #ccc !important;
        }

        /* ====== Search ========= */
        .search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .search-content {
            width: 90%;
            max-width: 500px;
            position: relative;
            text-align: center;
        }

        .search-overlay input {
            width: 100%;
            font-size: 1.2rem;
            padding: 12px;
        }

        .search-results {
            text-align: left;
        }

        .search-result:hover {
            background-color: rgba(255, 255, 255, 0.05);
        }

        #searchResults::-webkit-scrollbar {
            width: 8px;
        }

        #searchResults::-webkit-scrollbar-thumb {
            background-color: #555;
            border-radius: 10px;
        }

        #searchResults::-webkit-scrollbar-track {
            background: #222;
        }


        /* PAYMENT METHOD */
        .payment-section {
            padding: 0 10px;
        }

        .payment-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 18px;
            padding: 10px;
        }

        .payment-item {
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        .payment-item img {
            height: 32px;
            max-width: 100px;
            object-fit: contain;
            filter: grayscale(0%);
            transition: filter 0.2s ease, transform 0.2s ease;
        }

        .payment-item:hover img {
            filter: grayscale(0%);
            transform: scale(1.08);
        }


        .casino-card {
            background: #1b1b1d;
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
            transition: transform 0.2s ease;
        }

        .casino-card:hover {
            transform: translateY(-5px);
        }

        .casino-logo {
            height: 60px;
            width: 60px;
            border-radius: 12px;
            object-fit: contain;
            background: #fff;
            padding: 5px;
            margin-right: 15px;
        }

        .casino-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .casino-title {
            font-size: 1.2rem;
            font-weight: bold;
            color: #fff;
            margin: 0;
        }

        .casino-rating {
            color: gold;
            font-size: 0.9rem;
        }

        .casino-bonus {
            color: #ffc107;
            font-size: 1rem;
            margin: 10px 0;
        }

        .casino-cta {
            margin-top: auto;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .casino-btn {
            background: #ffc107;
            border: none;
            color: #000;
            font-weight: bold;
            padding: 8px 16px;
            border-radius: 8px;
            transition: background 0.2s;
        }

        .casino-btn:hover {
            background: #ffdb58;
        }

        .casino-link {
            font-size: 0.85rem;
            color: #00cc66;
            text-align: center;
            text-decoration: underline;
        }

        .responsible-gambling-notice {
            font-size: 0.75rem;
            line-height: 1.5;
            margin-top: 2rem;
            color: #ccc;
        }


        @media (max-width: 767px) {
            .casino-title {
                font-size: 1rem;
            }

            .casino-bonus {
                font-size: 0.9rem;
            }
        }

        @media (min-width: 992px) {
            .px-lg-5 {
                padding-right: 10px !important;
                padding-left: 10px !important;
            }
        }

        /* Mobile only: width 100% */
        @media (max-width: 767.98px) {
            .mobile-full-width {
                width: 100% !important;
            }
        }