:root {
  --primary: #6366F1;
  --primary-rgb: 99, 102, 241;
  --primary-50: rgba(var(--primary-rgb), 0.05);
  --primary-100: rgba(var(--primary-rgb), 0.1);
  --primary-200: rgba(var(--primary-rgb), 0.2);
  --primary-300: rgba(var(--primary-rgb), 0.3);
  --secondary: #EC4899;
  --secondary-rgb: 236, 72, 153;
  --accent: #14B8A6;
  --accent-rgb: 20, 184, 166;
  --success: #10B981;
  --success-rgb: 16, 185, 129;
  --dark: #0F172A;
  --dark-rgb: 15, 23, 42;
  --darker: #020617;
  --card-bg: rgba(var(--dark-rgb), 0.7);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--darker);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--primary); color: #fff; }
::-moz-selection { background: var(--primary); color: #fff; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
* { scrollbar-width: thin; scrollbar-color: var(--primary) var(--darker); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════
   GLASSMORPHISM BASE
   ═══════════════════════════════════════════ */
.glass {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
@supports not (backdrop-filter: blur(24px)) {
  .glass, .glass-card { background: rgba(var(--dark-rgb), 0.95); }
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: var(--radius);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.02);
  pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.12), 0 0 0 1px rgba(var(--primary-rgb), 0.05);
}

/* ═══════════════════════════════════════════
   NEON GLOW EFFECTS
   ═══════════════════════════════════════════ */
.neon-glow {
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3),
              0 0 40px rgba(var(--primary-rgb), 0.1),
              inset 0 0 20px rgba(var(--primary-rgb), 0.05);
}
.neon-text {
  color: #fff;
  text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5),
               0 0 20px rgba(var(--primary-rgb), 0.3);
}
@supports (filter: drop-shadow(0 0 10px)) {
  .neon-glow { filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.3)) drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.1)); }
}
.neon-border {
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2),
              inset 0 0 15px rgba(var(--primary-rgb), 0.05);
}

/* ═══════════════════════════════════════════
   ANIMATED GRADIENT BACKGROUND
   ═══════════════════════════════════════════ */
.gradient-bg {
  background: linear-gradient(135deg, var(--darker) 0%, #0a0620 40%, #0d0522 60%, var(--darker) 100%);
  position: relative;
}
.gradient-bg::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 25% 35%, rgba(var(--primary-rgb), 0.07) 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(var(--secondary-rgb), 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.03) 0%, transparent 50%);
  animation: gradientShift 20s ease infinite;
  pointer-events: none;
  z-index: 0;
}
.gradient-bg::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}
@keyframes gradientShift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-3%, 3%) rotate(0.5deg); }
  50% { transform: translate(3%, -3%) rotate(-0.5deg); }
  75% { transform: translate(-3%, -3%) rotate(0.3deg); }
}

/* ═══════════════════════════════════════════
   FLOATING ELEMENTS
   ═══════════════════════════════════════════ */
.float-element {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* ═══════════════════════════════════════════
   BUTTONS - Modern Glassmorphism
   ═══════════════════════════════════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4F46E5);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 4px 16px rgba(var(--primary-rgb), 0.3),
    0 1px 3px rgba(0,0,0,0.15);
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
  border-radius: 14px 14px 0 0;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.1),
    0 8px 28px rgba(var(--primary-rgb), 0.45),
    0 2px 8px rgba(0,0,0,0.12);
  filter: brightness(1.06);
}
.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.2),
    0 2px 8px rgba(var(--primary-rgb), 0.2);
}
.btn-primary:active::after {
  width: 300px;
  height: 300px;
}
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; filter: none; }

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #BE185D);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 4px 16px rgba(var(--secondary-rgb), 0.3),
    0 1px 3px rgba(0,0,0,0.15);
}
.btn-secondary::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
  border-radius: 14px 14px 0 0;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 8px 28px rgba(var(--secondary-rgb), 0.45),
    0 2px 8px rgba(0,0,0,0.12);
  filter: brightness(1.06);
}
.btn-secondary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 2px 8px rgba(var(--secondary-rgb), 0.2);
}

.btn-outline {
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.06), rgba(var(--primary-rgb),0.02));
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  padding: 10px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);-webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 2px 8px -2px rgba(0,0,0,0.12);
}
.btn-outline::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 8px 28px rgba(var(--primary-rgb), 0.4);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   INPUT STYLES - Modern Floating
   ═══════════════════════════════════════════ */
.input-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  color: white;
  font-size: 15px;
  width: 100%;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  font-family: inherit;
}
.input-glass:focus {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.04);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08), 0 4px 16px rgba(var(--primary-rgb), 0.08);
}
.input-glass::placeholder { color: rgba(255, 255, 255, 0.25); }

/* ═══════════════════════════════════════════
   SKELETON LOADING — Liquid Glass
   ═══════════════════════════════════════════ */
.skeleton {
  background:
    linear-gradient(135deg,rgba(255,255,255,0.04) 0%,rgba(255,255,255,0.01) 40%,rgba(255,255,255,0.03) 100%),
    linear-gradient(90deg,transparent 0%,rgba(var(--primary-rgb,124,58,237),0.06) 50%,transparent 100%);
  background-size:100% 100%,200% 100%;
  animation:skeleton-shimmer 1.8s ease-in-out infinite;
  border-radius:10px;
  position:relative;overflow:hidden;
  border:0.5px solid rgba(255,255,255,0.04);
}
.skeleton::after{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.06),transparent);
  pointer-events:none;
}
@keyframes skeleton-shimmer {
  0% { background-position:100% 0,-200% 0; }
  100% { background-position:100% 0,200% 0; }
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: calc(20px + env(safe-area-inset-top, 0px));
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-container .toast { pointer-events: auto; }
@media (max-width: 480px) {
  .toast-container { left: 16px; right: 16px; top: calc(16px + env(safe-area-inset-top, 0px)); }
  .toast { min-width: auto; max-width: none; width: auto; }
}
.toast {
  padding: 14px 18px;
  border-radius: 16px;
  color: white;
  font-weight: 500;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  animation: toastSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  position: relative; overflow: hidden;
}
.toast-progress {
  position: absolute; bottom: 0; left: 0; height: 3px;
  border-radius: 0 0 16px 16px;
  animation: toastProgress linear forwards;
}
.toast-success {
  background: linear-gradient(135deg, rgba(16,185,129,0.97), rgba(5,150,105,0.95), rgba(4,120,87,0.93));
  border-color: rgba(16,185,129,0.35);
  box-shadow: 0 8px 32px rgba(16,185,129,0.3), 0 0 60px rgba(16,185,129,0.12), inset 0 1px 0 rgba(255,255,255,0.15), inset 0 -1px 0 rgba(0,0,0,0.1);
}
.toast-success .toast-progress { background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(167,243,208,0.5), rgba(255,255,255,0.2)); }
.toast-success .toast-icon {
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(167,243,208,0.18));
  box-shadow: 0 0 16px rgba(167,243,208,0.2), 0 2px 8px rgba(0,0,0,0.15);
  animation: toastIconPop 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.15s both, toastSuccessGlow 2s ease-in-out infinite;
}
@keyframes toastSuccessGlow {
  0%,100% { box-shadow: 0 0 16px rgba(167,243,208,0.2), 0 2px 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 0 24px rgba(167,243,208,0.35), 0 2px 8px rgba(0,0,0,0.15); }
}
.toast-error {
  background: linear-gradient(135deg, rgba(239,68,68,0.95), rgba(220,38,38,0.92));
  border-color: rgba(239,68,68,0.25);
  box-shadow: 0 8px 32px rgba(239,68,68,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.toast-error .toast-progress { background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.15)); }
