@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:wght@400;500;600;700;800&family=Prompt:wght@300;400;500;600;700;800&display=swap');

.kanit-thin {
  font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.kanit-extralight {
  font-family: "Kanit", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.kanit-light {
  font-family: "Kanit", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.kanit-regular {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kanit-medium {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.kanit-semibold {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.kanit-bold {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.kanit-extrabold {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.kanit-black {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.kanit-thin-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.kanit-extralight-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.kanit-light-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.kanit-regular-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.kanit-medium-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.kanit-semibold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.kanit-bold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.kanit-extrabold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.kanit-black-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-style: italic;
}

:root {
  --brand-primary: #FFFFFF;
  --brand-secondary: #94A3B8;
  --brand-accent: #FFFFFF;
  --brand-primary-rgb: 255, 255, 255;
  --brand-secondary-rgb: 148, 163, 184;
  --brand-accent-rgb: 255, 255, 255;

  --bg-body: #000000;
  --bg-card: #000000;
  --bg-surface: #000000;
  --bg-surface-raised: #060608;
  --bg-subtle: rgba(255, 255, 255, 0.02);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(var(--brand-primary-rgb), 0.5);

  --text-primary: #F8FAFC;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-tertiary: rgba(255, 255, 255, 0.5);

  --primary: #FFFFFF;
  --primary-hover: #E2E8F0;
  --primary-light: rgba(var(--brand-primary-rgb), 0.12);
  --primary-glow: rgba(var(--brand-primary-rgb), 0.5);

  --success: #10B981;
  --success-light: rgba(16, 185, 129, 0.15);
  --danger: #EF4444;
  --danger-light: rgba(239, 68, 68, 0.15);
  --warning: #F59E0B;
  --warning-light: rgba(245, 158, 11, 0.15);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.8);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.95);
  --shadow-glow: 0 0 30px rgba(var(--brand-primary-rgb), 0.5);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: 'Kanit', sans-serif;
}

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

html {
  background-color: #000000 !important;
  scroll-behavior: smooth;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--brand-primary-rgb), 0.35);
  border-radius: 9999px;
  border: 2px solid #000000;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
  box-shadow: 0 0 12px rgba(var(--brand-primary-rgb), 0.7);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--brand-primary-rgb), 0.45) #000000;
}

body {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #000000 !important;
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

#nprogress {
  pointer-events: none;
}
#nprogress .bar {
  background: var(--brand-primary);
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  box-shadow: 0 0 12px var(--brand-primary), 0 0 6px var(--brand-primary);
  transition: width 0.3s ease;
}

.home-bg-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.preloader-overlay {
  position: fixed;
  inset: 0;
  background: #000000 !important;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  position: relative;
  width: 140px;
  height: 140px;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: var(--brand-primary, #FFFFFF);
  animation: preloaderSpin 1.1s linear infinite;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

.preloader-ring-outer {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: rgba(255, 255, 255, 0.4);
  animation: preloaderSpin 2s linear infinite reverse;
}

.preloader-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary, #FFFFFF);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
}

.preloader-logo img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.45));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.85));
  }
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-text {
  margin-top: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.preloader-dots span {
  animation: dotPulse 1.4s infinite;
  opacity: 0;
}
.preloader-dots span:nth-child(1) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(2) { animation-delay: 0.4s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.ambient-glow-top {
  position: absolute;
  inset-x: 0;
  top: 0;
  z-index: 0;
  height: 440px;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 55% 70% at 22% 0%, rgba(var(--brand-primary-rgb), 0.14), transparent 70%),
    radial-gradient(ellipse 45% 60% at 65% -5%, rgba(var(--brand-secondary-rgb), 0.10), transparent 68%);
}

.nav-fixed-container {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  pointer-events: none;
  box-sizing: border-box;
}

.capsule-nav {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 56px;
  border-radius: 9999px;
  background: rgba(8, 6, 8, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.95), 0 0 20px rgba(var(--brand-primary-rgb), 0.05);
  display: flex;
  align-items: center;
  padding: 0 12px 0 10px;
  justify-content: space-between;
  box-sizing: border-box;
}

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

.nav-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 2px 4px;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo-badge img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(var(--brand-primary-rgb), 0.75));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo-badge:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 18px rgba(var(--brand-primary-rgb), 1));
}

.brand {
  display: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.90rem;
  font-weight: 500;
  font-family: 'Prompt', 'Kanit', sans-serif;
  text-decoration: none;
  transition: all 0.22s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link:hover i {
  opacity: 1;
  color: var(--brand-primary);
}

.nav-link.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.nav-link.active i {
  color: var(--brand-primary);
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-primary);
  box-shadow: 0 0 10px rgba(var(--brand-primary-rgb), 0.9);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 9999px;
  background: rgba(var(--brand-primary-rgb), 0.05);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.45);
  color: var(--brand-primary);
  font-size: 0.84rem;
  font-weight: 600;
  font-family: 'Prompt', 'Kanit', sans-serif;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.nav-contact-btn i {
  font-size: 0.82rem;
  color: var(--brand-primary);
}

.nav-contact-btn:hover {
  background: rgba(var(--brand-primary-rgb), 0.15);
  border-color: var(--brand-primary);
  box-shadow: 0 0 14px rgba(var(--brand-primary-rgb), 0.4);
  transform: translateY(-1px);
}

.nav-discord-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: transparent;
  font-size: 1.15rem;
  transition: all 0.2s ease;
  text-decoration: none;
  opacity: 0.85;
}

.nav-discord-btn:hover {
  opacity: 1;
  color: #5865F2;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.6));
}

.nav-cart-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: transparent;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
  opacity: 0.85;
  position: relative;
}

.nav-cart-btn:hover {
  opacity: 1;
  color: var(--brand-primary);
  transform: scale(1.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: #FFFFFF;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 16px -2px rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  background: #EAEAEA;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px -2px rgba(255, 255, 255, 0.65);
}

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

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 1rem;
}

.profile-menu {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 6px;
  border-radius: 9999px;
  background: rgba(18, 12, 16, 0.85);
  border: 1.5px solid rgba(var(--brand-primary-rgb), 0.4);
  box-shadow: 0 0 14px rgba(var(--brand-primary-rgb), 0.2);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
}

.profile-trigger:hover {
  background: rgba(32, 16, 24, 0.95);
  border-color: var(--brand-primary);
  box-shadow: 0 0 20px rgba(var(--brand-primary-rgb), 0.45);
}

.profile-info {
  text-align: left;
  line-height: 1.25;
}

.profile-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-credit {
  font-size: 0.80rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #110e11;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(var(--brand-primary-rgb), 0.5);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-arrow {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), color 0.15s ease;
  margin-left: 2px;
}

.profile-trigger:hover .profile-arrow,
.profile-trigger.active .profile-arrow,
.profile-menu:hover .profile-arrow {
  color: #FFFFFF;
}

.profile-trigger.active .profile-arrow,
.profile-menu:hover .profile-arrow {
  transform: rotate(180deg);
}

