/* === Global Loader Overlay === */
.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 23, 0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.global-loader.hidden {
  display: none !important;
}

.loader-box {
  background: rgba(30, 34, 54, 0.95);
  border-radius: 16px;
  padding: 36px 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #eee;
  border-top: 5px solid #27ae60;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 18px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.main-header {
  background: #0a192f;
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  /* no sticky! */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

/* Mobile-first layout */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

/* Logo icon */
.logo img,
.logo svg {
  width: 45px;   /* was ~24 */
  height: 45px;
}

/* Actions (always visible) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Search mobile = only icon */
.header-search input {
  display: none;
}

.header-search button {
  border: 1px solid #2563eb;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2563eb;
}

/* Sign in button */
.login-button {
  border: 1px solid #2563eb;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: #2563eb;
}

.login-button:hover {
  background: #2563eb;
  color: #fff;
}

/* --- Sidebar Menu (Mobile Navigation) --- */
/* --- Sidebar Menu (Mobile Navigation) --- */
.sidebar-menu {
  position: fixed;
  top: 0;
  left: -260px;
  /* hidden off screen */
  width: 240px;
  height: 100%;
  background: #0a192f;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 9999;
  padding: 60px 20px;
}

.sidebar-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-menu ul li a {
  color: #e3e8f0;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  transition: color 0.2s;
}

.sidebar-menu ul li a:hover {
  color: #64ffda;
}

/* When active */
.sidebar-menu.active {
  left: 0;
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.header-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #2563eb;
}

.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* --- Mobile-first Search Dropdown --- */
.mobile-search-bar {
  display: none;
  /* hidden by default */
  padding: 10px;
  background: #0a192f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search-bar form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #2563eb;
  border-radius: 999px;
  padding: 6px 10px;
}

.mobile-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  padding: 6px;
  color: #111;
}

.mobile-search-bar button {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 1rem;
  cursor: pointer;
}


/* Hide mobile search on desktop */
@media (min-width: 701px) {
  .mobile-search-bar {
    display: none !important;
  }
}

.mobile-search-inner {
  display: flex;
  gap: 8px;
}

.mobile-search-inner input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #2563eb;
  border-radius: 999px;
  outline: none;
  font-size: 0.95rem;
}

.mobile-search-inner button {
  background: #2563eb;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide on desktop */
@media (min-width: 701px) {
  .mobile-search-panel {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: none;
    /* ❌ hide hamburger on desktop */
  }
}


/* hidden by default */
.mobile-search-panel {
  display: none;
  background: #0a192f;
  padding: 12px;
  animation: slideDown 0.25s ease forwards;
}

.mobile-search-panel.active {
  display: block;
}

.mobile-search-panel input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #2563eb;
  border-radius: 6px;
  font-size: 1rem;
}

.mobile-search-panel button {
  margin-top: 8px;
  width: 100%;
  padding: 8px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
}

@media (min-width: 701px) {
  .mobile-search-panel {
    display: none !important;
  }
}

/* ========================= Mobile Bottom Navigation ========================= */
.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0a192f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 0;
}

.mobile-bottom-nav .nav-item i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.mobile-bottom-nav .nav-item span {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.mobile-bottom-nav .nav-item:hover {
  color: #64ffda;
}

.mobile-bottom-nav .nav-item.active {
  color: #2563eb;
}

.mobile-bottom-nav .nav-item.active i {
  transform: scale(1.1);
}

/* Add bottom padding to body on mobile to prevent content being hidden */
@media (max-width: 700px) {
  body {
    padding-bottom: 70px;
  }
}

/* Hide bottom nav on desktop */
@media (min-width: 701px) {
  .mobile-bottom-nav {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }
}


.main-nav {
  display: none;
  /* hidden on mobile */
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 16px;
}

.main-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Desktop overrides */
@media (min-width:701px) {
  .main-nav {
    display: flex;
    /* horizontal flex container */
    justify-content: center;
    /* center nav links */
    flex: 1;
  }

  .logo {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .header-search input {
    display: block;
    padding: 6px 10px;
  }

  .header-search {
    display: flex;
    border: 1px solid #2563eb;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
  }

  .main-nav ul {
    display: flex;
    /* make ul flex row */
    flex-direction: row;
    gap: 32px;
    /* spacing between links */
    align-items: center;
  }

  .header-search button {
    border: none;
    background: none;
    border-radius: 0;
    padding: 0 12px;
    color: #2563eb;
  }
}

/* --- Profile Page Styles (mobile-first) --- */
.profile-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #f7f9fc;
  min-height: calc(100vh - 120px);
  /* leave room for header/footer */
}

.profile-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.profile-box h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: #0a192f;
}

