
/* Dropdown Button */
/* .dropbtn {
      background-color: #f6c648;
      color: white;
      padding: 6px 10px 6px 10px;
      font-size: 16px;
      border: none;
      border-radius: 6px;
  } */

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 12;
  /* border: #f6c648 3px solid; */
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #f6c648;
}

#google_translate_element {
  display: none;
}

iframe#\:1\.container {
  display: none;
}

/* new now */
/* body {
  top: 0px !important;
  padding:
0;
  margin:
0;
} */
/* new now */
div#goog-gt-tt {
  display: none !important;
}

.navbar-brand {
  /* padding: 10px; */
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar-brand img {
  width: 252px;
  height: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(246, 198, 72, 0.3));
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
}

/* Hover effect */
/* .navbar-brand:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(246, 198, 72, 0.5));
} */

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 50px;
    border-radius: 5px;
    width: 50px;
  }
}

/* Ensure logo quality */
/* .navbar-brand img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
} */

/* Ensure logo responsiveness */
.logo {
  height: 40px; /* Default size */
  /* max-width: 100px;  */
  border-radius: 5px;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
  .logo {
    height: 35px; /* Slightly smaller */
    max-width: 90px;
  }
}

/* Ensure crisp logo rendering */
/* .logo {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
} */







/* Navbar Styling */
.navbar {
  background-color: #0a0f1e;
  padding: 10px 0;
}
.navbar-brand img {
  height: 60px;
}

/* Search Bar Container */
.search-container {
  background: #161a25;
  border: 1px solid #2c3241;
  border-radius: 8px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  width: 360px;
}
.search-container input {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  flex: 1;
  padding: 5px;
}
.search-container input::placeholder {
  color: #b5b5b5;
}
.search-container i {
  color: #b5b5b5;
}

/* Nav Icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-icons a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.nav-icons i:hover {
  color: #f6c648;
}

/* Login Button */
.btn-login {
  border: 2px solid #f6c648;
  color: #f6c648;
  padding: 7px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}
.btn-login:hover {
  background-color: #f6c648;
  color: #000;
}

/* Register Button */
.btn-register {
  background-color: #f6c648;
  color: black;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: bold;
  border: none;
  transition: 0.3s;
}
.btn-register:hover {
  background-color: #f6c648;
}

/* Mobile Navbar */
/* .mobile-navbar {
  background-color: #0a0f1e;
  position: fixed;
}
.mobile-navbar img {
  height: 45px;
}
.mobile-navbar .btn {
  padding: 6px 15px;
  font-size: 14px;
} */