.dropdown-card {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 252px;
  background: rgba(13, 10, 15, 0.96);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.18);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(var(--brand-primary-rgb), 0.08);
  padding: 0;
  display: flex;
  flex-direction: column;
  z-index: 1050;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  
  transform-origin: top right;
  transform: translateY(-8px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 240ms;
  will-change: transform, opacity;
}

.profile-menu:hover .dropdown-card,
.dropdown-card.show,
.dropdown-card.is-open {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.dropdown-card.is-closing {
  transform: translateY(-5px) scale(0.98) !important;
  opacity: 0 !important;
  visibility: visible !important;
  pointer-events: none !important;
  transition:
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 150ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 160ms;
}

@media (prefers-reduced-motion: reduce) {
  .dropdown-card {
    transition: none !important;
    transform: none !important;
  }
}

.dropdown-header {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.dropdown-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(var(--brand-primary-rgb), 0.5);
  flex-shrink: 0;
}

.dropdown-header-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.2;
}

.dropdown-header-role {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-top: 2px;
}
.dropdown-header-role.role-user {
  color: rgba(255,255,255,0.4);
}

.dropdown-credit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.dropdown-credit-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
}
.dropdown-credit-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.dropdown-menu-section {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0 8px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.dropdown-item:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  transform: translateX(3px);
}

.ddi-icon {
  width: 16px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), color 0.15s ease;
}
.dropdown-item:hover .ddi-icon { 
  color: var(--brand-primary);
  transform: scale(1.18); 
}

.ddi-arrow {
  margin-left: auto;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.25);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), color 0.15s ease;
}
.dropdown-item:hover .ddi-arrow {
  color: rgba(255,255,255,0.75);
  transform: translateX(3px);
}

.dropdown-item.logout-btn {
  color: rgba(239,68,68,0.8) !important;
}
.dropdown-item.logout-btn:hover {
  background: rgba(239,68,68,0.08);
  color: #EF4444 !important;
}
.dropdown-item.logout-btn .ddi-icon {
  color: rgba(239,68,68,0.6) !important;
}

.hero-welcome-section {
  padding: 120px 0 20px;
  position: relative;
  z-index: 10;
}

.hero-welcome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-welcome-text h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.hero-welcome-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.hero-logo-wrap {
  position: relative;
  animation: heroFloat 4s ease-in-out infinite;
}

.hero-logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.15) 0%, transparent 70%);
  filter: blur(14px);
  transform: scale(1.6);
  animation: heroGlow 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.4; transform: scale(1.5); }
  50% { opacity: 0.8; transform: scale(1.8); }
}

.top-grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr) minmax(260px, 300px);
  gap: 16px;
  margin-bottom: 36px;
  position: relative;
  z-index: 10;
}

.top-grid-3 > div {
  min-width: 0;
}

.hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}

.hero-banner-wrap {
  width: 100%;
  aspect-ratio: 640 / 206;
  position: relative;
  overflow: hidden;
  background: rgba(12, 9, 13, 0.7);
  display: flex;
}

.hero-banner-empty {
  width: 100%;
  height: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
  background: radial-gradient(circle at center, rgba(var(--brand-primary-rgb), 0.04) 0%, rgba(14, 10, 14, 0.85) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  user-select: none;
}

.hero-empty-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.hero-empty-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Kanit', sans-serif;
  letter-spacing: 0.3px;
}

.hero-empty-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: 'Prompt', sans-serif;
}

.hero-slide-single {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-frame:hover .hero-banner-img {
  transform: scale(1.025);
}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: block;
  text-decoration: none;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-slide-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Kanit', sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-slide-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
  font-family: 'Prompt', sans-serif;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.hero-prev {
  left: 12px;
}

.hero-next {
  right: 12px;
}

.hero-frame:hover .hero-carousel-arrow {
  opacity: 1;
}

.hero-carousel-arrow:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 20px;
  background: var(--brand-primary);
  box-shadow: 0 0 8px rgba(var(--brand-primary-rgb), 0.6);
}

.announcement-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.announcement-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-color);
}

.ping-dot {
  position: relative;
  width: 8px;
  height: 8px;
}
.ping-dot span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-primary);
}
.ping-dot .pulse {
  animation: pingPulse 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

@keyframes pingPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}

.announcement-body {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.stat-inline-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.22);
  background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.16) 0%, rgba(var(--brand-primary-rgb), 0.05) 42%, #050505 100%);
  margin-bottom: 8px;
  font-family: 'Kanit', sans-serif;
}

.stat-inline-card div,
.stat-inline-card span,
.stat-inline-card p {
  font-family: 'Kanit', sans-serif;
}

.stat-inline-card .stat-sheen {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: statSheen 5.5s ease-in-out infinite;
}

@keyframes statSheen {
  0% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}

.stat-watermark {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.12;
  font-size: 3rem;
  color: var(--brand-primary);
  animation: statFloatInline 4.5s ease-in-out infinite;
}

@keyframes statFloatInline {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-58%) translateX(-3px); }
}

.stat-icon-box-small {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(var(--brand-primary-rgb), 0.15);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.best-sellers-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  height: 180px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.best-sellers-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.best-sellers-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: bestSellersScroll 18s linear infinite;
}

.best-sellers-scroll:hover {
  animation-play-state: paused;
}

@keyframes bestSellersScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.best-seller-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: var(--transition);
}

.best-seller-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-primary);
}

.discord-widget-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 384px;
  position: relative;
  overflow: hidden;
}

.discord-widget-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #5865F2;
  filter: blur(50px);
  opacity: 0.15;
  pointer-events: none;
}

.discord-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.discord-members-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(88, 101, 242, 0.4) transparent;
}

.discord-members-list::-webkit-scrollbar {
  width: 5px;
  height: 0px;
}

.discord-members-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.discord-members-list::-webkit-scrollbar-thumb {
  background: rgba(88, 101, 242, 0.4);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.discord-members-list::-webkit-scrollbar-thumb:hover {
  background: rgba(88, 101, 242, 0.7);
}

.discord-member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.discord-member-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(88, 101, 242, 0.4);
}

.discord-avatar-wrap {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.discord-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.discord-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #0f1015;
}
.status-online { background: #23A55A; }
.status-dnd { background: #F23F43; }
.status-idle { background: #F0B232; }
.status-offline { background: #80848E; }

.discord-member-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.discord-member-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.discord-member-activity {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
  line-height: 1.2;
}

.btn-join-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #5865F2;
  color: #FFFFFF;
  padding: 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 10px;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.25);
  text-decoration: none;
}

.btn-join-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.why-section {
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(var(--brand-primary-rgb), 0.3);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(var(--brand-primary-rgb), 0.12);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.recent-marquee-section {
  margin-bottom: 44px;
}

.pp-marquee-mask {
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 5%, black 95%, transparent 100%);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px;
}

.pp-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ppMarquee 40s linear infinite;
}

.pp-marquee-mask:hover .pp-marquee-track {
  animation-play-state: paused;
}

@keyframes ppMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-order-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 250px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  transition: var(--transition);
}

.marquee-order-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--brand-primary);
}

.marquee-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.recent-orders-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(var(--brand-primary-rgb), 0.03) 0%, rgba(14, 10, 14, 0.75) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: left;
}