.profile-box p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #333;
}

.profile-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-secondary,
.btn-logout {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btn-secondary {
  border: 1px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.btn-secondary:hover {
  background: #2563eb;
  color: #fff;
}

.btn-logout {
  background: #e53935;
  color: #fff;
}

.btn-logout:hover {
  background: #c62828;
}

/* Profile Avatar - mobile first */
.profile-avatar {
  width: 72px;
  /* default: small for mobile */
  height: 72px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #2563eb;
  box-shadow: 0 3px 8px rgba(36, 99, 235, 0.25);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Desktop improvement */
@media (min-width: 701px) {
  .profile-actions {
    flex-direction: row;
    justify-content: center;
  }

  .profile-avatar {
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
    border: 3px solid #2563eb;
    box-shadow: 0 4px 12px rgba(36, 99, 235, 0.25);
  }
}



/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #162447 !important;
  /* lighter than header/footer */
}

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}



/* Mobile Menu Button */
.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Basic Elements */
a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
}


/* =========================================================
   GAME BANNER SLIDER — MOBILE FIRST (JS CONTROLLED)
   ========================================================= */

.game-banner-slider {
  padding: 16px 0;
  background-color: #0a0e17;
  overflow: hidden;
}

/* ---------- CONTAINER ---------- */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

/* ---------- TRACK (JS MOVES THIS) ---------- */
.slider-track {
  display: flex;
  gap: 12px;
  padding: 8px 6px;
  transition: transform 0.45s ease;
  will-change: transform;
}

/* ---------- SLIDE CARD ---------- */
.slide-card {
  flex: 0 0 92%;
  /* Mobile: near full width */
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  cursor: pointer;

  /* Visual state */
  transform: scale(0.96);
  opacity: 0.9;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    box-shadow 0.35s ease;
}

/* Active slide (JS toggles this) */
.slide-card.active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

/* Hover enhancement (desktop only later) */
.slide-card:hover {
  transform: scale(1.03);
  opacity: 1;
}

/* ---------- SLIDE CONTENT ---------- */
.slide-content {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

/* Gradient overlay */
.slide-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.15),
      transparent);
  z-index: 1;
}

/* ---------- TEXT ---------- */
.slide-text {
  position: relative;
  z-index: 2;
  color: #fff;
}

.slide-text h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.slide-text p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ---------- CONTROLS ---------- */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

/* Arrows */
.prev-arrow,
.next-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.prev-arrow:hover,
.next-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.1);
}

/* ---------- DOTS ---------- */
.slider-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.4);
}

.slider-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (min-width: 768px) {
  .slide-card {
    flex: 0 0 60%;
    height: 240px;
  }
}

/* =========================================================
   DESKTOP
   ========================================================= */
@media (min-width: 1024px) {
  .game-banner-slider {
    padding: 24px 0;
  }

  .slider-track {
    padding: 12px 0;
  }

  .slide-card {
    flex: 0 0 calc(33.333% - 16px);
    height: 260px;
    opacity: 0.75;
  }

  .slide-card.active {
    opacity: 1;
  }

  .slide-text h2 {
    font-size: 1.4rem;
  }
}