.toast-error .toast-icon {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
}
.toast-warning {
  background: linear-gradient(135deg, rgba(245,158,11,0.95), rgba(217,119,6,0.92));
  border-color: rgba(245,158,11,0.25);
  box-shadow: 0 8px 32px rgba(245,158,11,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.toast-warning .toast-progress { background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.15)); }
.toast-warning .toast-icon {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
}
.toast-info {
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.85));
  border-color: rgba(var(--accent-rgb),0.25);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb),0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.toast-info .toast-progress { background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.15)); }
.toast-info .toast-icon {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
}
.toast-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 16px;
  animation: toastIconPop 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.15s both;
}
.toast-msg { flex: 1; line-height: 1.4; }
.toast-close {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: none; background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7); font-size: 12px; cursor: pointer;
  transition: all 0.2s;
}
.toast-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
@keyframes toastSlideIn {
  from { transform: translateX(110%) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}
.toast-removing {
  animation: toastSlideOut 0.35s cubic-bezier(0.4,0,1,1) forwards;
}
@keyframes toastSlideOut {
  to { transform: translateX(110%) scale(0.9); opacity: 0; }
}
@keyframes toastIconPop {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

/* ═══════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
@media (min-width: 480px) {
  .modal-overlay { align-items: center; }
}
@media (max-width: 479px) {
  .modal-overlay {
    align-items: flex-end;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  animation: modalSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
}
@media (max-width: 479px) {
  .modal-content {
    width: 100%;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 28px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    max-height: 85vh;
    animation: modalSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
@keyframes modalSlideIn {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes modalSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════
   RIPPLE EFFECT
   ═══════════════════════════════════════════ */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-effect {
  to { transform: scale(4); opacity: 0; }
}

/* ═══════════════════════════════════════════
   PAGE TRANSITION
   ═══════════════════════════════════════════ */
.page-transition { opacity: 1; }

/* ═══════════════════════════════════════════
   ORDER TIMELINE
   ═══════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.timeline-item {
  position: relative;
  padding-bottom: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--darker);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}
.timeline-item.completed::before { background: var(--success); box-shadow: 0 0 10px rgba(var(--success-rgb), 0.5); }
.timeline-item.rejected::before { background: #EF4444; box-shadow: 0 0 10px rgba(239,68,68,0.5); }
.timeline-item.pending::before { background: #F59E0B; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
  50% { box-shadow: 0 0 24px rgba(245, 158, 11, 0.8); }
}

/* ═══════════════════════════════════════════
   ORDERS HEADER
   ═══════════════════════════════════════════ */
.orders-header {
  position: relative;
  animation: headerIn 0.5s ease;
}
.orders-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb),0.15), rgba(var(--secondary-rgb),0.1), transparent);
}
@media (min-width: 640px) {
  .orders-header::after { display: none; }
}
@keyframes headerIn {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
#orderStats {
  flex-shrink: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#orderStats::-webkit-scrollbar { display: none; }
.hero-title {
  background: linear-gradient(135deg, #fff 30%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.orders-header h1.hero-title {
  position: relative;
  display: inline-block;
}
.orders-header h1.hero-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb),0.08), transparent 70%);
  pointer-events: none;
}
.search-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 640px) {
  .search-filter-bar {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════
   SKELETON HELPERS — Liquid Glass
   ═══════════════════════════════════════════ */
.skeleton-img {
  width: 48px; height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
}
.skeleton-badge {
  height: 24px; width: 64px;
  border-radius: 20px;
  flex-shrink: 0;
}
.skeleton-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.skeleton-line { height: 12px; border-radius: 6px; }
.skeleton-line-sm { height: 10px; border-radius: 5px; }
.skeleton-line-lg { height: 16px; border-radius: 8px; }
.skeleton-card {
  background:
    linear-gradient(135deg,rgba(255,255,255,0.03) 0%,rgba(255,255,255,0.008) 40%,rgba(255,255,255,0.02) 100%),
    rgba(10,14,28,0.5);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border:0.5px solid rgba(255,255,255,0.05);
  border-radius:16px;padding:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.03),0 2px 8px -2px rgba(0,0,0,0.2);
}
.skeleton-table-row {
  display:flex;align-items:center;gap:14px;
  padding:14px 0;
  border-bottom:0.5px solid rgba(255,255,255,0.03);
}
.skeleton-table-row:last-child { border-bottom:none; }
@media (max-width: 480px) {
  .skeleton-img { width: 36px; height: 36px; border-radius: 10px; }
  .skeleton-badge { height: 20px; width: 52px; }
}

/* ═══════════════════════════════════════════
   STAT CARDS
   ═══════════════════════════════════════════ */
.stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 12px 16px 12px 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 100px;
}
.stat-card:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.stat-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.stat-card:hover .stat-icon { transform: scale(1.08); }
.stat-icon-primary { background: rgba(var(--primary-rgb),0.15); color: var(--primary); }
.stat-icon-warning { background: rgba(245,158,11,0.15); color: #F59E0B; }
.stat-icon-success { background: rgba(var(--success-rgb),0.15); color: var(--success); }
.stat-num {
  font-size: 18px; font-weight: 800; line-height: 1.1; color: white;
  letter-spacing: -0.3px;
}
.stat-lbl {
  font-size: 10px; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;
}

/* ═══════════════════════════════════════════
   FILTER TABS
   ═══════════════════════════════════════════ */
.filter-tabs {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 479px) {
  .filter-tabs {
    margin-left: -4px; padding-left: 4px; padding-right: 12px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .filter-tab { padding: 6px 12px; font-size: 12px; scroll-snap-align: start; }
  .filter-tab i { font-size: 11px; }
}
.filter-tab {
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap; flex-shrink: 0;
}
.filter-tab:hover {
  background: rgba(var(--primary-rgb),0.08);
  border-color: rgba(var(--primary-rgb),0.25);
  color: white;
}
.filter-tab.active {
  background: linear-gradient(135deg, var(--primary), #4F46E5);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.35);
}

/* ═══════════════════════════════════════════
   ORDER CARDS
   ═══════════════════════════════════════════ */
.order-card {
  display: flex;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: orderCardIn 0.5s ease backwards;
  position: relative;
  overflow: hidden;
}
.order-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.order-card:hover::before { opacity: 1; }
.order-card:hover {
  border-color: rgba(var(--primary-rgb),0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(var(--primary-rgb),0.08);
}
.order-card:active { transform: translateY(-1px) scale(0.99); }
.order-card:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}
@keyframes orderCardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.order-card:nth-child(1) { animation-delay: 0.04s; }
.order-card:nth-child(2) { animation-delay: 0.08s; }
.order-card:nth-child(3) { animation-delay: 0.12s; }
.order-card:nth-child(4) { animation-delay: 0.16s; }
.order-card:nth-child(5) { animation-delay: 0.2s; }
.order-card:nth-child(6) { animation-delay: 0.24s; }
.order-card:nth-child(7) { animation-delay: 0.28s; }
.order-card:nth-child(8) { animation-delay: 0.32s; }

/* Status Accent Bar */
.order-card-accent {
  width: 4px; flex-shrink: 0;
  border-radius: 4px 0 0 4px;
}
.bar-pending { background: linear-gradient(to bottom, #F59E0B, #D97706); }
.bar-processing { background: linear-gradient(to bottom, var(--accent), #0891B2); }
.bar-completed { background: linear-gradient(to bottom, var(--success), #059669); }
.bar-rejected { background: linear-gradient(to bottom, #EF4444, #DC2626); }

.order-card-main {
  display: flex; align-items: center;
  gap: 14px; padding: 14px 16px 14px 14px;
  flex: 1; min-width: 0; z-index: 1;
}
.order-card-img-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  flex-shrink: 0; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  background: rgba(var(--primary-rgb),0.08);
}
.order-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.order-card:hover .order-card-img { transform: scale(1.08); }
.order-card-body { flex: 1; min-width: 0; }
.order-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 5px;
}
.order-card-title {
  font-size: 15px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.order-card-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
}
.order-id-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 3px 10px; border-radius: 6px;
  font-size: 11px; font-family: monospace;
  color: var(--text-secondary); cursor: pointer;
  transition: all 0.3s ease;
}
.order-id-badge:hover {
  background: rgba(var(--primary-rgb),0.12);
  border-color: rgba(var(--primary-rgb),0.25);
  color: var(--primary);
}
.order-date { font-size: 11px; color: var(--text-secondary); }
.order-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.order-price {
  font-size: 17px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.order-card-arrow {
  flex-shrink: 0; opacity: 0.3;
  transition: all 0.3s ease; font-size: 13px;
}
.order-card:hover .order-card-arrow {
  opacity: 1; transform: translateX(5px); color: var(--primary);
}

/* ═══════════════════════════════════════════
   SKELETON ORDER — Liquid Glass Card
   ═══════════════════════════════════════════ */
.order-skeleton {
  background:
    linear-gradient(135deg,rgba(255,255,255,0.03) 0%,rgba(255,255,255,0.008) 40%,rgba(255,255,255,0.02) 100%),
    rgba(10,14,28,0.5);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border: 0.5px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.03),0 2px 8px -2px rgba(0,0,0,0.2);
  position:relative;overflow:hidden;
}
.order-skeleton::before{
  content:'';position:absolute;top:0;left:12%;right:12%;height:0.5px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.05),transparent);
  pointer-events:none;
}

/* ═══════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════ */
.empty-state {
  text-align: center; padding: 56px 20px;
  animation: fadeIn 0.5s ease;
}
.empty-icon-wrap {
  width: 80px; height: 80px; margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb),0.08);
  border: 2px solid rgba(var(--primary-rgb),0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary);
  animation: float 4s ease-in-out infinite;
}
.empty-icon-wrap.error {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.15);
  color: #EF4444;
}

/* ═══════════════════════════════════════════
   ORDER DETAIL MODAL
   ═══════════════════════════════════════════ */
.order-detail-modal {
  animation: fadeIn 0.3s ease; position: relative;
}
.modal-deco {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  border-radius: 20px 20px 0 0;
}
@media (max-width: 479px) { .modal-deco { display: none; } }
.modal-drag-handle { display: none; }
@media (max-width: 479px) {
  .modal-drag-handle {
    display: flex; justify-content: center; margin-bottom: 16px;
  }
  .modal-drag-handle::after {
    content: ''; width: 36px; height: 4px;
    border-radius: 2px; background: rgba(255,255,255,0.12);
  }
}
.modal-icon-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 0.5px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);-webkit-backdrop-filter: blur(8px);
  color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 4px -1px rgba(0,0,0,0.2);
}
.modal-icon-btn:hover {
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.12), rgba(var(--primary-rgb),0.04));
  border-color: rgba(var(--primary-rgb),0.25);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 8px -1px rgba(0,0,0,0.25);
}
.modal-icon-btn-sm { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }

