
/* Main Global Styles */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #000;
}
body {
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    padding-top: 80px !important; 
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin-top: 0;
}

/* Links */
a {
    color: #c37601;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover, a:focus {
    color: #fff;
    text-decoration: none;
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-custom {
    background: #c37601;
    color: #000;
    border: none;
}
.btn-custom:hover {
    background: #e5a700;
    color: #000;
}

/* Header Styles (Consolidated from inline) */
.custom-navbar {
    background-color: #000;
    border-bottom: 1px solid rgba(20, 160, 255, 0.2);
    height: 80px;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    position: fixed;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 99999;
}

.navmain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 93px;
    width: 100%;
    background: #000;
    padding: 0 15px;
    margin: 0 auto;
}

/* Navbar Content */
.navbar-left-content, .navbar-right-content {
    display: flex;
    align-items: center;
}
.navbar-right-content {
    gap: 15px;
}

.navbar-brand {
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
}
.navbar-brand img {
    height: 55px;
}

/* Header Components */
.header-search .completer-input {
    background: #181818;
    border: 1px solid #c37601;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    width: 250px;
    height: 30px;
}

.lang-select-wrapper {
    position: relative;
}
.lang-select-wrapper select {
    background: #000;
    color: #fff;
    border: 1px solid #c37601;
    padding: 5px 25px 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    text-transform: uppercase;
    height: 30px;
}
.lang-select-wrapper .fa-caret-down {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #c37601;
    pointer-events: none;
}

/* Header Buttons */
.apkButton, .loginbtn {
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 0 15px;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 36px;
    border: none;
}
.apkButton {
    background: #333;
}
.loginbtn {
    background: #c37601;
    border: 1px solid #c37601;
}
.loginbtn.sigUpd1casino {
    background: #c37601;
    border: 1px solid #c37601;
}
.apkButton:hover {
    background: #444;
    color: #fff;
}
.loginbtn:hover {
    color: #fff;
    opacity: 0.9;
}

/* User Info */
.user-info-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-details {
    text-align: right;
    line-height: 1.2;
}
.username {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}
.balance {
    color: #c37601;
    font-weight: 700;
    font-size: 13px;
}
.balance span {
    color: #fff;
}
.logout-btn {
    height: 30px;
    line-height: 16px;
    font-size: 12px;
    background: #333;
    color: #fff;
    border: 1px solid #c37601;
    padding: 0 10px;
}

/* Mobile Responsive Styles */
@media (max-width: 982px) {
    .header-search, .lang-box { display: none; }
    .navbar-brand img { height: 40px; }
    .navmain { padding: 0 10px; }
}

@media (max-width: 767px) {
    .custom-navbar { height: 60px; }
    .navmain { height: 60px; padding: 0 5px; }
    body { padding-top: 60px; }
    
    .navbar-brand img { 
        height: 40px; 
        width: 114px; 
        object-fit: contain; 
        object-position: left; 
    }
    
    /* Show APK on mobile */
    .apk-box { 
        display: flex !important; 
        position: relative;
        margin-right: 8px;
    }
    
    /* Separator line */
    .apk-box::after {
        content: "";
        position: absolute;
        right: -8px;
        top: 50%;
        transform: translateY(-50%);
        height: 20px;
        width: 1px;
        background-color: #fff;
        opacity: 0.5;
    }

    .apkButton {
        width: 60px;
        height: 33px;
        font-size: 9px;
        padding: 0;
    }
    
    .loginbtn {
        width: 64px;
        height: 34px;
        font-size: 10px;
        padding: 0;
    }
    
    .loginbtn.sigUpd1casino {
        width: 65px;
        height: 34px;
    }
    
    .navbar-right-content {
        gap: 5px;
    }
    
    /* User Info on Mobile */
    .user-details .username, 
    .user-details .balance { font-size: 11px; }
    .logout-btn { height: 24px; line-height: 12px; font-size: 10px; }
    .user-info-wrapper { gap: 8px; }
}