.recent-empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.recent-empty-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Kanit', sans-serif;
  margin-bottom: 2px;
}

.recent-empty-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: 'Prompt', sans-serif;
}

.products-grid-custom {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.product-card-cv {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card-cv:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-primary-rgb), 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.hot-champion {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 9999px;
  padding: 3px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, #DC2626 0%, #F97316 55%, #FBBF24 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
  animation: hotChampionFloat 3.6s ease-in-out infinite;
}

@keyframes hotChampionFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.sale-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 20;
  background: linear-gradient(135deg, #EF4444, #EC4899);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
}

.product-cv-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #000;
}

.product-cv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card-cv:hover .product-cv-thumb img {
  transform: scale(1.08);
}

.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 15;
}

.sad-face-svg {
  animation: sadFaceBob 3.6s ease-in-out infinite;
}

@keyframes sadFaceBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.product-cv-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cv-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.product-cv-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 10px;
}

.product-cv-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-primary);
  font-family: 'Inter', sans-serif;
}

.product-cv-stock-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
}

.btn-buy-cv {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #000000;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px -2px rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-buy-cv:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn-buy-cv:disabled {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.35);
  cursor: not-allowed;
  box-shadow: none;
}

.site-footer-v2 {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 60px;
  padding: 24px 0 22px;
}

.sfv2-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
}

.sfv2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 10px;
  border-bottom: none !important;
}

.sfv2-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.sfv2-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0A0609;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
}

.sfv2-logo-icon i {
  font-size: 0.8rem;
  color: var(--brand-primary, #EF2D44);
}

.sfv2-logo-icon img,
.sfv2-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

.sfv2-brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.sfv2-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sfv2-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #18181B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #A1A1AA;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sfv2-icon-btn:hover {
  background: #27272A;
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.sfv2-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px;
}

.sfv2-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sfv2-nav a {
  font-size: 0.8rem;
  color: #71717A;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.sfv2-nav a:hover {
  color: #FFFFFF;
}

.sfv2-sep {
  font-size: 0.8rem;
  color: #3F3F46;
}

.sfv2-copy {
  font-size: 0.78rem;
  color: #52525B;
  font-family: 'Inter', sans-serif;
  text-align: right;
}

.sf-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: sfPulse 2s infinite;
}

@keyframes sfPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.home-bg-stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.popular-spotlight-section {
  margin-bottom: 40px;
}

.popular-spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.popular-spotlight-left {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.watermark-popular {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: -2px;
}

.popular-spotlight-right {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.popular-spotlight-right:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(var(--brand-primary-rgb), 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.spotlight-thumb-wrap {
  width: 150px;
  height: 100%;
  min-height: 130px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.spotlight-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.popular-spotlight-right:hover .spotlight-thumb-wrap img {
  transform: scale(1.08);
}

.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cat-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cat-filter-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  border-color: rgba(var(--brand-primary-rgb), 0.3);
}

.cat-filter-btn.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.hover-spin-ring-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.9) 100%);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.product-card-cv:hover .hover-spin-ring-overlay {
  opacity: 1;
}

.spin-ring-outer {
  position: relative;
  width: 68px;
  height: 68px;
}

.spin-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: preloaderSpin 2.4s linear infinite;
}

.spin-ring-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px var(--brand-primary));
}