/* Detail Product Section */
.detail-product-section {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px; padding: 14px; margin-bottom: 16px;
}
.detail-product-img-wrap {
  width: 68px; height: 68px; border-radius: 14px;
  flex-shrink: 0; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  background: rgba(var(--primary-rgb),0.08);
}
.detail-product-img { width: 100%; height: 100%; object-fit: cover; }
.detail-product-info { flex: 1; min-width: 0; }

/* Divider */
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 14px;
  font-size: 12px; font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

/* Detail Grid */
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 8px;
}
.detail-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.3s ease;
}
.detail-item:hover { border-color: rgba(255,255,255,0.08); }
.detail-item.col-span-2 { grid-column: span 2; }
.detail-label {
  display: flex; align-items: center;
  font-size: 10px; color: var(--text-secondary);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 6px;
}
.detail-value {
  font-size: 14px; font-weight: 600; color: white;
  word-break: break-all;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.capitalize { text-transform: capitalize; }

/* Admin Note */
.detail-admin-note {
  display: flex; align-items: flex-start; gap: 12px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.06), rgba(var(--accent-rgb),0.01));
  border: 1px solid rgba(var(--accent-rgb),0.12);
  border-radius: 14px; padding: 16px;
}

/* ═══════════════════════════════════════════
   MODERN TIMELINE
   ═══════════════════════════════════════════ */