@media (max-width: 991px) {
    .secondary-nav-container {
        overflow: hidden;
    }
    .secondary-nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .secondary-nav-list {
        white-space: nowrap;
        gap: 18px !important;
        justify-content: flex-start !important;
    }
    .secondary-nav-list li {
        flex: 0 0 auto !important;
    }
    .secondary-nav-list a {
        padding: 0 10px !important;
    }
}

@media (max-width: 767px) {
    .modal-dialog {
        width: auto !important;
        max-width: 95vw !important;
        margin: 10vh auto !important;
    }
    .user-popup-container {
        width: 100% !important;
        max-width: 420px;
    }
}

.mk-account-page {
    background: #000;
    color: #f8fafc;
    margin-top: 0;
    padding-top: 0;
    min-height: 100vh;
}

body.mk-account-mode {
    padding-top: 0 !important;
    background: #000 !important;
    color: #f8fafc !important;
    --mk-account-header-height: 56px;
    overflow-x: hidden;
}

body.mk-game-no-chrome {
    padding-top: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}

body.mk-game-no-chrome .custom-navbar,
body.mk-game-no-chrome .secondary-nav-container,
body.mk-game-no-chrome #mobile-footer-nav,
body.mk-game-no-chrome #mobileLeftSidebar,
body.mk-game-no-chrome #sidebarOverlay,
body.mk-game-no-chrome .mobile-game-header,
body.mk-game-no-chrome footer {
    display: none !important;
}

body.mk-game-no-chrome #mkApp {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.mk-account-mode .custom-navbar,
.mk-account-mode .secondary-nav,
.mk-account-mode #mobile-footer-nav,
.mk-account-mode #mobileLeftSidebar {
    display: none !important;
}

.mk-account-mode .mk-account-page {
    padding-top: var(--mk-account-header-height) !important;
    margin-top: 0 !important;
}

.mk-account-mode .secondary-nav-container {
    display: none !important;
}

.mk-account-mode .custom-navbar,
.mk-account-mode .navmain,
.mk-account-mode .navbar-brand {
    height: 56px !important;
}

.mk-account-mode .navbar-brand img {
    height: 40px !important;
}

.mk-account-mode .navmain {
    padding: 0 12px !important;
}

.mk-account-mode .header-search .completer-input {
    height: 28px !important;
}

.mk-account-layout {
    display: flex;
    padding-top: 0;
    min-height: calc(100vh - var(--mk-account-header-height));
    background: #000;
    min-width: 0;
    margin-top: 0;
}

@media (max-width: 767px) {
    .mk-account-page {
        margin-top: 0;
        padding-top: var(--mk-account-header-height);
    }
    .mk-account-layout {
        padding-top: 0;
    }
    body.mk-account-mode { --mk-account-header-height: 52px; }
}

.mk-account-sidebar {
    width: 260px;
    background: #000;
    border-right: 1px solid rgba(195,118,1,0.45);
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--mk-account-header-height);
    left: 0;
    z-index: 10020;
    align-self: flex-start;
    height: calc(100vh - var(--mk-account-header-height));
    min-height: calc(100vh - var(--mk-account-header-height));
}

@media (min-width: 768px) {
    .mk-account-layout {
        display: block;
    }

    .mk-account-content {
        margin-left: 260px;
    }
}

.mk-side-title {
    padding: 14px 14px 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.mk-side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1 1 auto;
}

.mk-side-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: 44px;
    position: relative;
    overflow: hidden;
}

.mk-side-menu li a i {
    width: 16px;
    text-align: center;
    color: #c37601;
}

.mk-side-menu li.active a {
    background: #c37601;
    color: #000;
}

.mk-side-menu li.active a::after {
    content: "›";
    margin-left: auto;
    font-size: 18px;
    line-height: 1;
}

.mk-side-menu li.active a i {
    color: #000;
}

.mk-side-menu li a:hover {
    background: #c37601;
    color: #000;
}