/* --- Modern Footer Styles --- */
.main-footer {
  background: #0a192f;
  color: #fff;
  padding: 0;
  border-top: 1.5px solid #13294b;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px 0 24px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px rgba(36, 60, 120, 0.10));
}

.footer-tagline {
  color: #e3e8f0;
  font-size: 1.08rem;
  margin-top: 0;
  font-weight: 400;
  letter-spacing: 0.1px;
  text-align: center;
}

.footer-links-grid {
  display: flex;
  gap: 48px;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
}

.link-column {
  min-width: 160px;
  text-align: left;
}

.link-column h3 {
  color: #fff;
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.link-column ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}

.link-column ul li {
  margin-bottom: 8px;
}

.link-column ul li a {
  color: #e3e8f0;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.link-column ul li a:hover {
  color: #64ffda;
}

.social-links {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: center;
}

.social-link {
  color: #e3e8f0;
  font-size: 1.7rem;
  transition: color 0.2s;
  background: #13294b;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: #64ffda;
  background: #1746a2;
}

.footer-bottom {
  text-align: center;
  color: #b0b7c3;
  font-size: 1rem;
  padding: 18px 0 0 0;
  border-top: 1px solid #13294b;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .footer-content {
    gap: 24px;
    padding: 32px 0 16px 0;
  }

  .footer-links-grid {
    gap: 18px;
    flex-wrap: wrap;
  }

  .link-column {
    min-width: 120px;
  }
}

@media (max-width: 600px) {
  .footer-content {
    gap: 18px;
    padding: 18px 0 8px 0;
  }

  .footer-links-grid {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .link-column {
    min-width: 0;
    width: 100%;
    text-align: center;
  }

  .footer-logo img {
    width: 64px;
    height: 64px;
  }

  .footer-bottom {
    font-size: 0.95rem;
    padding: 10px 0 0 0;
  }
}



/* Glassmorphism Card Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 32px rgba(36, 60, 120, 0.13), 0 2px 16px rgba(36, 60, 120, 0.10);
  backdrop-filter: blur(7px);
  border: 1.5px solid rgba(36, 99, 235, 0.07);
}

/* Modern Input Row */
.modern-input-row {
  background: #f7faff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(36, 60, 120, 0.06);
  border: 1.5px solid #e3e8f0;
  padding: 0 0 0 0;
  min-height: 64px;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 0;
  padding-top: 0;
  margin-top: 0;
  padding-top: 0;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}



/* Processing indicator spinner */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}






/* === POLISH LAYER (non-breaking) ======================================= */
/* On desktop keep tighter spacing so it doesn’t collide */
@media (min-width: 1024px) {
  .slider-controls {
    margin-top: 8px;
    /* reduce margin */
  }

  .slider-dots {
    transform: translateY(-6px);
    /* lift dots a little */
  }
}

/* Subtle gradient separator under banner */
.game-banner-slider::after {
  content: "";
  display: block;
  height: 24px;
  margin-top: 8px;
  background: linear-gradient(to bottom, rgba(10, 14, 23, 0.0), rgba(10, 14, 23, 0.35));
}

/* Thank You Page Styling */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('img/tybg.jpg') no-repeat center center/cover;
  position: relative;
}

.thankyou-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.7);
  /* overlay for readability */
}

.thankyou-card {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 28px 32px;
  text-align: center;
  color: #fff;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.6s ease-out;
}

.thankyou-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #4ade80;
  /* green success */
}

.thankyou-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 0 20px;
}

.thankyou-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.thankyou-buttons a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.2s;
}

.btn-home {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid #fff;
}

.btn-home:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-continue {
  background: #2563eb;
  color: #fff;
}

.btn-continue:hover {
  background: #1746a2;
}