.timeline-modern { position: relative; padding: 6px 0 2px; }
.timeline-modern-item {
  position: relative; display: flex;
  align-items: flex-start; gap: 14px; padding-bottom: 28px;
}
.timeline-modern-item:last-child { padding-bottom: 0; }
.timeline-modern-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
  position: relative; z-index: 2;
  background: rgba(var(--primary-rgb),0.1);
  border: 2px solid rgba(var(--primary-rgb),0.18);
  color: var(--primary);
  transition: all 0.3s ease;
}
.timeline-modern-icon.done {
  background: linear-gradient(135deg, rgba(var(--success-rgb),0.18), rgba(var(--success-rgb),0.08));
  border-color: rgba(var(--success-rgb),0.35);
  color: var(--success);
  box-shadow: 0 0 20px rgba(var(--success-rgb),0.12);
}
.timeline-modern-icon.pending {
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(245,158,11,0.04));
  border-color: rgba(245,158,11,0.35);
  color: #F59E0B;
  animation: timelinePulse 2s infinite;
}
.timeline-modern-icon.rejected {
  background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(239,68,68,0.04));
  border-color: rgba(239,68,68,0.35);
  color: #EF4444;
}
@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(245,158,11,0.2); }
  50% { box-shadow: 0 0 24px rgba(245,158,11,0.4); }
}
.timeline-modern-content { flex: 1; padding-top: 7px; }
.timeline-modern-label { font-size: 14px; font-weight: 600; color: white; }
.timeline-modern-time { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.timeline-modern-line {
  position: absolute; left: 17px; top: 36px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(var(--primary-rgb),0.18), rgba(var(--primary-rgb),0.01));
  z-index: 1;
}
.timeline-modern-item.done .timeline-modern-line {
  background: linear-gradient(to bottom, rgba(var(--success-rgb),0.25), rgba(var(--success-rgb),0.03));
}

/* ═══════════════════════════════════════════
   SLIDER
   ═══════════════════════════════════════════ */
.slider-container {
  position: relative; outline: none; padding: 4px;
}
.slider-container:focus-visible .slider-frame {
  box-shadow: 0 0 0 2px var(--primary), 0 20px 60px rgba(0,0,0,0.5);
}
.slider-frame {
  position: relative; overflow: hidden;
  border-radius: 24px; touch-action: pan-y;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease;
  background: var(--darker);
  border: 1px solid rgba(255,255,255,0.06);
}
.slider-frame::after {
  content: ''; position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 23px;
  border: 1px solid rgba(255,255,255,0.03);
  pointer-events: none; z-index: 5;
}
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.slider-slide { min-width: 100%; position: relative; }
.slider-slide-inner {
  min-height: 320px; position: relative;
  display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.9), rgba(var(--primary-rgb),0.2));
  background-size: cover; background-position: center;
}
.slider-content {
  position: relative; z-index: 3;
  padding: 32px 40px; max-width: 600px; width: 100%; color: #fff;
}
.slider-badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: rgba(var(--primary-rgb),0.2);
  border: 1px solid rgba(var(--primary-rgb),0.25);
  color: var(--primary); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 12px; backdrop-filter: blur(8px);
}
.slider-title {
  font-size: clamp(24px, 5vw, 52px);
  font-weight: 800; line-height: 1.1; color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 8px;
}
.slider-subtitle {
  font-size: clamp(14px, 2.5vw, 18px);
  color: rgba(255,255,255,0.65); line-height: 1.5;
  margin-bottom: 16px; max-width: 480px;
}
.slider-content .btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; font-size: 15px;
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 42px; height: 42px;
  border: none; border-radius: 50%;
  background: rgba(var(--dark-rgb),0.65);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0; pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
}
.slider-frame:hover .slider-arrow,
.slider-container:focus-within .slider-arrow {
  opacity: 1; pointer-events: auto;
}
.slider-arrow:hover {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(var(--primary-rgb),0.5);
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow:active { transform: translateY(-50%) scale(0.92); }
.slider-arrow-prev { left: 14px; }
.slider-arrow-next { right: 14px; }
.slider-dots {
  position: absolute; bottom: 16px;
  left: 50%; transform: translateX(-50%);
  display: flex; justify-content: center; gap: 8px;
  z-index: 10; padding: 6px 14px; border-radius: 20px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.05);
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none; position: relative; overflow: hidden;
  min-width: 10px; min-height: 10px;
}
.slider-dot:hover { background: rgba(255,255,255,0.5); }
.slider-dot:focus-visible { box-shadow: 0 0 0 2px var(--primary); }
.slider-dot.active {
  background: var(--primary); width: 24px; border-radius: 4px;
  box-shadow: 0 0 14px rgba(var(--primary-rgb),0.5);
}

/* ═══════════════════════════════════════════
   CATEGORY CARDS
   ═══════════════════════════════════════════ */
.category-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 20px;
  text-align: center; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.category-card::before {
  content: ''; position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.08), transparent);
  opacity: 0; transition: opacity 0.4s ease;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb),0.4);
  box-shadow: 0 16px 48px rgba(var(--primary-rgb),0.15);
}
.category-card .icon-wrap {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.15), rgba(var(--secondary-rgb),0.15));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 24px;
  transition: all 0.4s ease;
}
.category-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb),0.3);
}

/* ═══════════════════════════════════════════
   PRODUCT CARD
   ═══════════════════════════════════════════ */