.mk-side-menu li a:hover i {
    color: #000;
}

.mk-side-menu li a::before {
    content: "";
    position: absolute;
    left: -60%;
    top: -50%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.55);
    transform: skewX(-20deg);
    opacity: 0;
    pointer-events: none;
}

.mk-side-menu li a.mk-shine::before {
    animation: mkShine 420ms ease-out;
}

@keyframes mkShine {
    0% { left: -60%; opacity: 0; }
    15% { opacity: 0.35; }
    100% { left: 130%; opacity: 0; }
}

.mk-account-content {
    flex: 1 1 auto;
    padding: 0;
    overflow: visible;
    min-height: calc(100vh - var(--mk-account-header-height));
    min-width: 0;
    background: #000;
}

.mk-account-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 18px;
}

.mk-account-alert {
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 800;
}

.mk-account-alert.ok {
    background: rgba(40, 167, 69, 0.18);
    border: 1px solid rgba(40, 167, 69, 0.35);
    color: #137333;
}

.mk-account-alert.err {
    background: rgba(220, 53, 69, 0.18);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #b00020;
}

.mk-account-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mk-card {
    background: #050505;
    border: 1px solid rgba(195,118,1,0.35);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
    flex: 1 1 420px;
}

.mk-card-head {
    background: #000;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.4px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(195,118,1,0.45);
}

.mk-card-body {
    padding: 14px;
    color: #e5e7eb;
    background: #050505;
}

.mk-card-body label {
    color: #f8fafc;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.mk-card-body .form-control {
    border-radius: 4px;
    height: 40px;
    border: 1px solid rgba(195,118,1,0.42);
    background: #111;
    color: #f8fafc;
    box-shadow: none;
}

.mk-card-body .form-control:disabled,
.mk-card-body .form-control[readonly] {
    background: #111;
    color: #cbd5e1;
    opacity: 1;
}

.mk-edit-input {
    position: relative;
    display: flex;
    align-items: center;
}

.mk-edit-input .form-control {
    padding-right: 42px;
}

.mk-pencil-btn {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid rgba(195,118,1,0.55);
    background: #000;
    color: #c37601;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mk-pencil-btn:hover,
.mk-pencil-btn.active {
    background: #c37601;
    color: #000;
}

.mk-card-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 6px;
}

.mk-card-actions .btn-warning {
    background: #c37601;
    border-color: #c37601;
    color: #000;
    font-weight: 900;
    letter-spacing: 0.4px;
}

.mk-card-actions .btn-warning:hover {
    filter: brightness(1.05);
}

@media (max-width: 991px) {
    .mk-account-sidebar { width: 230px; }
    .mk-account-content { margin-left: 230px; }
    .mk-account-content { padding: 0; }
}

.mk-profile-modal .modal-content {
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #fff;
}

.mk-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.mk-profile-title {
    font-weight: 900;
    letter-spacing: 0.6px;
}

.mk-profile-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    padding: 0 4px;
}

.mk-profile-body {
    padding: 14px 16px 18px;
}

.mk-profile-alert {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.mk-profile-alert.mk-ok {
    background: rgba(40, 167, 69, 0.18);
    border: 1px solid rgba(40, 167, 69, 0.35);
    color: #d7ffe0;
}

.mk-profile-alert.mk-err {
    background: rgba(220, 53, 69, 0.18);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #ffd7db;
}

.mk-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mk-panel {
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.mk-panel-head {
    padding: 10px 12px;
    background: rgba(195,118,1,0.14);
    color: #c37601;
    font-weight: 900;
    letter-spacing: 0.4px;
}

.mk-panel-body {
    padding: 12px;
}

.mk-form-row {
    margin-bottom: 10px;
}

.mk-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255,255,255,0.82);
    margin-bottom: 6px;
}

.mk-input {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.35);
    color: #fff;
    padding: 0 12px;
    outline: none;
}

.mk-input:disabled {
    opacity: 0.8;
}

