:root {
    --primary: #6a1b9a;
    --secondary: #9c27b0;
    --text-light: #ffffff;
    --active-tab: #9c27b0;
}

.theme-light {
    background: linear-gradient(to right, #FFEACC 10%, #EADEF4 70%);
    min-height: 100vh;
}

.theme-inner {
    background: url('/images/styles/11_Page/Inner/Reward_Background_2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding-bottom: 70px;
}

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/*Prealoder*/

#preloader {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 99999;
    transition: all 200ms ease;
}

#preloader .spinner-border {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
}

.preloader-hide {
    opacity: 0;
    pointer-events: none;
    transition: all 150ms ease !important;
}

.theme-light #preloader {
    background-color: #FFF;
}

.theme-dark #preloader {
    background-color: #0f1117;
}

.device-is-android .input-style input[type=date]~label.color-highlight {
    margin-top: 7px !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif !important;
}

body {
    font-size: 12px;
    font-family: "Roboto", sans-serif !important;
    background: #f0f0f0;
    color: #6c6c6c !important;
    padding-bottom: 70px;
}

.header {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    z-index: 100;
}

.language-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 20px;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.language-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Active/Click state */
.language-btn:active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Remove focus outline */
.language-btn:focus {
    outline: none;
}

.logo {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
}



.logo-left {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    justify-self: start;
}

.logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-center img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header-right {
    justify-self: end;
}

/* Added responsive styles */
@media (max-width: 768px) {
    .logo-center img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-center img {
        height: 30px;
    }
}

.banner-container {
    position: relative;
    width: calc(100% - 4rem);
    height: auto;
    overflow: hidden;
    border-radius: 20px;
    margin: 1rem auto;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}
.banner-carousel {
    border-radius: 20px;
    overflow: hidden;
    display: flex; /* Added flex */
    justify-content: center; /* Center horizontally */
}

.banner-carousel .item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%; /* Ensure full width */
    display: flex;
    justify-content: center;
}

.banner-carousel .item img {
    width: 100%;
    height: auto;
    display: block; 
    object-fit: cover;
    border-radius: 20px;
}

/* Large screens */
@media (min-width: 1024px) {
    .banner-container {
        width: calc(100% - 4rem);
        margin: 0.5rem auto;
    }
    
    .banner-carousel .item {
        aspect-ratio: 16/5;
    }
}

/* Medium screens */
@media (max-width: 1023px) {
    .banner-container {
        width: calc(100% - 3rem);
        margin: 0.5rem auto;
    }
    
    .banner-carousel .item {
        aspect-ratio: 16/6;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .banner-container {
        width: calc(100% - 2rem);
        margin: 0.5rem 1rem;
    }
    
    .banner-carousel .item {
        aspect-ratio: 16/9;
    }
}

/* Custom Owl Carousel Styles */
.owl-dots {
    display: none;
}

.owl-nav {
    display: none;
}

.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5) !important;
    border-radius: 50% !important;
    color: white !important;
}

.owl-prev {
    left: 20px;
}

.owl-next {
    right: 20px;
}

.owl-prev:hover, .owl-next:hover {
    background: rgba(0,0,0,0.8) !important;
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }

    .banner-carousel .item img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.4rem;
    }

    .banner-carousel .item img {
        height: 200px;
    }

    .owl-prev, .owl-next {
        width: 30px;
        height: 30px;
    }
}

