/* Layout Styles */
.main-content-wrapper {
    margin-left: 280px;
    margin-top: 90px;
    transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: calc(100vh - 90px);
    width: calc(100% - 280px);
}

.sidebar.collapsed ~ .main-content-wrapper {
    margin-left: 100px;
    width: calc(100% - 100px);
}

/* Header adjustments */
.layout-header-holder-bc {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #181818;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 90px;
}

.header-logo {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.header-logo img {
    max-height: 55px;
    height: auto;
    width: auto;
}

.hdr-main-content-bc {
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #181818;
}


/* Slider and Banner Container */
.slider-banner-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Slider Redesign */
.slider-redesigned {
    flex: 1;
    margin-bottom: 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
}

/* Header icon image width to match slider */
.logo-container .header-icon {
    margin-left: 20px;
    margin-right: 20px;
    border: none !important;
}

.slider-redesigned .item {
    padding: 0;
}

.slider-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: block;
    object-fit: cover;
}

.slider-redesigned .owl-stage-outer {
    border-radius: 12px;
    overflow: hidden !important;
    border: none;
    height: 400px;
}

.slider-redesigned .owl-stage {
    display: flex;
}

.slider-redesigned .owl-item {
    border-radius: 12px;
    width: 100%;
    flex-shrink: 0;
    height: 400px;
    display: flex;
    align-items: center;
}

/* Side Banner */
.side-banner {
    flex-shrink: 0;
    width: 400px;
    max-width: 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333333 !important;
}

.side-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Homepage: Casino categories (EGT/PRAGMATIC/AMUSNET) */
.casino-category-select {
	margin-bottom: 4px; /* Further reduce space between categories */
}


/* Providers section should not affect other sections */
/* Ensure casino-category-types and casino-category-content are visible */
/* Override style.css display:grid rule */
.casino-category-types,
.casino-category-content {
	display: grid !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	min-height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	position: relative !important;
	z-index: 1 !important;
	background: transparent !important;
	background-image: none !important;
	background-color: transparent !important;
}

.casino-category-content {
	padding: 0 !important;
	border-radius: 0 !important;
}