.hot-champion-wrap {
  animation: hotChampionFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(220, 38, 38, 0.35));
}
@keyframes hotChampionFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
.hot-champion {
  background: linear-gradient(135deg, #dc2626 0%, #f97316 55%, #fbbf24 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}
.hot-champion-flame {
  animation: hotFlameSway 1.6s ease-in-out infinite;
  transform-origin: center bottom;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.55));
}
@keyframes hotFlameSway {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50%      { transform: rotate(4deg) scale(1.06); }
}
.hot-champion-text {
  font-family: "Kanit", system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(100deg, #FFFFFF 0%, #E2E8F0 50%, #94A3B8 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hotTextShimmer 3s linear infinite, hotTextPulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}
@keyframes hotTextShimmer {
  0%   { background-position: 150% 0; }
  100% { background-position: -150% 0; }
}
@keyframes hotTextPulse {
  0%, 100% { filter: drop-shadow(0 1px 1px rgba(120, 20, 0, 0.45)); }
  50%      { filter: drop-shadow(0 0 6px rgba(255, 240, 200, 0.85)) drop-shadow(0 1px 1px rgba(120, 20, 0, 0.45)); }
}
.hot-champion-shine {
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: hotChampionShine 3.6s ease-in-out infinite;
}
@keyframes hotChampionShine {
  0%, 45% { transform: translateX(-120%); }
  70%     { transform: translateX(120%); }
  100%    { transform: translateX(120%); }
}
.hot-champion-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px #fff, 0 0 8px rgba(255,255,255,0.6);
  opacity: 0;
  pointer-events: none;
}
.hot-champion-spark-1 {
  top: -2px;
  left: 30%;
  animation: hotSpark 2.4s ease-out infinite;
}
.hot-champion-spark-2 {
  bottom: -2px;
  right: 22%;
  animation: hotSpark 2.4s ease-out infinite 1.2s;
}
@keyframes hotSpark {
  0%, 100% { opacity: 0; transform: scale(0); }
  40%, 60% { opacity: 1; transform: scale(1.2); }
}

.pp-status-badge {
  position: relative;
  overflow: hidden;
}
.pp-status-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: ppBadgeShine 3.2s ease-in-out infinite;
}
@keyframes ppBadgeShine {
  0%, 40% { transform: translateX(-100%); }
  65%     { transform: translateX(100%); }
  100%    { transform: translateX(100%); }
}
.pp-status-popular {
  animation: ppPopularPulse 2.4s ease-in-out infinite;
}
@keyframes ppPopularPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 2px 10px rgba(249,115,22,0.45); }
  50%      { transform: translateY(-1px) scale(1.03); box-shadow: 0 4px 16px rgba(249,115,22,0.65); }
}
.pp-flame {
  animation: ppFlameFlicker 1.4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes ppFlameFlicker {
  0%, 100% { transform: scale(1) rotate(-2deg); opacity: 1; }
  50%      { transform: scale(1.15) rotate(2deg); opacity: 0.85; }
}

.sad-face-svg .sad-tear {
  opacity: 0;
  animation: sadTearFall 2.8s ease-in infinite;
  transform-origin: center;
}
.sad-face-svg .sad-tear-2 { animation-delay: 1.4s; }
@keyframes sadTearFall {
  0%   { opacity: 0; transform: translateY(0) scale(0.6); }
  15%  { opacity: 1; transform: translateY(0) scale(1); }
  85%  { opacity: 1; transform: translateY(28px) scale(1); }
  100% { opacity: 0; transform: translateY(34px) scale(0.5); }
}

@media (max-width: 1280px) {
  .top-grid-3 {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  }
  .discord-widget-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .top-grid-3 {
    grid-template-columns: 1fr;
  }
  .discord-widget-box {
    grid-column: auto;
  }
  .popular-spotlight-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.swal2-container {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  background: rgba(0, 0, 0, 0.75) !important;
  z-index: 999999 !important;
}

.swal2-popup {
  background: #0f0c13 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8) !important;
  padding: 32px 28px 26px !important;
  color: #FFFFFF !important;
  font-family: 'Kanit', sans-serif !important;
  position: relative !important;
  overflow: hidden !important;
  max-width: 400px !important;
}

.swal2-popup::before {
  display: none !important;
}

.swal2-title {
  font-family: 'Kanit', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  margin-top: 10px !important;
  margin-bottom: 4px !important;
  letter-spacing: normal !important;
}

.swal2-html-container {
  font-family: 'Kanit', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  line-height: 1.55 !important;
  margin: 8px 0 18px !important;
}

.swal2-icon {
  margin: -4px auto 10px !important;
  transform: scale(0.72) !important;
  transform-origin: center center !important;
  border-width: 2px !important;
  box-shadow: none !important;
}

.swal2-icon.swal2-question {
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
  font-size: 1.6rem !important;
}

.swal2-icon.swal2-error {
  border-color: #EF4444 !important;
  color: #EF4444 !important;
  box-shadow: none !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

.swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
  background-color: #EF4444 !important;
  box-shadow: none !important;
}

.swal2-icon.swal2-success {
  border-color: #10B981 !important;
  color: #10B981 !important;
  box-shadow: none !important;
  background: rgba(16, 185, 129, 0.08) !important;
}
.swal2-icon.swal2-success [class^='swal2-success-line'] {
  background-color: #10B981 !important;
  box-shadow: none !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
  border: 2px solid rgba(16, 185, 129, 0.3) !important;
}
.swal2-icon.swal2-success [class*='swal2-success-circular-line'],
.swal2-icon.swal2-success .swal2-success-fix {
  background-color: transparent !important;
}

.swal2-icon.swal2-warning {
  border-color: #F59E0B !important;
  color: #F59E0B !important;
  box-shadow: none !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

.swal2-actions {
  gap: 10px !important;
  margin-top: 16px !important;
}

.swal2-confirm.btn,
.swal2-confirm {
  font-family: 'Kanit', sans-serif !important;
  background: var(--brand-primary) !important;
  color: #FFFFFF !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  border-radius: 10px !important;
  padding: 9px 24px !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.swal2-confirm:hover {
  background: var(--primary-hover) !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3) !important;
}

.swal2-cancel.btn,
.swal2-cancel {
  font-family: 'Kanit', sans-serif !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  border-radius: 10px !important;
  padding: 9px 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.swal2-cancel:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: none !important;
}

.swal2-timer-progress-bar {
  background: var(--brand-primary) !important;
}

.auth-wrapper {
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
  z-index: 5;
  background-color: #000000 !important;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #000000 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 26px !important;
  padding: 42px 38px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 1),
    0 0 45px rgba(var(--brand-primary-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  box-shadow: 0 0 18px var(--brand-primary);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: #000000;
  border: 1.5px solid rgba(var(--brand-primary-rgb), 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 28px rgba(var(--brand-primary-rgb), 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover .auth-header-icon {
  transform: scale(1.06);
  box-shadow: 0 0 40px rgba(var(--brand-primary-rgb), 0.65);
}

.auth-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.auth-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 400;
}

.auth-card .form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 0.98rem;
  outline: none;
  transition: all 0.25s ease;
}

.auth-card .form-input:focus {
  background: #000000;
  border-color: var(--brand-primary);
  box-shadow: 0 0 24px rgba(var(--brand-primary-rgb), 0.45);
}

.auth-card .form-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 300;
}

.topup-card,
.wallet-guide {
  background: #000000 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 24px !important;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 1),
    0 0 40px rgba(var(--brand-primary-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  position: relative;
  overflow: hidden;
}

.topup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  box-shadow: 0 0 16px var(--brand-primary);
}

.product-card-v2,
.category-card-v2 {
  background: #000000 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.95) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card-v2:hover,
.category-card-v2:hover {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 1), 0 0 35px rgba(var(--brand-primary-rgb), 0.35) !important;
  transform: translateY(-4px) !important;
}

.order-card {
  background: #000000 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 18px !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(var(--brand-primary-rgb), 0.08) !important;
  transition: all 0.25s ease !important;
}

.order-card:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.4) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 1), 0 0 35px rgba(var(--brand-primary-rgb), 0.2) !important;
}

@media (max-width: 992px) {
  .nav-menu {
    gap: 0;
  }
  .nav-link {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  .nav-contact-btn span {
    display: none;
  }
  .nav-contact-btn {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .nav-fixed-container {
    top: 10px;
    padding: 0 10px;
  }
  .capsule-nav {
    height: 52px;
    padding: 0 8px 0 6px;
  }
  .nav-logo-badge {
    width: 36px;
    height: 36px;
  }
  .nav-logo-badge img {
    width: 22px;
    height: 22px;
  }
  .nav-link {
    padding: 6px 8px;
    font-size: 0.80rem;
    gap: 5px;
  }
  .nav-link i {
    font-size: 0.82rem;
  }
  .nav-contact-btn {
    display: none;
  }
  .nav-discord-btn {
    display: none;
  }
  .profile-name {
    max-width: 90px;
    font-size: 0.78rem;
  }
  .profile-credit {
    font-size: 0.80rem;
  }
}

@media (max-width: 480px) {
  .nav-link span {
    font-size: 0.76rem;
  }
  .nav-link {
    padding: 6px 5px;
    gap: 4px;
  }
  .profile-trigger {
    padding: 3px 4px 3px 8px;
    gap: 6px;
  }
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #000000 !important;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#page-loader.loader-hide,
#page-loader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@keyframes pl-spin {
  to { transform: rotate(360deg); }
}
@keyframes pl-pulse {
  0%, 100% { transform: scale(1);   filter: drop-shadow(0 0 8px rgba(var(--brand-primary-rgb), 0.5)); }
  50%       { transform: scale(1.1); filter: drop-shadow(0 0 18px rgba(var(--brand-primary-rgb), 0.9)); }
}

.shop-view { transition: opacity 0.3s ease, transform 0.3s ease; }
.shop-view.view-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; display: none; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.18);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  min-height: 160px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(var(--brand-primary-rgb), 0.6);
  box-shadow: 0 16px 48px rgba(var(--brand-primary-rgb), 0.2);
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  filter: saturate(0.8) brightness(0.75);
}
.cat-card:hover .cat-card-bg {
  transform: scale(1.07);
  filter: saturate(1) brightness(0.7);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(5,0,5,0.35) 40%,
    rgba(5,0,5,0.88) 100%
  );
  transition: background 0.3s ease;
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(var(--brand-primary-rgb), 0.04) 0%,
    rgba(5,0,5,0.3) 40%,
    rgba(8,0,5,0.92) 100%
  );
}

.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-primary) 50%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cat-card:hover::after { opacity: 1; }

.cat-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
}

.cat-card-name {
  font-family: 'Prompt', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.cat-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-card-count {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.cat-card-cta {
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cat-card:hover .cat-card-cta {
  opacity: 1;
  transform: translateX(0);
}
.cat-card-cta i {
  font-size: 0.72rem;
}

.shop-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.65);
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-bottom: 20px;
}
.shop-back-btn:hover {
  background: rgba(var(--brand-primary-rgb), 0.1);
  border-color: rgba(var(--brand-primary-rgb), 0.35);
  color: var(--brand-primary);
}

.profile-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  padding: 16px;
}