.mk-actions {
    margin-top: 12px;
}

.mk-primary-btn {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 0;
    background: #c37601;
    color: #000;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.mk-primary-btn:hover {
    filter: brightness(1.05);
}

@media (max-width: 767px) {
    .mk-account-page {
        padding-top: var(--mk-account-header-height);
        min-height: 100dvh;
    }
    .mk-account-layout {
        flex-direction: column;
    }
    .mk-account-sidebar {
        position: sticky;
        left: auto;
        top: var(--mk-account-header-height);
        z-index: 10030;
        width: 100%;
        height: auto;
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(195,118,1,0.45);
    }
    .mk-side-title {
        display: none;
    }
    .mk-side-menu {
        display: flex;
        flex: 0 0 auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        transition: scroll-left 240ms ease;
        background: #000;
        max-width: 100vw;
    }
    .mk-side-menu::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    .mk-side-menu li {
        flex: 0 0 auto;
        scroll-snap-align: center;
    }
    .mk-side-menu li a {
        height: 44px;
        padding: 0 12px;
        font-size: 12px;
        white-space: nowrap;
        border-bottom: 0;
        border-right: 1px solid rgba(255,255,255,0.06);
    }
    .mk-side-menu li.active a::after {
        display: none;
    }
    .mk-account-content {
        width: 100%;
        margin-left: 0;
        min-height: auto;
        overflow: visible;
    }
    .mk-account-inner {
        max-width: none;
        padding: 0 0 18px;
    }
    .mk-account-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .mk-card {
        width: 100%;
        flex-basis: auto;
        border-radius: 6px;
    }
    .mk-profile-grid {
        grid-template-columns: 1fr;
    }
}

body.mk-account-mode .mk-statement-card,
body.mk-account-mode .mk-bet-card,
body.mk-account-mode .mk-card {
    background: #050505 !important;
    border-color: rgba(195,118,1,0.38) !important;
    box-shadow: none !important;
}

body.mk-account-mode .mk-statement-filters,
body.mk-account-mode .mk-bet-head,
body.mk-account-mode .mk-card-head {
    background: #000 !important;
    border-bottom-color: rgba(195,118,1,0.52) !important;
}

body.mk-account-mode .mk-card-body,
body.mk-account-mode .mk-bet-body,
body.mk-account-mode .mk-statement-table-wrap {
    background: #050505 !important;
}

body.mk-account-mode .mk-statement-table,
body.mk-account-mode .mk-bet-table,
body.mk-account-mode .mk-statement-table tbody tr,
body.mk-account-mode .mk-bet-table tbody tr,
body.mk-account-mode .mk-statement-table.table-striped > tbody > tr:nth-of-type(odd),
body.mk-account-mode .mk-statement-table.table-striped > tbody > tr:nth-of-type(even),
body.mk-account-mode .mk-bet-table.table-striped > tbody > tr:nth-of-type(odd),
body.mk-account-mode .mk-bet-table.table-striped > tbody > tr:nth-of-type(even) {
    background: #050505 !important;
    color: #f8fafc !important;
}

body.mk-account-mode .mk-statement-table th,
body.mk-account-mode .mk-bet-table th {
    background: #000 !important;
    color: #fff !important;
}

body.mk-account-mode .mk-statement-table th,
body.mk-account-mode .mk-statement-table td,
body.mk-account-mode .mk-bet-table th,
body.mk-account-mode .mk-bet-table td {
    border-color: rgba(195,118,1,0.24) !important;
}

body.mk-account-mode .mk-filter select.form-control,
body.mk-account-mode .mk-date-range input.form-control,
body.mk-account-mode .mk-bet-filters .form-control,
body.mk-account-mode .mk-bet-filters .form-select {
    background: #111 !important;
    border-color: rgba(195,118,1,0.48) !important;
    color: #fff !important;
}

body.mk-account-mode .mk-pl-summary {
    background: rgba(195,118,1,0.3) !important;
}