.product-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb),0.3);
  box-shadow: 0 20px 56px rgba(var(--primary-rgb),0.12);
}
.product-card img {
  width: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover img { transform: scale(1.06); }
.product-card .card-body { padding: 16px; }
.product-card .price {
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Line clamp */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ═══════════════════════════════════════════
   FLASH SALE TIMER
   ═══════════════════════════════════════════ */
.flash-timer { display: flex; gap: 8px; justify-content: center; }
.flash-timer .time-block {
  background: rgba(0,0,0,0.45); border-radius: 10px;
  padding: 8px 16px; text-align: center; min-width: 60px;
}
.flash-timer .time-block .num {
  font-size: 24px; font-weight: 700; color: var(--accent);
}
.flash-timer .time-block .label {
  font-size: 10px; color: var(--text-secondary);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   LUCKY SPIN WHEEL
   ═══════════════════════════════════════════ */
.spin-wheel-container { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.spin-wheel {
  width: 100%; height: 100%; border-radius: 50%;
  position: relative; overflow: hidden;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
.spin-wheel .segment {
  position: absolute; width: 50%; height: 50%;
  transform-origin: bottom right;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.spin-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 4px solid var(--darker);
  color: white; font-weight: 700; font-size: 12px;
  cursor: pointer; z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 4px 16px rgba(0,0,0,0.35),
    0 0 20px rgba(var(--primary-rgb),0.2);
}
.spin-btn::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}
.spin-btn:active { transform: translate(-50%, -50%) scale(0.92); }

/* ═══════════════════════════════════════════
   LEADERBOARD
   ═══════════════════════════════════════════ */
.leaderboard-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: 12px;
  transition: all 0.3s ease;
}
.leaderboard-item:hover { background: rgba(255,255,255,0.03); }
.leaderboard-item .rank {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #000; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #B8860B); color: #000; }
.rank-other { background: rgba(255,255,255,0.08); color: var(--text-secondary); }

/* ═══════════════════════════════════════════
   LIVE ACTIVITY FEED
   ═══════════════════════════════════════════ */
.activity-feed { max-height: 400px; overflow-y: auto; }
.activity-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px;
  animation: slideInUp 0.5s ease;
}
@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.activity-item:hover { background: rgba(255,255,255,0.02); }
.activity-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); flex-shrink: 0;
  animation: pulse 2s infinite;
}

/* ═══════════════════════════════════════════
   FLOATING SUPPORT
   ═══════════════════════════════════════════ */
.floating-support {
  position: fixed; bottom: 85px; right: 20px;
  z-index: 999;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
.floating-support .support-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; border: none; cursor: pointer;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 8px 32px rgba(var(--primary-rgb),0.4),
    0 0 20px rgba(var(--primary-rgb),0.15);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.floating-support .support-btn::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}
.floating-support .support-btn:hover {
  transform: scale(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 12px 40px rgba(var(--primary-rgb),0.5),
    0 0 30px rgba(var(--primary-rgb),0.2);
}
.floating-support .support-options {
  display: none; flex-direction: column; gap: 8px;
}
.floating-support .support-options.active { display: flex; }
.floating-support .support-options a {
  padding: 12px 20px; border-radius: 12px;
  text-decoration: none; color: white;
  font-weight: 500; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  animation: slideInUp 0.3s ease;
}
.floating-support .support-options .wa { background: #25D366; }
.floating-support .support-options .tg { background: #0088CC; }

/* ═══════════════════════════════════════════
   CHATBOT
   ═══════════════════════════════════════════ */
.chatbot-container {
  position: fixed; bottom: 100px; right: 24px;
  width: 360px; max-width: calc(100vw - 48px);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; z-index: 998;
  display: none;
  box-shadow: 0 20px 64px rgba(0,0,0,0.5);
}
.chatbot-container.active { display: block; animation: modalSlideIn 0.3s ease; }
.chatbot-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
}
.chatbot-messages { height: 300px; overflow-y: auto; padding: 16px; }
.chatbot-messages .msg {
  margin-bottom: 12px; padding: 12px 16px;
  border-radius: 16px; max-width: 80%;
  font-size: 14px; line-height: 1.5;
}
.chatbot-messages .bot-msg {
  background: rgba(255,255,255,0.04);
  border-bottom-left-radius: 4px;
}
.chatbot-messages .user-msg {
  background: linear-gradient(135deg, var(--primary), #4F46E5);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chatbot-input {
  display: flex; padding: 12px; gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.chatbot-input input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 12px;
  color: white; outline: none;
}
.chatbot-quick {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 8px 16px;
}
.chatbot-quick button {
  background: rgba(var(--primary-rgb),0.12);
  border: 1px solid rgba(var(--primary-rgb),0.25);
  color: var(--text-secondary);
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; cursor: pointer;
  transition: all 0.3s ease;
}
.chatbot-quick button:hover {
  background: rgba(var(--primary-rgb),0.25); color: white;
}

/* ═══════════════════════════════════════════
   DAILY REWARDS
   ═══════════════════════════════════════════ */
.daily-rewards-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
}
.daily-reward-item {
  aspect-ratio: 1; border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 12px; gap: 4px;
  transition: all 0.3s ease; cursor: pointer;
}
.daily-reward-item.claimed {
  border-color: var(--success);
  background: rgba(var(--success-rgb),0.08);
}
.daily-reward-item.current {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(var(--primary-rgb),0.25);
  animation: pulse 2s infinite;
}
.daily-reward-item.locked { opacity: 0.4; }

/* ═══════════════════════════════════════════
   ADMIN SPECIFIC (in main CSS)
   ═══════════════════════════════════════════ */
.admin-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 24px;
  transition: all 0.3s ease;
}
.admin-card:hover {
  border-color: rgba(var(--primary-rgb),0.25);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb),0.08);
}
.stat-value { font-size: 32px; font-weight: 700; }
.stat-label { color: var(--text-secondary); font-size: 14px; }

/* ═══════════════════════════════════════════
   TABLE STYLES
   ═══════════════════════════════════════════ */
.table-glass { width: 100%; border-collapse: collapse; }
.table-glass th {
  text-align: left; padding: 12px 16px;
  color: var(--text-secondary); font-weight: 600;
  font-size: 13px; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.table-glass td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  font-size: 14px;
}
.table-glass tr:hover td { background: rgba(255,255,255,0.015); }

/* ═══════════════════════════════════════════
   STATUS BADGES
   ═══════════════════════════════════════════ */