.profile-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.profile-modal-box {
  background: #0e0c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(6px) scale(0.985);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  font-family: 'Kanit', sans-serif;
  position: relative;
  color: #ffffff;
}

.profile-modal-backdrop.show .profile-modal-box {
  transform: translateY(0) scale(1);
}

.profile-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.15s ease;
  z-index: 10;
}

.profile-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

.profile-modal-header {
  padding: 24px 20px 14px;
  text-align: center;
  position: relative;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-modal-avatar-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  position: relative;
  border-radius: 50%;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background: #14101a;
}

.profile-modal-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-modal-title {
  font-size: 1.22rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 5px;
  letter-spacing: -0.01em;
}

.profile-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-modal-badge.badge-member {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}

.profile-modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 20px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-stat-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
}

.profile-stat-label {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.profile-stat-value {
  font-size: 1.12rem;
  font-weight: 600;
  color: #ffffff;
}

.profile-modal-tabs {
  display: flex;
  gap: 12px;
  padding: 8px 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 8px 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-tab-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.profile-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--brand-primary);
}

.profile-modal-body {
  padding: 18px 20px 22px;
}

.profile-tab-panel {
  display: none;
}

.profile-tab-panel.active {
  display: block;
}

.profile-form-group {
  margin-bottom: 13px;
}

.profile-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}

.profile-form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.profile-form-input:focus {
  border-color: rgba(var(--brand-primary-rgb), 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.profile-form-input[readonly] {
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.profile-submit-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: var(--brand-primary);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb), 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}

.profile-submit-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.35);
}

.profile-submit-btn:active {
  background: #cc3333;
}

.home-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  padding: 20px;
}

.home-popup-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.home-popup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 92vw;
  transform: scale(0.92) translateY(18px);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.home-popup-backdrop.show .home-popup-wrapper {
  transform: scale(1) translateY(0);
}

.home-popup-card {
  position: relative;
  background: #0d0f17;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(88, 101, 242, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: visible;
  max-width: 640px;
  width: 100%;
}

.home-popup-link {
  display: block;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  background: #090a10;
}

.home-popup-link:hover {
  opacity: 0.95;
}

.home-popup-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 22px;
}

.home-popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, background-color 0.15s ease;
}

.home-popup-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: #f0f0f0;
}

.home-popup-bottom-bar {
  background: rgba(15, 15, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 9999px;
  padding: 8px 12px 8px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  user-select: none;
}

.home-popup-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.home-popup-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #E50914;
  cursor: pointer;
  border-radius: 4px;
}

.home-popup-dismiss-all-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 9999px;
  padding: 7px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-popup-dismiss-all-btn:hover {
  background: #f1f1f1;
  transform: translateY(-1px);
}

.home-popup-dismiss-all-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .home-popup-card {
    max-width: 90vw;
  }
}

@media (max-width: 480px) {
  .home-popup-card {
    max-width: 94vw;
  }
  .home-popup-bottom-bar {
    padding: 6px 6px 6px 14px;
    gap: 10px;
  }
  .home-popup-checkbox-label {
    font-size: 0.78rem;
  }
  .home-popup-dismiss-all-btn {
    padding: 5px 14px;
    font-size: 0.8rem;
  }
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.auth-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-modal-wrapper {
  position: relative;
  width: 860px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal-bottom-glow {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(var(--brand-primary-rgb), 0.35) 0%, rgba(255, 255, 255, 0.12) 45%, transparent 75%);
  filter: blur(42px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.auth-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #060609;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(var(--brand-primary-rgb), 0.12);
  display: flex;
  overflow: hidden;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.auth-modal-backdrop.active .auth-modal-card {
  transform: scale(1) translateY(0);
}

.auth-banner-panel {
  flex: 0 0 44%;
  position: relative;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(var(--brand-primary-rgb), 0.2) 0%, transparent 68%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(150deg, #16161a 0%, #0b0b0e 60%, #030305 100%);
  background-size: 100% 100%, 28px 28px, 28px 28px, 100% 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-banner-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-banner-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(var(--brand-primary-rgb), 0.65));
}

.auth-banner-brand {
  font-family: 'Prompt', 'Inter', sans-serif;
  font-size: 1.12rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.auth-banner-body {
  margin-top: auto;
  padding-top: 48px;
}

.auth-banner-headline {
  font-family: 'Prompt', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.42;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.1px;
}

.auth-banner-sub {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  font-family: 'Prompt', sans-serif;
}

.auth-form-panel {
  flex: 1;
  background: #060609;
  padding: 34px 34px 28px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.auth-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.auth-panel-title {
  font-family: 'Prompt', sans-serif;
  font-size: 1.38rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.2px;
}

.auth-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-close-btn:hover {
  background: rgba(var(--brand-primary-rgb), 0.18);
  border-color: rgba(var(--brand-primary-rgb), 0.4);
  color: #ffffff;
  transform: rotate(90deg) scale(1.06);
}

.auth-pill-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0b090e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 20px;
  isolation: isolate;
  overflow: hidden;
}

.auth-pill-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary, var(--brand-primary)) 100%);
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(var(--brand-primary-rgb), 0.45);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.auth-pill-switch[data-active="register"] .auth-pill-slider {
  transform: translateX(100%);
}

.auth-pill-item {
  position: relative;
  background: transparent !important;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: 'Prompt', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  cursor: pointer;
  transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  z-index: 1;
  user-select: none;
  outline: none;
}

.auth-pill-item:hover:not(.active) {
  color: #ffffff;
}

.auth-pill-item.active {
  color: #ffffff;
  font-weight: 500;
  box-shadow: none !important;
}

.auth-forms-viewport {
  position: relative;
  overflow: hidden;
  transition: height 280ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height;
}

.auth-form-slide {
  width: 100%;
  transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.auth-forms-viewport[data-active="login"] #popupLoginForm {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  pointer-events: auto;
  position: relative;
  visibility: visible;
  display: block;
}

.auth-forms-viewport[data-active="login"] #popupRegisterForm {
  opacity: 0;
  transform: translateX(24px);
  filter: blur(3px);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  visibility: hidden;
  display: block;
}

.auth-forms-viewport[data-active="register"] #popupRegisterForm {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  pointer-events: auto;
  position: relative;
  visibility: visible;
  display: block;
}

.auth-forms-viewport[data-active="register"] #popupLoginForm {
  opacity: 0;
  transform: translateX(-24px);
  filter: blur(3px);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  visibility: hidden;
  display: block;
}

.auth-panel-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.2px;
  transition: opacity 120ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-panel-title.text-swapping {
  opacity: 0;
  transform: translateY(-4px);
}

