/* ==================== styles.css ==================== */

.main-container {
  position: relative;
  left: calc(50% + 110px);
  transform: translateX(-50%);
  max-width: min(1440px, calc(100vw - 220px));
  width: 100%;
  min-height: 80vh;
  margin-top: 0;
  margin-bottom: 0;
  padding: 20px 20px 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
  z-index: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f0f0f0;
  font-family: sans-serif;
  padding: 0;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.main-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: none;
  box-shadow: none;
  padding: 0;
}

.main-slider .slides {
  position: relative;
  width: 100%;
  height: auto;
}

.slider-nav.prev,
.slider-nav.next {
  display: none !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  background: #f2f2f2;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  padding: 0;
}

.slider-nav.prev { left: 18px; }
.slider-nav.next { right: 18px; }



.slides {
  position: relative;
  width: 100%;
  height: auto;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1s ease, transform 1s ease;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.slider-progress {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  height: 5px;
  background: #08df8d;
  width: 0%;
  transition: width 7s linear;
  border-radius: 2px;
  max-width: 100%;
  margin: 0;
  z-index: 11;
  opacity: 1;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 12;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background: #000000;
  border-radius: 50%;
  opacity: 0.5;
  margin: 0 5px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.slider-dots .dot.active {
  width: 28px;
  height: 12px;
  border-radius: 8px;
  opacity: 50;
  background: #00c57a;
}

.banner-wrapper {
  padding: 0;
  margin: 0 auto 24px auto;
  background: none !important;
}




/* ---- PROVIDER LOGO LOOP ---- */
.logoloop {
  --logoloop-gap: clamp(28px, 4vw, 58px);
  --logoloop-logo-height: clamp(28px, 3vw, 38px);
  --logoloop-fade-color: #fff;

  position: relative;
  width: 100%;
  margin: -30px auto -15px;
  padding: 4px 0;
  overflow: hidden;
  contain: inline-size paint;
  box-sizing: border-box;
}

.logoloop__track {
  display: flex;
  width: max-content;
  position: relative;
  z-index: 0;
  will-change: transform;
  user-select: none;
}

.logoloop__list {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.logoloop__item {
  flex: 0 0 auto;
  margin-right: var(--logoloop-gap);
  line-height: 1;
}

.logoloop__item img {
  display: block;
  height: var(--logoloop-logo-height);
  width: auto;
  max-width: 150px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  -webkit-user-drag: none;
  pointer-events: none;
  filter: grayscale(100%) brightness(0.95);
  opacity: 0.82;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s ease, opacity 0.2s ease;
}

.logoloop--scale-hover .logoloop__item:hover img {
  transform: scale(1.15);
  transform-origin: center;
  filter: none;
  opacity: 1;
}

.logoloop--fade::before,
.logoloop--fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 8%, 120px);
  pointer-events: none;
  z-index: 10;
}

.logoloop--fade::before {
  left: 0;
  background: linear-gradient(to right, var(--logoloop-fade-color), transparent);
}

.logoloop--fade::after {
  right: 0;
  background: linear-gradient(to left, var(--logoloop-fade-color), transparent);
}

@media (max-width: 1024px) {
  .logoloop {
    --logoloop-gap: 34px;
    --logoloop-logo-height: 28px;
    margin: 8px auto 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logoloop {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .logoloop::-webkit-scrollbar {
    display: none;
  }

  .logoloop__track {
    transform: translate3d(0, 0, 0) !important;
  }

  .logoloop__item img {
    transition: none;
  }
}

/* Divider */

.div-bar {
  background: #246e5f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 15px;
  height: 45px;
  border-radius: 5px;
  margin: -5px 0 0 0;
  box-sizing: border-box;
}

.div-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.div-icon {
  width: 34px;
  height: 34px;
  margin-right: 2px;
  display: block;
}

.tdiv-title {
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
}

.div-right {
  display: flex;
  align-items: center;
  gap: 2px;
}

.div-viewall {
  color: #ffffff;
  text-decoration: none;
  margin-right: 16px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.div-viewall:hover {
  text-decoration: none;
  color: #00ff9e;

}

.div-nav {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0 0 0 2px;
  transition: filter 0.15s;
}

.div-nav svg {
  display: block;
  width: 24px;
  height: 24px;
}

.div-nav:active svg circle {
  fill: #dbe8e3;
}

.div-nav img {
  width: 24px;
  height: 24px;
  display: block;
  transition: filter 0.18s;
}
.div-nav:hover img {
  filter: brightness(1.4) drop-shadow(0 2px 8px rgba(4, 172, 108, 0.938));
}

.div-bar-plain {
  background: none !important;
  color: #222 !important;
  box-shadow: none !important;
  margin-bottom: -30px;

}

.div-bar-plain .tdiv-title {
  color: #222 !important;
  font-size: 0.90rem;
}

.div-bar-plain .div-viewall {
  color: #246e5f !important;
}

.div-bar-plain .div-nav img {
  transition: filter 0.18s, transform 0.18s;
}

.div-bar-plain .div-nav:hover img {
  filter: brightness(1.4) drop-shadow(0 2px 8px rgba(4, 172, 108, 0.938));
  transform: scale(1.08);
}




/* GAME THUMB CARD*/

.game-thumb-card {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 16px rgba(40, 40, 70, 0.12);
  overflow: hidden;
  width: 225px;
  min-width: 180px;
  max-width: 96vw;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  position: relative;
  margin-top: -25px;
}

.game-thumb-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #000;
}

.game-thumb-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px 22px 0 0;
}

.game-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px 22px 0 0;
  display: block;
}
.game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.44);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 0.60rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 8px;
  z-index: 2;
  letter-spacing: 0.06em;
  opacity: 0.93;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.game-thumb-footer {
  position: relative;
  background: linear-gradient(90deg, #1c6051, #3ab99e);
  padding: 10px 12px;
  border-radius: 0 0 19px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 8;
}
.game-thumb-title {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-left: 8px;
}
.game-fav-btn {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  transition: filter 0.15s;
}
.game-fav-btn img {
  width: 25px;
  height: 25px;
  display: block;
  filter: grayscale(50%);
  transition: filter 0.18s;
}
.game-fav-btn:hover img {
  filter: grayscale(0%) brightness(1.2);
}

.game-thumb-overlay {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  overflow: hidden;
  text-decoration: none;
  transition: height 0.27s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.game-thumb-card:hover .game-thumb-overlay {
  height: 100%;
  pointer-events: auto;
  transition-delay: 0.06s;
}

.game-thumb-overlay-blur {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(19, 39, 33, 0.67);
  backdrop-filter: blur(3px);
  z-index: 1;
  pointer-events: none;
}

.game-thumb-overlay-icon {
  width: 75px;
  height: 75px;
  z-index: 2;
  position: relative;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  transition: opacity 0.25s, transform 0.25s;
  margin-bottom: 28px;
  z-index: 2;
  will-change: transform;
}

.game-thumb-card:hover .game-thumb-overlay-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.game-thumb-overlay:hover {
  background: rgba(80,200,150,0.11);
}

.game-thumb-list,
.thumb-scroll-list {
  align-items: flex-start;
  display: flex;
  gap: 9px;
  min-height: 0;
  overflow-x: auto;
  overflow-y: visible;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  margin-bottom: -20px;
  padding-top: 25px;
}

.thumb-scroll-list {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.thumb-scroll-list::-webkit-scrollbar {
  display: none;
}



/* ==================== topnav.css ==================== */

:root {
  --top-nav-logo-width: 170px;
  --top-nav-logo-height: 58px;
  --top-nav-logo-mobile-width: 130px;
  --top-nav-logo-mobile-height: 50px;
}

body {
  font-family: 'Ubuntu Sans', sans-serif;
  background-color: #f4f4f4;
  padding-top: 74px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  margin: 0;
}
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 71px;
  background-color: #337560;
  border-bottom: 3px solid #D1BF89;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.top-nav-buttons {
  display: flex;
  align-items: center;   /* Vertically align center */
  gap: 10px;             /* Add spacing between buttons */
}
.top-nav-logo-link {
  display: inline-flex;
  align-items: center;
}
.top-nav-logo {
  width: var(--top-nav-logo-width);
  height: var(--top-nav-logo-height);
  object-fit: contain;
  margin-left: 50px;
}

.top-nav-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 30px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f8c744;
}




/* Favorites button style */
.favorites-button {
  font-size: 14px;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.3s ease;
  color: #ffffff;
}

.favorites-button:hover {
  background-color: #205343;
}

.favorites-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* User controls group */
.top-user-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 10px;
}