.user-panel {
    background: linear-gradient(#5D2183, #310A6A);
    padding: 0.75rem 1.2rem;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 2rem;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.user-balance {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
}

.user-balance img {
    width: 16px;
    height: 16px;
}

.balance-value {
    color: #FFB800;
}

.qr-code {
    width: 45px;     /* Reduced from original size */
    height: 45px;    /* Reduced from original size */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.qr-code img {
    width: 50px;     /* Adjusted for inner image */
    height: 50px;
}

.section-block {
    margin-bottom: 2rem;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    color: var(--primary);
    font-size: .9rem;
    margin: 0;
}

.view-all {
    color: var(--secondary);
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .view-all {
        font-size: 0.9rem;
    }
}

.nav-menu {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: none;
    top: 60px;
    z-index: 99;
}

.nav-item {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-item.active {
    background: none;
    color: rgb(255, 0, 0);
    --icon-size: 24px;
}
.nav-item.active::before {
    content: ""; /* Required for pseudo-elements */
    display: inline-block;
    width: var(--icon-size); /* Icon width */
    height: var(--icon-size); /* Icon height */
    background-image: url('/images/styles/06_Home/Element_2x.png'); /* Replace with your icon/image path */
    background-size: 50%; /* Ensure the icon fits */
    background-repeat: no-repeat;
    background-position: center;
    margin-right: -3px; /* Space between icon and text */
}

.section-content {
    display: none;
    padding: 1rem;
}

.section-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.game-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.game-card h3 {
    padding: 1rem;
    text-align: center;
    color: var(--primary);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
}

.jackpot-display {
    background: white;
    margin: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.number-display {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.number {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    min-width: 3rem;
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .nav-menu {
        overflow-x: auto;
        justify-content: start;
        padding: 0.5rem;
    }

    .nav-item {
        white-space: nowrap;
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }

    .slideshow-container {
        height: 300px;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .jackpot-display {
        margin: 0.5rem;
        padding: 0.5rem;
    }

    .number-display {
        gap: 0.25rem;
    }

    .number {
        padding: 0.5rem;
        min-width: 2rem;
        font-size: 0.9rem;
    }

    .user-panel {
        margin: 0.5rem;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .slideshow-container {
        height: 200px;
    }

    .slide-content h1 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .slide-content p {
        font-size: 0.8rem;
    }

    .game-card h3 {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .game-card img {
        height: 120px;
    }

    .header {
        padding: 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .bottom-nav {
        padding: 0.5rem;
    }

    .nav-button {
        font-size: 0.7rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .section-content {
        padding: 0.5rem;
    }
}

/* Add larger device support */
@media (min-width: 1024px) {
    .game-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }

    .slideshow-container {
        height: 500px;
    }
}
/* Lottery Section - Full-width images */
#sport .game-grid {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    gap: 0; /* Remove gap between images */
    padding: 0; /* Remove padding */
}

#sport .game-card {
    width: 100%; /* Full width */
    margin: 0; /* Remove margin */
    background: none; /* Remove background */
    border-radius: 0; /* Remove border radius */
    box-shadow: none; /* Remove shadow */
    overflow: hidden; /* Ensure no overflow */
}

#sport .game-card img {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below images */
}

#sport .game-card h3 {
    text-align: center;
    color: var(--primary);
    margin: 10px 0; /* Add spacing between image and title */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #sport .game-grid {
        gap: 0; /* Ensure no gap between stacked images */
    }

    #sport .game-card img {
        height: auto; /* Ensure images maintain aspect ratio */
    }
}
/* Lottery Section - Full-width images */
#lottery .game-grid {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    gap: 0; /* Remove gap between images */
    padding: 0; /* Remove padding */
}

#lottery .game-card {
    width: 100%; /* Full width */
    margin: 0; /* Remove margin */
    background: none; /* Remove background */
    border-radius: 0; /* Remove border radius */
    box-shadow: none; /* Remove shadow */
    overflow: hidden; /* Ensure no overflow */
}

#lottery .game-card img {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below images */
}

#lottery .game-card h3 {
    text-align: center;
    color: var(--primary);
    margin: 10px 0; /* Add spacing between image and title */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #lottery .game-grid {
        gap: 0; /* Ensure no gap between stacked images */
    }

    #lottery .game-card img {
        height: auto; /* Ensure images maintain aspect ratio */
    }
}
/* Sport Section in ALL Tab - Full-width images */
#all .section-block:nth-last-child(2) .game-grid {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    gap: 0; /* Remove gap between images */
    padding: 0; /* Remove padding */
}

#all .section-block:nth-last-child(2) .game-card {
    width: 100%; /* Full width */
    margin: 0; /* Remove margin */
    background: none; /* Remove background */
    border-radius: 0; /* Remove border radius */
    box-shadow: none; /* Remove shadow */
    overflow: hidden; /* Ensure no overflow */
}

#all .section-block:nth-last-child(2) .game-card img {
    width: 100%; /* Ensure the image takes full width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below images */
}

#all .section-block:nth-last-child(2) .game-card h3 {
    text-align: center;
    color: var(--primary);
    margin: 10px 0; /* Add spacing between image and title */
}

/* Adjust image size for desktop */
@media (min-width: 1024px) {
    #all .section-block:nth-last-child(2) .game-card img {
        max-width: 800px; /* Limit image width on desktop */
        margin: 0 auto; /* Center the image */
    }
}

/* Adjust image size for tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    #all .section-block:nth-last-child(2) .game-card img {
        max-width: 600px; /* Limit image width on tablet */
        margin: 0 auto; /* Center the image */
    }
}

/* Adjust image size for mobile */
@media (max-width: 767px) {
    #all .section-block:nth-last-child(2) .game-card img {
        max-width: 100%; /* Full width on mobile */
    }
}
/* Lottery Section in ALL Tab - Full-width images */
#all .section-block:last-child .game-grid {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    gap: 0; /* Remove gap between images */
    padding: 0; /* Remove padding */
}

#all .section-block:last-child .game-card {
    width: 100%; /* Full width */
    margin: 0; /* Remove margin */
    background: none; /* Remove background */
    border-radius: 0; /* Remove border radius */
    box-shadow: none; /* Remove shadow */
    overflow: hidden; /* Ensure no overflow */
}

#all .section-block:last-child .game-card img {
    width: 100%; /* Ensure the image takes full width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below images */
}

#all .section-block:last-child .game-card h3 {
    text-align: center;
    color: var(--primary);
    margin: 10px 0; /* Add spacing between image and title */
}

