/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #0d0e15;
  --bg-gradient: linear-gradient(135deg, #0d0e15 0%, #1a1c29 100%);
  --primary: #f59e0b;
  /* Amber/Gold */
  --primary-glow: rgba(245, 158, 11, 0.5);
  --secondary: #8b5cf6;
  /* Purple */
  --accent: #10b981;
  /* Green */
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --sidebar-w: 260px;
  --bottom-nav-h: 70px;
  /* Mobile bottom nav height */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family, 'Outfit', sans-serif);
}

/* Custom Sleek Dark Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(13, 14, 21, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.6);
}
::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* No Scrollbar Utility */
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}


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

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  /* Add padding bottom on mobile to accommodate fixed bottom nav */
  padding-bottom: var(--bottom-nav-h);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Background Animated Orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  animation: float 20s infinite alternate ease-in-out;
}

body::before {
  background: var(--primary);
  top: -20%;
  left: -10%;
}

body::after {
  background: var(--secondary);
  bottom: -20%;
  right: -10%;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(5%, 5%) scale(1.2);
  }
}

/* General Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.btn {
  padding: 0.875rem 1.5rem;
  /* Larger touch target for mobile */
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(to right, var(--primary), #d97706);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.1);
  transform: translateY(-2px);
}

/* Layout */
.app-container {
  display: flex;
  flex-direction: column;
  /* Mobile first: stack vertically */
  min-height: 100vh;
}

@media (min-width: 768px) {
  .app-container {
    flex-direction: row;
    /* Desktop: side by side */
  }
}

.main-content {
  flex: 1 1;
  min-width: 0;
  /* CRITICAL for flexbox horizontal scrolling */
  width: 100%;
}

/* Sidebar / Bottom Navigation (Mobile First) */
:root {
  --bottom-nav-h: 75px;
  /* Slightly taller for breathing room */
}

.sidebar {
  width: 100%;
  height: var(--bottom-nav-h);
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-right: none;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: row;
  z-index: 1000;
  background: rgba(13, 14, 21, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 768px) {
  .sidebar {
    display: none;
    /* Hidden on desktop — nav moved to top header */
  }
}

.logo {
  display: none;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  text-decoration: none;
}

@media (min-width: 768px) {
  .logo {
    display: flex;
  }
}

.logo span {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  flex: 1 1;
  gap: 0;
}

@media (min-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 12px;
  color: rgba(156, 163, 175, 0.75);
  /* Muted by default */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
  flex: 1 1;
  font-size: 0.68rem;
  letter-spacing: 0.3px;
  background: transparent;
  border: none;
  position: relative;
}

@media (min-width: 768px) {
  .nav-item {
    flex-direction: row;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 1rem;
    justify-content: flex-start;
    color: var(--text-muted);
    letter-spacing: normal;
  }
}

.nav-item:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .nav-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(5px);
  }
}

/* Mobile Active State — glowing pill + icon brightness */
.nav-item.active {
  color: #fff;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

.nav-item.active i {
  color: var(--primary);
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

@media (min-width: 768px) {
  .nav-item.active {
    background: var(--primary);
    color: #fff;
    transform: translateX(5px);
  }

  .nav-item.active::before {
    display: none;
  }

  .nav-item.active i {
    color: #fff;
    filter: none;
  }
}

.nav-item i {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  transition: all 0.25s ease;
}

@media (min-width: 768px) {
  .nav-item i {
    font-size: 1.25rem;
    width: auto;
  }
}

/* Mobile Center Home Button */
.mobile-home-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  z-index: 10;
  flex-shrink: 0;
  /* Don't stretch */
}

.mobile-home-btn {
  background: linear-gradient(135deg, var(--primary), #d97706);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2), 0 -4px 20px rgba(245, 158, 11, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 3px solid rgba(13, 14, 21, 0.9);
  cursor: pointer;
  transform: translateY(-10px);
  /* Slightly elevated */
}

.mobile-home-btn:hover {
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.35), 0 -6px 25px rgba(245, 158, 11, 0.5);
}

.mobile-home-btn:active {
  transform: translateY(-10px) scale(0.92);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2), 0 -2px 10px rgba(245, 158, 11, 0.3);
}

@media (min-width: 768px) {
  .mobile-home-btn-container {
    display: none;
  }
}

/* Main Content (Mobile First) */
.main-content {
  flex: 1 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--bottom-nav-h));
  margin-left: 0;
}

@media (min-width: 768px) {
  .main-content {
    margin-left: 0;
    padding: 2rem 3rem;
    min-height: 100vh;
  }
}

/* Header */
.top-header {
  display: flex;
  flex-direction: row;
  /* single-row on mobile */
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .top-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .desktop-nav {
    display: flex !important;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--glass-border);
  width: 100%;
}

@media (min-width: 768px) {
  .search-bar {
    width: 300px;
    padding: 0.5rem 1rem;
  }
}