/* Entrance animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global background */
body {
  background: #0a192f;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* Sections */
section {
  padding: 40px 16px;
}

/* Slider */
.slider-container {
  height: 40vh;
}

/* Mobile slider height */
@media (max-width: 767px) {
  .slider-container {
    height: 30vh;
  }
}
/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .slider-container {
    height: 22vh;
  }
}


.slider-container img {
  object-fit: cover;
}

/* Featured Games */
/* Featured Games */
.featured-games h2 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;

  margin-top: 8px;     /* ⬅ pulls heading UP */
  margin-bottom: 16px;
}

@media (max-width: 920px) {
  .featured-games h2 {
    margin-top: 2px;
  }
}
.game-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.game-card {
  background: #111f3b;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: transform .2s;
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-card img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* Coming Soon Cards */
.game-card.coming-soon {
  position: relative;
  opacity: 0.7;
  cursor: not-allowed;
  background: linear-gradient(135deg, #0a1628 0%, #111f3b 100%);
}

.game-card.coming-soon:hover {
  transform: none;
  opacity: 0.7;
}

.game-card.coming-soon img {
  filter: grayscale(100%) brightness(0.8);
}

.coming-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(220, 38, 38, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 10;
}

@media (min-width: 768px) {
  .game-cards {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1200px) {
  .game-cards {
    grid-template-columns: repeat(6, 1fr);
  }
}


/* Why Choose Us */
.why-choose-us h2 {
  text-align: center;
  /* center section heading */
  margin: 30px 0;
}

.features {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  /* stack icon + text vertically */
  align-items: center;
  /* center horizontally */
  text-align: center;
  gap: 10px;
}

.feature-icon {
  font-size: 1.8rem;
}

.feature h3 {
  font-size: 1rem;
  margin: 0;
}

.feature p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
}

/* Tablet & Desktop: show 2 cards per row */
@media (min-width: 701px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Large Desktop: show 4 in a row */
@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Footer */
.main-footer {
  background: #0a192f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 20px;
  color: #94a3b8;
}


/* Old dashboard styles removed - see enhanced styles at end of file */


/* ===== MOBILE FIRST: GAME CARD ===== */
.game-card {
  position: relative;
  background: #0f172a;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  /* mobile tap feel */
  transition: background 0.2s ease, opacity 0.2s ease;
}

.game-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.game-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0;
}

.game-card .card-meta {
  font-size: 11px;
  color: #94a3b8;
}

/* Active cards */
.game-card:not(.disabled) {
  cursor: pointer;
}


/* ===== DISABLED / UNDER MAINTENANCE ===== */
.game-card.disabled {
  opacity: 0.45;
  filter: grayscale(100%);
  pointer-events: none;
}

.maintenance-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}


/* Tooltip hidden by default (mobile first) */
.game-card.disabled::after {
  display: none;
}


@media (hover: hover) and (pointer: fine) {
  .game-card:not(.disabled):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }
}


@media (hover: hover) and (pointer: fine) {
  .game-card.disabled::after {
    content: "Temporarily unavailable";
    display: block;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #020617;
    color: #e5e7eb;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
  }

  .game-card.disabled:hover::after {
    opacity: 1;
  }
}

.trust-strip {
  background: #020617;
  color: #cbd5f5;
  font-size: 11px;
  padding: 4px 10px;
  text-align: center;
  opacity: 0.85;
  line-height: 1.3;
}


@media (max-width: 480px) {
  .trust-strip span {
    display: none;
  }
}

/* =========================
   SUPPORT PAGE – CLEAN WHITE
   ========================= */

.support-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px 80px;
  background: #ffffff;
  color: #1f2937;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HERO */
.support-hero {
  margin-bottom: 40px;
}

.support-hero h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}

.support-hero p {
  color: #6b7280;
  max-width: 600px;
}

/* CARDS */
.support-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
  background: #ffffff;
}

.support-card.primary {
  border-color: #16a34a;
  background: #f9fffb;
}

.support-card h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.support-card p {
  margin-bottom: 10px;
}