body.mk-account-mode .mk-pl-summary div {
    background: #050505 !important;
}

@media (min-width: 768px) {
    body.mk-account-mode .mk-bet-head,
    body.mk-account-mode .mk-statement-filters {
        align-items: center !important;
        gap: 18px !important;
    }

    body.mk-account-mode .mk-bet-head {
        min-height: 66px !important;
    }

    body.mk-account-mode .mk-bet-filters {
        margin-left: auto;
        display: grid !important;
        grid-template-columns: minmax(150px, 180px) minmax(150px, 180px) minmax(150px, 180px) auto;
        align-items: center;
        justify-content: end;
        gap: 10px;
    }

    body.mk-account-mode .mk-bet-filters .form-control,
    body.mk-account-mode .mk-bet-filters .form-select,
    body.mk-account-mode .mk-bet-refresh {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.mk-account-mode .mk-statement-card,
    body.mk-account-mode .mk-bet-card {
        border-radius: 8px !important;
    }
}

@media (max-width: 1100px) and (min-width: 768px) {
    body.mk-account-mode .mk-bet-filters {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

.mk-deposit-method {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    margin-bottom: 10px;
}

.mk-deposit-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(195,118,1,0.15);
    color: #c37601;
    flex: 0 0 auto;
    font-size: 18px;
}

.mk-deposit-main {
    flex: 1 1 auto;
    min-width: 0;
}

.mk-deposit-title {
    font-weight: 800;
    letter-spacing: 0.4px;
}

.mk-deposit-sub {
    opacity: 0.75;
    font-size: 12px;
    margin-top: 2px;
}

.mk-deposit-kv {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    align-items: baseline;
}

.mk-deposit-kv .mk-k {
    width: 52px;
    opacity: 0.7;
    font-size: 11px;
    letter-spacing: 0.4px;
    flex: 0 0 auto;
}

.mk-deposit-kv .mk-v {
    font-weight: 700;
    word-break: break-word;
}

.mk-deposit-note {
    margin-top: 8px;
    opacity: 0.85;
    font-size: 12px;
    line-height: 1.35;
}

.mk-deposit-qr {
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background: #fff;
}

.mk-deposit-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .mk-deposit-method {
        padding: 10px;
        gap: 10px;
    }
    .mk-deposit-qr {
        width: 74px;
        height: 74px;
    }
}
/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #111;
    display: none; /* Hidden on Desktop */
    justify-content: space-around;
    align-items: center;
    z-index: 10000;
    border-top: 1px solid rgba(20, 160, 255, 0.2);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
    padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 982px) {
    .mobile-bottom-nav {
        display: flex; /* Show on Mobile and Tablet */
    }
}

.mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.mbn-item i {
    font-size: 20px;
}

.mbn-item.active, .mbn-item:hover {
    color: #14A0FF;
}

.mbn-item.active i {
    color: #14A0FF;
}

.premium-category-grid {
    width: 100%;
    margin: 10px 0;
}

.premium-category-grid .category-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    width: 100%;
}

.premium-cat-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

/* Desktop Category Grid (min-width: 768px) */
@media (min-width: 768px) {
    .premium-category-grid {
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
        padding: 15px 25px;
        background: #1a1a1a;
        border: 3px solid #333;
        border-radius: 0; /* Full width often looks better without rounded corners on the container */
    }

    .premium-category-grid .category-cards-wrapper {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }

    .premium-cat-card {
        cursor: pointer;
        transition: transform 0.3s ease;
    }

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

    .cat-card-inner {
        width: 100%;
        height: 220px !important; /* Increased height for a bigger impact */
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background-color: #000;
        background-size: cover !important; /* Premium full-card view with high-res assets */
        background-repeat: no-repeat !important;
        background-position: center !important;
        filter: brightness(1.5) contrast(1.1); /* Extreme vividness boost */
    }

    .cat-card-overlay {
        position: absolute;
        inset: 0;
        background: transparent; /* Remove overlay to maximize clarity */
        z-index: 1;
    }

    .cat-card-content {
        position: absolute;
        inset: 0;
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
        justify-content: flex-end !important; /* Push text to the bottom */
        z-index: 2;
        text-align: center;
        padding: 20px; /* More padding at the bottom */
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%); /* Stronger bottom gradient */
    }

    .cat-card-content h3.cat-title {
        color: #fff !important;
        font-size: 32px !important; /* BIG text for desktop */
        font-weight: 900 !important;
        line-height: 0.9 !important;
        margin: 0 !important;
        text-transform: uppercase;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.9);
        letter-spacing: -0.5px;
    }
}