.search-bar input {
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  padding-left: 0.75rem;
  width: 100%;
  font-size: 1rem;
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.auth-buttons .btn {
  width: auto;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

/* Hero Banner */
.hero-carousel-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-height: 250px;
}

@media (min-width: 768px) {
  .hero-carousel-container {
    margin-bottom: 3rem;
    min-height: 300px;
  }
}

.hero-banner {
  padding: 2rem 1.5rem;
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-banner {
    padding: 3rem;
    margin-bottom: 3rem;
  }
}

/* Removed .hero-banner::before overlay to let AI images shine brightly */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease-out 0.2s;
}

.hero-banner.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.carousel-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Live Ticker Marquee */
.live-ticker-container {
  display: flex;
  align-items: center;
  background: rgba(13, 14, 21, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .live-ticker-container {
    margin-bottom: 3rem;
    border-radius: 16px;
  }
}

.ticker-label {
  background: linear-gradient(to right, var(--primary), #d97706);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .ticker-label {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

.ticker-scroll {
  flex: 1 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.ticker-content span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .ticker-content span {
    font-size: 1rem;
  }
}

.ticker-content span:hover {
  text-decoration: underline;
  cursor: pointer;
  color: #fff;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* Minus 50% because we duplicated the content for seamless looping */
  }
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

/* Games Grid */
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.games-grid {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 2rem;
  padding-left: 0.5rem;
  padding-right: 1.5rem;
  margin-left: -0.5rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar for cleaner look, but keep functionality */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.games-grid::-webkit-scrollbar {
  display: none;
}

.games-grid>* {
  /* Child elements (GameCards) */
  flex: 0 0 auto;
  width: calc(50% - 0.5rem);
  /* Mobile: 2 items per view */
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .games-grid>* {
    width: calc(33.333% - 0.66rem);
    /* 3 items */
  }
}

@media (min-width: 1024px) {
  .games-grid {
    gap: 1.5rem;
  }

  .games-grid>* {
    width: calc(25% - 1.125rem);
    /* 4 items */
  }
}

@media (min-width: 1280px) {
  .games-grid>* {
    width: calc(20% - 1.2rem);
    /* 5 items */
  }
}

.game-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.03);
  /* Glass base */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Subtle glass border */
  touch-action: manipulation;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .game-card {
    border-radius: 16px;
  }
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: background 0.4s ease;
}

@media (min-width: 768px) {
  .game-card-overlay {
    padding: 1.5rem;
  }
}

.game-card .play-btn {
  position: absolute;
  top: 40%;
  /* Moved slightly up to make room for RTP */
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 20px var(--primary-glow);
  opacity: 0;
  z-index: 10;
}

@media (min-width: 768px) {
  .game-card .play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Desktop hover effects */
@media (hover: hover) {
  .game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.6);
    /* Glowing primary border */
  }

  .game-card:hover img {
    transform: scale(1.15);
  }

  .game-card:hover .game-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.2) 100%);
  }

  .game-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: pulseplay 1.5s infinite 0.3s;
  }
}

@keyframes pulseplay {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* Mobile active (touch) effects */
@media (hover: none) {
  .game-card:active {
    transform: scale(0.96);
  }
}

.game-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.2px;
}

@media (min-width: 768px) {
  .game-title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
  }
}

.game-provider {
  color: #fbbf24;
  /* Brighter gold for better contrast */
  font-size: 0.8rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .game-provider {
    font-size: 0.85rem;
  }
}

/* Custom Tailwind-like utilities used in GameCard */
.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.text-white {
  color: #fff;
}

.font-semibold {
  font-weight: 600;
}

.text-accent {
  color: var(--accent);
}

.w-full {
  width: 100%;
}

.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5);
}

.rounded-full {
  border-radius: 9999px;
}

.h-1\.5 {
  height: 0.375rem;
}

.overflow-hidden {
  overflow: hidden;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-green-500 {
  --tw-gradient-from: #22c55e var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-green-400 {
  --tw-gradient-to: #4ade80 var(--tw-gradient-to-position);
}

/* Game Badges */
.game-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .game-badge {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.75rem;
  }
}

.game-badge.hot {
  background: linear-gradient(135deg, #ef4444, #991b1b);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.game-badge.new {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border: 1px solid rgba(59, 130, 246, 0.5);
}

/* Auth Pages (Login & Register) */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  background: var(--bg-gradient);
  padding-bottom: 1rem;
  /* Auth pages don't usually have bottom nav */
}

@media (min-width: 768px) {
  .auth-page {
    padding: 2rem;
  }
}

.auth-wrapper {
  position: relative;
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 480px;
}