.auth-switch-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.auth-switch-link {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-family: 'Prompt', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.auth-switch-link:hover {
  color: #ff6666;
  text-shadow: 0 0 8px rgba(var(--brand-primary-rgb), 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .auth-pill-slider,
  .auth-pill-item,
  .auth-forms-viewport,
  .auth-form-slide,
  .auth-panel-title {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
}

.auth-field-group {
  margin-bottom: 14px;
}

.auth-field-label {
  display: block;
  font-family: 'Prompt', sans-serif;
  font-size: 0.84rem;
  font-weight: 300;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.auth-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-field-input {
  width: 100%;
  background: #0b0b10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: #ffffff;
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.auth-field-input:-webkit-autofill,
.auth-field-input:-webkit-autofill:hover, 
.auth-field-input:-webkit-autofill:focus, 
.auth-field-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0b0b10 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

.auth-field-input::placeholder {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 300;
}

.auth-field-input:focus {
  border-color: var(--brand-primary);
  background: #0e0e15;
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.18);
}

.auth-field-input.has-eye {
  padding-right: 42px;
}

.auth-eye-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}

.auth-eye-toggle:hover {
  color: var(--brand-primary);
}

.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 16px;
}

.auth-remember-chk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  user-select: none;
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
}

.auth-remember-chk input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-primary);
  cursor: pointer;
  border-radius: 4px;
}

.auth-forgot-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s;
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
}

.auth-forgot-link:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.auth-submit-button {
  width: 100%;
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 14px;
}

.auth-submit-button:hover:not(:disabled) {
  background: #EAEAEA;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(255, 255, 255, 0.6);
}

.auth-submit-button:active:not(:disabled) {
  transform: translateY(0);
}

.auth-submit-button:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.cf-turnstile-card {
  background: #0b0b10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  user-select: none;
  transition: border-color 0.2s, background-color 0.2s;
  cursor: pointer;
}

.cf-turnstile-card:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.35);
  background: #0e0e15;
}

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

.cf-checkbox-box {
  width: 22px;
  height: 22px;
  border: 1.8px solid #4a4d62;
  background: #060609;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
}

.cf-checkbox-box .cf-check-icon {
  display: none;
  color: #22c55e;
  font-size: 13px;
  font-weight: 900;
}

.cf-checkbox-box .cf-spinner-ring {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: cfSpin 0.7s linear infinite;
}

@keyframes cfSpin {
  to { transform: rotate(360deg); }
}

.cf-turnstile-card.verifying .cf-checkbox-box {
  border-color: var(--brand-primary);
}
.cf-turnstile-card.verifying .cf-spinner-ring {
  display: block;
}

.cf-turnstile-card.verified .cf-checkbox-box {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
}
.cf-turnstile-card.verified .cf-check-icon {
  display: block;
}

.cf-turnstile-card.verified .cf-spinner-ring {
  display: none;
}

.cf-turnstile-text {
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 300;
  font-family: 'Prompt', sans-serif;
}

.cf-turnstile-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-logo-svg {
  width: 44px;
  height: 22px;
  object-fit: contain;
}

.cf-brand-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cf-brand-name {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
}

.cf-legal-links {
  font-size: 0.6rem;
  color: #64748b;
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
}

.cf-legal-links a {
  color: #64748b;
  text-decoration: underline;
}

.cf-legal-links a:hover {
  color: var(--brand-primary);
}

.auth-discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: #5865F2;
  color: #ffffff;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
  font-family: 'Prompt', sans-serif;
}

.auth-discord-btn:hover {
  background: #4752C4;
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-verify-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Prompt', sans-serif;
  margin-top: 8px;
}

.btn-verify-direct:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.auth-whitelist-notice-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 20px 18px;
  margin: 10px 0 16px 0;
  text-align: center;
  box-shadow: 0 0 25px -5px rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-whitelist-notice-box:hover {
  box-shadow: 0 0 30px -3px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.45);
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .auth-modal-card {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }
  .auth-banner-panel {
    display: none; 
  }
  .auth-form-panel {
    padding: 26px 20px 22px 20px;
  }
  .auth-modal-bottom-glow {
    width: 85%;
  }
}

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

.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 58px;
  background: rgba(10, 8, 12, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.92), 0 0 24px rgba(var(--brand-primary-rgb), 0.18);
  z-index: 9990;
  padding: 0 6px;
  align-items: center;
  justify-content: space-around;
  pointer-events: auto;
}

.mobile-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-family: 'Prompt', 'Kanit', sans-serif;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex: 1;
  max-width: 72px;
}

.mobile-dock-item i {
  font-size: 1.15rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-dock-item:active {
  transform: scale(0.9);
}

.mobile-dock-item.active {
  color: #FFFFFF;
  font-weight: 600;
}

.mobile-dock-item.active i {
  color: var(--brand-primary);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(var(--brand-primary-rgb), 0.8));
}

.mobile-dock-item.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  width: 14px;
  height: 2px;
  border-radius: 9999px;
  background: var(--brand-primary);
  box-shadow: 0 0 8px var(--brand-primary);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 6px;
  flex-shrink: 0;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  background: rgba(var(--brand-primary-rgb), 0.2);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 310px;
  max-width: 86vw;
  background: #0B080E;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95);
  z-index: 100001;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  overflow-y: auto;
}

.mobile-drawer-backdrop.active .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.mobile-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #A1A1AA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Prompt', sans-serif;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.mobile-drawer-link i {
  width: 22px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--brand-primary);
}

.mobile-drawer-link:active,
.mobile-drawer-link:hover {
  background: rgba(var(--brand-primary-rgb), 0.12);
  border-color: rgba(var(--brand-primary-rgb), 0.3);
  color: #FFFFFF;
}

.mobile-drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0 16px;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 78px !important;
  }

  .mobile-bottom-dock {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-contact-btn,
  .nav-discord-btn {
    display: none !important;
  }

  .capsule-nav {
    height: 52px;
    padding: 0 8px 0 10px;
  }

  .nav-logo-badge {
    padding: 2px 0;
  }

  .nav-logo-badge img {
    height: 30px;
    max-width: 110px;
  }

  #navAuthContainer .btn {
    padding: 6px 12px;
    font-size: 0.80rem;
  }

  #navAuthContainer .btn-outline {
    display: none; 
  }

  .profile-trigger {
    padding: 2px 6px 2px 8px;
    gap: 6px;
  }

  .profile-name {
    max-width: 75px;
    font-size: 0.76rem;
  }

  .profile-credit {
    font-size: 0.78rem;
  }

  main {
    padding-top: 75px !important;
    padding-bottom: 50px !important;
  }

  .top-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .hero-welcome-section {
    padding: 78px 0 18px !important;
  }

  .hero-welcome-text h1 {
    font-size: 1.5rem !important;
  }

  .popular-spotlight-grid {
    grid-template-columns: 1fr !important;
  }

  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .why-card {
    padding: 16px !important;
  }

  #recommendedCategoriesGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .category-filter-bar {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    margin-bottom: 18px !important;
  }

  .category-filter-bar::-webkit-scrollbar {
    height: 3px;
  }

  .cat-filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .products-grid-custom,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  #productDetailContainer {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 18px 14px !important;
  }

  .order-card {
    padding: 16px !important;
  }

  .sfv2-inner {
    padding: 0 16px !important;
  }

  .sfv2-top,
  .sfv2-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .sfv2-copy {
    text-align: center !important;
    font-size: 0.74rem !important;
  }

  .sfv2-nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .sfv2-socials {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .products-grid-custom,
  .products-grid {
    gap: 8px !important;
  }

  .product-card-cv {
    border-radius: 12px !important;
  }

  .product-card-cv img,
  .cat-img {
    height: 125px !important;
  }

  .cat-card {
    min-height: 110px !important;
    border-radius: 12px !important;
  }

  .topup-card {
    padding: 22px 14px !important;
  }

  .table-responsive,
  .table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    width: 100% !important;
  }

  .nav-cart-btn {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   MONOCHROME THEME SYSTEM (BLACK & WHITE / NO YELLOW)
   Light & Dark Mode Tokens & Overrides
   ========================================================================== */

/* Navbar Theme Toggle Button */
.nav-theme-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  opacity: 0.85;
  position: relative;
  flex-shrink: 0;
  padding: 0;
}