/* Login button */
.btn-login {
  padding: 10px 22px;
  border: 1px solid #D1BF89;
  border-radius: 16px;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: box-shadow 300ms ease-in-out, color 300ms ease-in-out;
}

.btn-login:hover {
  color: white;
  box-shadow: 0 0 40px 40px #D1BF89 inset;
}

/* Sign-up button */

.btn-signup {
  width: 140px;
  height: 45px;
  border: none;
  border-radius: 19px;
  background: linear-gradient(to right,#77530a,#ffd277,#77530a,#77530a,#ffd277,#77530a);
  background-size: 250%;
  background-position: left;
  color: #ffd277;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 1s;
  overflow: hidden;
}

.btn-signup::before {
  position: absolute;
  content: "Sign Up";
  color: #ffd277;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 97%;
  height: 90%;
  border-radius: 18px;
  transition-duration: 1s;
  background-color: rgba(0, 0, 0, 0.842);
  background-size: 200%;
}

.btn-signup:hover {
  background-position: right;
  transition-duration: 1s;
}

.btn-signup:hover::before {
  background-position: right;
  transition-duration: 1s;
}

.btn-signup:active {
  transform: scale(0.95);
}



.btn-signup {
  /* existing styles... */
  animation: pulseSignup 1.8s ease-in-out infinite;
}

@keyframes pulseSignup {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(82, 255, 2, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(209, 191, 137, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(209, 191, 137, 0);
  }
}


/* ---- SEARCH BUTTON NEXT TO FAVORITES ---- */
.search-btop {
  font-size: 14px;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.3s ease;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
}

.search-btop:hover {
  background-color: #205343;
}

.search-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  /* Optional: match icon color if needed */
  filter: grayscale(100%) brightness(1.6) sepia(1) hue-rotate(-35deg) saturate(3) !important;
}

.search-button {
  font-size: 14px;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.3s ease;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
}

.search-button:hover {
  background-color: #205343;
}

.search-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* ---- SEARCH MODAL ---- */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 2000;
  backdrop-filter: blur(5px);
  padding-top: 100px;
}