.badge {
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; display: inline-block;
}
.badge-pending { background: rgba(245,158,11,0.12); color: #F59E0B; border: 1px solid rgba(245,158,11,0.2); }
.badge-processing { background: rgba(var(--accent-rgb),0.12); color: var(--accent); border: 1px solid rgba(var(--accent-rgb),0.2); }
.badge-completed { background: rgba(var(--success-rgb),0.12); color: var(--success); border: 1px solid rgba(var(--success-rgb),0.2); }
.badge-paid { background: rgba(var(--success-rgb),0.12); color: var(--success); border: 1px solid rgba(var(--success-rgb),0.2); }
.badge-failed { background: rgba(239,68,68,0.12); color: #EF4444; border: 1px solid rgba(239,68,68,0.2); }
.badge-rejected { background: rgba(239,68,68,0.12); color: #EF4444; border: 1px solid rgba(239,68,68,0.2); }
.badge-refunded { background: rgba(168,85,247,0.12); color: #A855F7; border: 1px solid rgba(168,85,247,0.2); }

.order-card.rejected {
  border-color: rgba(239,68,68,0.12);
  background: rgba(239,68,68,0.02);
}
.order-card.rejected:hover {
  border-color: rgba(239,68,68,0.25);
  box-shadow: 0 8px 32px rgba(239,68,68,0.06);
}

/* ═══════════════════════════════════════════
   SITE NOTICE POPUP
   ═══════════════════════════════════════════ */
.notice-overlay {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 99998;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.notice-overlay.active { display: flex; }
.notice-popup {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; max-width: 440px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.notice-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s ease;
  z-index: 2; font-size: 14px;
}
.notice-body { padding: 24px 28px 28px; }
.notice-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.notice-message { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }
.notice-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.notice-btn { flex: 1; min-width: 120px; text-align: center; }

/* ═══════════════════════════════════════════
   WHY CHOOSE US SECTION
   ═══════════════════════════════════════════ */
.why-stats-wrap { padding: 0 0 2rem; }
.why-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; max-width: 700px; margin: 0 auto;
}
.why-stat-item {
  text-align: center; padding: 20px 8px; border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.why-stat-item::before {
  content: ''; position: absolute; inset: -1px; border-radius: 16px; padding: 1px;
  background: conic-gradient(from var(--stat-angle, 0deg), rgba(var(--primary-rgb),0.3), transparent 40%, transparent 60%, rgba(var(--accent-rgb),0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.why-stat-item:hover::before { opacity: 1; }
.why-stat-item:hover {
  border-color: rgba(var(--primary-rgb),0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(var(--primary-rgb),0.08);
}
.why-stat-icon {
  width: 36px; height: 36px; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px;
  background: rgba(var(--primary-rgb),0.08);
  border: 1px solid rgba(var(--primary-rgb),0.12);
  color: var(--primary);
  transition: all 0.4s;
}
.why-stat-item:hover .why-stat-icon {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.15);
}
.why-stat-num {
  font-size: clamp(24px, 5vw, 36px); font-weight: 900;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.65));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; display: inline;
}
.why-stat-plus {
  display: inline; font-size: clamp(14px, 3vw, 20px);
  font-weight: 700; color: var(--primary); margin-left: 2px;
}
.why-stat-label {
  font-size: clamp(10px, 2vw, 12px);
  color: var(--text-secondary); margin-top: 6px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}

/* Main Card */
.why-card {
  position: relative; padding: 2.5rem 1.5rem;
  border-radius: 28px; overflow: hidden;
}
.why-card-border {
  position: absolute; inset: 0; border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(170deg, rgba(var(--dark-rgb),0.5), rgba(var(--primary-rgb),0.015) 40%, rgba(var(--dark-rgb),0.7));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 28px; padding: 1px;
  background: linear-gradient(160deg, rgba(var(--primary-rgb),0.15), transparent 30%, transparent 70%, rgba(var(--accent-rgb),0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.6;
}

/* Floating Orbs */
.why-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: 0.15;
}
.why-orb-1 {
  width: 200px; height: 200px; top: -60px; left: -40px;
  background: var(--primary);
  animation: whyOrbFloat1 8s ease-in-out infinite;
}
.why-orb-2 {
  width: 160px; height: 160px; bottom: -40px; right: -30px;
  background: var(--accent);
  animation: whyOrbFloat2 10s ease-in-out infinite;
}
.why-orb-3 {
  width: 120px; height: 120px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--success);
  animation: whyOrbFloat3 12s ease-in-out infinite;
  opacity: 0.08;
}
@keyframes whyOrbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}
@keyframes whyOrbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-25px, -15px); }
}
@keyframes whyOrbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}

/* Header */
.why-header { text-align: center; margin-bottom: 2.5rem; position: relative; z-index: 1; }
.why-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb),0.06);
  border: 1px solid rgba(var(--primary-rgb),0.12);
  margin-bottom: 1rem;
}
.why-pill i { font-size: 11px; }
.why-title {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 900; color: #fff;
  letter-spacing: -0.5px; line-height: 1.15;
  margin-bottom: 0.5rem;
}
.why-gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-subtitle {
  font-size: 13px; color: var(--text-secondary);
  max-width: 340px; margin: 0 auto; line-height: 1.7;
}

/* Feature Grid */
.why-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; position: relative; z-index: 1;
}
.why-features-grid .why-feature-card:nth-child(4),
.why-features-grid .why-feature-card:nth-child(5) {
  /* last 2 cards centered in bottom row */
}

/* Feature Cards */
.why-feature-card {
  position: relative; padding: 1.75rem 1.25rem 1.5rem;
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  cursor: default;
}
.why-feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(var(--accent-rgb),0.06);
}
.why-feature-border {
  position: absolute; inset: -1px; border-radius: 20px; padding: 1px;
  background: conic-gradient(from 0deg, rgba(var(--accent-rgb),0.4), transparent 30%, transparent 70%, rgba(var(--accent-rgb),0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
  animation: whyBorderSpin 6s linear infinite paused;
}
.why-feature-card:hover .why-feature-border { opacity: 1; animation-play-state: running; }
@keyframes whyBorderSpin { to { transform: rotate(360deg); } }
.why-feature-glow {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb),0.08), transparent 60%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.why-feature-card:hover .why-feature-glow { opacity: 1; }

/* Feature Icon */
.why-feature-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px; font-size: 22px;
  background: rgba(var(--accent-rgb),0.08);
  border: 1px solid rgba(var(--accent-rgb),0.15);
  color: rgba(var(--accent-rgb),1);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  position: relative; z-index: 1;
}
.why-feature-card:hover .why-feature-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb),0.2);
  background: rgba(var(--accent-rgb),0.12);
}

/* Feature Text */
.why-feature-title {
  font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,0.9); margin-bottom: 6px;
  text-align: center; transition: color 0.35s;
  position: relative; z-index: 1;
}
.why-feature-card:hover .why-feature-title { color: #fff; }
.why-feature-desc {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.7; text-align: center;
  margin-bottom: 14px; transition: color 0.35s;
  position: relative; z-index: 1;
}
.why-feature-card:hover .why-feature-desc { color: rgba(255,255,255,0.5); }

/* Feature Tags */
.why-feature-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  position: relative; z-index: 1;
}
.why-tag {
  padding: 4px 10px; border-radius: 8px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(var(--accent-rgb),0.8);
  background: rgba(var(--accent-rgb),0.06);
  border: 1px solid rgba(var(--accent-rgb),0.1);
  transition: all 0.35s;
}
.why-feature-card:hover .why-tag {
  background: rgba(var(--accent-rgb),0.1);
  border-color: rgba(var(--accent-rgb),0.18);
}

/* ═══════════════════════════════════════════
   DEVELOPER CREDIT
   ═══════════════════════════════════════════ */