.nav-theme-btn:hover {
  opacity: 1;
  color: #FFFFFF;
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

/* Global Transition for Theme Switching */
body, 
.capsule-nav, 
.game-card, 
.product-card-cv, 
.cat-card, 
.stat-inline-card, 
.announcement-box, 
.hero-frame, 
.topup-card, 
.site-footer-v2, 
.mobile-drawer, 
.mobile-dock,
.modal-overlay,
.auth-modal-card {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* ==========================================
   LIGHT THEME (WHITE / BLACK MONOCHROME)
   ========================================== */
html[data-theme="light"] {
  --brand-primary: #0F172A !important;
  --brand-primary-rgb: 15, 23, 42 !important;
  --brand-secondary: #334155 !important;
  --brand-accent: #000000 !important;
  --primary: #0F172A !important;
  --primary-hover: #1E293B !important;
  --bg-body: #F8FAFC !important;
  --bg-card: #FFFFFF !important;
  --bg-surface: #FFFFFF !important;
  --bg-surface-raised: #F1F5F9 !important;
  --bg-subtle: rgba(0, 0, 0, 0.02) !important;
  --border-color: #E2E8F0 !important;
  --border-hover: #CBD5E1 !important;
  --text-primary: #0F172A !important;
  --text-secondary: #475569 !important;
  --text-muted: #64748B !important;
  --text-tertiary: #94A3B8 !important;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.06) !important;
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.1) !important;
  background-color: #F8FAFC !important;
}

html[data-theme="light"] body {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

/* Ambient glow & stars in Light Mode */
html[data-theme="light"] .home-bg-stars {
  display: none !important;
}

html[data-theme="light"] .ambient-glow-top {
  background: radial-gradient(ellipse 55% 70% at 22% 0%, rgba(0, 0, 0, 0.04), transparent 70%),
              radial-gradient(ellipse 45% 60% at 65% -5%, rgba(0, 0, 0, 0.03), transparent 68%) !important;
}

/* Capsule Navbar in Light Mode */
html[data-theme="light"] .capsule-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .nav-logo-badge img {
  filter: none !important;
}

html[data-theme="light"] .nav-link {
  color: #64748B !important;
}

html[data-theme="light"] .nav-link i {
  color: #64748B !important;
}

html[data-theme="light"] .nav-link:hover {
  color: #0F172A !important;
  background: rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .nav-link:hover i {
  color: #0F172A !important;
}

html[data-theme="light"] .nav-link.active {
  color: #0F172A !important;
  font-weight: 700 !important;
  background: rgba(15, 23, 42, 0.08) !important;
  border-radius: 9999px;
}

html[data-theme="light"] .nav-link.active i {
  color: #0F172A !important;
}

html[data-theme="light"] .nav-link.active::after {
  display: none !important;
}

/* Nav Action Buttons in Light Mode */
html[data-theme="light"] .nav-contact-btn {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .nav-contact-btn * {
  color: #0F172A !important;
}

html[data-theme="light"] .nav-contact-btn:hover {
  background: #E2E8F0 !important;
  color: #000000 !important;
  border-color: #94A3B8 !important;
}

html[data-theme="light"] .nav-discord-btn,
html[data-theme="light"] .nav-cart-btn,
html[data-theme="light"] .nav-theme-btn {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #334155 !important;
  opacity: 1 !important;
}

html[data-theme="light"] .nav-discord-btn i,
html[data-theme="light"] .nav-cart-btn i,
html[data-theme="light"] .nav-theme-btn i {
  color: #334155 !important;
}

html[data-theme="light"] .nav-discord-btn:hover,
html[data-theme="light"] .nav-cart-btn:hover,
html[data-theme="light"] .nav-theme-btn:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
  border-color: #94A3B8 !important;
}

html[data-theme="light"] .nav-discord-btn:hover i,
html[data-theme="light"] .nav-cart-btn:hover i,
html[data-theme="light"] .nav-theme-btn:hover i {
  color: #0F172A !important;
}

/* Nav Auth Buttons in Light Mode */
html[data-theme="light"] #navAuthContainer .btn-outline {
  background: transparent !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

html[data-theme="light"] #navAuthContainer .btn-outline:hover {
  background: #F1F5F9 !important;
}

html[data-theme="light"] #navAuthContainer .btn-primary {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border: none !important;
}

html[data-theme="light"] #navAuthContainer .btn-primary:hover {
  background: #334155 !important;
}

/* Profile Dropdown in Light Mode */
html[data-theme="light"] .profile-trigger {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .profile-name {
  color: #0F172A !important;
}

html[data-theme="light"] .profile-credit {
  color: #0F172A !important;
}

html[data-theme="light"] .dropdown-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15) !important;
  color: #0F172A !important;
}

html[data-theme="light"] .dropdown-header {
  border-bottom: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] .dropdown-header-name {
  color: #0F172A !important;
}

html[data-theme="light"] .dropdown-credit-val {
  color: #0F172A !important;
}

html[data-theme="light"] .dropdown-item {
  color: #475569 !important;
}

html[data-theme="light"] .dropdown-item:hover {
  background: #F1F5F9 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .dropdown-divider {
  border-top: 1px solid #E2E8F0 !important;
}