/* Swap for Mobile Images */
@media (max-width: 767px) {
    .desktop-cat-img-1 { background-image: url('../images/slide_1_fr_1769540124.png') !important; }
    .desktop-cat-img-2 { background-image: url('../images/slide_2_fr_1769540139.png') !important; }
    .desktop-cat-img-3 { background-image: url('../images/slide_3_fr_1769540149.png') !important; }
    .desktop-cat-img-4 { background-image: url('../images/slide_4_fr_1769540158.png') !important; }
    .desktop-cat-img-5 { background-image: url('../images/slide_5_fr_1769540179.png') !important; }
    .desktop-cat-img-6 { background-image: url('../images/slide_6_fr_1769540189.png') !important; }


/* Category Grid Overrides for Mobile */
@media (max-width: 767px) {
    .premium-category-grid .category-cards-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }
    
    .premium-cat-card {
        width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 10px;
    }
    
    .cat-card-inner {
        height: 105px !important;
        background-size: cover !important;
        background-position: center !important;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        filter: brightness(1.3) contrast(1.1); /* Vivid boost for mobile too */
    }
    
    .cat-card-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        background: rgba(0,0,0,0.2) !important; /* Slight darkening for text pop */
    }

    .cat-card-content h3.cat-title {
        color: #fff !important;
        font-size: 24px !important;
        font-weight: 900 !important;
        text-align: center !important;
        width: 100%;
        margin: 0 !important;
        text-transform: uppercase;
        text-shadow: 2px 2px 10px rgba(0,0,0,1) !important;
        line-height: 1 !important;
    }

    .cat-card-content h3.cat-title br {
        display: none;
    }

    /* Banner Fixes for Mobile - Exact Match to Reference */
    .premium-slider-wrapper {
        padding: 0 !important; /* Edge to edge */
    }

    .premium-slider .item.slider-item-alert {
        height: 230px !important; /* Increased height to see more of the banner */
        transform: scale(1) !important;
        opacity: 1 !important;
        border-radius: 0 !important; /* No rounded corners, edge-to-edge */
        background-position: center right !important; /* Show image on right */
    }
    
    .slider-overlay-gradient {
        background: linear-gradient(90deg, #0b0f19 45%, rgba(11,15,25,0.7) 60%, transparent 100%) !important;
    }
    
    .slider-content {
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 75% !important; /* Slightly wider for better text flow */
    }
    
    .slider-content h2 {
        font-size: 20px !important; /* Smaller text for mobile to fit height */
        margin-bottom: 2px !important;
        color: #fff;
    }
    
    .slider-content p {
        color: #ddd;
        line-height: 1.4;
    }
    
    .btn-slider-primary, .btn-slider-secondary {
        display: none !important; /* No buttons in the alert banner */
    }

    /* Hide side arrows */
    #pc-carousel .owl-nav {
        display: none !important;
    }

    /* Inner pagination dots matching reference */
    #pc-carousel .owl-dots {
        bottom: 10px !important;
    }
    
    #pc-carousel .owl-dots .owl-dot span {
        width: 12px !important;
        height: 4px !important;
        background: #555 !important;
        margin: 0 3px !important;
    }
    
    #pc-carousel .owl-dots .owl-dot.active span {
        width: 25px !important;
        background: #14A0FF !important; /* Neon blue */
    }
}