.support-card ul {
  margin: 14px 0;
  padding-left: 18px;
}

.support-card li {
  margin-bottom: 6px;
  color: #374151;
}

/* MUTED TEXT */
.muted {
  color: #6b7280;
  font-size: 14px;
}

/* EMAIL */
.email {
  font-weight: 500;
  color: #111827;
}

/* WHATSAPP BUTTON */
.btn-whatsapp {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #16a34a;
  color: #ffffff;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-whatsapp:hover {
  background: #15803d;
}

/* FAQ */
.support-faq {
  margin-top: 50px;
}

.support-faq h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 18px;
}

.faq-item strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.faq-item p {
  color: #4b5563;
  line-height: 1.5;
}

/* LINKS */
.support-links {
  margin-top: 50px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.support-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.support-links a:hover {
  text-decoration: underline;
}

/* MOBILE TWEAKS */
@media (max-width: 600px) {
  .support-page {
    margin-top: 40px;
  }

  .support-hero h1 {
    font-size: 26px;
  }

  .support-card {
    padding: 18px;
  }
}






/* Old white-background dashboard styles removed */



.slide-content {
  cursor: pointer;
}

.slide-content:hover {
  transform: scale(1.02);
}

/* ========================= ENHANCED DASHBOARD STYLES ========================= */
.dashboard-main {
  background: #162447;
  min-height: 100vh;
  padding: 24px 0;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.dashboard-header {
  margin-bottom: 24px;
  text-align: center;
}

.dashboard-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.dashboard-header p {
  font-size: 1rem;
  color: #94a3b8;
}

.dashboard-header strong {
  color: #2563eb;
}

.dashboard-filters {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filters-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.filter-input:focus {
  outline: none;
  border-color: #2563eb;
  background: rgba(255, 255, 255, 0.15);
}

.filter-input::placeholder {
  color: #94a3b8;
}

.filter-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.filter-btn,
.clear-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.filter-btn {
  background: #2563eb;
  color: #fff;
}

.filter-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.clear-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.clear-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.results-info {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-align: center;
}

.dashboard-table {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.dashboard-table table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table thead {
  background: rgba(37, 99, 235, 0.1);
}

.dashboard-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: #2563eb;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard-table td {
  padding: 14px 16px;
  color: #e2e8f0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-table tbody tr:last-child td {
  border-bottom: none;
}

.order-id {
  font-family: 'Courier New', monospace;
  color: #64ffda;
  font-weight: 600;
}

.price {
  color: #10b981;
  font-weight: 600;
}

.payment-method {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #94a3b8;
}

.date {
  color: #94a3b8;
  font-size: 0.9rem;
}

.no-orders {
  text-align: center;
  padding: 40px !important;
  color: #94a3b8;
  font-size: 1rem;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-fulfilled,
.status-completed {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-queued,
.status-processing {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-failed,
.status-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.dashboard-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.order-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
  padding: 16px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-row:last-child {
  border-bottom: none;
}

.card-row .label {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
}

.card-row .value {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
}

.no-orders-card {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-orders-card i {
  font-size: 3rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.no-orders-card p {
  color: #94a3b8;
  font-size: 1.1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.page-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
}

.page-link.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.page-link i {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .filters-form {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
    min-width: 100%;
  }

  .filter-btn,
  .clear-btn {
    width: 100%;
    justify-content: center;
  }

  .pagination {
    gap: 6px;
  }

  .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.9rem;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}



@media (max-width: 600px) {
  .header-search {
    display: none !important;
  }
}


/* ===========================
   RESET
=========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===========================
   PAGE BASE
=========================== */
.login-page {
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;

  background:
    radial-gradient(900px 500px at top, #1e3a8a 0%, transparent 55%),
    linear-gradient(180deg, #020617, #020617);

  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===========================
   CONTAINER
=========================== */
.login-container {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
}

/* ===========================
   LOGIN CARD (PHONE FIRST)
=========================== */
.login-box {
  width: 100%;
  max-width: 420px;

  background: linear-gradient(180deg, #0b1220, #070c16);
  border-radius: 24px;

  padding: 48px 28px;
  text-align: center;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ===========================
   LOGO
=========================== */
.login-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
}

/* ===========================
   TEXT
=========================== */
.login-box h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #e5e7eb;
  margin-bottom: 8px;
  line-height: 1.2;
}

.login-box p {
  font-size: 1.05rem;
  color: #9ca3af;
  margin-bottom: 32px;
}

/* ===========================
   GOOGLE BUTTON
=========================== */
.gmail-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  padding: 18px;

  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f3f4f6);

  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;

  box-shadow:
    0 8px 18px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.8);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gmail-login-btn img {
  width: 22px;
  height: 22px;
}

.gmail-login-btn:active {
  transform: scale(0.97);
}

/* ===========================
   FOOTER
=========================== */
.login-footer {
  margin-top: 22px;
}

.login-footer a {
  font-size: 0.9rem;
  color: #60a5fa;
  text-decoration: none;
}

/* ===========================
   SMALL PHONES (CODASHOP FEEL)
=========================== */
@media (max-width: 480px) {
  .login-page {
    align-items: flex-start;
    padding-top: 10vh;
  }

  .login-box {
    padding: 56px 30px;
  }

  .login-logo {
    width: 104px;
    height: 104px;
  }

  .login-box h1 {
    font-size: 1.95rem;
  }

  .login-box p {
    font-size: 1.1rem;
  }

  .gmail-login-btn {
    padding: 20px;
    font-size: 1.1rem;
  }
}

/* ===========================
   TABLET
=========================== */
@media (min-width: 640px) {
  .login-box {
    max-width: 440px;
    padding: 52px 34px;
  }
}

/* ===========================
   DESKTOP
=========================== */
@media (min-width: 1024px) {
  .login-page {
    align-items: center;
  }

  .login-box {
    max-width: 400px;
    padding: 44px 30px;
  }

  .login-box h1 {
    font-size: 1.6rem;
  }

  .login-box p {
    font-size: 1rem;
  }

  .gmail-login-btn {
    font-size: 1rem;
    padding: 16px;
  }
}

.game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  z-index: 5;
}

.game-badge.popular { background: #f97316; }
.game-badge.new { background: #22c55e; }
.game-badge.maintenance { background: #64748b; }
.game-badge.coming_soon { background: #0ea5e9; }
.game-badge.disabled { background: #475569; }


/* ===============================
   Game badge – mobile fix
   =============================== */
@media (max-width: 600px) {

  .game-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    top: 8px;
    left: 8px;
    line-height: 1.2;
  }

  .game-badge.popular {
    background: linear-gradient(135deg, #ff9a1f, #ff6a00);
  }

  .game-badge.new,
  .game-badge.coming_soon,
  .game-badge.maintenance,
  .game-badge.disabled {
    font-size: 10px;
    padding: 4px 8px;
  }
}

.footer-logo img {
  width: 180px;   /* adjust visually */
  height: auto;
  max-width: none;
}

/* Footer logo spacing fix */
.footer-logo {
  margin-bottom: 8px; /* reduce space under logo */
}

.footer-logo img {
  width: 160px;   /* adjust if needed */
  height: auto;
}

/* Tagline spacing */
.footer-tagline {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Column spacing */
.footer-logo-col {
  gap: 0;
}

@media (max-width: 768px) {
  .footer-logo img {
    width: 140px;
  }

  .footer-tagline {
    margin-bottom: 8px;
    font-size: 14px;
  }
}

.faq-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}

.faq-container h1 {
  text-align: center;
  margin-bottom: 8px;
}

.faq-subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 32px;
}

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.faq-item p {
  color: #cbd5f5;
  line-height: 1.5;
}