/* Hero Section & Welcome Banners in Light Mode */
html[data-theme="light"] .hero-welcome-section {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .hero-welcome-text h1 {
  color: #0F172A !important;
}

html[data-theme="light"] .hero-welcome-text p {
  color: #64748B !important;
}

html[data-theme="light"] .hero-frame {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] .announcement-box {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .announcement-header h3 {
  color: #0F172A !important;
}

html[data-theme="light"] .announcement-body {
  color: #475569 !important;
}

/* Stat Cards in Light Mode */
html[data-theme="light"] .stat-inline-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .stat-watermark i {
  color: rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .stat-icon-box-small {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .stat-inline-card div[style*="var(--brand-primary)"] {
  color: #0F172A !important;
}

/* Section Titles in Light Mode */
html[data-theme="light"] .section-title,
html[data-theme="light"] .section-title-wrap h2,
html[data-theme="light"] .product-section-title {
  color: #0F172A !important;
}

/* Product & Category Cards in Light Mode */
html[data-theme="light"] .product-card-cv,
html[data-theme="light"] .product-card,
html[data-theme="light"] .cat-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  color: #0F172A !important;
}

html[data-theme="light"] .product-card-cv:hover,
html[data-theme="light"] .product-card:hover,
html[data-theme="light"] .cat-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .product-name-cv,
html[data-theme="light"] .cat-name,
html[data-theme="light"] .product-title {
  color: #0F172A !important;
}

html[data-theme="light"] .product-price-new,
html[data-theme="light"] .product-price {
  color: #0F172A !important;
}

html[data-theme="light"] .product-stock-cv,
html[data-theme="light"] .cat-count {
  color: #64748B !important;
}

html[data-theme="light"] .btn-buy-cv {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border: none !important;
}

html[data-theme="light"] .btn-buy-cv:hover {
  background: #334155 !important;
  color: #FFFFFF !important;
}

/* Category Filter Tabs in Light Mode */
html[data-theme="light"] .cat-filter-btn {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
}

html[data-theme="light"] .cat-filter-btn:hover {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}

html[data-theme="light"] .cat-filter-btn.active {
  background: #0F172A !important;
  border-color: #0F172A !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15) !important;
}

/* Search Bar & Inputs in Light Mode */
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
  border-color: #0F172A !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
}

/* Tables & Orders in Light Mode */
html[data-theme="light"] .table-wrapper,
html[data-theme="light"] .table-responsive,
html[data-theme="light"] .order-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}

html[data-theme="light"] th {
  background: #F8FAFC !important;
  color: #475569 !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] td {
  border-bottom: 1px solid #F1F5F9 !important;
  color: #0F172A !important;
}

/* Topup Cards in Light Mode */
html[data-theme="light"] .topup-card,
html[data-theme="light"] .cart-summary-box,
html[data-theme="light"] .cart-item-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Footer in Light Mode */
html[data-theme="light"] .site-footer-v2 {
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
}

html[data-theme="light"] .sfv2-brand-name {
  color: #FFFFFF !important;
}

html[data-theme="light"] .sfv2-icon-btn {
  background: #18181B !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #A1A1AA !important;
}

html[data-theme="light"] .sfv2-icon-btn:hover {
  background: #27272A !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

html[data-theme="light"] .sfv2-nav a {
  color: #71717A !important;
}

html[data-theme="light"] .sfv2-nav a:hover {
  color: #FFFFFF !important;
}

html[data-theme="light"] .sfv2-copy {
  color: #52525B !important;
}

/* Mobile Drawer & Mobile Dock in Light Mode */
html[data-theme="light"] .mobile-drawer {
  background: #FFFFFF !important;
  border-left: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .mobile-drawer-header {
  border-bottom-color: #E2E8F0 !important;
}

html[data-theme="light"] .mobile-drawer-close {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #475569 !important;
}

html[data-theme="light"] .mobile-drawer-link {
  color: #475569 !important;
}

html[data-theme="light"] .mobile-drawer-link:hover,
html[data-theme="light"] .mobile-drawer-link.active {
  background: #F1F5F9 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .mobile-dock {
  background: rgba(255, 255, 255, 0.95) !important;
  border-top: 1px solid #E2E8F0 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .mobile-dock-item {
  color: #64748B !important;
}

html[data-theme="light"] .mobile-dock-item.active {
  color: #0F172A !important;
}

html[data-theme="light"] .mobile-dock-item.active i {
  color: #0F172A !important;
  filter: none !important;
}

html[data-theme="light"] .mobile-dock-item.active::after {
  background: #0F172A !important;
  box-shadow: none !important;
}

/* Modals & SweetAlert in Light Mode */
html[data-theme="light"] .auth-modal-card,
html[data-theme="light"] .profile-modal-card,
html[data-theme="light"] .game-modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

html[data-theme="light"] .auth-modal-title,
html[data-theme="light"] .profile-modal-title {
  color: #0F172A !important;
}

html[data-theme="light"] .auth-pill-nav {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] .auth-pill-item {
  color: #64748B !important;
}

html[data-theme="light"] .auth-pill-item.active {
  background: #0F172A !important;
  color: #FFFFFF !important;
}

html[data-theme="light"] .swal2-popup {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] .swal2-title,
html[data-theme="light"] .swal2-html-container {
  color: #0F172A !important;
}

/* Preloader in Light Mode */
html[data-theme="light"] .preloader-overlay {
  background: #FFFFFF !important;
}

html[data-theme="light"] .preloader-ring {
  border-top-color: #0F172A !important;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .preloader-ring-outer {
  border-bottom-color: rgba(0, 0, 0, 0.15) !important;
}

html[data-theme="light"] .preloader-text {
  color: #0F172A !important;
}

html[data-theme="light"] .preloader-logo {
  color: #0F172A !important;
  filter: none !important;
}

/* Home Page Sections & Typography in Light Mode */
html[data-theme="light"] .why-section h2,
html[data-theme="light"] .why-section h2 span,
html[data-theme="light"] .why-card h3,
html[data-theme="light"] .popular-spotlight-left h2,
html[data-theme="light"] .popular-spotlight-left h2 span,
html[data-theme="light"] .recent-orders-section h2,
html[data-theme="light"] .reviews-section h2,
html[data-theme="light"] .section-title,
html[data-theme="light"] .section-title-wrap h2,
html[data-theme="light"] .spotlight-title,
html[data-theme="light"] .hero-welcome-text h1,
html[data-theme="light"] .hero-title-col h1 {
  color: #0F172A !important;
}

html[data-theme="light"] .why-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  color: #0F172A !important;
}

html[data-theme="light"] .why-icon {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .why-card p {
  color: #64748B !important;
}

html[data-theme="light"] .discord-widget-box {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .discord-widget-header {
  border-bottom: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] .discord-members-list {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] .discord-member-name {
  color: #0F172A !important;
}

html[data-theme="light"] .stat-total-label,
html[data-theme="light"] .stat-total-num,
html[data-theme="light"] .recent-orders-counter {
  color: #0F172A !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] [style*="color: #fff"],
html[data-theme="light"] [style*="color: #FFFFFF"],
html[data-theme="light"] [style*="color:#fff"],
html[data-theme="light"] [style*="color:#FFFFFF"],
html[data-theme="light"] [style*="color: rgb(255, 255, 255)"] {
  color: #0F172A !important;
}

html[data-theme="light"] #navAuthContainer .btn-primary,
html[data-theme="light"] .btn-card-copy,
html[data-theme="light"] .btn-hero-action,
html[data-theme="light"] .cat-filter-btn.active,
html[data-theme="light"] .category-pill.active,
html[data-theme="light"] .auth-pill-item.active {
  color: #FFFFFF !important;
}

html[data-theme="light"] .recent-orders-empty {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .recent-empty-title {
  color: #0F172A !important;
}

html[data-theme="light"] .recent-empty-sub {
  color: #64748B !important;
}

html[data-theme="light"] .recent-empty-icon {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}

html[data-theme="light"] .why-section h2,
html[data-theme="light"] .why-section h2 span,
html[data-theme="light"] .recent-marquee-section h2,
html[data-theme="light"] .recent-marquee-section h2 span {
  color: #0F172A !important;
}