/* Mobile Navbar */
.mobile-navbar {
  background-color: #0a0f1e;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

.mobile-navbar img {
  height: 40px;
  width: auto;
}

/* Buttons */
.mobile-navbar .btn {
  padding: 6px 10px;
  font-size: 12px;
  border: 2px solid #f6c648;
  color: white;
  transition: 0.3s;
}

.mobile-navbar .btn:hover {
  background-color: #f6c648;
  color: black;
}

/* Dropdown */
.dropdown-toggle {
  background: transparent;
  border: 2px solid #f6c648;
  color: #fff;
  padding: 6px 15px;
  /* border-radius: 8px; */
  font-weight: bold;
  transition: 0.3s;
}

.dropdown-toggle:hover {
  background: #f6c648;
  color: black;
}

.dropdown-menu {
  background-color: #161a25;
  width: max-content;
}

.dropdown-menu a {
  color: white;
}

.dropdown-menu a:hover {
  background-color: #2c3241;
  color: #f6c648;
}

/* Make it responsive */
@media (max-width: 768px) {
  .mobile-navbar .btn {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .dropdown-toggle {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* ----------- EXTRA-SMALL SCREENS (max-width: 576px) ----------- */
@media (max-width: 576px) {
  .navbar {
    padding: 8px;
  }
  .navbar-brand img {
    height: 50px;
    width: auto;
  }
  .search-container {
    width: 80%;   /* Fill more width on tiny screens */
    margin-top: 10px;
  }
  .nav-icons {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  .btn-login,
  .btn-register {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }
}

/* ----------- SMALL TO TABLET (max-width: 768px) ----------- */
@media (min-width: 577px) and (max-width: 768px) {
  .navbar {
    padding: 10px;
  }
  .navbar-brand img {
    height: 55px;
    width: auto;
  }
  .search-container {
    width: 60%; 
    margin-top: 10px;
  }
  .nav-icons {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }
  .btn-login,
  .btn-register {
    width: auto;  /* or 100%, depending on preference */
    text-align: center;
  }
}

/* ----------- MEDIUM TO DESKTOP (max-width: 992px) ----------- */
@media (min-width: 769px) and (max-width: 992px) {
  .navbar {
    padding: 8px 15px;
  }
  .navbar-brand img {
    width: auto;
    height: 60px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(246, 198, 72, 0.3));
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
  }

  .search-container {
    width: 300px;
  }
  .nav-icons {
    gap: 15px;
  }
  .btn-login,
  .btn-register {
    padding: 6px 15px;
    font-size: 14px;
  }
  .dropdown-toggle {
    padding: 5px 12px;
  }
  .carousel{
    margin-top: 50px;
   }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .search-container {
    background: #161a25;
    border: 1px solid #2c3241;
    border-radius: 8px;
    padding: 5px !important;
    display: flex;
    align-items: center;
    width: 229px !important;
  }
  .navbar-brand img {
    width: auto;
    height: 60px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(246, 198, 72, 0.3));
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
  }
  .nav-icons a {
    color: white;
    text-decoration: none;
    font-size: 12px !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
  }
  .dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    font-size: 7px !important;
  }
  .img-section img {
    height: 40px !important;
    width: 100% !important;
  }
  
}

/* ----------- LARGE SCREENS (992px - 1200px) ----------- */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar {
    padding: 8px 15px;
  }
  .search-container {
    background: #161a25;
    border: 1px solid #2c3241;
    border-radius: 8px;
    padding: 3px 8px !important;
    display: flex;
    align-items: center;
    width: 220px !important;

  }
  .nav-icons {
    gap: 15px;
  }
  .btn-login,
  .btn-register {
    padding: 6px 15px;
    font-size: 14px;
  }
  .dropdown-toggle {
    padding: 5px 12px;
  }
  .carousel{
    margin-top: 50px;
   }
}

/* ----------- EXTRA-LARGE SCREENS (min-width: 1201px) ----------- */
@media (min-width: 1201px) {
  .navbar {
    padding: 10px 20px;
  }
  .search-container {
    width: 302px;
  }
  .nav-icons {
    gap: 25px;
  }
  .btn-login,
  .btn-register {
    padding: 7px 20px;
    font-size: 16px;
  }
  .dropdown-toggle {
    padding: 6px 15px;
  }
}



/* <style> */
/* Navbar Styling end */


/* Horizontal Scroll Menu */
.menu-main {
overflow-x: auto;
white-space: nowrap;
scrollbar-width: thin;
scrollbar-color: #D4AF37;
}
.menu-main::-webkit-scrollbar {
height: 6px;
}
.menu-main::-webkit-scrollbar-thumb {
background: #D4AF37;
border-radius: 10px;
}
.menu-main::-webkit-scrollbar-track {
background: transparent;
}
.menu-ul {
display: flex;
gap: 10px;
padding: 10px;
padding-bottom: 0px;
list-style: none;
}
.menu-link {
display: inline-block;
border: 1px solid #D4AF37;
padding: 5px 15px;
border-radius: 5px;
color: #D4AF37;
font-weight: 600;
text-decoration: none;
text-transform: uppercase;
font-size: 12px;
transition: background 0.3s;
}
.menu-link-active {
background: #fbe844;
color: black;
}
/* Carousel Styling */
.carousel{
 margin-top: 0px;
}
.carousel-item img {
width: 100%;
height: 450px;
object-fit: cover;
}
/* Footer Styling */
footer {
background-color: #0a0b1e;
}
footer .text-secondary {
color: #6c757d !important;
}
footer a:hover {
color: #D4AF37 !important;
}
footer hr {
opacity: 0.1;
}
@media (max-width: 768px) {
footer .text-md-end {
text-align: center !important;
margin-top: 1rem;
}
footer .col-md-6 {
text-align: center !important;
}
footer img {
height: 20px;
margin-bottom: 10px;
}
.carousel-item img {
width: 100%;
height: 200px;
object-fit: cover;
}
.carousel{
  margin-top: 55px;
 }

}
/* Category Navigation */
.category-nav {
white-space: nowrap;
overflow-x: auto;
display: flex;
gap: 20px;
padding: 10px;
background: #111;
align-items: center;
}
.category-item {
display: flex;
align-items: center;
gap: 8px;
text-decoration: none;
color: white;
font-size: 14px;
padding: 5px 10px;
}
.category-item img {
width: 30px;
height: 30px;
filter: invert(1);
}
.category-item.active {
color: yellow;
border-bottom: 2px solid yellow;
}
@property --gradient-angle {
syntax: "<angle>";
initial-value: 0turn;
inherits: false;
}



.card-body {
  flex:
1 1 auto;

  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);

  color: var(--bs-card-color);

  padding:
5px;

    padding-bottom: 5px;

  margin-bottom: 0 !important;

  padding-bottom: 0;

}


  @media (max-width: 575.98px) {
    #card-container > .col {
      flex: 0 0 33.3333%;
      max-width: 33.3333%;
    }
    .card-title {
  font-size: 10px;
}
  }