@media (min-width: 768px) {
  .auth-wrapper {
    padding: 2px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
}

.auth-wrapper.register {
  max-width: 550px;
}

.auth-container {
  background: rgba(13, 14, 21, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 15px;
  width: 100%;
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .auth-container {
    border-radius: 18px;
    padding: 2.5rem 3rem;
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .auth-header {
    margin-bottom: 2.5rem;
  }
}

.auth-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

@media (min-width: 768px) {
  .auth-header h1 {
    font-size: 2rem;
  }
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .form-group {
    margin-bottom: 1.5rem;
  }
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  /* Improve mobile tap behavior */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@media (min-width: 768px) {
  .form-control {
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
  }
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0;
  gap: 0;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.auth-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .auth-btn {
    margin-top: 1rem;
  }
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .auth-footer {
    margin-top: 2rem;
    font-size: 1rem;
  }
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-footer a:hover {
  text-decoration: underline;
  color: #fff;
}

.back-home {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  font-size: 0.9rem;
  z-index: 10;
}

@media (min-width: 768px) {
  .back-home {
    top: 2rem;
    left: 2rem;
    font-size: 1rem;
  }
}

.back-home:hover {
  color: var(--primary);
}

/* Footer inside main content */
.main-footer {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .main-footer {
    padding-top: 3rem;
    font-size: 0.9rem;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ─── Category Page Layout ──────────────────────────────── */

/* The sticky mobile tab bar should vanish on desktop */
.cat-page-tabs-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 14, 21, 0.96);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .cat-page-tabs-bar {
    display: none;
    /* sidebar already shows nav on desktop */
  }
}

/* Page wrapper: push right of sidebar on desktop */
.cat-page-wrapper {
  background: var(--bg-gradient);
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-nav-h) + 12px);
}

@media (min-width: 768px) {
  .cat-page-wrapper {
    margin-left: var(--sidebar-w);
    padding-bottom: 0;
  }
}

/* Inner content padding */
.cat-page-content {
  padding: 12px;
}

@media (min-width: 768px) {
  .cat-page-content {
    padding: 2.5rem 3rem;
    max-width: 1400px;
  }
}

/* Desktop page title */
.cat-page-title {
  display: none;
}

@media (min-width: 768px) {
  .cat-page-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
  }
}

/* Provider filter row - sleek horizontal scroll strip on all devices */
.cat-provider-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  margin-bottom: 12px;
  padding: 4px 2px 8px;
}

.cat-provider-row::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .cat-provider-row {
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 158, 11, 0.4) transparent;
  }

  .cat-provider-row::-webkit-scrollbar {
    display: block;
    height: 5px;
  }

  .cat-provider-row::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.35);
    border-radius: 9999px;
  }
}

/* Filter tag chips */
.cat-filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .cat-filter-row {
    gap: 12px;
    margin-bottom: 16px;
  }

  .cat-filter-row button {
    flex: unset !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
    min-width: 120px;
  }
}

/* Search bar */
.cat-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .cat-search-bar {
    max-width: 420px;
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 24px;
    border-color: rgba(255, 255, 255, 0.12);
  }
}

/* Game grid — responsive auto-fill */
.cat-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

@media (min-width: 768px) {
  .cat-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .cat-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }
}

/* Game card title */
.cat-game-title {
  margin: 5px 0 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #2dd4bf;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .cat-game-title {
    font-size: 0.8rem;
    margin-top: 8px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN DASHBOARD MODERN & RESPONSIVE DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════ */

.admin-main-wrapper,
.admin-content-wrap {
  margin-left: 260px;
  min-height: 100vh;
  width: calc(100% - 260px);
  min-width: 0;
  box-sizing: border-box;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-card {
  background: rgba(18, 20, 30, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
}

.pulse-badge {
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}

.admin-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 15, 23, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.admin-table-container::-webkit-scrollbar {
  height: 6px;
}
.admin-table-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.admin-table-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.admin-table-container::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.5);
}

@media (max-width: 991px) {
  .admin-menu-btn,
  .mobile-hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .admin-main-wrapper,
  .admin-content-wrap {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    overflow-x: hidden !important;
  }

  .admin-header-responsive {
    padding: 0.75rem 1rem !important;
  }

  .inject-grid,
  .admin-deposit-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (min-width: 992px) {
  .admin-menu-btn,
  .mobile-hamburger-btn {
    display: none !important;
  }

  .admin-deposit-grid {
    grid-template-columns: 350px 1fr !important;
  }
}

/* ========================================================
   MODERN ENTERPRISE ADMIN DESIGN SYSTEM TOKENS
   ======================================================== */
.admin-glass-card {
  background: rgba(15, 18, 28, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-glass-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.admin-glass-card--interactive:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
}

.admin-stat-box {
  background: linear-gradient(145deg, rgba(20, 24, 38, 0.8), rgba(12, 15, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.admin-stat-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.admin-stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.admin-pill--amber {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.admin-pill--emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.admin-pill--rose {
  background: rgba(244, 63, 94, 0.14);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.admin-pill--cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.admin-pill--purple {
  background: rgba(139, 92, 246, 0.14);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.admin-input {
  width: 100%;
  padding: 11px 15px;
  background: rgba(8, 10, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.admin-input:focus {
  border-color: #f59e0b;
  background: rgba(8, 10, 16, 0.85);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.admin-btn-glow {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.admin-btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.5);
  filter: brightness(1.1);
}

.admin-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 9px 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  transition: all 0.2s ease;
}

.admin-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Hide Next.js Dev / Static Route Indicator */
nextjs-portal,
.nextjs-static-indicator-toast-wrapper,
[class*="nextjs-static-indicator"],
[data-nextjs-toast] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