.search-modal.show {
  display: flex;
  animation: modalFadeIn 0.25s;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.search-modal-content {
  background: #ffffff;
  width: 90%;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-modal-header {
  background: #337560;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.search-modal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-modal-body {
  padding: 25px;
}

.search-input-container {
  position: relative;
  margin-bottom: 25px;
}

.search-input-line {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-bottom: 3px solid #e0e0e0;
  background: transparent;
  font-size: 18px;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.search-input-line:focus {
  border-bottom-color: #337560;
}

.search-input-line::placeholder {
  color: #999;
  font-style: italic;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  padding: 10px 0;
}

/* ---- OVERRIDE game-thumb-card for modal (optional, clean look) ---- */
.search-modal .game-thumb-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin: 0;
}
.search-modal .game-thumb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.search-modal .game-thumb-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: #000;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.search-modal .game-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px 15px 0 0;
}

.search-modal .game-thumb-footer {
  position: relative;
  background: linear-gradient(90deg, #1c6051, #3ab99e);
  padding: 10px 12px;
  border-radius: 0 0 15px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-modal .game-thumb-title {
  color: #fff;
  font-weight: 500;
  font-size: 0.98rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-left: 8px;
}

.search-modal .game-fav-btn {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  transition: filter 0.15s;
}

.search-modal .game-fav-btn img {
  width: 25px;
  height: 25px;
  display: block;
  filter: grayscale(50%);
  transition: filter 0.18s;
}

.search-modal .game-fav-btn.favorited img {
  filter: grayscale(0%) brightness(1.4) drop-shadow(0 0 5px #ffc55b);
}

/* Overlay play button (optional, clean modal effect) */
.search-modal .game-thumb-overlay {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  overflow: hidden;
  text-decoration: none;
  transition: height 0.27s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.search-modal .game-thumb-card:hover .game-thumb-overlay {
  height: 100%;
  pointer-events: auto;
  transition-delay: 0.06s;
}

.search-modal .game-thumb-overlay-blur {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(19, 39, 33, 0.67);
  backdrop-filter: blur(3px);
  z-index: 1;
  pointer-events: none;
}

.search-modal .game-thumb-overlay-icon {
  width: 65px;
  height: 65px;
  z-index: 2;
  position: relative;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  transition: opacity 0.25s, transform 0.25s;
  margin-bottom: 22px;
}

.search-modal .game-thumb-card:hover .game-thumb-overlay-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.no-results {
  text-align: center;
  color: #666;
  font-size: 16px;
  padding: 40px 20px;
}

.no-results-icon {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 900px) {
  .search-modal-content {
    width: 98%;
    max-width: 97vw;
  }
  .search-modal {
    padding-top: 60px;
  }
}
@media (max-width: 768px) {
  .search-modal-content {
    width: 100%;
    margin: 0 3vw;
    border-radius: 11px;
  }
  .search-modal {
    padding-top: 38px;
  }
  .search-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .search-modal-header {
    padding: 14px 10px;
  }
  .search-modal-body {
    padding: 14px;
  }
  .search-input-line {
    font-size: 15px;
    padding: 11px 9px;
  }
}
@media (max-width: 480px) {
  .search-modal-content {
    border-radius: 0;
    margin: 0;
    min-width: 100vw;
    width: 100vw;
    max-width: 100vw;
  }
  .search-modal {
    padding-top: 0;
    align-items: flex-start;
  }
}








/* ==================== sidemenu.css ==================== */

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background-color: #1D4C42;
  overflow-y: auto;
  padding: 20px 16px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
  z-index: 999;

}

.menu-section h3 {
  color: #e7e7e7;
  font-size: 12px;
  margin-bottom: 10px;
  padding-left: 8px;
  font-weight: 50;
}


.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 30px;
}

.menu-list li a {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #337560;
  border-radius: 10px;
  padding: 7px 16px;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.menu-list li a:hover {
  background-color: #3b8f75;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-9px) scale(1.15); }
  50% { transform: translateY(-5px) scale(1.07); }
  70% { transform: translateY(-2px) scale(1.04);}
}

.menu-list li a:hover img {
  animation: bounce 0.7s cubic-bezier(.28,.84,.42,1) both;
  filter: drop-shadow(0 2px 10px #ffdd70);
}

.menu-list li img {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.menu-list .tag {
  font-size: 9px;
  color: #D1BF89;
  font-weight: 600;
}

.daily-checkin-video {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin-top: 80px;
  margin-bottom: 38px;
}


.tag {
  font-size: 9px;
  color: #D1BF89;
  font-weight: 400;
  animation: pulseChat 1.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes pulseChat {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}



/* ==================== CLEAN FOOTER CSS ==================== */

/* Root Variables */
:root {
  --footer-font-size: 13px;
  --footer-title-size: 15px;
  --footer-link-color: #fff;
  --footer-bg: #16443e;
  --footer-divider: #5ac8a6;
}

/* Footer Line */
.footer-line {
  width: 100vw;
  height: 22px;
  background: #1f5a51;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  z-index: 1;
}

/* Footer Background */
.footer-bg {
  width: 100vw;
  background: var(--footer-bg);
  padding-top: 40px;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Footer Container - Aligned with main-container */
.footer-cont {
  position: relative;
  left: calc(50% + 110px);
  transform: translateX(-50%);
  max-width: min(1440px, calc(100vw - 220px));
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--footer-link-color);
  font-size: var(--footer-font-size);
}

/* Footer Top Section */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

/* Footer Links */
.footer-links {
  display: flex;
  gap: 42px;
}

.footer-links a {
  color: #e2e2e2;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f0df80;
  text-decoration: none;
}

.footer-links > div {
  min-width: 120px;
}

.footer-links strong {
  font-size: var(--footer-title-size);
  margin-bottom: 20px;
  display: block;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

.footer-links li {
  color: var(--footer-link-color);
  cursor: pointer;
  transition: color 0.2s;
}

/* Age Restriction */
.age-restrict img {
  height: 32px;
}

/* Footer Payments */
.footer-payments {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-payments img {
  height: 45px;
  filter: brightness(0) invert(1);
}

/* Footer Socials */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 0;
}

.footer-socials-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-follow-label {
  font-size: 11px;
  margin-right: 8px;
  color: #6dd8a6;
  min-width: 90px;
}

.footer-socials img {
  height: 28px;
  filter: brightness(0) invert(1);
  cursor: pointer;
  transition: filter 0.2s;
}

.footer-socials img:hover {
  filter: brightness(0) invert(0.7) sepia(1) hue-rotate(100deg) saturate(3);
}

/* Footer Payments & Socials Container */
.footer-payments-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* Footer Divider */
.footer-divider {
  margin: 20px 0 16px 0;
  height: 1px;
  width: 100%;
  background: #1c8071;
  border-radius: 2px;
  opacity: 0.95;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
}

/* Footer Branding */
.footer-branding {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 400px;
  max-width: 70%;
}

.footer-brand-text {
  font-size: 13px;
  line-height: 1.4;
}

/* Footer U2IS */
.footer-u2is {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  font-size: 12px;
  color: #a3a2a2;
  margin-left: auto;
  text-align: left;
}

.footer-u2is img {
  height: 34px;
}

.footer-u2is span {
  display: inline-block;
  line-height: 1.2;
}

/* Footer Copyright */
.footer-copyright {
  width: 100vw;
  background: #0a2521;
  text-align: center;
  color: #b7ece0;
  font-size: 13px;
  margin-top: 20px;
  margin-bottom: 0;
  letter-spacing: 1px;
  padding: 13px 0 9px 0;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  z-index: 1;
}

/* Footer Dropdown Toggle */
.footer-dropdown-toggle {
  all: unset;
  font-size: var(--footer-title-size);
  font-weight: 600;
  color: inherit;
  display: block;
  margin-bottom: 12px;
}

/* ==================== footerend ==================== */

.mobile-bottom-nav {
  display: none;
}


.mobile-menu-overlay,
.mobile-menu-slider,
.mobile-bottom-nav,
.logo-slider-mobile {
  display: none;
}



/* ==================== logincss ==================== */

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #f8f8f8;
}

.main-container {
  display: flex;
  min-height: 100vh;
}

/* LEFT PANEL */
.auth-panel {
  background: #f8f8f8;
  width: 410px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px;
  position: relative;
  box-shadow: 0 0 40px 0 rgba(50,50,50,0.08);
  z-index: 2;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}
.auth-header a {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 38px;
}
.auth-header img {
  height: 36px;
  width: auto;
  display: block;
}

/* Tabs */
.auth-tabs {
  display: flex;
  margin-bottom: 28px;
  border-bottom: 1.5px solid #e5e5e5;
}
.auth-tab-btn {
  padding: 10px 0 14px 0;
  width: 50%;
  text-align: center;
  background: none;
  border: none;
  font-size: 19px;
  color: #3a3a3a;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all .18s;
}
.auth-tab-btn.active {
  color: #1f6f5b;
  border-bottom: 3px solid #1f6f5b;
  background: none;
}

/* Input styles from Uiverse (lightly adjusted) */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin-bottom: 13px;
}
.input-wrap {
  position: relative;
  width: 100%;
}
.input-field {
  width: 100%;
  padding: 14px 46px 14px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1.4px solid #e3e3e3;
  font-size: 16px;
  transition: border-color .2s;
  color: #1b1b1b;
  outline: none;
  box-sizing: border-box;
}
.input-field:focus {
  border-color: #1f6f5b;
}
.input-icon {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.76;
}

/* Custom Checkbox from Uiverse */
.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
}
.checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.checkbox-custom {
  display: inline-block;
  width: 21px;
  height: 21px;
  background: #f1f1f1;
  border-radius: 6px;
  border: 1.5px solid #d6d6d6;
  transition: background .18s, border-color .18s;
  position: relative;
}
.checkbox-input:checked + .checkbox-custom {
  background: #1f6f5b;
  border-color: #1f6f5b;
}
.checkbox-custom:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  opacity: 0;
  transform: scale(0.8) rotate(45deg);
  transition: opacity 0.15s;
}
.checkbox-input:checked + .checkbox-custom:after {
  opacity: 1;
}

/* Login button */
.login-btn {
  width: 100%;
  background: #1f6f5b;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  margin: 18px 0 8px 0;
  transition: background .2s;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(34, 51, 48, 0.08);
}
.login-btn:hover {
  background: #238e71;
}

.form-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  margin-bottom: 7px;
  font-size: 15px;
}
.forgot-link {
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 3px;
}
.signup-text {
  color: #b0b0b0;
}
.signup-link {
  color: #1f6f5b;
  text-decoration: underline;
  margin-left: 4px;
  cursor: pointer;
}
.recaptcha-note {
  color: #a3a3a3;
  font-size: 13px;
  margin-top: 13px;
  text-align: center;
  line-height: 1.5;
}

/* RIGHT PANEL */
.right-panel {
  flex: 1 1 0;
  background: linear-gradient(90deg, rgba(13,130,99,1) 0%, rgba(31,207,174,1) 35%, rgba(255,224,153,1) 100%);
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.right-panel-content {
  width: 100%;
  max-width: 540px;
  padding: 48px 24px 32px 24px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.right-panel-content img {
  max-width: 110px;
  margin-bottom: 26px;
}
.right-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 36px;
  text-shadow: 0 4px 12px rgba(10,50,50,0.13);
}

.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 33px;
  justify-content: center;
}
.feature-block {
  flex: 1 1 160px;
  min-width: 170px;
  max-width: 205px;
  background: rgba(0,0,0,0.03);
  border-radius: 14px;
  padding: 20px 15px 18px 15px;
  margin-bottom: 10px;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(31, 111, 91, 0.07);
}
.feature-block h2 {
  font-size: 1.4rem;
  margin: 0 0 7px 0;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.feature-block p {
  font-size: 1.06rem;
  margin: 0;
  color: #fffde6;
  font-weight: 400;
}

@media (max-width: 850px) {
  .main-container {
    flex-direction: column;
  }
  .auth-panel {
    width: 100%;
    min-width: 0;
    min-height: 350px;
    box-shadow: none;
    padding: 32px 10vw 24px 10vw;
  }
  .right-panel-content {
    padding: 34px 7vw 18px 7vw;
  }
}

@media (max-width: 600px) {
  .main-container {
    flex-direction: column;
  }
  .auth-panel {
    padding: 25px 8px;
  }
  .right-panel-content {
    padding: 25px 7px;
  }
  .features-row {
    gap: 11px;
  }
  .feature-block {
    min-width: 0;
    max-width: 100%;
    font-size: 15px;
    padding: 13px 5px 12px 7px;
  }
  .right-title {
    font-size: 1.42rem;
    margin-bottom: 20px;
  }
}


/* =========================================================
   RESPONSIVE LAYOUT
   Tablet / iPad: up to 1024px
   Mobile: up to 600px
   Small mobile: up to 393px
   ========================================================= */

@media (max-width: 1024px) {

  .mobile-menu-overlay {
    display: none;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .mobile-menu-slider {
    display: block !important;
  }
  .logo-slider-mobile {
    display: grid !important;
  }
  .mobile-bottom-nav {
    display: flex !important;
  }


  /* ======= ROOT VARIABLES FOR MOBILE ======= */
  :root {
    --div-bar-space-top: 0px;
    --div-bar-space-bottom: 10px;
    --thumb-size: 137px;
    --thumb-radius: 10px;
    --thumb-footer-radius: 0 0 10px 10px;
    --thumb-overlay-icon-size: 55px;
    --game-thumb-space-top: 0px;
    --game-thumb-space-bottom: 0px;
  }

  /* ======= TOP NAV ======= */
  .top-nav {
    justify-content: flex-start;
    height: 60px !important;
    padding: 0 0 0 14px !important;
  }
  .top-nav-logo {
    height: var(--top-nav-logo-mobile-height) !important;
    width: auto !important;
    max-width: var(--top-nav-logo-mobile-width) !important;
    margin-left: 12px !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }
  .top-nav > *:not(.top-nav-logo-link):not(.balance-pill-mobile) {
    display: none !important;
  }

  /* ======= HIDE SIDE MENU & TOP SEARCH ======= */
  .side-menu,
  .top-search-wrapper,
  .top-search,
  .search-input,
  .search-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  /* ======= BOTTOM NAV (MOBILE ONLY) ======= */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw; min-width: 100vw; max-width: 100vw;
    background: #f9f7f6;
    z-index: 1000;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    height: 62px;
    border-top: 1px solid #e6e3e1;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    padding: 0 8px;
  }
  .mobile-nav-btn {
    text-decoration: none;
    flex: 1 1 0;
    height: 48px;
    margin: 0 2px;
    background: none;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #337560;
    border-radius: 12px;
    transition: background 0.18s;
    padding: 0;
    min-width: 0;
  }
  .mobile-nav-btn img {
    width: 20px;
    height: 20px;
    filter: grayscale(1) brightness(0.5) contrast(1.2);
    display: block;
    margin: 0 auto;
  }
  .btn-login-mobile {
    color: #205343;
    background: #e9ebe8;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px !important;
  }
  .btn-signup-mobile {
    color: #fff;
    background: #337560;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px !important;
    padding: 0 26px !important;
    flex: 1.5 1 0 !important;
    min-width: 0 !important;
  }
  .balance-pill-mobile {
    margin-left: auto !important;
    margin-right: 14px !important;
  }
  .mobile-user-btn {
    gap: 6px;
  }
  .mobile-user-btn img,
  .mobile-home-btn img,
  .mobile-logout-btn img {
    width: 22px;
    height: 22px;
  }
  #mobile-search-btn img {
    width: 25px;
    height: 25px;
  }
  .mobile-user-name {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #205343;
  }
  body, .main-container {
    padding-top: 60px !important;  /* Match the mobile nav height */
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 72px !important;  /* Space for bottom nav */
    margin: 0 !important;
  }

  /* ======= MAIN CONTAINER AND SECTION SPACING ======= */
  html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
  }
  .main-container {
    max-width: 100vw !important;
    min-width: 100vw !important;
    overflow-x: hidden !important;
    padding: 10px 5px 24px 5px !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    gap: 0 !important;
  }
  .main-container > * {
    margin: 0 !important;
    padding: 0 !important;
  }
  .section, .games-section {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ======= BANNER SLIDER ======= */
  .banner-wrapper,
  .main-slider,
  .main-slider .slides,
  .main-slider .slide,
  .main-slider .slide img {
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  .slider-dots {
    display: none !important;
  }
  .main-slider {
    height: 170px !important;
    min-height: 170px !important;
    max-height: none !important;
  }
  .main-slider .slide,
  .main-slider .slide img {
    height: 170px !important;
    min-height: 170px !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  /* ======= GAME THUMBNAILS ======= */
  .game-thumb-card {
    width: var(--thumb-size) !important;
    min-width: var(--thumb-size) !important;
    border-radius: var(--thumb-radius) !important;
    margin-top: var(--game-thumb-space-top) !important;
    margin-bottom: var(--game-thumb-space-bottom) !important;
  }
  .game-thumb-img {
    width: var(--thumb-size) !important;
    height: var(--thumb-size) !important;
    border-radius: var(--thumb-radius) var(--thumb-radius) 0 0 !important;
  }
  .game-thumb-img img,
  .game-thumb-img video {
    border-radius: var(--thumb-radius) var(--thumb-radius) 0 0 !important;
  }
  .game-thumb-overlay,
  .game-thumb-overlay-blur {
    border-radius: var(--thumb-radius) var(--thumb-radius) 0 0 !important;
  }
  .game-thumb-overlay-icon {
    width: var(--thumb-overlay-icon-size) !important;
    height: var(--thumb-overlay-icon-size) !important;
    margin-bottom: 10px !important;
  }
  .game-thumb-footer {
    border-radius: var(--thumb-footer-radius) !important;
    padding: 8px 8px !important;
    min-height: 32px !important;
    font-size: 13px !important;
  }
  .game-thumb-title {
    font-size: 13px !important;
    max-width: 100px !important;
  }
  .game-fav-btn img {
    width: 18px !important;
    height: 18px !important;
  }
  .game-thumb-list,
  .thumb-scroll-list {
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ======= BAR SPACING (DIV-BAR & PLAIN) ======= */
  .div-bar,
  .div-bar-plain {
    margin-top: var(--div-bar-space-top) !important;
    margin-bottom: var(--div-bar-space-bottom) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .div-bar h2, .div-bar-plain h2,
  .div-bar h3, .div-bar-plain h3 {
    margin: 0 !important;
    padding: 0 !important;
  }

  @media (max-width: 1024px) {
    .tdiv-title {
      margin-left: 10px;
    }
  }

  @media (max-width: 1024px) {
    .div-bar-plain {
      margin-bottom: 0px !important;
      padding-bottom: 0 !important;
    }

    .footer-copyright {
      font-size: 10px;
      padding: 10px 0;
      line-height: 1.4;
    }
  }

  /* ======= FOOTER ======= */
  /* UPDATED MOBILE FOOTER STYLES - Replace in main.css */

@media (max-width: 1024px) {
  .footer-cont,
  .footer-bottom,
  .footer-payments-socials {
    flex-direction: column !important;
    align-items: center !important;  /* Changed from stretch to center */
    gap: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;  /* Changed from 50px to 0 */
    margin-left: 0px !important;
  }

  .footer-branding {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center !important;  /* Added center */
    gap: 12px;
    width: 100%;  /* Added full width */
  }

  .footer-brand-text {
    flex-basis: 100%;
    text-align: center !important;  /* Changed from left to center */
    font-size: 13px;
    line-height: 1.4;
    margin-top: 8px;
    padding: 0 12px;
    margin-left: 0 !important;  /* Changed from -4px to 0 */
  }

  .footer-u2is {
    margin-left: auto !important;  /* Changed from 0 to auto */
    margin-right: auto !important;  /* Added */
    margin-top: 10px !important;
    align-items: center !important;  /* Changed from flex-start to center */
    text-align: center !important;  /* Changed from left to center */
  }

  .footer-payments {
    margin-bottom: 16px;
    display: flex;  /* Added */
    justify-content: center !important;  /* Added */
    width: 100%;  /* Added */
  }

  .footer-payments img {
    height: auto;
    max-height: 23px;
    width: auto;
    object-fit: contain;
  }

  .footer-links strong {
    font-size: 16px !important;
    display: block;
    width: 100%;
    background: #16443e;
    color: #fff;
    padding: 8px 15px;
    font-size: 13px !important;
    font-weight: 500;
    margin-bottom: 0;
    border-radius: 6px;
    border: 1px solid #2d6b5f;
  }

  .footer-links li,
  .footer-links a {
    font-size: 14px !important;
  }

  .footer-follow-label {
    font-size: 14px !important;
    text-align: center !important;  /* Added */
  }

  .footer-links {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    align-items: stretch !important;  /* Changed from center to stretch */
  }

  /* Fixed nested media query - removed outer wrapper */
  .footer-bg {
    padding-left: 0 !important;  /* Changed from 25px to 0 */
    padding-right: 0 !important;  /* Added */
  }

  .footer-cont {
    padding-left: 20px !important;  /* Changed from 0px to 20px */
    padding-right: 20px !important;  /* Changed from 10px to 20px */
    left: 0 !important;  /* Added */
    transform: none !important;  /* Added */
  }

  .footer-dropdown {
    transform: none !important;
    width: 100%;
    max-width: none;
    border: 1px solid #2d6b5f;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto 8px auto;
    /* Remove any min-height or padding that creates space */
    min-height: auto !important;
    padding: 0 !important;
  }

  .footer-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #16443e;
    border: none;
    width: 100%;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    padding: 8px 15px;
    height: 36px;
    cursor: pointer;
    margin: 0 !important;  /* No margin */
    box-sizing: border-box;
  }

  .footer-dropdown-toggle::after {
    content: "▼";
    font-size: 10px;  /* Smaller arrow */
    margin-left: auto;
    transition: transform 0.2s ease;
  }

  .footer-dropdown.active .footer-dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .footer-dropdown-content {
    display: none !important;
    padding: 8px 15px;
    background: #0e332d;
    text-align: center;
    margin: 0 !important;
    max-height: 0;
    overflow: hidden;
  }

  .footer-dropdown.active .footer-dropdown-content {
    display: block !important;
    max-height: 500px;  /* Allow expansion when active */
  }

  .footer-dropdown-content a {
    display: block;
    padding: 4px 0;  /* Very thin link padding */
    color: #ccc;
    text-decoration: none;
    font-size: 12px;  /* Smaller text */
  }

  .footer-dropdown-content a:hover {
    color: #f0df80;
  }

  /* Center socials section */
  .footer-socials-row {
    width: 100%;  /* Added */
    justify-content: center !important;  /* Added */
  }

  .footer-socials {
    gap: 10px;
    justify-content: center !important;  /* Added */
  }

  .footer-socials img {
    height: 36px !important;
    width: 36px !important;
  }
}



 /* ======= MOBILE GAME BUTTONS ======= */


 :root {
  --mobile-btn-size: 66px;
  --mobile-btn-gap: 5px;
  --mobile-btn-radius: 20px;
  --mobile-btn-icon-size: 35px;
  --mobile-btn-text-size: 11px;
}

@media (max-width: 1024px) {
  .main-slider .slide {
    transform: none !important;
  }

  .logo-slider-mobile {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--mobile-btn-gap);
    width: 100%;
    max-width: 100% !important;
    justify-items: center;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
  .b-games.square-btn {
    width: 130px;
    height: 70px;
    padding: 7px 0 0 0;
    border-radius: var(--mobile-btn-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    color: #fff;
    border: 0;
    font-weight: bold;
    font-size: var(--mobile-btn-text-size);

    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    cursor: pointer;

    box-shadow: rgba(255, 255, 255, 0.1) -3px -3px 9px inset,
                rgba(255, 255, 255, 0.15) 0 3px 9px inset,
                rgba(255, 255, 255, 0.6) 0 1px 1px inset,
                rgba(0, 0, 0, 0.3) 0 -8px 36px inset,
                rgba(255, 255, 255, 0.6) 0 1px 5px inset,
                rgba(0, 0, 0, 0.2) 2px 19px 31px;
    background-color: #0b9580;
    background-image:
      radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, .23) 0, transparent 86.18%),
      radial-gradient(66% 66% at 26% 20%, rgba(255, 255, 255, .55) 0, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%);
    transition: all 150ms ease-in-out;
  }

  .b-games.square-btn:hover {
    filter: brightness(1.05);
  }

  .b-games.square-btn:active {
    transform: scale(.95);
  }

  .b-games.square-btn img {
    width: var(--mobile-btn-icon-size);
    height: var(--mobile-btn-icon-size);
    margin-bottom: 5px;
    display: block;
  }

  .b-games.square-btn .text {
    font-size: var(--mobile-btn-text-size);
    color: #fff;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;

  }

  .b-games.square-btn {
    text-decoration: none !important;
  }
}

.logo-slider-mobile {
  display: none;
}


 /* ======= Mobile Slider Menu ======= */
 :root {
  --menu-icon-size: 20px;
  --menu-banner-height: 70px;
  --menu-box-gap: 3px;
  --menu-font-size: 0.90rem;
}

@media (max-width: 1024px) {
  .mobile-menu-slider,
  .mobile-menu-title,
  .menu-box-label,
  .mobile-menu-box,
  .mobile-menu-logo,
  .mobile-menu-banner {
    font-size: var(--menu-font-size);
  }

  .mobile-menu-overlay {
    display: none !important;  /* Force hide */
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0,0,0,0.5);
    transition: opacity 0.25s;
  }
  .mobile-menu-overlay.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  .mobile-menu-slider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 0 32px 0 rgba(0,0,0,0.20);
    padding: 0 12px 18px 12px;
    min-height: 85vh;
    max-height: 120vh;
    overflow-y: auto;
    transform: translateY(100%);
    animation: none;
  }
  .mobile-menu-overlay.active .mobile-menu-slider {
    transform: translateY(0);
    animation: bounceSlideUp 0.56s cubic-bezier(.34,1.56,.64,1) 1;
  }

  .mobile-menu-slider {
    transition: transform 0.25s ease;
    will-change: transform;
    touch-action: pan-y;
  }

  @keyframes bounceSlideUp {
    0%   { transform: translateY(100%); }
    80%  { transform: translateY(-14px);}
    90%  { transform: translateY(3px);}
    100% { transform: translateY(0); }
  }

  .mobile-menu-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    width: 34px;
    height: 34px;
    z-index: 3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu-close img {
    width: 27px;
    height: 27px;
    display: block;
  }

  .mobile-menu-drag-bar {
    width: 42px;
    height: 7px;
    background: #ddd;
    border-radius: 8px;
    margin: 18px auto 16px auto;
    opacity: 0.88;
  }

  .mobile-menu-logo {
    text-align: center;
    margin: 0 0 10px 0;
  }

  .mobile-menu-banner {
    text-align: center;
    margin: 32px 0 18px 0;
  }
  .mobile-menu-banner img {
    width: 100%;
    max-width: 400px;
    height: 90px;
    object-fit: cover;
    border-radius: 14px;
    background: #726968;
  }
  .mobile-menu-section {
    margin-bottom: 16px;
  }
  .mobile-menu-title {
    font-size: 0.85rem;
    margin-bottom: 7px;
    color: #232323;
    letter-spacing: 0.01em;
  }
  .mobile-menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--menu-box-gap);
    margin-bottom: 7px;
  }
  .mobile-menu-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 2px;
    text-decoration: none;
    color: inherit;
    font-size: inherit;
  }
  .menu-box-bg {
    width: 55px;
    height: 55px;
    background: #246e5f;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.16s, box-shadow 0.16s, transform 0.14s;
    box-shadow: 0 2px 8px 0 rgba(40,40,70,0.08);
    margin-bottom: 4px;
  }
  .menu-box-bg img {
    width: 35px;
    height: 35px;
    display: block;
  }
  .menu-box-label {
    font-size: 0.80rem;
    color: #232323;
    font-weight: 500;
    margin-top: 2px;
    text-align: center;
    letter-spacing: 0.01em;
    line-height: 1.2;
  }
  .mobile-menu-box:hover .menu-box-bg,
  .mobile-menu-box:active .menu-box-bg {
    background: #184a3f;
    transform: translateY(-2px) scale(1.08);
  }

}

@media (max-width: 1024px) {

  .mobile-menu-overlay,
  .mobile-menu-slider,
  .mobile-bottom-nav,
  .logo-slider-mobile {
    display: unset;
  }
}
@media (max-width: 1024px) {
  .auth-panel {
    padding-top: 200px !important;  /* Adjust to your liking */
  }
  }


}