/* Adjust image size for desktop */
@media (min-width: 1024px) {
    #all .section-block:last-child .game-card img {
        max-width: 800px; /* Limit image width on desktop */
        margin: 0 auto; /* Center the image */
    }
}

/* Adjust image size for tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    #all .section-block:last-child .game-card img {
        max-width: 600px; /* Limit image width on tablet */
        margin: 0 auto; /* Center the image */
    }
}

/* Adjust image size for mobile */
@media (max-width: 767px) {
    #all .section-block:last-child .game-card img {
        max-width: 100%; /* Full width on mobile */
    }
}
/*-Footer Menu-*/
#footer-bar {
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 98;
  background: linear-gradient(#5D2183, #310A6A);
  min-height: 60px;
  height: calc(62px + (constant(safe-area-inset-bottom))*1.1);
  height: calc(62px + (env(safe-area-inset-bottom))*1.1);
  display: flex;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

#footer-bar a {
  color: white;
  position: relative;
  flex: 1 1 auto;
}

#footer-bar a.icon-a {
  padding-top: 10px;
  text-decoration: unset;
}

#footer-bar a.icon-home-a {
  min-width: 100px;
  display: flex;
  justify-content: center;
}

#footer-bar a span {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-top: none;
  font-family: "Roboto", sans-serif !important;
}

#footer-bar a img.footer-icon {
  height: 25px;
  position: relative;
  z-index: 2;
  object-fit: contain;
}

.footer-home-wrapper {
  position: fixed;
  bottom: 5px;
  z-index: 100;
  display: flex;
  text-align: center;
  margin-left: 38%;
  margin-right: 40%;
  /* width: 100%; */
}

.footer-home-icon {
  margin: auto;
  display: block;
  height: 100px;
}

#footer-bar .badge {
  font-style: normal;
  z-index: 5;
  top: 0px;
  position: absolute;
  margin-left: 3px;
  color: #FFF !important;
  width: 18px;
  text-align: center;
  line-height: 18px;
  padding: 0px;
  padding-left: 0px !important;
  border-radius: 18px;
  margin-top: 7px;
  font-size: 11px;
}

.footer-menu-hidden {
  transition: all 100ms ease;
  transform: translateY(100%) !important;
}

.footer-bar-white * {
  color: #FFF;
}

#footer-bar.position-relative {
  z-index: 2 !important;
}

.is-ios #footer-bar {
  height: calc(65px + (constant(safe-area-inset-bottom))*1.1);
  height: calc(65px + (env(safe-area-inset-bottom))*1.1);
}

.is-not-ios .footer-menu-clear {
  height: 70px;
  display: block;
}

.is-not-ios .footer {
  padding-bottom: 0px;
}

.is-not-ios #footer-menu a i {
  padding-top: 13px;
}

.is-not-ios #footer-menu a span {
  opacity: 0.6;
}

/*Sticky 4.1 Scrolling Footer Bar*/
.footer-bar-scroll {
  display: block !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  margin: 0px;
  padding: 0px;
}

.footer-bar-scroll a {
  display: inline-block;
  width: 19.5%;
}

.footer-bar-scroll.footer-bar-4 .active-nav strong {
  margin-top: 1px;
}

.footer-bar-scroll.footer-bar-4 .badge {
  margin-left: -8px !important;
  margin-top: 14px !important;
}

.footer-bar-scroll.footer-bar-3 .badge {
  margin-left: -7px !important;
  margin-top: 0px !important;
}

.footer-bar-scroll.footer-bar-3 i {
  transform: translateY(-10px);
}

.footer-bar-scroll.footer-bar-3 .active-nav i {
  transform: translateY(0px);
}
.card-full-style {
	overflow: hidden;
	border-radius: 30px;
	border: none;
	box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
	background-image: url('/images/styles/00_playground_assets/home_page_background.jpg');
	background-repeat: no-repeat;
}
.card {
  /* -webkit-transform: translate3d(0, 0, 0); */
  background-size: cover;
  border: 0px !important;
  max-height: 150000px;
  margin-bottom: 30px;
  background-position: center center !important;
}
.marquee-box {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -5px;
}
button, 
.language-btn,
.nav-item,
.view-all,
.game-card {
    -webkit-tap-highlight-color: transparent;  /* Remove tap highlight on mobile */
    outline: none;  /* Remove focus outline */
    user-select: none;  /* Prevent text selection */
}

button:focus,
.language-btn:focus,
.nav-item:focus,
.view-all:focus,
.game-card:focus {
    outline: none;
    box-shadow: none;
}

/* Optional: if you want to maintain accessibility but hide visual outline */
button:focus-visible,
.language-btn:focus-visible,
.nav-item:focus-visible,
.view-all:focus-visible,
.game-card:focus-visible {
    outline: none;
    box-shadow: none;
}
.logo-link {
    display: block;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
}

.logo-link:focus,
.logo-link:active {
    outline: none;
    box-shadow: none;
}

.logo-link img {
    display: block;  /* Removes any unwanted space */
}

.logo-link:hover {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