.dev-credit {
  display: inline-flex; position: relative; text-decoration: none;
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.dev-credit:hover { transform: translateY(-2px) scale(1.03); }
.dev-credit-border {
  position: absolute; inset: 0; border-radius: 14px; padding: 1px;
  background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #a78bfa, #6366f1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: devBorderSpin 4s linear infinite;
}
@keyframes devBorderSpin { to { transform: rotate(360deg); } }
.dev-credit-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 14px; border-radius: 13px;
  background: rgba(15,23,42,0.9); backdrop-filter: blur(12px);
}
.dev-credit-icon {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 9px; font-size: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
  color: #818cf8; transition: all 0.35s;
}
.dev-credit:hover .dev-credit-icon {
  background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(139,92,246,0.25));
  transform: rotate(-8deg) scale(1.1);
}
.dev-credit-text { display: flex; flex-direction: column; text-align: left; }
.dev-credit-label {
  font-size: 9px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.35); line-height: 1;
}
.dev-credit-name {
  font-size: 13px; font-weight: 800; line-height: 1.2; margin-top: 1px;
  background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dev-credit:hover .dev-credit-name {
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd, #d8b4fe);
  -webkit-background-clip: text; background-clip: text;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════ */
.reveal-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal-up.revealed { opacity: 1; transform: translateY(0); transition-duration: 0.45s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
.bottom-nav {
  padding-bottom: 0;
  padding-top: 0;
}
.page-content { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { .page-content { padding-bottom: 24px; } }

@media (min-width: 640px) {
  .why-card { padding: 3rem 2rem; }
  .why-features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-features-grid .why-feature-card:nth-child(4),
  .why-features-grid .why-feature-card:nth-child(5) {
    /* first 2 cards on top row of 3, these 2 centered below */
  }
}
@media (min-width: 768px) {
  .why-features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .why-card { padding: 3rem 2.5rem; }
  .why-features-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .why-orb { display: none; }
  .why-card { padding: 1.75rem 1rem; border-radius: 22px; }
  .why-header { margin-bottom: 1.5rem; }
  .why-pill { font-size: 9px; padding: 5px 14px; letter-spacing: 1.5px; }
  .why-title { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .why-subtitle { font-size: 12px; max-width: 280px; }
  .why-features-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-feature-card {
    display: grid; grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    text-align: left; padding: 1rem 1.15rem;
    gap: 0 14px; align-items: start;
  }
  .why-feature-icon {
    width: 46px; height: 46px; font-size: 18px; border-radius: 13px;
    margin: 0; grid-row: 1 / 3; align-self: center;
  }
  .why-feature-title { font-size: 14px; margin-bottom: 2px; text-align: left; }
  .why-feature-desc { font-size: 11px; margin-bottom: 8px; text-align: left; line-height: 1.6; }
  .why-feature-tags { justify-content: flex-start; }
  .why-tag { font-size: 9px; padding: 3px 8px; }
  .why-stats-grid { gap: 8px; max-width: 100%; }
  .why-stat-item { padding: 14px 6px; border-radius: 14px; min-height: 80px; }
  .why-stat-icon { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; margin-bottom: 6px; }
  .why-stat-num { font-size: clamp(22px, 6vw, 30px); }
  .why-stat-label { font-size: 9px; letter-spacing: 0.5px; margin-top: 4px; }
  .product-card img { height: 130px; }
  .daily-rewards-grid { grid-template-columns: repeat(4, 1fr); }
  .spin-wheel-container { width: 250px; height: 250px; }
  .chatbot-container { width: calc(100vw - 32px); right: 16px; bottom: 100px; }
  .floating-support { bottom: 85px; }
  .toast { min-width: auto; max-width: calc(100vw - 40px); }
  .modal-content { padding: 24px; }
  .stat-value { font-size: 24px; }
  .table-glass { font-size: 13px; }
  .table-glass th, .table-glass td { padding: 8px 10px; }
  .stat-card { padding: 6px 10px 6px 8px; min-width: auto; gap: 6px; }
  .stat-num { font-size: 14px; }
  .stat-icon { width: 26px; height: 26px; font-size: 10px; border-radius: 7px; }
  .stat-lbl { font-size: 8px; }
  .order-card-main { padding: 12px; gap: 12px; }
  .order-card-img-wrap { width: 48px; height: 48px; border-radius: 12px; }
  .order-card-title { font-size: 14px; }
  .order-price { font-size: 15px; }
  .detail-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .detail-item { padding: 10px 12px; }
  .detail-product-section { padding: 12px; gap: 12px; }
  .detail-product-img-wrap { width: 52px; height: 52px; }
  .slider-container { padding: 3px; }
  .slider-frame { border-radius: 16px; box-shadow: 0 10px 32px rgba(0,0,0,0.4); }
  .slider-slide-inner { min-height: 200px; }
  .slider-content { padding: 20px 24px; }
  .slider-badge { font-size: 10px; padding: 3px 10px; margin-bottom: 8px; }
  .slider-subtitle { margin-bottom: 12px; }
  .slider-content .btn-primary { padding: 10px 20px; font-size: 13px; }
  .slider-progress { height: 2px; }
  .slider-arrow { width: 30px; height: 30px; font-size: 11px; }
  .slider-arrow-prev { left: 8px; }
  .slider-arrow-next { right: 8px; }
  .slider-dots { gap: 6px; padding: 4px 10px; bottom: 10px; }
  .slider-dot { width: 10px; height: 10px; }
  .slider-dot.active { width: 22px; }
  .btn-primary, .btn-secondary, .btn-outline { padding: 10px 20px; font-size: 14px; }
  .input-glass { padding: 12px 14px; font-size: 14px; }
  .product-card .price { font-size: 16px; }
  .floating-support .support-btn { width: 48px; height: 48px; font-size: 20px; }
  .sidebar { width: 280px; }
}
@media (max-width: 480px) {
  .why-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .why-stat-item { padding: 12px 4px; border-radius: 12px; min-height: 72px; }
  .why-stat-icon { width: 28px; height: 28px; font-size: 11px; border-radius: 7px; margin-bottom: 4px; }
  .why-stat-num { font-size: 20px; }
  .why-stat-plus { font-size: 12px; }
  .why-stat-label { font-size: 8px; letter-spacing: 0.3px; }
  .why-card { padding: 1.5rem 0.875rem; border-radius: 20px; }
  .why-feature-card { padding: 0.875rem 1rem; gap: 0 12px; }
  .why-feature-icon { width: 42px; height: 42px; font-size: 17px; border-radius: 12px; }
  .why-feature-title { font-size: 13px; }
  .why-feature-desc { font-size: 10.5px; margin-bottom: 8px; line-height: 1.5; }
  .why-tag { font-size: 8.5px; padding: 2.5px 7px; border-radius: 6px; }
  .why-pill { font-size: 8px; padding: 4px 12px; letter-spacing: 1.5px; margin-bottom: 8px; }
  .why-title { font-size: 1.15rem; }
  .why-subtitle { font-size: 11px; max-width: 260px; line-height: 1.6; }
  .why-header { margin-bottom: 1.25rem; }
  .product-card img { height: 110px; }
  .slider-slide-inner { min-height: 170px; }
  .stat-card { padding: 4px 8px 4px 6px; gap: 5px; }
  .stat-num { font-size: 13px; }
  .stat-icon { width: 22px; height: 22px; font-size: 9px; border-radius: 6px; }
  .stat-lbl { font-size: 7px; letter-spacing: 0; }
  .stat-card:last-child { display: none; }
  .order-card-main { padding: 10px; gap: 10px; }
  .order-card-img-wrap { width: 40px; height: 40px; border-radius: 10px; }
  .order-card-title { font-size: 13px; }
  .order-card-meta { gap: 8px; flex-wrap: wrap; }
  .order-price { font-size: 14px; }
  .order-card-arrow { display: none; }
  .filter-tab { font-size: 11px; padding: 5px 10px; }
  .filter-tab i { font-size: 10px; }
  .empty-state { padding: 40px 16px; }
  .empty-icon-wrap { width: 64px; height: 64px; font-size: 22px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-item.col-span-2 { grid-column: span 1; }
  .detail-product-section { padding: 10px; gap: 10px; }
  .detail-product-img-wrap { width: 44px; height: 44px; border-radius: 10px; }
  .timeline-modern-icon { width: 30px; height: 30px; font-size: 11px; }
  .timeline-modern-line { left: 14px; }
  .timeline-modern-item { gap: 10px; padding-bottom: 20px; }
  .timeline-modern-label { font-size: 13px; }
  .timeline-modern-content { padding-top: 5px; }
  .divider { margin: 14px 0 10px; font-size: 11px; }
  .slider-content { padding: 16px 18px; }
  .slider-badge { font-size: 9px; padding: 2px 8px; margin-bottom: 6px; letter-spacing: 1px; }
  .slider-title { margin-bottom: 4px; }
  .slider-subtitle { font-size: 12px; margin-bottom: 10px; }
  .slider-content .btn-primary { padding: 8px 16px; font-size: 12px; }
  .slider-dots { padding: 3px 8px; gap: 5px; bottom: 8px; }
  .slider-dot { width: 10px; height: 10px; }
  .slider-dot.active { width: 22px; }
  .slider-arrow { width: 26px; height: 26px; font-size: 10px; }
  .slider-arrow-prev { left: 5px; }
  .slider-arrow-next { right: 5px; }
  .toast { font-size: 13px; padding: 12px 16px; }
}
@media (max-width: 400px) {
  .why-stats-grid { gap: 6px; }
  .why-stat-item { padding: 10px 4px; min-height: 66px; border-radius: 10px; }
  .why-stat-icon { width: 24px; height: 24px; font-size: 10px; border-radius: 6px; margin-bottom: 3px; }
  .why-stat-num { font-size: 18px; }
  .why-stat-plus { font-size: 10px; }
  .why-stat-label { font-size: 7px; letter-spacing: 0; }
  .why-card { padding: 1.25rem 0.75rem; border-radius: 18px; }
  .why-feature-card { padding: 0.75rem 0.875rem; gap: 0 10px; }
  .why-feature-icon { width: 38px; height: 38px; font-size: 15px; border-radius: 11px; }
  .why-feature-title { font-size: 12px; }
  .why-feature-desc { font-size: 10px; margin-bottom: 6px; line-height: 1.5; }
  .why-tag { font-size: 8px; padding: 2px 6px; }
  .why-title { font-size: 1.05rem; }
  .why-subtitle { font-size: 10px; }
  .why-header { margin-bottom: 1rem; }
  .stat-card { padding: 3px 6px 3px 5px; gap: 4px; }
  .stat-num { font-size: 12px; }
  .stat-icon { width: 20px; height: 20px; font-size: 8px; border-radius: 5px; }
  .stat-lbl { font-size: 6px; }
  .stat-card:nth-child(2) { display: none; }
  .order-card-main { padding: 8px; gap: 8px; }
  .order-card-img-wrap { width: 36px; height: 36px; border-radius: 8px; }
  .order-card-title { font-size: 12px; }
  .order-card-meta { gap: 6px; }
  .order-id-badge { font-size: 10px; padding: 2px 7px; }
  .order-date { font-size: 10px; }
  .order-price { font-size: 13px; }
  .order-card-footer .badge { font-size: 9px; padding: 2px 8px; }
  .order-card { border-radius: 12px; }
  .order-card-accent { width: 3px; }
  .filter-tab { font-size: 10px; padding: 4px 8px; gap: 3px; }
  .filter-tab i { font-size: 9px; }
  .search-filter-bar { gap: 6px; }
  .empty-state { padding: 32px 12px; }
  .empty-icon-wrap { width: 52px; height: 52px; font-size: 18px; margin-bottom: 14px; }
}

/* ── Desktop Game Cards (7-col) ── */
@media (min-width: 1024px) {
  .product-card {
    border-radius: 14px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .product-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.15), 0 0 0 1px rgba(var(--primary-rgb), 0.2);
  }
  .product-card img {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
    height: auto !important;
  }
  .product-card:hover img {
    transform: scale(1.08);
  }
  .product-card h3 {
    font-size: 12px;
    line-height: 1.3;
  }

  /* ── Product Detail Page Desktop ── */
  main > .grid.md\:grid-cols-2 {
    gap: 3rem;
    align-items: start;
  }
  main > .grid.md\:grid-cols-2 > div:first-child .glass-card {
    border-radius: 20px;
    max-height: 480px;
  }
  main > .grid.md\:grid-cols-2 > div:first-child img {
    height: 420px !important;
    object-fit: cover;
  }
  main > .grid.md\:grid-cols-2 > div:last-child {
    padding: 1rem 0;
  }
  main > .grid.md\:grid-cols-2 > div:last-child h1 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
  }
  main > .grid.md\:grid-cols-2 > div:last-child .grid.grid-cols-2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
  main > .grid.md\:grid-cols-2 > div:last-child .grid.grid-cols-2 > div {
    padding: 1rem 0.75rem;
    border-radius: 14px;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  }
  main > .grid.md\:grid-cols-2 > div:last-child .grid.grid-cols-2 > div:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08) !important;
  }
  main > .grid.md\:grid-cols-2 > div:last-child a.btn-primary {
    border-radius: 16px;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    max-width: 420px;
    margin: 0 auto;
  }
  main > .grid.md\:grid-cols-2 > div:last-child a.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.35);
  }

  /* Related Products desktop */
  section.mt-12, section.mt-16 {
    margin-top: 4rem;
  }
  section .grid.grid-cols-3 {
    gap: 1rem;
  }
  section .product-card img {
    aspect-ratio: 4/3 !important;
    height: 180px !important;
    object-fit: cover;
  }
}