/* Fluid six-column game controls for iPad portrait and narrow tablets. */
@media (max-width: 1024px) {
  .logo-slider-mobile {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 100% !important;
  }

  .b-games.square-btn {
    width: min(130px, calc((100vw - 35px) / 6));
  }
}

/* ===== MOBILE: up to 600px ===== */
@media (max-width: 600px) {
  .logoloop {
    margin: 10px auto !important;
    padding: 4px 0 !important;
  }

  .logo-slider-mobile {
    max-width: 100% !important;
  }

  .b-games.square-btn {
    width: min(var(--mobile-btn-size), calc((100vw - 35px) / 6));
    height: min(var(--mobile-btn-size), calc((100vw - 35px) / 6));
  }
}

/* ===== SMALL MOBILE: up to 393px ===== */
@media (max-width: 393px) {
  :root {
    --div-bar-space-bottom: 5px;
    --thumb-size: 123px;
    --mobile-btn-size: 59px;
    --mobile-btn-radius: 18px;
    --mobile-btn-icon-size: 32px;
    --menu-icon-size: 10px;
    --menu-box-gap: 1px;
  }

  .div-bar-plain .tdiv-title {
    font-size: 0.8rem !important;
  }

  .tdiv-title {
    margin-left: 10px !important;
    font-size: 0.75rem !important;
  }

  .div-title,
  .div-viewall {
    font-size: 0.85rem !important;
  }

  .footer-copyright {
    padding: 10px 0;
    font-size: 9px;
    line-height: 1.4;
  }

  .footer-socials img {
    width: 25px !important;
    height: 25px !important;
  }

  .mobile-menu-slider {
    min-height: 92vh;
  }

  .mobile-menu-box {
    width: 59px;
  }

  .menu-box-label {
    font-size: 0.68rem;
  }
}