.card {
animation: gradient-angle 3s infinite linear;
border: 3px solid transparent;
background-image: linear-gradient(#1a1a1a, #111),
conic-gradient(
from var(--gradient-angle),
#584827 0%,
#c7a03c 37%,
#f9de90 40%,
#c7a03c 43%,
#584827 50%,
#584827 55%,
#c7a03c 77%,
#f9de90 80%,
#c7a03c 83%,
#584827 100%
);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
border-radius: 10px;
overflow: hidden;
transition: transform 0.3s ease-in-out;
}

.card:hover {
transform: scale(1.05);
}

@keyframes gradient-angle {
to {
--gradient-angle: 1turn;
}
}

.card-img-overlay {
background: rgba(0, 0, 0, 0.5);
opacity: 0;
transition: opacity 0.3s ease-in-out;
}

.card:hover .card-img-overlay {
opacity: 1;
}

/* Cards Section */

/* Cards Section */

.row-cols-1 {
margin: auto;
}



/*  */
.menu-main {
overflow-x: auto; /* Allow scrolling */
white-space: nowrap; /* Keep content in one line */
-ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
scrollbar-width: none; /* Hide scrollbar in Firefox */
}
.menu-main::-webkit-scrollbar {
display: none; /* Hide scrollbar in Chrome/Safari */
}

/* Hide Scrollbar */
.category-nav {
white-space: nowrap;
overflow-x: auto; /* Allows horizontal scrolling */
display: flex;
gap: 20px;
padding: 10px;
background: #111;
align-items: center;

/* Hide scrollbar for Webkit (Chrome, Safari, Edge) */
-ms-overflow-style: none; /* Hide scrollbar for Internet Explorer & Edge */
scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.category-nav::-webkit-scrollbar {
display: none; /* Hide scrollbar for Chrome, Safari, and Edge */
}

/* image col */
.col img {
width: 100px; /* Adjust width as needed */
object-fit: contain; /* Ensures the full image is visible */
}
/* carousel-indicators */
.carousel-indicators button {
width: 12px; /* Adjust size */
height: 12px;
background-color: rgba(255, 255, 255, 0.5); /* Default color */
}

.carousel-indicators .active {
background-color: #D4AF37 !important; /* Highlight active */
}

/* Modal Content */

.modal-content {
  background-color: #0f172a; 
  color: white;
  border-radius: 12px; 
  border: none;
  height: 100vh; 
  padding: 20px; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal {
  z-index: 1100 !important; 
  margin-top: 57px;
}

.modal-backdrop {
  z-index: 1095 !important;
}

/* Search Box */
.search-box {
  background: #1e293b;
  border: none;
  color: white;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

.search-box::placeholder {
  color: #94a3b8;
}

.search-box:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
  border-color: #fbbf24;
}

/* Buttons */
.btn-custom {
  background: #facc15;
  color: black;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(250, 204, 21, 0.3);
}

.btn-custom:hover {
  background: #fbbf24;
  transform: scale(1.08);
  box-shadow: 0 3px 8px rgba(250, 204, 21, 0.6);
}

.btn-custom:active {
  transform: scale(0.95);
}

/* Game List */
.game-list {
  max-height: calc(100vh - 250px);
  overflow-y: auto;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: #facc15 #1e293b;
}

/* Scrollbar (for Webkit browsers like Chrome) */
.game-list::-webkit-scrollbar {
  width: 8px;
}

.game-list::-webkit-scrollbar-thumb {
  background: #facc15;
  border-radius: 4px;
}

.game-list::-webkit-scrollbar-track {
  background: #1e293b;
}

/* Game Items */
.game-item {
  padding: 14px;
  border-bottom: 1px solid #2c3e50;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-item:hover {
  background: #1e293b;
  color: #facc15;
  transform: translateX(5px);
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .modal-content {
    border-radius: 0;
  }
  .game-item {
    font-size: 14px;
  }
}