/* Force visibility for all category elements */
.casino-category-select .casino-category-types {
	display: grid !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.casino-category-select .casino-category-content {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	background: transparent !important;
	background-image: none !important;
	background-color: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

/* Ensure all elements inside casino-category-select are visible */
.casino-category-select .casino-category-types,
.casino-category-select .casino-category-content,
.casino-category-select .casino-category-header,
.casino-category-select .casino-category-header-left,
.casino-category-select .casino-category-title-new,
.casino-category-select .casino-category-icon {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.casino-category-select .casino-category-header {
	display: flex !important;
}

.casino-category-select .casino-category-header-left {
	display: flex !important;
}

.casino-category-select .casino-category-icon {
	display: inline-block !important;
}


.casino-category-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px; /* Increase space between header and games */
	gap: 10px;
}

.casino-category-header-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.casino-category-header-right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.casino-category-icon {
	font-size: 18px;
	color: #fff;
	display: inline-block;
	margin-right: 0;
}

.casino-category-title-new {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.casino-category-select .more-btn {
	background: #2c2c2c;
	color: #fff;
	border: 1px solid #333333;
	padding: 5px 12px !important;
	min-height: 28px !important;
	font-size: 11px !important;
	line-height: 16px !important;
	border-radius: 8px;
	gap: 4px !important;
	flex-shrink: 0;
}
.casino-category-select .more-btn:hover {
	background: #333333;
	color: #fff;
	border-color: #333333;
	transform: none;
}

/* Play overlay on hover */
/* Remove old hover overlays/ribbons from base theme */
.casino-category-select .casino-category-games .casino-game-item:after,
.casino-category-select .casino-category-games .casino-game-item::after,
.casino-category-select .casino-category-games .casino-game-item:before,
.casino-category-select .casino-category-games .casino-game-item::before,
.casino-category-select .casino-category-games .casino-game-item:hover:after,
.casino-category-select .casino-category-games .casino-game-item:hover::after,
.casino-category-select .casino-category-games .casino-game-item:hover:before,
.casino-category-select .casino-category-games .casino-game-item:hover::before {
	content: none !important;
	background: none !important;
	opacity: 0 !important;
	transform: none !important;
}
.casino-category-select .casino-game-item,
.casino-category-select .casino-game-item:hover {
	box-shadow: none !important;
	filter: none !important;
	transform: none !important;
	transition: none !important;
}

/* Equalize horizontal/vertical gaps */
.casino-category-select .casino-category-games {
	column-gap: 12px !important;
	row-gap: 12px !important;
	margin-top: 0 !important;
}
.casino-category-select .casino-game-item-content {
	margin: 0 !important;
}
/* Top home categories row - centered and aligned */
.home-cats .promotionsList-bc {
	display: grid !important;
	gap: 12px !important;
	margin: 0 auto !important;
	width: auto !important;
	align-items: stretch;
	justify-items: center;
}
.home-cats .promotionsListEl-bc {
	margin: 0 !important;
}

/* Winners ticker under 5-banner */
.winners-section {
	width: 100%;
	margin-bottom: 12px; /* Reduce space below winners section */
	margin-top: 0;
}


.winners-header {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	gap: 10px;
}

.winners-icon {
	font-size: 18px;
	color: #fff;
	display: inline-block;
	margin-right: 0;
}

.winners-title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.winners-ticker {
	background: transparent;
	border: none !important;
	border-radius: 0;
	padding: 0;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
}

.winners-track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	animation: winners-scroll 55s linear infinite;
	padding: 0;
}

/* Mobile: Ensure proper width calculation for infinite scroll */
@media (max-width: 768px) {
	.winners-ticker {
		overflow: hidden !important;
		width: 100% !important;
		position: relative !important;
	}
	
	.winners-track {
		display: flex !important;
		flex-wrap: nowrap !important;
		width: max-content !important;
		min-width: max-content !important;
	}
}

/* Mobile: Faster winners animation - ensure all winners scroll */
@media (max-width: 768px) {
	.winners-track {
		animation: winners-scroll 26s linear infinite !important; /* Slower: 26s for smooth continuous scroll */
		width: max-content !important; /* Ensure full width calculation */
		will-change: transform; /* Performance optimization */
	}
	
	.winners-sequence {
		display: flex !important;
		flex-wrap: nowrap !important;
		width: max-content !important;
		min-width: max-content !important;
		flex-shrink: 0 !important;
	}
	
	.winner-item {
		flex-shrink: 0 !important;
		min-width: max-content !important; /* Prevent items from shrinking */
		width: auto !important;
		white-space: nowrap !important; /* Prevent text wrapping */
		display: inline-flex !important; /* Ensure proper display */
	}
}

.winners-sequence {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
}

.winner-item {
	display: inline-flex;
	align-items: center;
	background: #222226;
	border-radius: 14px;
	border: none;
	padding: 6px 14px;
	margin-right: 12px;
	white-space: nowrap;
	flex-shrink: 0;
}

.winner-game-image {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	margin-right: 8px;
	flex-shrink: 0;
}

.winner-text {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	line-height: 1.2;
	gap: 4px;
}

.winner-player {
	font-weight: 700;
	color: #ffffff;
}

.winner-info {
	color: #c9c9c9;
}

.winner-amount {
	color: #ffbd00;
	font-weight: 700;
}

@keyframes winners-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Mobile: Ensure animation calculates correctly for infinite loop */
@media (max-width: 768px) {
	@keyframes winners-scroll {
		0% {
			transform: translateX(0);
		}
		100% {
			transform: translateX(-50%); /* Move exactly one sequence width for seamless loop */
		}
	}
	
	/* Ensure winners-track contains both sequences properly */
	.winners-ticker {
		overflow: hidden !important;
		width: 100% !important;
	}
	
	.winners-track {
		display: flex !important;
		flex-wrap: nowrap !important;
	}
}
/* Button Redesign */
.btn {
    border-radius: 8px;
    transition: all 0.25s ease;
    font-weight: 600;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: none;
}

.btn.sign-in:hover,
.btn.register:hover {
    transform: none;
}

.btn:active {
    transform: translateY(0);
}

/* Specific button styles */
.btn.s-small {
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    white-space: nowrap;
    min-width: fit-content;
}

.btn.s-small span {
    white-space: nowrap;
    overflow: visible;
}

.btn.s-small i {
    font-size: 16px;
    flex-shrink: 0;
}

.btn.sign-in {
    background: #393939 !important;
    color: #fff !important;
    border: 1px solid #ffbd00 !important;
    font-weight: 600;
}

.btn.sign-in i {
    color: #fff !important;
}

.btn.sign-in:hover {
    background: #393939 !important;
    border-color: #ffbd00 !important;
}

.btn.register {
    background: #2c2c2c;
    color: #fff;
    border: 1px solid #ffbd00 !important;
    font-weight: 600;
}

.btn.register i { color: #000 !important; }

.btn.register:hover {
    background: #333333;
    border-color: #ffbd00;
}

.btn.a-color {
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn.a-color:hover {
    transform: translateY(-2px);
}

/* Header icon buttons */
.header-icon-text {
    border-radius: 8px;
    transition: all 0.25s ease;
    border: 1px solid #333333 !important;
}

.header-icon-text:hover {
    transform: scale(1.05);
}

/* Header social media icons and buttons */
.header-icon {
    border: 1px solid #333333 !important;
}

.hdr-user-bc .btn,
.header-custom-buttons .btn {
    border: 1px solid #333333;
}

/* Promotions and game items */
.promotionsListEl-bc {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

.promotionsArticleThumbnail-bc {
    border-radius: 12px;
    border: none;
}

/* Center content sections below slider */
.main-content-wrapper .col-12 > section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-content-wrapper .col-12 > section > .promotionsList-bc {
    margin: 0 auto !important;
}

.main-content-wrapper .col-12 > section > .promotionsList-bc[style*="grid-template-columns"] {
    display: grid !important;
    margin: 0 auto !important;
}

/* Center full-width banner images */
.main-content-wrapper .col-12 > section > .promotionsList-bc[style*="grid-template-columns: auto"] {
    display: grid !important;
    justify-items: center !important;
    margin: 0 auto !important;
}

/* Content padding for spacing from edges */
.main-content-wrapper .container {
    padding-left: 30px;
    padding-right: 30px;
}

.main-content-wrapper .wrapper {
    padding-left: 20px;
    padding-right: 20px;
}

/* Smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content spacing */
.wrapper {
    padding-top: 20px;
}

/* Footer adjustments */
footer {
    margin-top: 50px;
    background: #181818 !important;
}

/* Footer background color */
footer .top_footer {
    background-color: #181818 !important;
}

footer .centeral_footer {
    background-color: #181818 !important;
}

footer .bottom_footer {
    background-color: #181818 !important;
}

/* Footer payments section */
footer .footer-payments {
    background-color: #181818 !important;
}

footer .footer-payments p {
    color: #ffffff;
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

footer .payment-deposit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer .payment-deposit p {
    color: #ffffff;
    text-align: left;
    font-size: 12px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer menu items - web */
footer .top_footer .line_wrapper {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

footer .top_footer .footer-menu-item {
    color: #ffffff;
    font-size: 13px;
    padding: 10px 15px;
    cursor: pointer;
    border-right: 1px solid #333;
    white-space: nowrap;
    transition: color 0.3s ease;
}

footer .top_footer .footer-menu-item:hover {
    color: #ffb902;
}

footer .top_footer .footer-menu-item.active-link {
    color: #ffb902;
}

footer .top_footer .footer-menu-item:last-child {
    border-right: none;
}

/* Hide mobile bottom nav on web */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}


/* Force smaller size for the "Tümünü Gör" button */
.btn.s-small.more-btn {
    padding: 5px 12px !important;
    min-height: 28px !important;
    font-size: 11px !important;
    line-height: 16px !important;
    gap: 4px !important;
}
.btn.s-small.more-btn i {
    font-size: 12px !important;
}
.btn.s-small.more-btn span {
    line-height: 12px !important;
}
/* Ensure header-specific override for sign-in stays with yellow border */
.hdr-user-bc .btn.sign-in {
    border-color: #ffbd00 !important;
    background: #393939 !important;
    color: #fff !important;
}
.hdr-user-bc .btn.sign-in span {
    color: #fff !important;
}
.hdr-user-bc .btn.register span {
    color: #000 !important;
}

/* Sports: Top Matches Section */
.sports-top-matches-section {
    width: 100%;
    margin-bottom: 15px;
}

.sports-top-matches-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 20px;
}

.sports-top-matches-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sports-top-matches-icon {
    font-size: 18px;
    color: #fff;
    display: inline-block;
}

.sports-top-matches-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sports-filter-container {
    margin-bottom: 20px;
}

.sports-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sport-icon-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #2c2c2c;
    border: 1px solid #ffb902;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.sport-icon-btn i {
    font-size: 22px;
    color: #fff;
}

.sport-icon-btn.active {
    background: #ffb902;
    border-color: #ffb902;
    box-shadow: 0 2px 8px rgba(255, 185, 2, 0.3);
}

.sport-icon-btn.active i {
    color: #fff;
}

.sport-icon-btn:hover:not(.active) {
    background: #333333;
    border-color: #ffb902;
    transform: translateY(-2px);
}

.sports-nav {
    display: flex;
    gap: 8px;
}

.sports-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #666;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.sports-nav-btn:hover {
    background: #777;
}

.sports-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.sports-nav-btn i {
    font-size: 12px;
}

.sports-matches-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sports-match-card {
    background: #181818;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}

.match-league {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.match-league-icon {
    font-size: 14px;
    color: #2196f3;
}

.match-league-name {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.match-teams-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.team-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.team-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    word-break: break-word;
}

.team-score-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.match-status-live {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 70px;
    flex-shrink: 0;
}

.live-badge {
    background: #f44336;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.match-time-status {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    line-height: 1;
}

.match-stream-icon {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.match-odds-simple {
    display: flex;
    gap: 8px;
    margin-top: 0;
}

.odds-btn-simple {
    flex: 1;
    background: #2c2c2c;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 10px 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.odds-btn-simple:hover {
    background: #333333;
    border-color: #ffbd00;
}

.odds-btn-simple.highlight {
    background: #4caf50;
    border-color: #4caf50;
    color: #000;
}

.odds-btn-simple.highlight .odds-value {
    color: #000;
    font-weight: 700;
}

.odds-btn-simple .odds-value {
    font-size: 15px;
    font-weight: 700;
    color: #ffbd00;
    line-height: 1;
}

.odds-btn-simple.highlight:hover {
    background: #66bb6a;
    border-color: #66bb6a;
}

@media (max-width: 1200px) {
    .sports-matches-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sports-matches-container {
        grid-template-columns: 1fr;
    }
    
    .sports-top-matches-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sports-filter {
        flex-wrap: wrap;
    }
    
    .sports-nav {
        align-self: flex-end;
    }
}

/* Banner Sections */
.banner-triple-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.banner-triple-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.banner-triple-item:hover {
    transform: translateY(-5px);
}

.banner-triple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-triple-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    pointer-events: none;
}

.banner-triple-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-triple-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.banner-highlight {
    color: #ffb902;
    font-weight: 700;
}

.banner-single-container {
    width: 100%;
    margin-bottom: 15px;
}

.banner-single-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.banner-single-item:hover {
    transform: translateY(-5px);
}

.banner-single-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-single-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 50%, transparent 70%);
    pointer-events: none;
}

.banner-single-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 30px;
    z-index: 2;
}

.banner-single-title {
    font-size: 48px;
    font-weight: 800;
    font-family: 'Rubik', sans-serif;
    color: #ffb902;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1200px) {
    .banner-triple-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   MOBILE RESPONSIVE FIXES (max-width: 768px)
   Desktop layout remains 100% unchanged
   ============================================ */

@media (max-width: 768px) {
    /* Prevent horizontal scrolling */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Sidebar: Hide on mobile or convert to overlay */
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        z-index: 1000;
        transition: transform 0.3s ease;
        top: 70px !important; /* Start below header - flush with header */
        height: calc(100vh - 70px) !important; /* Full height minus header */
        margin-top: 0 !important; /* No gap - flush with header */
        padding-top: 0 !important;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    /* Remove sidebar header padding/margin on mobile */
    .sidebar-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
        border-bottom: none !important; /* Mobilde CASINO ve SPOR'un üstündeki çizgiyi kaldır */
        padding: 0 !important;
        min-height: 0 !important;
    }
    
    /* Remove borders from sidebar menu items on mobile */
    .sidebar-menu-item {
        border-bottom: none !important;
        border: none !important;
    }
    
    .sidebar-menu li {
        border-bottom: none !important;
        border: none !important;
    }
    
    .sidebar-menu-item::after,
    .sidebar-menu-item::before {
        display: none !important;
        border: none !important;
    }
    
    .sidebar-nav {
        padding: 0 !important; /* Padding tamamen kaldırıldı */
        gap: 10px !important;
        margin-top: 0 !important; /* Üst margin kaldırıldı */
    }
    
    /* Mobilde CASINO ve SPOR butonlarının üstünde boşluk yok */
    .sidebar-nav > .sidebar-main-buttons:first-child {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Mobilde sidebar-nav'in üstündeki fazla boşluğu kaldır */
    .sidebar > .sidebar-nav {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Mobilde CASINO ve SPOR butonlarının üstündeki çizgiyi gizle */
    .sidebar-nav > .sidebar-main-buttons::before,
    .sidebar-nav > .sidebar-main-buttons::after {
        display: none !important;
    }
    
    .sidebar-menu {
        border: none !important;
        gap: 10px !important;
    }
    
    /* New menu structure styles for mobile */
    .sidebar-main-buttons {
        gap: 10px !important;
        flex-direction: row !important; /* Yan yana kalmalı mobilde */
        margin: 0 15px !important; /* Container'a margin - diğer butonlarla aynı genişlik için */
        width: calc(100% - 30px) !important; /* Sol ve sağ margin'i çıkar */
        box-sizing: border-box !important;
    }
    
    .sidebar-main-buttons li {
        min-width: 0 !important;
        width: 0 !important; /* Flexbox için gerekli */
    }
    
    /* CASINO ve SPOR butonları eşit genişlik - mobilde */
    .sidebar-main-buttons li:first-child {
        flex: 1 !important; /* CASINO */
    }
    
    .sidebar-main-buttons li:last-child {
        flex: 1 !important; /* SPOR */
    }
    
    .sidebar-main-buttons .sidebar-menu-item {
        margin: 0 !important; /* İç butonlar margin almasın */
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px 10px !important; /* Padding azaltıldı - yazılar görünsün */
    }
    
    /* Mobilde çizgi görünmeli - CASINO ve SPOR butonlarının altında */
    .sidebar-divider {
        margin: 0 !important;
        display: block !important; /* Çizgi görünür olmalı */
    }
    
    .sidebar-category {
        gap: 10px !important;
    }
    
    .sidebar-category-btn {
        margin: 0 15px !important; /* Diğer butonlarla eşit genişlik */
    }
    
    .sidebar-header {
        justify-content: center !important;
        padding: 4px 0 !important;
    }
    
    .sidebar-toggle {
        margin: 0 auto !important;
    }
    
    .sidebar-menu li::after,
    .sidebar-menu li::before {
        display: none !important;
        border: none !important;
    }
    
    /* Main content: Full width on mobile, no sidebar margin */
    .main-content-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: 70px; /* Reduced header height on mobile */
    }
    
    .sidebar.collapsed ~ .main-content-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    /* Header: Adjust height and layout for mobile */
    .layout-header-holder-bc {
        height: 70px;
    }
    
    .hdr-main-content-bc {
        height: 70px;
        padding: 0 10px;
        flex-wrap: wrap;
    }
    
    /* Logo: Smaller on mobile */
    .header-logo img {
        max-height: 40px;
    }
    
    /* Logo container: Position after mobile menu button */
    .logo-container {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        margin-left: 10px;
    }
    
    .header-logo {
        margin-right: 0;
    }
    
    /* Header icon (gif) - Hide on mobile */
    .logo-container .header-icon {
        display: none !important;
    }
    
    /* Header buttons: Only icons on mobile, aligned to right */
    .hdr-user-bc {
        display: flex;
        gap: 4px !important; /* Butonlar arası boşluk azaltıldı */
        flex-shrink: 0;
        margin-left: auto;
        margin-right: -10px !important; /* Header container padding'ini offset et - sağ sınıra yanaştır */
    }
    
    .hdr-user-bc .btn.s-small {
        padding: 5px 8px !important; /* Padding azaltıldı */
        font-size: 9px !important; /* Font size azaltıldı */
        min-height: 32px !important; /* Min height azaltıldı */
        min-width: auto !important;
        width: auto !important;
        justify-content: center;
        gap: 3px !important; /* Gap azaltıldı */
    }
    
    /* Show button text on mobile with small font */
    .hdr-user-bc .btn.s-small span {
        display: inline !important;
        font-size: 9px !important; /* Font size azaltıldı */
        white-space: nowrap;
    }
    
    .hdr-user-bc .btn.s-small i {
        font-size: 12px !important; /* Icon size azaltıldı */
        margin: 0 !important;
    }
    
    /* Slider and Banner Container: Stack vertically on mobile */
    .slider-banner-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .slider-redesigned {
        width: 100%;
        order: 1;
    }
    
    /* Side banner - Hide on mobile */
    .side-banner {
        display: none !important;
    }
    
    .slider-image {
        height: 250px;
        border-radius: 8px;
    }
    
    .slider-redesigned .owl-stage-outer {
        height: 250px;
        border-radius: 8px;
    }
    
    .slider-redesigned .owl-item {
        height: 250px;
    }
    
    /* Mobile: Hide 5-item banner */
    @media (max-width: 768px) {
        /* Hide 5-banner section on mobile */
        /* Hide 5-item banner completely on mobile */
        .home-cats .promotionsList-bc {
            display: none !important;
        }
        
        .home-cats .promotionsListEl-bc {
            display: none !important;
        }
        
        .home-cats {
            display: none !important;
        }
        
        /* Remove all padding and margin from 5-item banner container on mobile */
        /* This targets the container with inline style padding-top: 30px */
        .col-12.pt-3.pb-4[style*="padding-top: 30px"] {
            display: none !important;
            padding: 0 !important;
            margin: 0 !important;
            height: 0 !important;
            min-height: 0 !important;
            overflow: hidden !important;
        }
        
        /* Also hide section.home-cats itself */
        section.home-cats {
            display: none !important;
            height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
        }
    }
    
    .promotionsListEl-bc {
        margin: 0 !important;
    }
    
    /* Winners section: Adjust for mobile */
    .winners-section {
        padding: 0 10px;
        margin-bottom: 8px; /* Reduce space below winners section on mobile */
        margin-top: 0;
    }
    
    /* Reduce top padding for winners section container on mobile */
    .col-12.pt-2 {
        padding-top: 0 !important; /* Remove top padding completely */
        margin-top: 0 !important; /* Remove any margin */
    }
    
    /* Remove top spacing from winners section parent container */
    .col-12.pt-2.pb-4 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Remove any top margin from winners section itself */
    .winners-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .winners-header {
        margin-bottom: 10px;
    }
    
    .winners-title {
        font-size: 16px;
    }
    
    .winners-icon {
        font-size: 16px;
    }
    
    .winner-item {
        padding: 5px 10px;
        margin-right: 8px;
        border-radius: 10px;
    }
    
    .winner-game-image {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    
    .winner-text {
        font-size: 11px;
    }
    
    /* Casino category sections: Full width adjustments */
    .casino-category-select {
        margin-bottom: 8px !important; /* Balanced space between categories on mobile */
        margin-top: 0 !important; /* Remove top margin */
        padding: 0 10px;
    }
    
    .casino-category-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px !important; /* Space between header and games */
        margin-top: 0 !important; /* Remove top margin */
    }
    
    /* Ensure icon and title are side by side on mobile */
    .casino-category-header-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-direction: row !important;
    }
    
    /* Reduce padding between sections on mobile - balanced */
    .col-12.pt-3 {
        padding-top: 0.5rem !important; /* Small padding */
    }
    
    .col-12.pb-4 {
        padding-bottom: 0.5rem !important; /* Small padding */
    }
    
    /* Minimal spacing from category games */
    .casino-category-select .casino-category-games {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Minimal spacing from category types/content */
    .casino-category-select .casino-category-types {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .casino-category-select .casino-category-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .casino-category-title-new {
        font-size: 16px;
    }
    
    .casino-category-icon {
        font-size: 16px;
    }
    
    /* TÜMÜNÜ GÖR button: Smaller on mobile */
    .casino-category-select .more-btn {
        padding: 3px 8px !important;
        font-size: 9px !important;
        min-height: 24px !important;
        line-height: 14px !important;
    }
    
    /* Casino games: Show only 4 items on mobile with scroll (2x2 grid, scrollable) */
    .casino-category-select .casino-category-games {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding-bottom: 5px;
        flex-wrap: nowrap;
    }
    
    .casino-category-select .casino-category-games::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .casino-category-select .casino-game-item-content {
        flex: 0 0 calc(50% - 4px) !important; /* 2 columns, so 4 items = 2 rows visible */
        width: calc(50% - 4px) !important;
        min-width: calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
        scroll-snap-align: start;
    }
    
    /* Ensure games container shows exactly 4 items (2 columns x 2 rows) */
    .casino-category-select .casino-category-games {
        max-height: none;
    }
    
    
    /* Navigation arrows for game categories */
    .casino-category-nav {
        display: flex;
        gap: 6px;
        align-items: center;
    }
    
    .casino-nav-btn {
        width: 24px;
        height: 24px;
        background: #2c2c2c;
        border: 1px solid #333333;
        border-radius: 4px;
        color: #fff;
        font-size: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        flex-shrink: 0;
    }
    
    .casino-nav-btn:hover {
        background: #333333;
        border-color: #ffb902;
    }
    
    .casino-nav-btn.disabled {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }
    
    .casino-nav-btn i {
        font-size: 10px;
    }
    
    /* Desktop: Show grid, hide navigation (except for providers) */
    @media (min-width: 769px) {
        .casino-category-nav {
            display: none !important;
        }
        
        .casino-category-select .casino-category-games {
            display: grid !important;
            overflow-x: visible !important;
        }
        
        .casino-category-select .casino-game-item-content {
            flex: none !important;
            width: auto !important;
            min-width: auto !important;
            max-width: none !important;
        }
        
        /* Ensure casino-category-types and casino-category-content are visible on desktop */
        /* Override style.css display:grid rule */
        .casino-category-select .casino-category-types {
            display: grid !important;
            visibility: visible !important;
            opacity: 1 !important;
            height: auto !important;
            min-height: auto !important;
            max-height: none !important;
            overflow: visible !important;
            position: relative !important;
            z-index: 1 !important;
            background: transparent !important;
            background-image: none !important;
            background-color: transparent !important;
        }
        
        .casino-category-select .casino-category-content {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            height: auto !important;
            min-height: auto !important;
            max-height: none !important;
            overflow: visible !important;
            position: relative !important;
            z-index: 1 !important;
            background: transparent !important;
            background-image: none !important;
            background-color: transparent !important;
            padding: 0 !important;
            border-radius: 0 !important;
        }
        
        .casino-category-select .casino-category-header {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            height: auto !important;
            min-height: auto !important;
            position: relative !important;
            z-index: 1 !important;
        }
        
        .casino-category-select .casino-category-header-left {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            height: auto !important;
            min-height: auto !important;
            position: relative !important;
            z-index: 1 !important;
        }
        
        .casino-category-select .casino-category-title-new {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            height: auto !important;
            min-height: auto !important;
            position: relative !important;
            z-index: 1 !important;
        }
        
        .casino-category-select .casino-category-icon {
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
            height: auto !important;
            min-height: auto !important;
            position: relative !important;
            z-index: 1 !important;
        }
        
        /* Ensure games are visible */
        .casino-category-select .casino-category-games {
            display: grid !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
    }
    
    /* Mobile: Smooth scroll animation for game categories */
    @media (max-width: 768px) {
        .casino-category-select .casino-category-games {
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            will-change: scroll-position;
        }
        
        /* Improve scroll performance */
        .casino-category-select .casino-game-item-content {
            will-change: transform;
        }
    }
    
    /* Sports matches: Single column on mobile */
    /* Sports matches: Scrollable on mobile - show one at a time */
    .sports-matches-container {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }
    
    .sports-matches-container::-webkit-scrollbar {
        display: none;
    }
    
    .sports-match-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start;
    }
    
    .sports-top-matches-section {
        padding: 0 10px; /* Align with other categories */
    }
    
    .sports-top-matches-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .sports-top-matches-title {
        font-size: 16px;
    }
    
    .sports-filter {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .sport-icon-btn {
        width: 44px;
        height: 44px;
    }
    
    .sport-icon-btn i {
        font-size: 18px;
    }
    
    /* Banner sections: Single column */
    /* 3 Banner: Scrollable slider on mobile - show one at a time */
    .banner-triple-container {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 0 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        position: relative;
    }
    
    .banner-triple-container::-webkit-scrollbar {
        display: none;
    }
    
    .banner-triple-item {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 180px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    
    .banner-single-item {
        height: 250px;
    }
    
    .banner-single-container {
        padding: 0 10px; /* Align with other banners */
    }
    
    .banner-triple-title {
        font-size: 14px;
        padding: 15px;
    }
    
    .banner-single-title {
        font-size: 28px;
        letter-spacing: 1px;
        padding: 20px;
    }
    
    .banner-single-content {
        padding: 20px;
    }
    
    /* Content padding: Reduce on mobile */
    .main-content-wrapper .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .main-content-wrapper .wrapper {
        padding-left: 0;
        padding-right: 0;
        background: #27292b; /* Content background color */
    }
    
    /* Main content background */
    .main-content-wrapper {
        background: #27292b;
    }
    
    body {
        background: #27292b !important;
    }
    
    .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Text scaling: Adjust font sizes */
    .casino-category-title-new,
    .winners-title,
    .sports-top-matches-title {
        font-size: 16px;
    }
    
    /* Buttons: Ensure they fit on mobile */
    .btn.s-small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Match cards: Full width adjustments */
    .sports-match-card {
        padding: 12px;
    }
    
    .team-name {
        font-size: 13px;
    }
    
    .team-score-value {
        font-size: 18px;
    }
    
    .odds-btn-simple {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .odds-btn-simple .odds-value {
        font-size: 13px;
    }
    
    /* Prevent any fixed widths from causing overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Images: Ensure they're responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Grid items: Prevent overflow */
    .promotionsArticleThumbnail-bc {
        width: 100%;
        height: auto;
    }
    
    /* Footer spacing */
    footer {
        margin-top: 30px;
        padding: 0 10px;
        background: #181818 !important;
    }
    
    /* Mobile footer responsive fixes */
    /* Hide footer menu completely on mobile */
    footer .top_footer {
        display: none !important;
    }
    
    footer .bottom_footer {
        background-color: #181818 !important;
        padding: 20px 0;
    }
    
    footer .bottom_footer .main_wrapper {
        padding: 0 10px;
    }
    
    footer .footer-payments {
        background-color: #181818 !important;
    }
    
    footer .footer-payments > p {
        color: #ffffff;
        text-align: center;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 15px;
    }
    
    footer .payment-deposit {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px; /* Reduced from 15px to 8px */
    }
    
    /* Footer license logo - make bigger on mobile */
    footer .payment-deposit > div:first-child img {
        height: 160px !important; /* Increased from 120px to 160px */
        width: auto;
        max-width: 100%;
    }
    
    footer .payment-deposit > div {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    footer .payment-deposit > div img {
        max-width: 50px;
        height: auto;
    }
    
    footer .payment-deposit p {
        color: #ffffff;
        text-align: left;
        font-size: 11px;
        line-height: 1.6;
        padding: 0 10px;
        margin: 8px 0; /* Reduced from 15px to 8px */
    }
    
    footer .centeral_footer {
        background-color: #181818 !important;
        padding: 0;
    }
    
    /* Ensure no element causes horizontal scroll */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Sidebar toggle button visibility on mobile */
    .sidebar-toggle {
        display: flex;
    }
    
    /* Mobile menu button in header - only visible on mobile */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: rgba(255, 185, 2, 0.15);
        border: 1px solid #333333;
        border-radius: 8px;
        color: #ffb902;
        cursor: pointer;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    .mobile-menu-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(255, 185, 2, 0.25);
        border-color: rgba(255, 185, 2, 0.5);
    }
    
    /* Hide sidebar toggle inside sidebar on mobile */
    .sidebar .sidebar-toggle {
        display: none;
    }
    
    /* Mobile overlay when sidebar is open */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Sidebar when open on mobile */
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    /* Ensure sidebar is above overlay */
    .sidebar {
        z-index: 1000;
    }
    
    /* Adjust header layout for mobile menu button */
    .hdr-main-content-bc {
        position: relative;
    }
    
    /* Hide sidebar toggle inside sidebar on mobile (use bottom nav instead) */
    .sidebar-header {
        padding: 12px 15px;
    }
    
    /* Mobile Bottom Navigation Menu - Only visible on mobile */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: rgb(33 33 33 / 85%); /* Semi-transparent dark background */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 185, 2, 0.2);
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); /* Safe area for notched devices */
        z-index: 998;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex: 1;
        padding: 6px 4px;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #ffffff;
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-nav-item i {
        font-size: 20px;
        color: #ffffff;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-item span {
        font-size: 10px;
        line-height: 1.2;
        color: #ffffff;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-item.active {
        color: #ffb902;
    }
    
    .mobile-nav-item.active i {
        color: #ffb902;
    }
    
    .mobile-nav-item.active span {
        color: #ffb902;
    }
    
    /* Casino item - same styling as others (white, no underline) */
    .mobile-nav-item[data-page="casino"].active i {
        color: #ffb902; /* Yellow like others when active */
    }
    
    .mobile-nav-item[data-page="casino"].active span {
        color: #ffb902;
    }
    
    .mobile-nav-item:active {
        transform: scale(0.95);
    }
    
    /* Mobile Nav Overlay with Blur */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-nav-overlay.show {
        display: block;
        opacity: 1;
    }
    
    /* Add bottom padding to main content to prevent overlap with nav */
    .main-content-wrapper {
        padding-bottom: 70px !important;
    }
    
    /* Hide mobile nav on desktop */
    @media (min-width: 769px) {
        .mobile-bottom-nav {
            display: none !important;
        }
        
        .mobile-nav-overlay {
            display: none !important;
        }
        
        .main-content-wrapper {
            padding-bottom: 0 !important;
        }
    }
    
    /* Ensure content doesn't shift when sidebar opens */
    body.sidebar-open {
        overflow: hidden;
    }
    
    /* Additional spacing fixes */
    .pt-3 {
        padding-top: 15px !important;
    }
    
    .pb-4 {
        padding-bottom: 20px !important;
    }
    
    /* Fix any inline styles that might cause overflow */
    [style*="padding-right"],
    [style*="padding-left"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Ensure owl carousel doesn't overflow */
    .owl-carousel {
        width: 100% !important;
    }
    
    .owl-stage-outer {
        width: 100% !important;
        overflow: hidden !important;
    }
}

/* Desktop: Hide mobile menu button */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-overlay {
        display: none !important;
    }
    
    /* Restore sidebar toggle on desktop */
    .sidebar .sidebar-toggle {
        display: flex;
    }
}