/* ===== SHARED CALENDAR POPUP ===== */
.calendar-popup[aria-hidden="true"] {
  display: none;
}

.calendar-popup {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  place-items: center;
  padding: 18px;
}

.calendar-popup.active {
  display: grid;
}

.calendar-popup__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.calendar-popup__frame-wrap {
  position: relative;
  z-index: 1;
  width: min(980px, 96vw);
  height: min(760px, 96dvh);
}

.calendar-popup__frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 28px;
  background: transparent;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:where(button, a, input, iframe):focus-visible {
  outline: 3px solid #ffd24d;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .calendar-popup {
    padding: 0;
  }

  .calendar-popup__frame-wrap {
    width: 100vw;
    height: 100dvh;
  }

  .calendar-popup__frame {
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-slider,
  .calendar-popup,
  .calendar-popup__frame-wrap {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
  .footer-line,
  .footer-bg {
    left: 0;
    width: 100%;
    margin-left: 0;
  }

  .footer-bg {
    padding-top: 28px;
  }

  .footer-cont {
    left: 0 !important;
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(18px, 4vw, 36px) !important;
    transform: none !important;
  }

  .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    width: 100%;
  }

  .footer-links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .footer-links > div,
  .footer-dropdown {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
  }

  .footer-dropdown-toggle {
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
  }

  .footer-payments-socials {
    width: 100%;
    align-items: center !important;
    gap: 18px !important;
  }

  .footer-payments {
    justify-content: center !important;
    width: 100%;
    gap: clamp(14px, 4vw, 28px);
    margin: 0;
  }

  .footer-payments img {
    width: auto;
    max-width: 120px;
    max-height: 24px;
  }

  .footer-socials-row {
    justify-content: center !important;
    width: 100%;
  }

  .footer-follow-label {
    min-width: auto;
    margin-right: 4px;
  }

  .footer-socials {
    justify-content: center !important;
    gap: 12px;
  }

  .footer-socials img {
    width: 30px !important;
    height: 30px !important;
  }

  .footer-divider {
    width: 100%;
    margin: 22px 0 18px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
    gap: 14px !important;
  }

  .footer-branding {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center !important;
    width: 100%;
    min-width: 0;
    max-width: 620px;
    gap: 10px 14px;
  }

  .footer-branding > img {
    width: auto;
    height: 34px;
  }

  .footer-branding > div:not(.footer-brand-text) img {
    width: auto;
    height: 32px !important;
  }

  .footer-brand-text {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 580px;
    margin: 0;
    padding: 0 12px;
    text-align: center !important;
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-u2is {
    margin: 0 auto !important;
    text-align: center !important;
  }

  .footer-u2is a {
    align-items: center !important;
    justify-content: center;
    gap: 7px !important;
  }

  .footer-u2is img {
    width: auto;
    height: 20px !important;
  }

  .footer-u2is span {
    font-size: 10px;
    line-height: 1.25;
  }

  .footer-copyright {
    left: 0;
    width: 100%;
    margin: 18px 0 0;
    padding: 11px 16px;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.7px;
  }
}

@media (max-width: 600px) {
  .footer-bg {
    padding-top: 22px;
  }

  .footer-cont {
    padding: 0 14px !important;
  }

  .footer-top {
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px !important;
  }

  .footer-dropdown-toggle {
    min-height: 44px;
    padding: 11px 14px;
  }

  .footer-payments {
    gap: 12px 18px;
  }

  .footer-payments img {
    max-width: 78px;
    max-height: 20px;
  }

  .footer-socials-row {
    flex-direction: column;
    gap: 10px;
  }

  .footer-follow-label {
    margin: 0;
    text-align: center;
  }

  .footer-socials {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-socials img {
    width: 28px !important;
    height: 28px !important;
  }

  .footer-divider {
    margin: 18px 0 16px;
  }

  .footer-branding {
    max-width: 360px;
    gap: 8px 10px;
  }

  .footer-branding > img {
    height: 30px;
  }

  .footer-branding > div:not(.footer-brand-text) img {
    height: 28px !important;
  }

  .footer-brand-text {
    max-width: 350px;
    padding: 0 4px;
    font-size: 11px;
    line-height: 1.5;
  }

  .footer-u2is img {
    height: 18px !important;
  }

  .footer-u2is span {
    font-size: 9px;
  }

  .footer-copyright {
    margin-top: 16px;
    padding: 10px 12px;
    font-size: 9px;
    letter-spacing: 0.5px;
  }
}

/* ==================== Demo auth (logged-in state) ==================== */

/* Visibility: guest vs member elements */
body:not(.is-logged-in) .member-only { display: none !important; }
body.is-logged-in .guest-only { display: none !important; }

/* Mobile-only balance pill in the top nav: hidden by default (desktop uses
   the pill inside .top-user-controls) */
.balance-pill-mobile { display: none !important; }
@media (max-width: 1024px) {
  body.is-logged-in .balance-pill-mobile { display: inline-flex !important; }
}

/* Member controls (desktop top nav) */
.member-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 5px 5px 14px;
  color: #fff;
  text-decoration: none;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.18s;
}
.balance-pill:hover { background: rgba(0, 0, 0, 0.4); color: #fff; }
.balance-add {
  display: block;
  flex: none;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.profile-chip-wrap { position: relative; }
.profile-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.18s;
}
.profile-chip:hover { background: rgba(255, 255, 255, 0.12); }
.profile-chip-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.profile-chip-caret { font-size: 12px; opacity: 0.8; }

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 8px;
  display: none;
  z-index: 1200;
}
.profile-chip-wrap.open .profile-dropdown { display: block; }
.profile-dropdown a,
.profile-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 10px;
  color: #262626;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.profile-dropdown a:hover,
.profile-dropdown button:hover { background: #f0f4f2; }
.profile-dropdown img { width: 18px; height: 18px; object-fit: contain; }

/* Toast (members-only notices) */
.p77-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 16px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #262626;
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 4000;
  max-width: 92vw;
}
.p77-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.p77-toast a {
  color: #08df8d;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* ==================== Deposit page ==================== */

.wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #2d6a56;
  border-radius: 16px;
  padding: 16px 22px;
  font-family: 'Ubuntu', sans-serif;
}
.wallet-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wallet-head-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.wallet-head-text h1 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
}
.wallet-head-text span {
  color: #cfe5dc;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.wallet-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.wallet-tabs span { color: rgba(255, 255, 255, 0.4); }
.wallet-tabs a {
  color: #fff;
  text-decoration: none;
  transition: color 0.15s;
}
.wallet-tabs a:hover { color: #ffd24d; }
.wallet-tabs a.active { color: #ffc93c; }

.deposit-panel {
  display: flex;
  gap: 28px;
  background: #1d4b3c;
  border-radius: 16px;
  padding: 26px 28px 34px;
  font-family: 'Ubuntu', sans-serif;
}
.deposit-methods { flex: 1 1 auto; min-width: 0; }
.deposit-methods h2 {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.deposit-methods h2 + .method-grid { margin-bottom: 26px; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.method-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 8px 18px;
  background: #fff;
  border: 3px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #23313f;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.method-tile:hover { transform: translateY(-2px); }
.method-tile.selected {
  border-color: #08df8d;
  box-shadow: 0 0 0 3px rgba(8, 223, 141, 0.25);
}
.method-tile > img {
  max-height: 30px;
  max-width: 96px;
  object-fit: contain;
}
.method-tile .coin-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.coin-stack {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 26px;
  flex: none;
}
.coin-stack .coin-icon { position: absolute; left: 0; top: 0; }
.coin-stack .coin-icon-badge {
  left: auto;
  right: 0;
  top: auto;
  bottom: -2px;
  width: 18px;
  height: 18px;
}
.method-label-stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.deposit-form {
  flex: 0 0 420px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 28px;
}
.amount-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.amount-shortcuts button {
  flex: 1 1 auto;
  background: #3c8a6e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background 0.15s;
}
.amount-shortcuts button:hover { background: #4da181; }

.deposit-info-row {
  display: flex;
  gap: 14px;
}
.deposit-limits,
.bonus-box {
  flex: 1 1 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
}
.deposit-limits .limits-title,
.bonus-box label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #bcd9cd;
  margin-bottom: 8px;
}
.limits-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  margin-top: 2px;
}
.bonus-select-wrap {
  position: relative;
}
.bonus-select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
.bonus-select-wrap select {
  width: 100%;
  background: #16382d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 9px 38px 9px 10px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.deposit-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
}
.deposit-input::placeholder { color: rgba(255, 255, 255, 0.55); font-style: italic; }
.deposit-input:focus {
  outline: none;
  border-color: #08df8d;
}
.deposit-input[aria-invalid='true'] {
  border-color: #ffb4a8;
  box-shadow: 0 0 0 2px rgba(255, 180, 168, 0.24);
}
.deposit-input[type='number']::-webkit-outer-spin-button,
.deposit-input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.deposit-input[type='number'] { -moz-appearance: textfield; appearance: textfield; }

.deposit-submit {
  align-self: center;
  min-width: 260px;
  background: #52b788;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 12px 30px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.deposit-submit:hover {
  background: #43a377;
  transform: translateY(-1px);
}
.deposit-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

/* Crypto modal */
.crypto-modal[aria-hidden='true'] { display: none; }
.crypto-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.crypto-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.crypto-modal__card {
  position: relative;
  width: min(560px, 94vw);
  background: #eef4fb;
  border: 1px solid #cddcee;
  border-radius: 16px;
  padding: 24px 26px;
  font-family: 'Ubuntu', sans-serif;
  color: #22303e;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.crypto-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #5c6b7a;
  cursor: pointer;
}
.crypto-send-line {
  font-size: 15px;
  margin-bottom: 16px;
  padding-right: 24px;
}
.crypto-send-line strong { color: #1f6fe0; font-weight: 500; }
.crypto-fiat { color: #5c6b7a; }
.crypto-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.crypto-qr {
  flex: 0 0 132px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.crypto-qr img {
  width: 100%;
  height: auto;
  display: block;
}
.crypto-details { flex: 1 1 auto; min-width: 0; }
.crypto-addr-label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}
.crypto-addr-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 10px 12px;
}
.crypto-addr {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  word-break: break-all;
}
.crypto-copy-btn {
  flex: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}
.crypto-copy-btn:hover { background: #e6eef7; }
.crypto-copy-btn img { width: 18px; height: 18px; display: block; }
.crypto-quote-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid #d4e0ec;
  border-radius: 999px;
  padding: 5px 12px;
  background: #fff;
}
.quote-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: #1c7a4e;
}
.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}
.quote-status.expired { color: #d0342c; }
.quote-status.expired .quote-dot { background: #d0342c; }
.refresh-rate-btn {
  background: #1f6fe0;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}
.refresh-rate-btn:hover { background: #1a5fc2; }
.crypto-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #5c6b7a;
  line-height: 1.5;
}
.crypto-confirm {
  display: block;
  width: 100%;
  margin-top: 18px;
  background: #1f6fe0;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.crypto-confirm:hover { background: #1a5fc2; }

@media (max-width: 1024px) {
  /* Restore panel padding stripped by the generic mobile ".main-container > *" reset */
  .main-container > .wallet-head {
    padding: 12px 14px !important;
    margin: 10px 6px 0 !important;
    border-radius: 12px !important;
  }
  /* Four tabs must fit on one line on mobile */
  .wallet-tabs {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.3px;
  }
  .main-container > .deposit-panel {
    padding: 18px 14px 26px !important;
    margin: 12px 6px !important;
    border-radius: 12px !important;
  }
  .deposit-panel {
    flex-direction: column;
    gap: 22px;
  }
  .deposit-form {
    flex: 1 1 auto;
    max-width: none;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
  }
  .method-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
  .wallet-head { padding: 14px 16px; }
  .crypto-body { flex-direction: column; align-items: center; }
  .crypto-details { width: 100%; }
}

@media (max-width: 420px) {
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .method-tile {
    height: 58px;
    padding: 8px 10px;
    gap: 8px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .wallet-tabs {
    width: 100%;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-tile,
  .deposit-submit {
    transition: none;
  }
}

/* ==================== Withdraw page ==================== */

.withdraw-balance-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
}
.withdraw-balance-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  padding: 3px 0;
}
.withdraw-balance-line span:first-child {
  color: #bcd9cd;
}
.withdraw-balance-line span:last-child {
  font-weight: 700;
}
.withdraw-balance-line .wd-available {
  color: #08df8d;
}

/* ==================== Profile page ==================== */

.profile-balance-box {
  margin-bottom: 26px;
}
.account-lines {
  padding: 2px 4px;
  color: #fff;
}
.profile-form-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
.profile-field label {
  display: block;
  color: #bcd9cd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.profile-pw-wrap {
  position: relative;
}
.profile-input {
  width: 100%;
  background: #fff;
  border: 1px solid #d4e0ec;
  border-radius: 8px;
  padding: 11px 44px 11px 14px;
  color: #22303e;
  font-size: 14px;
}
.profile-input:focus {
  outline: none;
  border-color: #08df8d;
  box-shadow: 0 0 0 3px rgba(8, 223, 141, 0.25);
}
.profile-input.is-invalid {
  border-color: #d0342c;
  box-shadow: 0 0 0 3px rgba(208, 52, 44, 0.2);
}
.profile-pw-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.55;
}
.profile-pw-toggle:hover,
.profile-pw-toggle.active {
  opacity: 1;
}
.profile-pw-toggle img {
  width: 18px;
  height: 18px;
  display: block;
}
.profile-pw-hint {
  margin: 0;
  color: #bcd9cd;
  font-size: 12px;
  line-height: 1.5;
}
.deposit-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.deposit-submit:disabled:hover {
  background: #52b788;
  transform: none;
}

/* ==================== History tables (payment + play) ==================== */

.history-panel {
  display: block;
}
.history-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.history-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #fff;
  font-size: 13px;
}
.history-table th {
  text-align: left;
  color: #bcd9cd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}
.history-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  vertical-align: middle;
}
.history-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}
.history-table .th-amount,
.history-table .td-amount {
  text-align: right;
}
.history-table .th-center,
.history-table .td-center {
  text-align: center;
}

.tx-type {
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 12px;
}
.tx-type-deposit { color: #08df8d; }
.tx-type-withdraw { color: #ff6b60; }
.tx-type-bonus { color: #ffd24d; }

.view-detail-link {
  display: inline-block;
  margin-left: 8px;
  color: #8fd7ff;
  font-size: 11px;
  text-decoration: underline;
}
.view-detail-link:hover { color: #b8e6ff; }

.amount-pos { color: #08df8d; font-weight: 700; }
.amount-neg { color: #ff6b60; font-weight: 700; }

.result-badge {
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 12px;
}
.result-win { color: #08df8d; }
.result-lose { color: #ff6b60; }

.game-result-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  color: #bcd9cd;
  font-size: 10px;
  letter-spacing: 0.3px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.game-result-btn:hover { background: rgba(255, 255, 255, 0.08); }
.game-result-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .main-container > .history-panel {
    padding: 12px 8px 18px !important;
    margin: 12px 6px !important;
    border-radius: 12px !important;
  }
}
