/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea, [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Selection styling - Cyber-Glass */
::selection {
  background: rgba(34, 211, 238, 0.25);
  color: #fff;
}

::-moz-selection {
  background: rgba(34, 211, 238, 0.25);
  color: #fff;
}

:root {
  /* Dark Foundation - Exact Reference */
  --black-deep: #060814;
  --gray-main: #060814;
  --gray-card: #0f172a;
  --gray-soft: #2b3e7a;
  
  /* Core Brand Colors - Royal Blue & Cyan High-Energy */
  --neon-blue: #2b50bc;
  --neon-blue-glow: #22d3ee;
  --neon-cyan: #22d3ee;
  
  /* Glassmorphism Defaults */
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(34, 211, 238, 0.06);
  --glass-blur: blur(16px);
  
  /* Green Accent (LOCKED) */
  --accent-green: #22c55e;
  
  /* Utility Colors */
  --hot-deal: #ff0055;
  --limited: #f59e0b;
  --danger: #ef4444;
  
  /* Legacy Support */
  --bg-primary: var(--black-deep);
  --accent: var(--neon-blue);
  --glow: var(--neon-blue-glow);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --card-bg: var(--gray-card);
  --border-color: rgba(43, 80, 188, 0.2);
}

body {
  font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  direction: rtl;
}

body[dir="ltr"] {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global Link Styles - Remove Purple Visited Links */
a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--neon-blue-glow);
}

a:visited {
  color: var(--neon-blue);
}

/* Remove purple visited links for all buttons and links */
a:visited.btn-details,
a:visited.btn-add-cart,
a:visited.btn-order,
a:visited.btn-primary,
a:visited.btn-secondary {
  color: inherit !important;
}

a.btn-details:visited {
  color: var(--neon-blue) !important;
}

/* Remove purple visited color from detail links */
.btn-details:visited,
a.btn-details:visited {
  color: var(--neon-blue) !important;
}

a:active {
  color: var(--neon-blue-glow);
}

/* Global Button Text Visibility - CRITICAL FIX */
button,
.btn,
a.btn,
input[type="submit"],
input[type="button"] {
  color: #EAF6FF !important; /* Light blue-white for readability */
  position: relative;
  z-index: 1; /* Ensure text is above any ::before/::after overlays */
}

/* Primary buttons - dark text on light background */
.btn-primary,
button.btn-primary,
a.btn-primary,
.btn-order,
button.btn-order,
a.btn-order {
  color: #060814 !important;
  background: linear-gradient(135deg, #22d3ee 0%, #2b50bc 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Shine effect for primary buttons */
.btn-primary::before,
.btn-order::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-primary:hover::before,
.btn-order:hover::before {
  left: 100%;
}

/* Glowing border for primary buttons */
.btn-primary::after,
.btn-order::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #2BCAFF, #00B8FF, #2BCAFF);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlowBlue 3s ease infinite;
  z-index: -1;
}

.btn-primary:hover::after,
.btn-order:hover::after {
  opacity: 1;
}

.btn-primary:hover,
.btn-order:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #2b50bc 0%, #060814 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 30px rgba(43, 80, 188, 0.5),
    0 0 50px rgba(34, 211, 238, 0.3);
}

/* Outline buttons - light text */
.btn-secondary,
.btn-add-cart,
button.btn-secondary,
a.btn-secondary,
button.btn-add-cart,
a.btn-add-cart {
  color: var(--neon-blue) !important;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.1) 0%, rgba(43, 202, 255, 0.15) 100%);
  border: 2px solid rgba(43, 202, 255, 0.6);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shine effect for secondary buttons */
.btn-secondary::before,
.btn-add-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-secondary:hover::before,
.btn-add-cart:hover::before {
  left: 100%;
}

/* Glowing border for secondary buttons */
.btn-secondary::after,
.btn-add-cart::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #2BCAFF, #00B8FF, #2BCAFF);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlowBlue 3s ease infinite;
  z-index: -1;
}

.btn-secondary:hover::after,
.btn-add-cart:hover::after {
  opacity: 1;
}

.btn-secondary:hover,
.btn-add-cart:hover {
  color: var(--black-deep) !important; /* Dark text when filled */
  background: linear-gradient(135deg, #2BCAFF 0%, #00B8FF 100%);
  border-color: #2BCAFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(43, 202, 255, 0.5),
    0 0 40px rgba(43, 202, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Danger buttons */
.btn-danger,
button.btn-danger,
a.btn-danger {
  color: #FFFFFF !important;
  background: var(--danger);
  position: relative;
  z-index: 1;
}

.btn-danger:hover {
  color: #FFFFFF !important;
  background: #DC2626;
}

/* Small buttons */
.btn-login-small,
.btn-register-small,
.btn-login,
.btn-register,
.btn-logout,
.btn-admin {
  color: var(--neon-blue) !important;
  position: relative;
  z-index: 1;
}

.btn-login-small:hover,
.btn-register-small:hover,
.btn-login:hover,
.btn-register:hover,
.btn-logout:hover,
.btn-admin:hover {
  color: var(--black-deep) !important;
}

/* Ensure ::after overlays don't cover text */
.btn-primary::after,
.btn-secondary::after,
.btn-order::after,
.btn-add-cart::after {
  z-index: -1; /* Behind text */
  pointer-events: none; /* Don't block clicks */
}

/* Global Select/Dropdown Fix - Dark Background */
/* Global Select/Dropdown Fix - Dark Theme */
select,
select.form-select,
select.filter-select,
select[name],
.form-group select,
.filter-select {
  background-color: var(--gray-card) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232BCAFF' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 12px 12px !important;
  color: var(--text-primary) !important;
  border: 2px solid var(--border-color) !important;
  border-radius: 8px !important;
  padding: 0.75rem 2.5rem 0.75rem 1rem !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  transition: all 0.3s ease !important;
}

select:hover,
select:focus {
  border-color: var(--neon-blue) !important;
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3) !important;
  outline: none !important;
}

select {
  background-color: var(--gray-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
}

select option {
  background-color: var(--gray-card) !important;
  color: var(--text-primary) !important;
}

select option:hover,
select option:checked,
select option:focus {
  background-color: var(--neon-blue) !important;
  color: var(--black-deep) !important;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Navbar - Floating Glass Style */
.navbar {
  background: rgba(26, 37, 41, 0.46);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(43, 202, 255, 0.10);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.18s ease;
  min-height: 56px;
  display: flex;
  align-items: center;
}

/* Add top padding to body so content doesn't sit under fixed navbar */
body {
  padding-top: 84px;
}

.main-content {
  content-visibility: auto;
  contain-intrinsic-size: 0 1000px;
}

.navbar:hover {
  background: rgba(26, 37, 41, 0.65);
  border-color: rgba(43, 202, 255, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-container {
  width: 100%;
  padding: 0 0.4rem;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

/* Override container styles when inside navbar */
.navbar .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Logo visible on all sizes; centered on mobile, left on desktop */
.nav-logo {
  position: static;
  transform: none;
  z-index: 1;
  grid-column: 2;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hide the duplicate desktop-only logo */
.nav-logo-desktop {
  display: none !important;
}

/* Hamburger on right (mobile) */
.hamburger-menu {
  grid-column: 3;
  justify-self: end;
  z-index: 2;
}

/* Desktop nav-auth on left - MOVED TO MEDIA QUERY (remove from here) */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* Desktop styles are in @media (min-width: 1025px) */
}

/* Navbar Brand - Logo + Text Unit */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  transform: scale(1);
  position: relative;
  line-height: 1;
}

/* RTL Support - Logo on right, text on left in RTL */
body[dir="rtl"] .nav-brand {
  flex-direction: row;
}

body[dir="ltr"] .nav-brand {
  flex-direction: row;
}

/* Animated Underline */
.nav-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(43, 202, 255, 0.6);
}

.nav-brand:hover::after {
  width: 100%;
}

.nav-brand:hover {
  text-decoration: none;
  transform: scale(1.04) translateY(-1px);
}

.nav-brand:hover .logo-text {
  color: var(--neon-blue-glow);
  text-shadow: 0 0 12px rgba(43, 202, 255, 0.6), 0 0 20px rgba(43, 202, 255, 0.3);
  animation: textShimmer 2.5s ease-in-out infinite;
  background: linear-gradient(90deg, #EAF6FF 0%, var(--neon-blue-glow) 50%, #EAF6FF 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand:hover .logo-img {
  filter: drop-shadow(0 2px 10px rgba(43, 202, 255, 0.5));
  transform: rotate(2deg) scale(1.05);
  animation: logoPulse 2.5s ease-in-out infinite;
}

@keyframes textShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 2px 8px rgba(43, 202, 255, 0.4)); }
  50% { filter: drop-shadow(0 2px 12px rgba(43, 202, 255, 0.6)); }
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}  

.logo-text {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #EAF6FF;
  text-shadow: 0 0 8px rgba(43, 202, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}  

.logo-text-bold {
  font-weight: 750;
}

/* Hamburger Menu Button - Hidden on Desktop */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 26px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  position: relative;
}

/* Desktop: Normal navbar layout */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.8rem;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* All desktop-specific rules are in @media (min-width: 1025px) */
}

.hamburger-menu span {
  width: 22px;
  height: 2px;
  background: var(--neon-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
  box-shadow: 0 0 8px rgba(43, 202, 255, 0.4);
  margin: 3px 0;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop: Normal navbar layout */
@media (min-width: 1025px) {
  .nav-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
  
  /* Hide hamburger on desktop */
  .hamburger-menu {
    display: none !important;
  }

  /* Hide regular logo on desktop */
  .nav-logo {
    display: none !important;
  }

  /* Show nav-menu on desktop (LEFT) */
  .nav-menu {
    display: flex !important;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex: 0 0 auto;
  }

  /* Logo on right side, aligned with nav items */
  .nav-logo-desktop {
    display: flex !important;
    align-items: center;
    margin-right: 1.5rem;
    margin-left: auto;
    order: 1;
  }

  /* Style logo brand to match nav menu items height */
  .nav-logo-desktop .nav-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    height: auto;
    line-height: 1;
  }

  /* Show nav-auth on desktop (RIGHT, after logo) */
  .nav-auth {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    height: auto;
    background: transparent;
    z-index: 10002;
    order: 2;
  }

  .nav-auth a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
    font-size: 0.9rem;
  }

  .nav-auth .flag-btn {
    padding: 0 0.5rem;
    height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }

  .nav-auth .flag-btn span {
    display: none;
  }

  .nav-auth .flag-icon {
    height: 16px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
  }

  .nav-auth .user-greeting {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .btn-logout-red {
    height: 32px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    margin-inline-start: 0;
  }

  .btn-logout-red svg {
    height: 16px;
    width: 16px;
  }


  .nav-menu li {
    display: inline-flex;
    align-items: center;
  }

  .nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.5rem;
  }

  .nav-menu a:hover {
    color: var(--accent);
  }

  /* Hide menu items on desktop (mobile only) */
  .nav-menu-lang,
  .nav-menu-auth,
  .nav-menu-divider {
    display: none !important;
  }

  /* Show brand/logo on desktop (COLUMN 3 - RIGHT) */
  .nav-logo {
    display: block !important;
    grid-column: 3;
    justify-self: end;
    position: static;
    transform: none;
    z-index: 1;
  }

  /* Hide the duplicate nav-logo-desktop */
  .nav-logo-desktop {
    display: none !important;
  }
}

/* Mobile & Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .nav-container {
    display: grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    align-items: center;
  }
  
  /* Show hamburger on right */
  .hamburger-menu {
    display: flex !important;
    grid-column: 3 !important;
    justify-self: end !important;
  }
  
  /* Brand centered */
  .nav-logo {
    display: flex !important;
    position: static !important;
    transform: none !important;
    grid-column: 2 !important;
    justify-self: center !important;
    width: auto !important;
  }
  
  /* Hide desktop nav-auth on mobile/tablet */
  .nav-auth {
    display: none !important;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 52px 0 0 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    border-left: 1px solid rgba(43, 202, 255, 0.2);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  } 
  
  body[dir="rtl"] .nav-menu {
    transform: translateX(-100%);
    border-left: none;
    border-right: 1px solid rgba(43, 202, 255, 0.2);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu a {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    display: block;
    width: 100%;
    background: rgba(26, 37, 41, 0.6);
    border: 1px solid rgba(43, 202, 255, 0.2);
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(43, 202, 255, 0.15);
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
    position: relative;
  } 
  
  body[dir="rtl"] .nav-menu a {
    text-align: right;
  }
  
  .nav-menu a:hover,
  .nav-menu a:active {
    background: rgba(43, 202, 255, 0.15);
    border-bottom-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(43, 202, 255, 0.2);
  }
  
  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(43, 202, 255, 0.5);
  }
  
  body[dir="rtl"] .nav-menu a::after {
    left: auto;
    right: 0;
  }
  
  .nav-menu a:hover::after,
  .nav-menu a:active::after {
    width: 100%;
  }
  
  /* Divider in menu */
  .nav-menu-divider {
    height: 1px;
    background: rgba(43, 202, 255, 0.2);
    margin: 0.25rem 0;
    border-bottom: none !important;
  }
  
  /* Auth items styling - similar to tab buttons */
  .nav-menu-auth {
    font-weight: 600;
    background: rgba(43, 202, 255, 0.08);
    border-bottom: 3px solid transparent !important;
  }
  
  .nav-menu-auth:hover {
    border-bottom-color: var(--neon-blue) !important;
  }
  
  .nav-menu-logout {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1) !important;
  }
  
  .nav-menu-logout:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-bottom-color: #ef4444 !important;
    color: #ef4444;
  }
  
  .nav-menu-logout::after {
    background: #ef4444 !important;
  }
  
  /* Language toggle in menu */
  .nav-menu-lang {
    margin-top: auto;
    padding: 1rem 0;
    border-top: 2px solid rgba(43, 202, 255, 0.3);
    background: rgba(26, 37, 41, 0.8);
  }
  
  .nav-menu-lang .lang-toggle {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .navbar {
    min-height: 44px;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
  }
  
  body {
    padding-top: 60px;
  }
  
  /* Logo centered on mobile */
  .nav-logo {
    display: block !important;
    grid-column: 2;
    justify-self: center;
  }
  
  .logo-img {
    height: 28px;
  }
  
  .logo-text {
    font-size: 0.85rem;
    letter-spacing: 0.1px;
  }
  
  .nav-brand {
    gap: 5px;
  }
  
  /* Hamburger on right */
  .hamburger-menu {
    display: flex;
    grid-column: 3;
    justify-self: end;
    z-index: 10001;
  }

  /* Hide nav-auth on mobile */
  .nav-auth {
    display: none !important;
  }
  
  /* Show full-screen menu */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 48px 0 0 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav-menu a {
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    display: block;
    background: rgba(26, 37, 41, 0.6);
    border-bottom: 1px solid rgba(43, 202, 255, 0.15);
  }

  .nav-menu-divider {
    height: 1px;
    background: rgba(43, 202, 255, 0.2);
    margin: 0.25rem 0;
  }
  
  .nav-menu-auth {
    font-weight: 600;
    background: rgba(43, 202, 255, 0.08);
  }
  
  .nav-menu-logout {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
  }

  .nav-menu-lang {
    margin-top: auto;
    padding: 1rem 0;
    border-top: 2px solid rgba(43, 202, 255, 0.3);
    background: rgba(26, 37, 41, 0.8);
  }

  .nav-menu-lang .lang-toggle {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem;
  }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar {
    top: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    transform: none;
    padding: 0.6rem 1rem;
    border-radius: 15px;
    min-height: 56px;
  }
  
  .logo-img {
    height: 36px;
  }
  
  .logo-text {
    font-size: 1.15rem;
    letter-spacing: 0.15px;
  }
  
  .nav-brand {
    gap: 8px;
  }
  
  .main-content {
    padding-top: 88px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 30px;
  }
  
  .logo-text {
    font-size: 1rem;
    letter-spacing: 0.2px;
  }
  
  .nav-brand {
    gap: 8px;
  }
  
  .hero-split {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-platforms {
    font-size: 0.9rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .trust-block {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .trust-counter {
    font-size: 1.2rem;
  }
  
  .category-card {
    min-width: 80px;
    padding: 0.5rem;
  }
  
  .category-icon {
    font-size: 1.2rem;
  }
  
  .category-label {
    font-size: 0.7rem;
  }
}

/* Desktop nav-menu styles */
@media (min-width: 1025px) {
  .nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .nav-menu li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.375rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
  }

  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
  }

  .nav-menu a:hover::after {
    width: 100%;
  }

  .nav-menu a:hover {
    color: var(--accent);
  }
}

.cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  border: 2px solid var(--bg-primary);
}

.nav-auth {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  /* Desktop grid layout is in @media (min-width: 1025px) */
}

.user-greeting {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

.btn-login, .btn-register, .btn-logout, .btn-admin {
  padding: 0.5rem 1.5rem;
  border: 2px solid rgba(43, 202, 255, 0.6);
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.1) 0%, rgba(43, 202, 255, 0.15) 100%);
  color: var(--neon-blue) !important;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  display: inline-block;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Shine effect for login/register buttons */
.btn-login::before,
.btn-register::before,
.btn-admin::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-login:hover::before,
.btn-register:hover::before,
.btn-admin:hover::before {
  left: 100%;
}

/* Glowing border for login/register buttons */
.btn-login::after,
.btn-register::after,
.btn-admin::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #2BCAFF, #00B8FF, #2BCAFF);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlowBlue 3s ease infinite;
  z-index: -1;
}

.btn-login:hover::after,
.btn-register:hover::after,
.btn-admin:hover::after {
  opacity: 1;
}

.btn-login:hover, .btn-register:hover, .btn-logout:hover, .btn-admin:hover {
  background: linear-gradient(135deg, #2BCAFF 0%, #00B8FF 100%);
  color: var(--black-deep) !important;
  border-color: #2BCAFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(43, 202, 255, 0.5),
    0 0 40px rgba(43, 202, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-login:active, .btn-register:active, .btn-admin:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 
    0 4px 15px rgba(43, 202, 255, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Logout button - unique and beautiful design */
.btn-logout-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  border: 2px solid rgba(239, 68, 68, 0.6);
  border-radius: 10px;
  color: #ef4444;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 40px;
  min-width: 40px;
  margin-inline-start: 8px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated background gradient on hover */
.btn-logout-red::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-logout-red:hover::before {
  left: 100%;
}

/* Glowing border effect - fixed alignment */
.btn-logout-red::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ef4444, #dc2626, #ef4444);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s ease infinite;
  z-index: -1;
}

@keyframes borderGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.btn-logout-red:hover::after {
  opacity: 1;
}

.btn-logout-red svg {
  stroke: #ef4444;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 18px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.4));
}

.btn-logout-red:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.5),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-logout-red:hover svg {
  stroke: #ffffff;
  transform: translateX(2px) rotate(-5deg);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* Active/pressed state */
.btn-logout-red:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 
    0 4px 15px rgba(239, 68, 68, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Removed duplicate - using styles from line 136 */

/* Main Content */
/* Main content padding for fixed navbar */
.main-content {
  padding-top: 92px; /* increased to account for fixed navbar */
  min-height: calc(100vh - 170px);
  animation: fadeIn 0.8s ease-out;
}  

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Container Responsive */
/* Desktop (>=1024px) - keep as is */
@media (min-width: 1024px) {
  .container {
    padding: 2rem 1.5rem;
  }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding: 1.75rem 1.25rem;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .container {
    padding: 1.5rem 1rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.1) 0%, rgba(26, 37, 41, 0.9) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(43, 202, 255, 0.3);
  opacity: 1;
  transform: translateY(0);
  position: relative;
  overflow: visible;
  animation: heroTitleFadeUp 1.2s ease-out 0.2s forwards, breathingGlow 3.5s ease-in-out 1.5s infinite;
}

/* Ensure text is visible even if animation doesn't load */
.hero-title,
.hero-description,
.hero-platforms {
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-title.animate {
  animation: heroTitleFadeUp 1.2s ease-out 0.2s forwards, breathingGlow 3.5s ease-in-out 1.5s infinite;
}

.hero-subtitle-arabic {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(43, 202, 255, 0.2);
  opacity: 0;
  transform: translateY(15px);
  animation: heroSubtitleGlowIn 1.4s ease-out 0.5s forwards;
}

@keyframes heroTitleFadeUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSubtitleGlowIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(3px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(5px);
    filter: blur(1px);
    text-shadow: 0 0 20px rgba(43, 202, 255, 0.4), 0 0 30px rgba(43, 202, 255, 0.2);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    text-shadow: 0 0 10px rgba(43, 202, 255, 0.2);
  }
}

.hero-title-glow.animate {
  animation: breathingGlow 3.5s ease-in-out infinite;
}

@keyframes breathingGlow {
  0%, 100% {
    text-shadow: 0 0 15px rgba(43, 202, 255, 0.3), 0 0 25px rgba(43, 202, 255, 0.15);
  }
  50% {
    text-shadow: 0 0 25px rgba(43, 202, 255, 0.5), 0 0 40px rgba(43, 202, 255, 0.25), 0 0 60px rgba(43, 202, 255, 0.1);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px var(--glow);
  }
  to {
    text-shadow: 0 0 30px var(--glow), 0 0 40px var(--glow);
  }
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-platforms {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Trust Block with Animated Counter - Premium Glass Neon Pill */
.trust-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto 1.5rem;
  padding: 1.25rem 2rem;
  max-width: fit-content;
  background: rgba(43, 202, 255, 0.06);
  border: 1px solid rgba(43, 202, 255, 0.15);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.trust-block:hover {
  border-color: rgba(43, 202, 255, 0.3);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.15);
}

.trust-badge {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-counter {
  font-size: 1.8rem;
  font-weight: 700;
  color: #22c55e;
  min-width: 60px;
  text-align: center;
  unicode-bidi: plaintext;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.trust-plus-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #22c55e;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.trust-label-suffix {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  unicode-bidi: plaintext;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 12px;
}

.rating-star-icon {
  font-size: 1.3rem;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.rating-value {
  font-size: 1rem;
  font-weight: 600;
  color: #FBBF24;
}

/* Live Activity */
.live-activity {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  animation: fadeInOut 3s ease-in-out infinite;
}

.live-icon {
  margin-inline-end: 0.5rem;
}

.live-text {
  color: var(--text-secondary);
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

/* Category Cards Row */
.hero-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.category-card {
  flex: 1;
  min-width: 140px;
  padding: 1.25rem;
  background: rgba(26, 37, 41, 0.6);
  border: 1px solid rgba(43, 202, 255, 0.15);
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  border-color: rgba(43, 202, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(43, 202, 255, 0.25), 0 0 15px rgba(43, 202, 255, 0.15);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.category-label {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Mobile: keep hero category cards aligned + same shape */
@media (max-width: 600px) {
  .hero-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  /* If there are 3 cards, make the 3rd span full width so the grid looks balanced */
  .hero-categories .category-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .category-card {
    min-width: 0;
    padding: 1rem;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .category-icon {
    font-size: 1.75rem;
  }

  .category-label {
    font-size: 0.85rem;
  }
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  flex: 1;
  min-width: 180px;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.25);
}

.btn-hero-primary:hover {
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.4);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  flex: 1;
  min-width: 180px;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.9) 0%, rgba(43, 202, 255, 1) 100%);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(43, 202, 255, 0.8);
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Animated shine effect */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Glowing animated border */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #2BCAFF, #00B8FF, #2BCAFF);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlowBlue 3s ease infinite;
  z-index: -1;
}

@keyframes borderGlowBlue {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2BCAFF 0%, #00B8FF 100%);
  border-color: #2BCAFF;
  box-shadow: 
    0 8px 25px rgba(43, 202, 255, 0.5),
    0 0 40px rgba(43, 202, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 
    0 4px 15px rgba(43, 202, 255, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.1) 0%, rgba(43, 202, 255, 0.15) 100%);
  color: var(--accent);
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(43, 202, 255, 0.6);
  margin-right: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated shine effect */
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-secondary:hover::before {
  left: 100%;
}

/* Glowing animated border */
.btn-secondary::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #2BCAFF, #00B8FF, #2BCAFF);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlowBlue 3s ease infinite;
  z-index: -1;
}

.btn-secondary:hover::after {
  opacity: 1;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #2BCAFF 0%, #00B8FF 100%);
  color: var(--bg-primary);
  border-color: #2BCAFF;
  box-shadow: 
    0 8px 25px rgba(43, 202, 255, 0.5),
    0 0 40px rgba(43, 202, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.02);
}

.btn-secondary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 
    0 4px 15px rgba(43, 202, 255, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
  transform: translateY(-5px) scale(1.02);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Products Section */
.products-section {
  padding: 3rem 0;
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--accent);
}

/* Products Filters - Sleek Gaming Control Bar */
.products-filters {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  background: rgba(26, 37, 41, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(43, 202, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(43, 202, 255, 0.1);
}

/* Mobile filters: stack controls cleanly (prevents weird wrapping/overlap) */
@media (max-width: 600px) {
  .filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .filter-select,
  .filter-row input[type="text"],
  .filter-row .btn-filter,
  .filter-row .btn-clear-icon {
    width: 100%;
    min-width: 0;
  }

  .filter-row .btn-clear-icon {
    justify-content: center;
  }
}

.filter-form {
  width: 100%;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.8rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.filter-select {
  padding: 0.8rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  min-width: 150px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232bcaff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.5rem;
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
  background-color: var(--card-bg);
}

.filter-select option {
  background-color: var(--card-bg);
  color: var(--text-primary);
  padding: 0.5rem;
}

.filter-select option:hover,
.filter-select option:checked {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.btn-filter {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  background: var(--accent);
  color: var(--black-deep) !important; /* Ensure text is always visible */
  position: relative;
  z-index: 1;
}

.btn-filter:hover {
  background: var(--glow);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.5);
  transform: translateY(-2px);
}

.btn-clear-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: transparent;
  border: 2px solid #ef4444;
  color: #ef4444 !important; /* Ensure icon/text is always visible */
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
  position: relative;
  z-index: 1;
}

.btn-clear-icon:hover {
  background: #ef4444;
  color: white;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
  transform: scale(1.1);
}

.btn-clear-icon svg {
  width: 18px;
  height: 18px;
}

.btn-clear {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
}

.btn-filter {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-filter:hover {
  background: var(--glow);
  box-shadow: 0 0 15px var(--glow);
  transform: translateY(-2px);
}

.btn-clear {
  background: transparent;
  color: var(--neon-blue) !important; /* Ensure text is always visible */
  border: 2px solid var(--neon-blue);
  position: relative;
  z-index: 1;
}

.btn-clear:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  overflow: visible;
  align-items: start;
}

/* Product Grid Responsive */
/* Desktop (>=1024px) - keep as is */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
}

/* Large Tablet (900px - 1023px) */
@media (min-width: 900px) and (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Tablet (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.product-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
}

/* Product Card Responsive - consistent padding and alignment */
@media (max-width: 1024px) {
  .product-card {
    padding: 1rem;
  }
  
  .product-card::before {
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
  }
  
  .product-card:hover::before {
    box-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
  }
}

/* Button Centering & Alignment Fixes */
@media (max-width: 1024px) {
  /* Center all buttons on mobile/tablet */
  .btn-primary,
  .btn-secondary,
  .btn-order,
  .btn-add-cart,
  .btn-hero-primary,
  .btn-hero-secondary,
  button.btn-primary,
  button.btn-secondary,
  a.btn-primary,
  a.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Product card footer buttons */
  .product-card-footer,
  .product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  
  .product-card-footer .btn-order,
  .product-card-footer .btn-add-cart,
  .product-actions .btn-order,
  .product-actions .btn-add-cart {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Hero CTA buttons */
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
  }
  
  .hero-cta .btn-hero-primary,
  .hero-cta .btn-hero-secondary {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Form buttons */
  .form-group button,
  .form-group .btn-primary,
  .form-group .btn-secondary {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.product-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.product-card::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 12px;
  background: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  z-index: 200;
  position: relative;
}

.product-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 35px rgba(43, 202, 255, 0.7);
}

.product-disabled {
  opacity: 0.6;
  filter: grayscale(0.8);
  pointer-events: auto;
}

.product-disabled:hover {
  transform: none;
  border-color: var(--border-color);
}

.product-disabled:hover::before {
  opacity: 0;
}

.image-disabled {
  filter: grayscale(1);
  opacity: 0.7;
}

.image-disabled img {
  filter: grayscale(1);
  opacity: 0.7;
}

.out-of-stock-box {
  background: #6b7280;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  cursor: not-allowed;
  opacity: 0.8;
  border: 1px solid #4b5563;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  gap: 0.5rem;
}

.product-name {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
}

.product-platform {
  background: rgba(43, 202, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  font-size: 0.9rem;
  color: var(--accent);
}

.product-details {
  margin-bottom: 0.5rem;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 60px;
}

.product-type {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--accent);
  margin: 0;
}

/* Green price for current price */
.price-current {
  color: #22c55e !important;
  font-weight: 700;
}

.product-price-sale {
  color: #22c55e !important;
  font-weight: 700;
}

/* Sale Badge */
.sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  animation: pulse 2s infinite;
}

.sale-badge-large {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-left: 10px;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.product-image {
  position: relative;
}

/* Product Price Container */
.product-price-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-price-sale {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: bold;
}

.product-price-original {
  color: #9ca3af !important;
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-size: 0.9em;
  opacity: 0.8;
  font-size: 0.9rem;
  text-decoration: line-through;
  opacity: 0.8;
  margin-left: 0.5rem;
}

.product-price-sale.highlight-green {
  color: var(--accent-green) !important;
  font-weight: bold;
}

.product-price-large {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent);
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-price-large .product-price-sale {
  font-size: 2rem;
}

.product-price-large .product-price-original {
  font-size: 1.4rem;
}

/* Description Preview */
.description-preview {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.read-more-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 4px;
}

.read-more-link:hover {
  color: var(--glow);
  text-decoration: underline;
}

/* Description Expand/Collapse */
.description-collapsed {
  max-height: 150px;
  overflow: hidden;
  position: relative;
}

.description-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--card-bg));
}

.btn-toggle-description {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.btn-toggle-description:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
}

/* Flag Emoji */
.flag-icon {
  width: 32px;
  height: 22px;
  display: block;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.1) 0%, rgba(43, 202, 255, 0.15) 100%);
  border: 2px solid rgba(43, 202, 255, 0.4);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  min-height: auto;
  height: auto;
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Shine effect for flag buttons */
.flag-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.flag-btn:hover::before {
  left: 100%;
}

/* Glowing border for flag buttons */
.flag-btn::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 10px;
  background: linear-gradient(45deg, #2BCAFF, #00B8FF, #2BCAFF);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlowBlue 3s ease infinite;
  z-index: -1;
}

.flag-btn:hover::after {
  opacity: 1;
}

.flag-icon {
  height: 18px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.flag-btn span {
  font-weight: 500;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

.flag-btn:hover {
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.3) 0%, rgba(43, 202, 255, 0.4) 100%);
  border-color: #2BCAFF;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(43, 202, 255, 0.5),
    0 0 40px rgba(43, 202, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.flag-btn:hover .flag-icon {
  filter: drop-shadow(0 0 8px rgba(43, 202, 255, 0.6));
  transform: scale(1.1);
}

.flag-btn:active {
  transform: translateY(0) scale(1);
  box-shadow: 
    0 4px 15px rgba(43, 202, 255, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* RTL support for flags */
body[dir="rtl"] .flag-btn {
  flex-direction: row-reverse;
}

.flag-btn[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 1001;
  pointer-events: none;
}

.flag-btn:hover .flag-emoji {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(43, 202, 255, 0.6));
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
  min-height: 60px;
  flex-shrink: 0;
}

.product-card-footer .product-price {
  flex: 1;
  margin: 0;
}

.product-card-footer .btn-order,
.product-card-footer .btn-add-cart {
  flex-shrink: 0;
  white-space: nowrap;
}

.order-form {
  margin-top: 1rem;
}

.order-notes {
  width: 100%;
  padding: 0.8rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-primary);
  margin-bottom: 1rem;
  resize: vertical;
  font-family: inherit;
}

.order-notes:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.btn-order {
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 0.9rem;
}

.btn-order.btn-full {
  width: 100%;
}

.btn-add-cart {
  padding: 0.7rem 1.2rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 0.9rem;
}

.btn-add-cart:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--glow);
}

.btn-order:hover {
  background: var(--glow);
  box-shadow: 0 0 15px var(--glow);
  transform: translateY(-2px);
}

.login-prompt {
  text-align: center;
  padding: 1.5rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.login-prompt p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.prompt-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-login-small, .btn-register-small {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-login-small:hover, .btn-register-small:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.no-products, .no-orders {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

/* Order Progress Bar - Old Style Timeline with Circles and Pill Connectors */
.order-progress {
  width: 100%;
  margin-bottom: 1rem;
}

.progress-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  margin-bottom: 1rem;
}

.timeline-step {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(156, 163, 175, 0.4);
  border: 2px solid rgba(156, 163, 175, 0.6);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-circle.completed {
  background: #22c55e;
  border-color: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.timeline-circle.current {
  background: rgba(43, 202, 255, 0.8);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.6);
  animation: pulse-blue 2s infinite;
}

.timeline-circle.pending {
  background: rgba(156, 163, 175, 0.3);
  border-color: rgba(156, 163, 175, 0.5);
}

@keyframes pulse-blue {
  0%, 100% {
    box-shadow: 0 0 15px rgba(43, 202, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(43, 202, 255, 0.8);
  }
}

.timeline-connector {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  margin: 0 8px;
  background: rgba(156, 163, 175, 0.3);
  transition: background 0.4s ease;
  position: relative;
  overflow: hidden;
  min-width: 40px;
  align-self: center;
}

.timeline-connector.completed {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.timeline-connector.pending {
  background: rgba(156, 163, 175, 0.3);
}

/* Skeleton loading animation */
.order-progress.is-skeleton .timeline-circle,
.order-progress.is-skeleton .timeline-connector {
  background: rgba(156, 163, 175, 0.2);
  border-color: rgba(156, 163, 175, 0.3);
  position: relative;
  overflow: hidden;
}

.order-progress.is-skeleton .timeline-circle::before,
.order-progress.is-skeleton .timeline-connector::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.15), 
    transparent
  );
  animation: skeleton-shimmer 2s infinite;
}

@keyframes skeleton-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 500;
  gap: 0.5rem;
}

.progress-label {
  flex: 1;
  text-align: center;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.progress-label.completed {
  color: #22c55e;
}

.progress-label.current {
  color: var(--accent);
  font-weight: 600;
}

.progress-label.pending {
  color: var(--text-secondary);
}

.progress-label.active {
  color: #4ade80;
  font-weight: 500;
}

/* Games Section */
.games-section {
  padding: 3rem 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.game-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.game-card:hover {
  border-color: rgba(43, 202, 255, 0.4);
  box-shadow: 0 4px 20px rgba(43, 202, 255, 0.15);
  transform: translateY(-4px);
}

.game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: rgba(43, 202, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.game-details {
  padding: 1.25rem;
}

.game-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.game-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.game-platform,
.game-type {
  padding: 0.25rem 0.75rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--accent);
}

.game-order-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.1);
}

.order-ref,
.order-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.order-ref strong {
  color: var(--text-primary);
  font-family: monospace;
}

.game-status {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.1);
}

.no-games {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

/* Auth Section */
.auth-section {
  padding: 2rem 1.25rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Auth card - single source of truth for all auth pages (login, register, edit-email) */
.auth-card,
.edit-email-card {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(43, 202, 255, 0.3);
  box-shadow: 0 0 40px rgba(43, 202, 255, 0.15);
}

.auth-title {
  text-align: center;
  color: var(--neon-blue);
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Edit Email Page Specific Styles */
.edit-email-section {
  padding: 4rem 1.25rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edit-email-title {
  text-align: center;
  color: var(--neon-blue);
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.edit-email-subtitle {
  color: #EAF2FF;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.8;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.edit-email-form {
  margin-bottom: 0;
}

.edit-email-form-group {
  margin-bottom: 1.5rem;
}

.edit-email-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.edit-email-label {
  margin-bottom: 0.75rem;
  color: #EAF2FF;
  font-size: 1rem;
  font-weight: 500;
  display: block;
}

.edit-email-input {
  width: 100%;
  background-color: rgba(26, 37, 41, 0.6);
  color: #EAF2FF;
  border: 1px solid rgba(43, 202, 255, 0.4);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  background-image: none !important;
  padding-right: 1.25rem !important;
}

.edit-email-input::placeholder {
  color: rgba(234, 242, 255, 0.5);
}

.edit-email-input:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
  background-color: rgba(26, 37, 41, 0.8);
}

.edit-email-primary-btn {
  width: 100%;
  min-height: 50px;
  padding: 1rem 2rem;
  background: var(--neon-blue);
  color: var(--black-deep);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
  margin: 0;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edit-email-primary-btn:hover {
  background: var(--neon-blue-glow);
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.6);
  transform: translateY(-2px);
}

.edit-email-primary-btn:active {
  transform: translateY(0);
}

.edit-email-secondary-btn {
  width: 100%;
  min-height: 50px;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--neon-blue);
  border: 1px solid rgba(43, 202, 255, 0.5);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0;
}

.edit-email-secondary-btn:hover {
  background: rgba(43, 202, 255, 0.1);
  border-color: var(--neon-blue);
  color: var(--neon-blue-glow);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.3);
}

/* RTL Support for Edit Email */
body[dir="rtl"] .edit-email-card {
  text-align: right;
}

body[dir="rtl"] .edit-email-title,
body[dir="rtl"] .edit-email-subtitle {
  text-align: center;
}

/* Responsive for Edit Email */
@media (max-width: 768px) {
  .edit-email-section {
    padding: 2.5rem 1.5rem;
    min-height: auto;
  }

  .edit-email-card {
    padding: 2.5rem 2rem;
    max-width: 100%;
  }

  .edit-email-title {
    font-size: 2rem;
  }

  .edit-email-subtitle {
    font-size: 1rem;
  }

  .edit-email-input {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .edit-email-actions {
    gap: 12px;
  }

  .edit-email-primary-btn,
  .edit-email-secondary-btn {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
  }
}

.error-message {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff4444;
  color: #ffaaaa;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.success-message {
  background: rgba(0, 255, 0, 0.2);
  border: 1px solid #44ff44;
  color: #aaffaa;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
}

.auth-label {
  color: #EAF2FF;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

/* Password field wrapper */
.password-field {
  position: relative;
  width: 100%;
}

.password-field .auth-input {
  padding-left: 44px;
}

body[dir="rtl"] .password-field .auth-input {
  padding-left: 1.25rem;
  padding-right: 44px;
}

/* Password toggle button - LEFT SIDE */
.toggle-password {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 2;
  font-size: 18px;
  padding: 8px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[dir="rtl"] .toggle-password {
  left: auto;
  right: 12px;
}

.toggle-password:hover {
  color: var(--accent);
  background: rgba(43, 202, 255, 0.1);
  transform: translateY(-50%) scale(1.1);
}

.password-toggle:hover {
  color: var(--accent);
  background: rgba(43, 202, 255, 0.1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.3);
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.95);
}

.password-toggle .eye-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
}

.password-toggle .eye-open {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.password-toggle .eye-closed {
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
}

.password-toggle.active .eye-open {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

.password-toggle.active .eye-closed {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  display: block !important;
}

.password-toggle:hover .eye-icon {
  filter: drop-shadow(0 0 4px rgba(43, 202, 255, 0.6));
  stroke-width: 2.5;
}

.auth-input {
  width: 100%;
  min-height: 50px;
  background-color: rgba(26, 37, 41, 0.6);
  color: #EAF2FF;
  border: 1px solid rgba(43, 202, 255, 0.4);
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  background-image: none !important;
  padding-right: 1.25rem !important;
  padding-left: 1.25rem !important;
}

.auth-input::placeholder {
  color: rgba(234, 242, 255, 0.5);
}

.auth-input:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
  background-color: rgba(26, 37, 41, 0.8);
}

.auth-primary-btn {
  width: 100%;
  min-height: 50px;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.1) 0%, rgba(43, 202, 255, 0.15) 100%);
  color: var(--neon-blue);
  border: 2px solid rgba(43, 202, 255, 0.6);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin: 0;
  margin-top: 0.5rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Shine effect for auth buttons */
.auth-primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.auth-primary-btn:hover::before {
  left: 100%;
}

/* Glowing border for auth buttons */
.auth-primary-btn::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 14px;
  background: linear-gradient(45deg, #2BCAFF, #00B8FF, #2BCAFF);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlowBlue 3s ease infinite;
  z-index: -1;
}

.auth-primary-btn:hover::after {
  opacity: 1;
}

.auth-primary-btn:hover {
  background: linear-gradient(135deg, #2BCAFF 0%, #00B8FF 100%);
  color: var(--black-deep);
  border-color: #2BCAFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(43, 202, 255, 0.5),
    0 0 40px rgba(43, 202, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.auth-primary-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 
    0 4px 15px rgba(43, 202, 255, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.auth-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.auth-link-text {
  text-align: center;
  margin: 0;
  color: #EAF2FF;
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-link-secondary {
  color: var(--neon-blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.auth-link-secondary:hover {
  color: var(--neon-blue-glow);
  text-decoration: underline;
}

.auth-link-primary {
  color: var(--neon-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-link-primary:hover {
  color: var(--neon-blue-glow);
  text-decoration: underline;
}

/* RTL Support for Auth Pages */
body[dir="rtl"] .auth-label {
  text-align: right;
}

body[dir="rtl"] .auth-input {
  text-align: right;
}

body[dir="rtl"] .auth-link-text {
  text-align: center;
}

body[dir="ltr"] .auth-label {
  text-align: left;
}

body[dir="ltr"] .auth-input {
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.verify-form-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  align-items: center;
}

.verify-input {
  width: 100%;
}

.btn-verify,
.btn-resend,
.btn-edit-email {
  width: 100%;
  text-align: center;
}

.btn-edit-email {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-edit-email:hover {
  background: rgba(43, 202, 255, 0.1);
  border-color: var(--neon-blue-glow);
  color: var(--neon-blue-glow);
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Global input styling for dark theme */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="search"],
textarea {
  background-color: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
  background-color: var(--card-bg);
}

/* Global select styling for dark theme */
select {
  background-color: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232bcaff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Form group inputs should NOT have dropdown arrow */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="datetime-local"],
.form-group input[type="search"],
.form-group textarea {
  background-color: rgba(26, 37, 41, 0.6);
  color: var(--text-primary);
  border: 1px solid rgba(43, 202, 255, 0.3);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-image: none !important;
  width: 100%;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(234, 242, 255, 0.5);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
  background-color: rgba(26, 37, 41, 0.8);
}

select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
  background-color: var(--card-bg);
}

select option {
  background-color: var(--card-bg);
  color: var(--text-primary);
  padding: 0.5rem;
}

select option:hover,
select option:checked,
select option:focus {
  background-color: var(--accent);
  color: var(--bg-primary);
}

/* File input styling */
input[type="file"] {
  background-color: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}

input[type="file"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

input[type="file"]::file-selector-button {
  background-color: var(--accent);
  color: var(--bg-primary);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-right: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
  background-color: var(--glow);
  box-shadow: 0 0 10px var(--glow);
}

.form-group select,
.form-group textarea {
  padding: 0.8rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232bcaff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background-color: var(--card-bg);
  color: var(--text-primary);
  padding: 0.5rem;
}

.form-group select option:hover,
.form-group select option:checked,
.form-group select option:focus {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

/* Legacy auth-link styles (kept for backward compatibility) */
.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  color: #EAF2FF;
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-link a {
  color: var(--neon-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-link a:hover {
  color: var(--neon-blue-glow);
  text-decoration: underline;
}

/* Success Section */
.success-section {
  padding: 5rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.success-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 12px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.4);
}

.success-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.success-title {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Orders Section */
.orders-section {
  padding: 3rem 0;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  margin-bottom: 2rem;
}

.order-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.order-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.3);
  transform: translateY(-2px);
}

/* Progress Bar Container - Full Width at Top */
.order-progress-container {
  width: 100%;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(43, 202, 255, 0.2);
}

/* 3-Column Layout: Image | Details | Status */
.order-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  min-height: 200px;
}

/* LEFT: Product Image - Much Bigger */
.order-image {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(43, 202, 255, 0.3);
  background: rgba(34, 47, 56, 0.6);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 47, 56, 0.8);
  color: rgba(43, 202, 255, 0.4);
}

.order-image-placeholder svg {
  opacity: 0.5;
}

.order-id {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Status Badges */
.status-new,
.status-submitted,
.status-created {
  background: rgba(43, 202, 255, 0.2);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.status-processing,
.status-preparing,
.status-2fa-done,
.status-paid {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1.5px solid #ffc107;
}

.status-under-processing {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
  border: 1.5px solid #ff9800;
}

.status-delivered,
.status-done,
.status-completed {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1.5px solid #22c55e;
}

.status-closed {
  background: rgba(158, 158, 158, 0.2);
  color: #9e9e9e;
  border: 1.5px solid #9e9e9e;
}

.payment-status-badge.status-paid {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1.5px solid #22c55e;
}

.payment-status-badge.status-unpaid {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1.5px solid #ef4444;
}

/* CENTER: Order Details */
.order-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.order-details h3.order-product {
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.order-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.order-info-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-info-value {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.order-info-item .order-line-total {
  color: var(--accent);
  font-size: 1.1rem;
}

.order-info-item .order-discount {
  color: #4ade80;
}

.order-total-item {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(43, 202, 255, 0.2);
}

.order-total-item .order-info-label {
  font-size: 0.9rem;
}

.order-total-item .total-amount {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.order-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.1);
  font-size: 0.9rem;
}

.order-reference {
  color: var(--text-secondary);
}

.order-date {
  color: var(--text-secondary);
}

/* RIGHT: Status Column */
.order-status-column {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.order-status-badge,
.payment-status-badge {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  min-width: 100px;
  white-space: nowrap;
}

.order-notes {
  font-style: italic;
}

.btn-view-activation {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Responsive Design for My Orders */
@media (max-width: 768px) {
  .order-card {
    padding: 2rem;
  }

  .order-content {
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }

  .order-image {
    width: 160px;
    height: 160px;
    margin: 0;
  }

  .order-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .order-status-column {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .order-status-badge,
  .payment-status-badge {
    flex: 1;
    min-width: auto;
  }

  .order-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .order-card {
    padding: 1.75rem;
  }

  .order-image {
    width: 140px;
    height: 140px;
  }

  .order-details h3.order-product {
    font-size: 1.2rem;
  }

  .progress-bar {
    height: 10px;
  }

  .progress-labels {
    font-size: 0.7rem;
  }
}

.btn-view-activation:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
}

.game-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.1);
}

/* Admin Section */
.admin-section {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
  /* Remove overflow restrictions - let body handle scrolling */
  overflow: visible;
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
  /* Remove any height restrictions */
}

.admin-sidebar {
  width: 250px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  /* Remove height: fit-content and sticky positioning - let it scroll naturally with page */
  flex-shrink: 0;
  /* Sidebar scrolls with page content */
}

.sidebar-title {
  color: var(--accent);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.sidebar-menu {
  list-style: none;
  margin-bottom: 2rem;
}

.sidebar-menu li {
  margin-bottom: 0.5rem;
}

.sidebar-menu a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: rgba(43, 202, 255, 0.2);
  color: var(--accent);
  border-right: 3px solid var(--accent);
}

.btn-logout-sidebar {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  color: #ff4444;
  border: 2px solid #ff4444;
  text-decoration: none;
  text-align: center;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-logout-sidebar:hover {
  background: #ff4444;
  color: var(--text-primary);
}

.admin-content {
  flex: 1;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  min-width: 0;
  overflow: visible;
}

.admin-page-title {
  color: var(--accent);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.admin-filters {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(43, 202, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.filter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.8rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-primary);
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.status-filter {
  padding: 0.8rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-primary);
  font-family: inherit;
}

.btn-filter {
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-filter:hover {
  background: var(--glow);
  box-shadow: 0 0 15px var(--glow);
}

.orders-table {
  overflow-x: auto;
}

.orders-table table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid var(--border-color);
}

.orders-table th {
  background: rgba(43, 202, 255, 0.1);
  color: var(--accent);
  font-weight: bold;
}

.orders-table tr:hover {
  background: rgba(43, 202, 255, 0.05);
}

.email-small {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.status-update-container {
  position: relative;
}

.status-message-input {
  margin-top: 8px;
  padding: 10px;
  background: rgba(26, 37, 41, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.status-message-input textarea {
  width: 100%;
  padding: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  resize: vertical;
  font-family: inherit;
}

.status-message-input textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.btn-cancel {
  padding: 6px 12px;
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  background: var(--card-bg);
  border-color: var(--accent);
  color: var(--text-primary);
}

.status-select {
  padding: 0.5rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
}

.status-select:focus {
  outline: none;
  border-color: var(--accent);
}

.status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: bold;
}

/* Products Management */
.add-product-card {
  background: rgba(43, 202, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.add-product-card h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.product-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive form rows */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--gray-card);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.5);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--black-deep);
  font-weight: bold;
  font-size: 14px;
}

.checkbox-label input[type="checkbox"]:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 5px rgba(43, 202, 255, 0.3);
}

.checkbox-label-old {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.products-list h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.products-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-row {
  background: rgba(43, 202, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.edit-product-form .form-row {
  align-items: center;
}

.form-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-save {
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: var(--black-deep) !important; /* Ensure text is always visible */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-save:hover {
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
}

.btn-delete {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(220, 38, 38, 1) 100%);
  color: #FFFFFF !important;
  border: 2px solid rgba(239, 68, 68, 0.8);
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Shine effect for delete buttons */
.btn-delete::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-delete:hover::before {
  left: 100%;
}

/* Glowing border for delete buttons */
.btn-delete::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ef4444, #dc2626, #ef4444);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s ease infinite;
  z-index: -1;
}

.btn-delete:hover::after {
  opacity: 1;
}

.btn-delete:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #ef4444;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.5),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-delete:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 
    0 4px 15px rgba(239, 68, 68, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-delete-ticket {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  color: #ef4444;
  border: 2px solid rgba(239, 68, 68, 0.6);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-delete-ticket::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-delete-ticket:hover::before {
  left: 100%;
}

.btn-delete-ticket::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ef4444, #dc2626, #ef4444);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s ease infinite;
  z-index: -1;
}

.btn-delete-ticket:hover::after {
  opacity: 1;
}

.btn-delete-ticket:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-color: #ef4444;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.5),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ticket-footer,
.ticket-admin-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.ticket-footer .ticket-date,
.ticket-admin-footer .ticket-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

/* Footer */
.footer {
  background: rgba(26, 37, 41, 0.95);
  border-top: 2px solid var(--border-color);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--text-secondary);
}

.footer-response-time {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.15);
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-response-time {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.15);
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(43, 202, 255, 0.1);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
  border-color: var(--accent);
}

.footer-icon svg {
  transition: transform 0.3s ease;
}

.footer-icon:hover svg {
  transform: scale(1.1);
}

.instagram-icon:hover {
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
  border-color: #E1306C;
}

.email-icon:hover {
  box-shadow: 0 0 20px rgba(234, 67, 53, 0.5);
  border-color: #EA4335;
}

.whatsapp-icon:hover {
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
  border-color: #25D366;
}

/* Support Tabs */
.support-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.tab-btn {
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.tab-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(43, 202, 255, 0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Email Request Styles */
.email-request-container {
  max-width: 800px;
  margin: 0 auto;
}

.email-request-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.email-request-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.email-request-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-request-form label {
  color: var(--accent);
  font-weight: 600;
}

.email-request-form input,
.email-request-form textarea {
  padding: 1rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.email-request-form input:focus,
.email-request-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.email-request-form textarea {
  resize: vertical;
  min-height: 150px;
}

.info-text {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Contact Icons (Home Page) */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 2px solid var(--border-color);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  min-width: 120px;
}

.contact-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(43, 202, 255, 0.3);
  border-color: var(--accent);
}

.contact-icon svg {
  transition: transform 0.3s ease;
}

.contact-icon:hover svg {
  transform: scale(1.1);
}

.contact-icon span {
  font-weight: 600;
  font-size: 1rem;
}

.contact-icon.instagram-icon:hover {
  box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4);
  border-color: #E1306C;
}

.contact-icon.email-icon:hover {
  box-shadow: 0 10px 30px rgba(234, 67, 53, 0.4);
  border-color: #EA4335;
}

.contact-icon.whatsapp-icon:hover {
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  border-color: #25D366;
}

/* Email Request Admin Styles */
.email-requests-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.email-request-admin-card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 2px solid var(--border-color);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.email-request-admin-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.2);
}

.email-request-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.email-request-admin-header h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.email-request-user {
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.email-request-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.email-request-status {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.email-request-status.status-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.email-request-status.status-responded {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid #28a745;
}

.email-request-status.status-closed {
  background: rgba(108, 117, 125, 0.2);
  color: #6c757d;
  border: 1px solid #6c757d;
}

.email-request-admin-body {
  margin-top: 1rem;
}

.email-request-inquiry {
  background: rgba(43, 202, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-right: 3px solid var(--accent);
}

.email-request-inquiry h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.email-request-inquiry p {
  color: var(--text-primary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.email-request-notes {
  background: rgba(255, 193, 7, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-right: 3px solid #ffc107;
}

.email-request-notes h4 {
  color: #ffc107;
  margin-bottom: 0.5rem;
}

.email-request-notes p {
  color: var(--text-primary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.email-request-actions {
  margin-top: 1.5rem;
}

.email-request-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-request-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-request-form label {
  color: var(--accent);
  font-weight: 600;
}

.email-request-form textarea,
.email-request-form select {
  padding: 0.8rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
}

.email-request-form textarea:focus,
.email-request-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.email-request-form .btn-save {
  align-self: flex-start;
}

.no-email-requests {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .admin-container {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    position: static;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .orders-table {
    font-size: 0.9rem;
  }

  .orders-table th,
  .orders-table td {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.75rem 1.5rem;
    max-width: 1200px;
    width: 100%;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .auth-section {
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .auth-card {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .auth-title {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
  }

  .auth-form {
    gap: 1rem;
  }

  .auth-input {
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .auth-primary-btn {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .auth-label {
    font-size: 0.9rem;
  }

  .auth-link-text,
  .auth-link-secondary {
    font-size: 0.9rem;
  }

  .admin-content {
    padding: 1rem;
  }
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

/* Flag button styles are defined earlier in the file (around line 1052) */

/* Product Images */
.product-image {
  width: 100%;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: visible;
  background: rgba(43, 202, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  position: relative;
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
}

.product-image:hover img {
  opacity: 0.9;
  transform: scale(1.02);
}

.product-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  background: rgba(43, 202, 255, 0.05);
  border: 2px dashed var(--border-color);
  aspect-ratio: 4 / 3;
  min-height: 180px;
}

.product-image.placeholder span {
  padding: 0.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-image.placeholder span::before {
  content: '🖼️';
  font-size: 1.2rem;
}

.product-description {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(43, 202, 255, 0.05);
  border-radius: 5px;
  border-left: 3px solid var(--accent);
}

/* Reviews */
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.product-rating-compact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0;
  min-height: 20px;
  height: 20px;
}

.rating-stars {
  display: flex;
  gap: 0.15rem;
}

.star {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.star.filled {
  color: #ffd700;
  color: #ffc107;
}

.rating-value, .review-count {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.product-reviews {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.product-reviews h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.review-item {
  background: rgba(43, 202, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.review-rating {
  display: flex;
  gap: 0.2rem;
}

.review-comment {
  color: var(--text-secondary);
  font-style: italic;
}

.add-review-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.add-review-section h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-review {
  padding: 0.6rem 1.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-review:hover {
  background: var(--glow);
  box-shadow: 0 0 15px var(--glow);
}

.review-notice {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 5px;
  color: #ffc107;
  text-align: center;
}

/* Account Section */
.account-section {
  padding: 3rem 0;
}

.account-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.account-card {
  background: var(--card-bg);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.account-card:hover {
  border-color: rgba(43, 202, 255, 0.4);
  box-shadow: 0 4px 20px rgba(43, 202, 255, 0.15);
}

.account-card.danger-zone {
  border-color: rgba(239, 68, 68, 0.3);
}

.account-card.danger-zone:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.card-header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(43, 202, 255, 0.15);
}

.card-header h2 {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.card-content {
  flex: 1;
}

/* Profile Overview */
.profile-overview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-email {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-verified {
  background: rgba(76, 175, 80, 0.15);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-unverified {
  background: rgba(255, 152, 0, 0.15);
  color: #ffb74d;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.badge-active {
  background: rgba(43, 202, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(43, 202, 255, 0.3);
}

.badge-banned {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.profile-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.meta-label {
  font-weight: 500;
}

.meta-value {
  color: var(--text-primary);
}

.profile-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.15);
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  background: rgba(43, 202, 255, 0.08);
  border-radius: 8px;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Security */
.security-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-link:hover {
  color: var(--glow);
}

.link-count {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.security-toggle {
  margin-top: 0.5rem;
}

.toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.toggle-checkbox {
  width: 44px;
  height: 24px;
  appearance: none;
  background: rgba(43, 202, 255, 0.2);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-checkbox:checked {
  background: var(--accent);
}

.toggle-checkbox::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

.toggle-checkbox:checked::before {
  transform: translateX(20px);
}

.recent-logins {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43, 202, 255, 0.15);
}

.recent-logins h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.login-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-item {
  padding: 0.5rem;
  background: rgba(43, 202, 255, 0.05);
  border-radius: 6px;
  font-size: 0.85rem;
}

.login-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.login-ip {
  color: var(--text-secondary);
  font-family: monospace;
}

.login-time {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Wallet */
.wallet-balance {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.balance-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(43, 202, 255, 0.2);
}

.balance-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.balance-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

/* Quick Links */
.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Reviews */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-item {
  padding: 1rem;
  background: rgba(43, 202, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(43, 202, 255, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-product {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.review-rating {
  display: flex;
  gap: 0.2rem;
}

.review-rating .star {
  color: #666;
  font-size: 1rem;
}

.review-rating .star.filled {
  color: #ffc107;
}

.review-comment {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(43, 202, 255, 0.1);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.btn-link-danger {
  background: transparent;
  border: none;
  color: #f87171;
}

.btn-delete-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  border: 2px solid rgba(239, 68, 68, 0.6);
  border-radius: 8px;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-delete-review::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-delete-review:hover::before {
  left: 100%;
}

.btn-delete-review::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 10px;
  background: linear-gradient(45deg, #ef4444, #dc2626, #ef4444);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s ease infinite;
  z-index: -1;
}

.btn-delete-review:hover::after {
  opacity: 1;
}

.btn-delete-review svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.btn-delete-review:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border-color: #ef4444;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.5),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-delete-review:hover svg {
  transform: rotate(90deg);
}

.btn-delete-review:active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-color: #dc2626;
  transform: translateY(0) scale(0.95);
  box-shadow: 
    0 4px 15px rgba(239, 68, 68, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-delete-review:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(239, 68, 68, 0.2),
    0 8px 25px rgba(239, 68, 68, 0.5);
}

.btn-link-danger:hover {
  color: #ef4444;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

/* Preferences */
.preferences-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  background: rgba(43, 202, 255, 0.05);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Danger Zone */
.danger-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

.btn-secondary {
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid rgba(43, 202, 255, 0.3);
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(43, 202, 255, 0.2);
  border-color: rgba(43, 202, 255, 0.5);
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.otp-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.15);
}

/* Wallet Styles */
.wallet-section {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.wallet-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.wallet-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.4), rgba(6, 8, 20, 0.6));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 211, 238, 0.06);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.wallet-card:hover {
  border-color: rgba(34, 211, 238, 0.15);
  box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 211, 238, 0.04);
  transform: translateY(-4px);
}

.balance-card {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.05), rgba(43, 80, 188, 0.05));
  border-color: rgba(34, 211, 238, 0.12);
  overflow: hidden;
}

.balance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #2b50bc, #a855f7);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.balance-display {
  text-align: center;
  padding: 1.5rem 0;
}

.balance-amount {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #22d3ee 50%, #2b50bc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.3));
}

.balance-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transaction-item {
  padding: 1.25rem;
  background: rgba(6, 8, 20, 0.4);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.transaction-item:hover {
  background: rgba(6, 8, 20, 0.6);
  border-color: rgba(34, 211, 238, 0.1);
  transform: translateX(5px);
}

.transaction-item.debit {
  border-right: 4px solid #ef4444;
}

.transaction-item.credit {
  border-right: 4px solid #10b981;
}

.transaction-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.type-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.type-badge.refund {
  background: rgba(76, 175, 80, 0.15);
  color: #81c784;
}

.type-badge.adjustment {
  background: rgba(43, 202, 255, 0.15);
  color: var(--accent);
}

.type-badge.purchase {
  background: rgba(255, 152, 0, 0.15);
  color: #ffb74d;
}

.type-badge.promo {
  background: rgba(156, 39, 176, 0.15);
  color: #ba68c8;
}

.transaction-amount {
  font-size: 1.1rem;
  font-weight: 600;
}

.transaction-amount.positive {
  color: #4ade80;
}

.transaction-amount.negative {
  color: #f87171;
}

.transaction-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.transaction-ref {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.transaction-ref span {
  font-family: monospace;
  color: var(--text-primary);
}

.transaction-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.wallet-actions {
  margin-top: 2rem;
  text-align: center;
}

.success-message {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid #4caf50;
  color: #81c784;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Checkout Section */
.checkout-section {
  padding: 3rem 0;
  min-height: calc(100vh - 200px);
}

.checkout-page .checkout-container {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 1rem;
}

/* Order Summary Card - Premium Styling */
.checkout-page .checkout-summary-card,
.payment-order-summary {
  background: rgba(26, 37, 41, 0.7);
  border: 1px solid rgba(43, 202, 255, 0.4);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 40px rgba(43, 202, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.checkout-page .checkout-summary-card::before,
.payment-order-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.05) 0%, rgba(43, 202, 255, 0.02) 100%);
  pointer-events: none;
  z-index: 0;
}

.checkout-page .checkout-summary-card > *,
.payment-order-summary > * {
  position: relative;
  z-index: 1;
}

/* Title centered at top inside box */
.checkout-page .checkout-summary-title,
.payment-order-summary .checkout-summary-title {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(43, 202, 255, 0.2);
}

.checkout-page .checkout-summary-title span {
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(43, 202, 255, 0.15);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.2);
}

/* Summary Body - Three Column Layout (Quantity Left, Info Center, Image Right) */
.checkout-page .checkout-summary-body,
.payment-order-summary .checkout-summary-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  min-height: 120px;
  padding: 0.5rem 0;
}

.checkout-item-card {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(34, 47, 56, 0.3);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 12px;
}

.checkout-item-card:last-child {
  margin-bottom: 0;
}

/* Left: Quantity Controls (mid-left, small) */
.checkout-page .checkout-summary-left,
.payment-order-summary .checkout-summary-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

/* Center: Product Info */
.checkout-page .checkout-summary-center,
.payment-order-summary .checkout-summary-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 1rem;
}

/* Right: Product Image (bigger, fixed ratio) */
.checkout-page .checkout-summary-right,
.payment-order-summary .checkout-summary-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

/* Quantity controls for payment page */
.payment-order-summary .checkout-quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-order-summary .quantity-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(34, 47, 56, 0.8);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.payment-order-summary .quantity-btn:hover:not(.disabled):not(:disabled) {
  background: rgba(43, 202, 255, 0.2);
  border-color: var(--accent);
}

.payment-order-summary .quantity-btn:active:not(.disabled):not(:disabled) {
  transform: scale(0.95);
}

.payment-order-summary .quantity-input,
.payment-order-summary .quantity-display {
  width: 45px;
  height: 32px;
  padding: 0 0.3rem;
  background: rgba(34, 47, 56, 0.8);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  font-family: inherit;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-order-summary .quantity-display {
  border: none;
  background: transparent;
}

.payment-order-summary .quantity-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.2);
}

.payment-order-summary .quantity-input::-webkit-inner-spin-button,
.payment-order-summary .quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.payment-order-summary .quantity-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Center: Product Details */
.checkout-page .checkout-summary-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.checkout-page .checkout-quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-page .quantity-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(34, 47, 56, 0.8);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

/* Green glow for plus button in checkout */
.checkout-page .quantity-btn.quantity-plus:hover:not(.disabled):not(:disabled) {
  border-color: rgba(34, 197, 94, 0.8);
  color: #22c55e !important;
  background: rgba(34, 197, 94, 0.1);
  box-shadow: 
    0 0 20px rgba(34, 197, 94, 0.6),
    0 0 40px rgba(34, 197, 94, 0.3),
    inset 0 0 10px rgba(34, 197, 94, 0.2);
  transform: scale(1.1);
}

/* Red glow for minus button in checkout */
.checkout-page .quantity-btn.quantity-minus:hover:not(.disabled):not(:disabled) {
  border-color: rgba(239, 68, 68, 0.8);
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 
    0 0 20px rgba(239, 68, 68, 0.6),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 0 10px rgba(239, 68, 68, 0.2);
  transform: scale(1.1);
}

/* Disabled minus button styles */
.quantity-btn.quantity-minus.disabled,
.quantity-btn.quantity-minus:disabled,
.qty-btn.qty-minus.disabled,
.qty-btn.qty-minus:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(34, 47, 56, 0.3);
  border-color: rgba(43, 202, 255, 0.2);
  color: rgba(234, 242, 255, 0.4) !important;
}

.quantity-btn.quantity-minus.disabled:hover,
.quantity-btn.quantity-minus:disabled:hover,
.qty-btn.qty-minus.disabled:hover,
.qty-btn.qty-minus:disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(43, 202, 255, 0.2);
  background: rgba(34, 47, 56, 0.3);
}

/* Trash button style for quantity 1 */
.quantity-btn.quantity-trash,
.qty-btn.qty-trash {
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(34, 47, 56, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.quantity-btn.quantity-trash svg,
.qty-btn.qty-trash svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: all 0.3s ease;
}

.quantity-btn.quantity-trash:hover,
.qty-btn.qty-trash:hover {
  border-color: rgba(239, 68, 68, 0.8);
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.15);
  box-shadow: 
    0 0 20px rgba(239, 68, 68, 0.6),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 0 10px rgba(239, 68, 68, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.quantity-btn.quantity-trash:hover svg,
.qty-btn.qty-trash:hover svg {
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.8));
}

.quantity-btn.quantity-trash:active,
.qty-btn.qty-trash:active {
  transform: scale(0.95) rotate(-5deg);
}

.checkout-page .quantity-btn:active:not(.disabled):not(:disabled) {
  transform: scale(0.95);
}

.checkout-page .quantity-btn.disabled,
.checkout-page .quantity-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(34, 47, 56, 0.4);
  border-color: rgba(43, 202, 255, 0.15);
}

.checkout-page .quantity-btn.glow-green,
.payment-order-summary .quantity-btn.glow-green {
  background: rgba(34, 197, 94, 0.3) !important;
  border-color: rgba(34, 197, 94, 0.6) !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6) !important;
  animation: glowGreen 0.3s ease;
}

.checkout-page .quantity-btn.glow-red,
.payment-order-summary .quantity-btn.glow-red {
  background: rgba(239, 68, 68, 0.3) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6) !important;
  animation: glowRed 0.3s ease;
}

@keyframes glowGreen {
  0%, 100% { box-shadow: 0 0 15px rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 25px rgba(34, 197, 94, 0.6); }
}

@keyframes glowRed {
  0%, 100% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.6); }
}

.checkout-page .quantity-input {
  width: 44px;
  height: 34px;
  padding: 0 0.4rem;
  background: rgba(34, 47, 56, 0.8);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  font-family: inherit;
  transition: all 0.2s ease;
}

.checkout-page .quantity-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.2);
}

.checkout-page .quantity-input::-webkit-inner-spin-button,
.checkout-page .quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.checkout-page .quantity-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Right: Product Image */
.checkout-page .checkout-summary-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-page .checkout-product-image,
.payment-product-image {
  width: 180px;
  height: 180px;
  min-width: 180px;
  min-height: 180px;
  max-width: 180px;
  max-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(43, 202, 255, 0.3);
  background: rgba(34, 47, 56, 0.6);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.15);
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 1 / 1;
}

.checkout-page .checkout-product-image img,
.payment-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.checkout-page .checkout-product-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-page .checkout-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.checkout-page .checkout-info-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 100px;
  flex-shrink: 0;
}

.checkout-page .checkout-info-value {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
}

.checkout-page .checkout-line-total {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* Bottom Divider (inset, near bottom) */
.checkout-page .checkout-summary-bottom-divider {
  width: 75%;
  height: 1px;
  background: rgba(43, 202, 255, 0.25);
  margin: 1.5rem auto;
}

/* Final Total Amount (centered at bottom) */
.checkout-page .checkout-summary-total {
  text-align: center;
  padding-top: 1rem;
}

.checkout-page .checkout-summary-total .checkout-total-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkout-page .checkout-summary-total .checkout-total-amount {
  display: block;
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
}

/* Checkout Form Card */
.checkout-page .checkout-form-card,
.payment-notes-discount {
  background: rgba(26, 37, 41, 0.6);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.1);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.checkout-page .checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-page .checkout-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-page .checkout-form label {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.checkout-page .checkout-input,
.checkout-page .checkout-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(34, 47, 56, 0.8);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.checkout-page .checkout-input:focus,
.checkout-page .checkout-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.2);
}

.checkout-page .checkout-textarea {
  resize: vertical;
  height: 100px !important;
  min-height: 90px !important;
  max-height: 120px !important;
}

/* Discount Section */
.discount-section {
  padding: 1.5rem;
  background: rgba(34, 47, 56, 0.4);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 8px;
}

.discount-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.discount-input-group {
  display: flex;
  gap: 0.75rem;
}

.discount-input-group .checkout-input {
  flex: 1;
}

.btn-apply-discount {
  padding: 0.875rem 1.5rem;
  background: rgba(43, 202, 255, 0.2);
  border: 1px solid rgba(43, 202, 255, 0.4);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-apply-discount:hover {
  background: rgba(43, 202, 255, 0.3);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.2);
}

/* Totals Section (Outside Summary) */
.checkout-totals-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43, 202, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.checkout-total-value {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.checkout-total-highlight {
  color: var(--accent);
  font-size: 1.1rem;
}

.checkout-total-final {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(43, 202, 255, 0.3);
}

.checkout-total-emphasis {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
}

/* Primary Button */
.btn-checkout-primary {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.3), rgba(43, 202, 255, 0.1));
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.2);
}

.btn-checkout-primary:hover {
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.4), rgba(43, 202, 255, 0.2));
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.4);
  transform: translateY(-2px);
}

.btn-checkout-primary:active {
  transform: translateY(0);
}

/* Error/Success Messages */
.checkout-error-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(26, 37, 41, 0.6);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.1);
}

/* Checkout Cart - Items List */
.checkout-page .checkout-items-list,
.payment-order-summary .checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.checkout-page .checkout-item-card,
.payment-order-summary .checkout-item-card {
  padding: 1rem;
  background: rgba(34, 47, 56, 0.3);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 12px;
}

/* Responsive Design for Checkout */
@media (max-width: 768px) {
  .checkout-page .checkout-container {
    padding: 0 1rem;
  }

  .checkout-page .checkout-form-card,
  .checkout-page .checkout-summary-card {
    padding: 1.5rem;
  }

  .checkout-page .checkout-summary-body,
  .payment-order-summary .checkout-summary-body {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }

  .checkout-page .checkout-summary-left,
  .checkout-page .checkout-summary-center,
  .checkout-page .checkout-summary-right,
  .payment-order-summary .checkout-summary-left,
  .payment-order-summary .checkout-summary-center,
  .payment-order-summary .checkout-summary-right {
    width: 100%;
  }

  .checkout-page .checkout-summary-left,
  .payment-order-summary .checkout-summary-left {
    justify-content: center;
  }

  .checkout-page .checkout-summary-center,
  .payment-order-summary .checkout-summary-center {
    text-align: center;
  }

  .checkout-page .checkout-summary-right,
  .payment-order-summary .checkout-summary-right {
    justify-content: center;
  }

  .checkout-page .checkout-product-image,
  .payment-product-image {
    width: 120px;
    height: 120px;
  }

  .checkout-page .checkout-info-item {
    justify-content: center;
    text-align: center;
  }

  .checkout-page .discount-input-group {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .checkout-page.checkout-section {
    padding: 1.5rem 0;
  }

  .checkout-page .checkout-container {
    padding: 0 0.75rem;
  }

  .checkout-page .checkout-form-card,
  .checkout-page .checkout-summary-card {
    padding: 1.25rem;
  }

  .checkout-page .checkout-product-image {
    width: 100px;
    height: 100px;
  }

  .checkout-page .checkout-summary-body {
    min-height: auto;
  }

  .checkout-page .quantity-btn {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .checkout-page .quantity-input {
    width: 40px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .checkout-page.checkout-section {
    padding: 1.5rem 0;
  }

  .checkout-page .checkout-container {
    padding: 0 0.75rem;
  }

  .checkout-page .checkout-form-card,
  .checkout-page .checkout-summary-card {
    padding: 1.25rem;
  }

  .checkout-page .checkout-product-image {
    width: 90px;
    height: 90px;
  }

  .checkout-page .checkout-summary-body {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .checkout-page.checkout-section {
    padding: 1.5rem 0;
  }

  .checkout-page .checkout-container {
    padding: 0 0.75rem;
  }

  .checkout-page .checkout-form-card,
  .checkout-page .checkout-summary-card {
    padding: 1.25rem;
  }

  .checkout-page .checkout-product-image {
    width: 90px;
    height: 90px;
  }

  .checkout-page .checkout-summary-body {
    min-height: auto;
  }
}

/* RTL Support for Checkout */
body[dir="rtl"] .checkout-container {
  direction: rtl;
}

body[dir="rtl"] .checkout-total-row {
  flex-direction: row-reverse;
}

body[dir="rtl"] .discount-input-group {
  flex-direction: row-reverse;
}

.checkout-error-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(26, 37, 41, 0.6);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.1);
}


.checkout-totals-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43, 202, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.checkout-total-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.checkout-total-value {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.checkout-total-highlight {
  color: var(--accent);
  font-size: 1.1rem;
}

.checkout-total-final {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(43, 202, 255, 0.3);
}

.checkout-total-emphasis {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
}

.checkout-price-unit {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.checkout-price-line-total {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.checkout-price-discount {
  color: #4ade80;
  font-size: 0.95rem;
}

.checkout-pricing-summary {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43, 202, 255, 0.2);
}

.checkout-pricing-summary .checkout-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  width: 100%;
}

.checkout-pricing-summary .checkout-price-label {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.checkout-pricing-summary .checkout-price-unit,
.checkout-pricing-summary .checkout-price-discount {
  flex: 1;
  text-align: right;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Shared value style (unit / discount / line total) */
.checkout-pricing-summary .checkout-price-value,
.checkout-pricing-summary .checkout-price-line-total {
  flex: 1;
  text-align: right;
}

.checkout-pricing-summary .checkout-price-discount {
  color: var(--accent-green);
}

.checkout-pricing-summary .checkout-final-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(43, 202, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Only center the label in the FINAL TOTAL row (not every row) */
.checkout-pricing-summary .checkout-final-total .checkout-price-label {
  width: 100%;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* RTL: keep label/value spacing correct */
body[dir="rtl"] .checkout-pricing-summary .checkout-price-unit,
body[dir="rtl"] .checkout-pricing-summary .checkout-price-discount,
body[dir="rtl"] .checkout-pricing-summary .checkout-price-line-total,
body[dir="rtl"] .checkout-pricing-summary .checkout-price-value {
  text-align: left;
}

.checkout-pricing-summary .checkout-price-final {
  width: 100%;
  text-align: center;
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
}

.checkout-final-total {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(43, 202, 255, 0.3);
}

.checkout-price-final {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
}

.checkout-fees-row {
  color: var(--text-secondary);
}

.checkout-price-fees {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive: Mobile adjustments */
@media (max-width: 768px) {
  .checkout-container {
    padding: 0 1.5rem;
  }

  .checkout-form-card,
  .checkout-summary-card {
    padding: 1.5rem;
  }

  .checkout-badges-row {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-badge-item {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .checkout-section {
    padding: 2rem 0;
  }

  .checkout-container {
    padding: 0 1.25rem;
  }

  .checkout-form-card,
  .checkout-summary-card {
    padding: 1.25rem;
  }

  .checkout-summary-badge {
    padding: 0.75rem 1.5rem;
  }

  .checkout-summary-badge span {
    font-size: 1rem;
  }

  .checkout-product-name-pill {
    padding: 0.75rem 1.5rem;
  }

  .checkout-product-name-pill span {
    font-size: 1rem;
  }
}

/* RTL Support for Checkout */
body[dir="rtl"] .checkout-container {
  direction: rtl;
}

body[dir="rtl"] .checkout-total-row {
  flex-direction: row-reverse;
}

body[dir="rtl"] .discount-input-group {
  flex-direction: row-reverse;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-input,
.checkout-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(26, 37, 41, 0.8);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.checkout-input:focus,
.checkout-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
  background: rgba(26, 37, 41, 0.9);
}

.checkout-input::placeholder,
.checkout-textarea::placeholder {
  color: rgba(234, 242, 255, 0.5);
}

.checkout-textarea {
  resize: vertical;
  height: 100px !important;
  min-height: 90px !important;
  max-height: 120px !important;
  line-height: 1.6;
}

.discount-section {
  padding: 1.5rem;
  background: rgba(43, 202, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(43, 202, 255, 0.3);
  margin: 1.5rem 0;
}

.discount-title {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.discount-input-group {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.discount-input-group .checkout-input {
  flex: 1;
}

.btn-apply-discount {
  padding: 0.875rem 1.5rem;
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}

.btn-apply-discount:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
}

.btn-checkout-primary {
  width: 100%;
  padding: 1rem 2rem;
  min-height: 52px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: var(--bg-primary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.3);
  margin-top: 0.5rem;
}

.btn-checkout-primary:hover {
  background: var(--glow);
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.5);
  transform: translateY(-2px);
}

.btn-checkout-primary:active {
  transform: translateY(0);
}

.checkout-price-fees {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.discount-section h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-shadow: 0 0 10px rgba(43, 202, 255, 0.5);
}

.discount-input-group {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

.discount-input-group input {
  flex: 1;
  padding: 0.9rem;
  background: rgba(43, 202, 255, 0.1);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.discount-input-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
  background: rgba(43, 202, 255, 0.15);
}

.btn-apply-discount {
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.3);
}

.btn-apply-discount:hover {
  background: var(--glow);
  box-shadow: 0 0 25px var(--glow);
  transform: translateY(-2px);
}

.checkout-totals {
  padding: 1.5rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 8px;
  border: 2px solid var(--accent);
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.discount-row {
  color: #4caf50;
}

.final-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent);
}

/* Payment Section */
.payment-section {
  padding: 2rem 0;
}

.payment-section .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.payment-card {
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  border: none;
  padding: 0;
}

.order-summary {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.order-summary h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.order-summary p {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.order-summary strong {
  color: var(--accent);
  margin-left: 0.5rem;
}

.total-amount {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border-color);
}

.payment-instructions-card {
  margin-bottom: 1.5rem;
  padding: 0;
  background: rgba(26, 37, 41, 0.6);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.payment-instructions-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem 1rem 2rem;
  width: 100%;
}

.payment-instructions-badge {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgba(43, 202, 255, 0.2);
  border: 1px solid var(--neon-blue);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.3);
}

.payment-instructions-badge span {
  color: #f8fafc;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-instructions-divider {
  width: 75%;
  height: 1px;
  background: var(--border-color);
  margin: 1.5rem auto;
  opacity: 0.6;
}

.payment-instructions-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem 2rem 2rem;
  text-align: center;
}

.payment-method-badge {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background: rgba(43, 202, 255, 0.08);
  border: 1px solid rgba(43, 202, 255, 0.4);
  border-radius: 50px;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.15);
}

.payment-method-badge span {
  color: var(--neon-blue);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.payment-method-details {
  color: #EAF2FF;
  line-height: 2.4;
  white-space: pre-line;
  font-size: 1.1rem;
  text-align: center;
  max-width: 90%;
  word-wrap: break-word;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 0 8px rgba(43, 202, 255, 0.12);
  font-weight: 400;
  display: none; /* Hidden by default, shown when method is selected */
}

.payment-method-details.active {
  display: block;
}

/* Payment instructions blocks for /payment/cart */
.payment-instructions {
  display: none;
  color: #EAF2FF;
  line-height: 2.4;
  white-space: pre-line;
  font-size: 1.1rem;
  text-align: center;
  max-width: 90%;
  word-wrap: break-word;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 0 8px rgba(43, 202, 255, 0.12);
  font-weight: 400;
}

.payment-instructions.active {
  display: block;
}

.payment-instructions.hidden {
  display: none;
}

/* Ensure payment summary and submit areas are always visible */
#paymentSummaryArea,
#paymentSubmitArea {
  display: block !important;
  visibility: visible !important;
}

/* Only instructions area can be toggled */
#paymentInstructionsArea {
  display: block;
  visibility: visible;
}

/* RTL Support for Payment Instructions */
body[dir="rtl"] .payment-instructions-content {
  direction: rtl;
}

body[dir="rtl"] .payment-method-badge,
body[dir="rtl"] .payment-method-details {
  text-align: center;
}

/* Wallet Balance Card */
.wallet-balance-card {
  margin-bottom: 1.5rem;
  padding: 0;
  background: rgba(26, 37, 41, 0.6);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.wallet-balance-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem 1rem 2rem;
  width: 100%;
}

.wallet-balance-badge {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.wallet-balance-badge span {
  color: #f8fafc;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wallet-balance-divider {
  width: 75%;
  height: 1px;
  background: var(--border-color);
  margin: 1.5rem auto;
  opacity: 0.6;
}

.wallet-balance-content {
  display: flex;
  flex-direction: column;
  padding: 0 2rem 2rem 2rem;
}

.wallet-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.wallet-balance-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.wallet-balance-amount {
  color: var(--neon-green);
  font-size: 1.2rem;
  font-weight: 700;
}

.wallet-note {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-secondary);
  opacity: 0.9;
}

.wallet-usage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.wallet-usage-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.wallet-usage-amount {
  color: var(--neon-green);
  font-size: 1.1rem;
  font-weight: 600;
}

.wallet-usage-remaining {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

/* RTL Support for Wallet Balance */
body[dir="rtl"] .wallet-balance-content {
  direction: rtl;
}

.payment-fee-card {
  margin: 1.5rem auto;
  padding: 1.5rem;
  background: rgba(26, 37, 41, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(43, 202, 255, 0.3);
  max-width: 800px;
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.1);
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.fee-label {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 500;
}

.fee-value {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
}

.fee-divider {
  height: 1px;
  background: rgba(43, 202, 255, 0.25);
  margin: 1rem 1.5rem;
  opacity: 0.5;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.total-label {
  color: var(--neon-blue);
  font-size: 1.3rem;
  font-weight: 600;
}

.total-value {
  color: var(--neon-blue);
  font-size: 1.5rem;
  font-weight: bold;
}

.btn-payment-primary {
  width: 100%;
  padding: 1.2rem 2rem;
  background: var(--neon-blue);
  color: var(--black-deep);
  border: 2px solid var(--neon-blue);
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.4), inset 0 0 0 2px rgba(43, 202, 255, 0.2);
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: 2px solid rgba(43, 202, 255, 0.3);
  outline-offset: 2px;
}

.btn-payment-primary:hover {
  background: var(--neon-blue-glow);
  border-color: var(--neon-blue-glow);
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.6), inset 0 0 0 2px rgba(43, 202, 255, 0.3);
  outline-color: rgba(43, 202, 255, 0.5);
  transform: translateY(-2px);
}

.btn-payment-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.5), inset 0 0 0 2px rgba(43, 202, 255, 0.2);
  outline-color: rgba(43, 202, 255, 0.4);
}

/* RTL Support for Payment Page */
body[dir="rtl"] .fee-row,
body[dir="rtl"] .total-row {
  flex-direction: row-reverse;
}

body[dir="rtl"] .fee-label,
body[dir="rtl"] .total-label {
  text-align: right;
}

body[dir="rtl"] .fee-value,
body[dir="rtl"] .total-value {
  text-align: left;
}

/* Responsive Payment Page */
@media (max-width: 768px) {
  .payment-instructions-header {
    padding: 1.2rem 1.5rem 0.8rem 1.5rem;
  }
  
  .payment-instructions-badge {
    padding: 0.6rem 1.5rem;
  }
  
  .payment-instructions-badge span {
    font-size: 0.95rem;
  }
  
  .payment-instructions-divider {
    width: 70%;
    margin: 1.2rem auto;
  }
  
  .payment-instructions-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
  
  .payment-method-badge {
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .payment-method-badge span {
    font-size: 1.1rem;
  }
  
  .payment-method-details {
    font-size: 1.05rem;
    line-height: 2.2;
  }
  
  .payment-fee-card {
    padding: 1.5rem;
  }
  
  .payment-method-selection-header {
    padding: 1.2rem 1.5rem 0.8rem 1.5rem;
  }
  
  .payment-method-selection-badge {
    padding: 0.6rem 1.5rem;
  }
  
  .payment-method-selection-badge span {
    font-size: 0.95rem;
  }
  
  .payment-method-selection-divider {
    width: 70%;
    margin: 1.2rem auto;
  }
  
  .payment-method-selection-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
  
  .total-label {
    font-size: 1.1rem;
  }
  
  .total-value {
    font-size: 1.3rem;
  }
  
  .btn-payment-primary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .payment-instructions-header {
    padding: 1rem 1rem 0.6rem 1rem;
  }
  
  .payment-instructions-badge {
    padding: 0.5rem 1.2rem;
  }
  
  .payment-instructions-badge span {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }
  
  .payment-instructions-divider {
    width: 65%;
    margin: 1rem auto;
  }
  
  .payment-instructions-content {
    padding: 0 1rem 1.2rem 1rem;
  }
  
  .payment-method-badge {
    padding: 0.45rem 1.2rem;
    margin-bottom: 1.2rem;
  }
  
  .payment-method-badge span {
    font-size: 1rem;
  }
  
  .payment-method-details {
    font-size: 1rem;
    line-height: 2;
    max-width: 100%;
  }
  
  .payment-fee-card {
    padding: 1.2rem;
    margin: 1.5rem 0;
  }
  
  .payment-method-selection-header {
    padding: 1rem 1rem 0.6rem 1rem;
  }
  
  .payment-method-selection-badge {
    padding: 0.5rem 1.2rem;
  }
  
  .payment-method-selection-badge span {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }
  
  .payment-method-selection-divider {
    width: 65%;
    margin: 1rem auto;
  }
  
  .payment-method-selection-content {
    padding: 0 1rem 1.2rem 1rem;
  }
  
  .fee-divider {
    margin: 1rem 1rem;
  }
  
  .btn-payment-primary {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

.payment-method-selection-card {
  margin-bottom: 1.5rem;
  padding: 0;
  background: rgba(26, 37, 41, 0.6);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.payment-method-selection-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem 1rem 2rem;
  width: 100%;
}

.payment-method-selection-badge {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgba(43, 202, 255, 0.2);
  border: 1px solid var(--neon-blue);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.3);
}

.payment-method-selection-badge span {
  color: #f8fafc;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-method-selection-divider {
  width: 75%;
  height: 1px;
  background: rgba(43, 202, 255, 0.25);
  margin: 1.5rem auto;
  opacity: 0.6;
}

.payment-method-selection-content {
  padding: 0 2rem 2rem 2rem;
}

.payment-method-selection-content .form-group {
  margin-bottom: 1.5rem;
}

.payment-method-selection-content .form-group:last-child {
  margin-bottom: 0;
}

.payment-method-selection-content label {
  display: block;
  margin-bottom: 0.75rem;
  color: #f8fafc;
  font-weight: 600;
  font-size: 1rem;
}

.payment-method-selection-content select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(34, 47, 56, 0.8);
  border: 1px solid rgba(43, 202, 255, 0.3);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232bcaff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

body[dir="rtl"] .payment-method-selection-content select {
  background-position: left 1rem center;
  padding-right: 1rem;
  padding-left: 2.5rem;
}

.payment-method-selection-content select:focus {
  outline: none;
  border-color: rgba(43, 202, 255, 0.6);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.3);
  background-color: rgba(34, 47, 56, 0.9);
}

.payment-method-selection-content select:hover {
  border-color: rgba(43, 202, 255, 0.5);
  background-color: rgba(34, 47, 56, 0.9);
}

.payment-method-selection-content select option {
  background: rgba(26, 37, 41, 0.95);
  color: #f8fafc;
  padding: 0.5rem;
}

.payment-method-selection-content .error-message {
  color: #ff6b6b;
  text-align: center;
  padding: 1rem;
}


.cliq-block {
  margin: 1rem 0;
  padding: 1.5rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 8px;
  border: 2px solid var(--neon-blue);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.3);
}

.cliq-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--neon-blue);
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(43, 202, 255, 0.5);
}

.cliq-bank,
.cliq-name,
.cliq-id {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  margin: 0.5rem 0;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 6px;
  border: 1px solid rgba(43, 202, 255, 0.3);
}

.cliq-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.cliq-value {
  color: var(--neon-blue);
  font-weight: bold;
  font-family: monospace;
  font-size: 1.1rem;
}

.upload-proof {
  padding: 1.5rem;
  background: rgba(26, 37, 41, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(43, 202, 255, 0.3);
  max-width: 800px;
  margin: 1.5rem auto;
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.1);
}

.upload-proof h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.proof-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proof-form small {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: block;
}

/* Custom file input (localized) */
.file-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(34, 47, 56, 0.35);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 12px;
}

.file-input-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-input-button {
  padding: 0.75rem 1rem;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  color: #0b1220;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.file-input-filename {
  color: var(--text-secondary);
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

@media (max-width: 480px) {
  .file-input-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .file-input-button {
    width: 100%;
    text-align: center;
  }

  .file-input-filename {
    width: 100%;
    text-align: center;
  }
}

/* Support Section */
.support-section {
  padding: 3rem 0;
}

.support-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.ticket-form-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  height: fit-content;
}

.ticket-form-card h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.ticket-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tickets-list h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.tickets-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ticket-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.ticket-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.ticket-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.ticket-header h3 {
  color: var(--accent);
}

.ticket-status {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

.status-open {
  background: rgba(43, 202, 255, 0.2);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.status-in-progress {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-closed {
  background: rgba(158, 158, 158, 0.2);
  color: #9e9e9e;
  border: 1px solid #9e9e9e;
}

.ticket-message {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.admin-reply {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 5px;
  border-right: 3px solid var(--accent);
}

.admin-reply strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.ticket-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 1rem;
}

.no-tickets {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.tickets-admin-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ticket-admin-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.ticket-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.ticket-user {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.ticket-admin-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ticket-message-item {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.ticket-message-item.admin-message {
  background: rgba(43, 202, 255, 0.15);
  border-color: var(--accent);
  border-right: 3px solid var(--accent);
}

.ticket-message-item.user-message {
  background: rgba(43, 202, 255, 0.05);
  border-color: var(--border-color);
  border-left: 3px solid var(--text-secondary);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.message-header strong {
  color: var(--accent);
  font-size: 0.95rem;
}

.message-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.message-content {
  color: var(--text-primary);
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
}

.ticket-admin-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.ticket-reply-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ticket-actions-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.admin-reply-display {
  padding: 1rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 5px;
  margin-top: 1rem;
}

.admin-reply-display strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* About Section */
.about-section {
  padding: 3rem 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
}

.about-text {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 1.1rem;
  white-space: pre-wrap;
}

/* Admin Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
  transform: translateY(-3px);
}

.stat-card h3 {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
}

/* Discounts Management */
.add-discount-card {
  background: rgba(43, 202, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.add-discount-card h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.discount-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.discounts-list h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.discounts-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.discount-row {
  background: rgba(43, 202, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.edit-discount-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Payment Status */
.payment-status-select {
  padding: 0.5rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
}

.payment-status-select:focus {
  outline: none;
  border-color: var(--accent);
}

.status-proof-submitted {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-paid {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid #4caf50;
}

.status-rejected {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 1px solid #ff4444;
}

.status-unpaid {
  background: rgba(158, 158, 158, 0.2);
  color: #9e9e9e;
  border: 1px solid #9e9e9e;
}

.proof-link {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.proof-link:hover {
  text-decoration: underline;
  color: var(--glow);
}

/* Admin Users Management */
.add-admin-card {
  background: rgba(43, 202, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.add-admin-card h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.admin-user-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-users-table {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
}

.admin-users-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
}

.admin-users-table thead {
  background: rgba(43, 202, 255, 0.1);
}

.admin-users-table th {
  padding: 1rem;
  text-align: left;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.admin-users-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}

.admin-users-table tbody tr:hover {
  background: rgba(43, 202, 255, 0.05);
}

.admin-users-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-users-list h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.admin-users-table {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.admin-users-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-users-table th,
.admin-users-table td {
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.admin-users-table th {
  background: rgba(43, 202, 255, 0.1);
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-users-table tbody tr:hover {
  background: rgba(43, 202, 255, 0.05);
}

.admin-users-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-users-table td {
  vertical-align: middle;
}

.status-active {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid #4caf50;
}

.status-inactive {
  background: rgba(158, 158, 158, 0.2);
  color: #9e9e9e;
  border: 1px solid #9e9e9e;
}

.status-banned {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid #ef4444;
}

.btn-toggle, .btn-reset {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
}

.btn-toggle {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-toggle:hover {
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
}

.btn-reset {
  background: #ff9800;
  color: var(--text-primary);
}

.btn-reset:hover {
  background: #f57c00;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

/* Verify Email */
.verify-info {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.8;
}

.resend-form {
  margin-top: 1rem;
}

/* Enhanced Animations */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-primary, .btn-secondary, .btn-order, .btn-add-cart {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-secondary::after, .btn-order::after, .btn-add-cart::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1; /* Behind text */
  pointer-events: none; /* Don't block interactions */
}

.btn-primary:active::after, .btn-secondary:active::after, .btn-order:active::after, .btn-add-cart:active::after {
  width: 300px;
  height: 300px;
}

/* Enhanced Product Card Hover */
.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.6);
}

/* Payment Status in Orders */
.payment-status {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
  margin-left: 0.5rem;
}

/* Order Totals */
.order-subtotal, .order-discount, .order-total {
  color: var(--text-secondary);
}

.order-total {
  font-size: 1.2rem;
  color: var(--accent);
}

/* About Editor */
.about-editor {
  background: rgba(43, 202, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.about-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Responsive Updates */
@media (max-width: 768px) {
  .support-container {
    grid-template-columns: 1fr;
  }

  .account-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-card, .payment-card {
    padding: 2rem;
  }

  .product-summary {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
  }

  .lang-toggle {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }
}

/* Product Detail Styles */
.product-detail-section {
  padding: 2rem 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--glow);
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.product-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-thumbnails {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.image-thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.image-thumbnails img:hover,
.image-thumbnails img.active {
  border-color: var(--accent);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-title {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.product-meta {
  display: flex;
  gap: 1rem;
}

.product-meta span {
  padding: 0.5rem 1rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.product-price-large {
  font-size: 2rem;
  color: var(--glow);
  font-weight: bold;
}

.product-description {
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.product-description h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.product-actions .btn-large {
  flex: 1;
  min-width: 150px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.product-actions .btn-add-cart.btn-large {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
}

.product-actions .btn-add-cart.btn-large:hover {
  background: var(--neon-blue);
  color: var(--black-deep);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.5);
  transform: translateY(-2px);
}

.product-actions .btn-order.btn-large {
  background: var(--neon-blue);
  color: var(--black-deep);
  border: 2px solid var(--neon-blue);
}

.product-actions .btn-order.btn-large:hover {
  background: var(--neon-blue-glow);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.6);
  transform: translateY(-2px);
}

.btn-details {
  color: var(--neon-blue) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-details:hover {
  color: var(--neon-blue-glow) !important;
  text-shadow: 0 0 8px rgba(43, 202, 255, 0.5);
}

.btn-details:visited {
  color: var(--neon-blue) !important;
}

@media (max-width: 768px) {
  .product-actions {
    flex-direction: column;
  }
  
  .product-actions .btn-large {
    width: 100%;
  }
}

.product-reviews-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-item {
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.review-date {
  margin-right: auto;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Payment Proof Styles */
.payment-proof-section {
  padding: 2rem 0;
}

.proof-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
}

.proof-info {
  margin-bottom: 2rem;
}

.proof-info p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.proof-info strong {
  color: var(--accent);
}

.proof-image {
  margin: 2rem 0;
  text-align: center;
}

.proof-image img {
  max-width: 100%;
  border-radius: 8px;
  border: 2px solid var(--border-color);
}

.proof-actions {
  margin-top: 2rem;
}

/* FAQ Styles */
.faq-section {
  padding: 2rem 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 12px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.2);
}

.faq-question {
  padding: 1.5rem;
  background: rgba(43, 202, 255, 0.1);
  cursor: pointer;
}

.faq-question h3 {
  color: var(--accent);
  margin: 0;
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-secondary);
}

.faq-answer p {
  margin: 0;
  line-height: 1.8;
}

/* Ticket Reply Styles */
.user-reply {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 8px;
  border-right: 3px solid var(--accent);
}

.ticket-reply-form {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.ticket-reply-form textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: inherit;
}

.ticket-reply-form button {
  padding: 0.6rem 1.5rem;
}

/* Product Link Styles */
.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-link:hover .product-name {
  color: var(--accent);
}

.product-link:hover .product-image img {
  transform: scale(1.05);
}

/* FAQ Admin Styles */
.faq-admin-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.faq-edit-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 768px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .image-thumbnails {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .nav-auth {
    flex-direction: column;
    width: 100%;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
  
  .product-price-large {
    font-size: 1.5rem;
  }
}

/* OTP Input Container (6-box layout) */
.otp-input-container {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.otp-box {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  background: rgba(43, 202, 255, 0.1);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--accent);
  transition: all 0.3s ease;
  font-family: 'Courier New', monospace;
}

.otp-box:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.5);
  background: rgba(43, 202, 255, 0.2);
  transform: scale(1.05);
}

.readonly-input {
  background: rgba(43, 202, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: not-allowed;
}

/* Buddy Chat Widget */
/* Order Summary Page */
.order-summary-section {
  padding: 3rem 0;
  min-height: 70vh;
}

.order-summary-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 0 30px rgba(43, 202, 255, 0.3);
  text-align: center;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.summary-info h2 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.important-note {
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: right;
}

.important-note h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.important-note ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.important-note li {
  padding: 0.75rem 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  line-height: 1.8;
}

.important-note li:last-child {
  border-bottom: none;
}

.order-details {
  background: rgba(43, 202, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: right;
}

.order-details h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.detail-value {
  color: var(--accent);
  font-weight: bold;
}

.status-proof-submitted {
  color: #ffa726;
}

.status-paid {
  color: #4caf50;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--glow);
}

/* Discount Page Theme Fix */
.discount-section {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.discount-section h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.discount-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.discount-input-group input {
  flex: 1;
  padding: 0.8rem;
  background: rgba(43, 202, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
}

.discount-input-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.btn-apply-discount {
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-apply-discount:hover {
  background: var(--glow);
  box-shadow: 0 0 15px var(--glow);
  transform: translateY(-2px);
}

.discount-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.discount-row:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* Cart Section */
.cart-section {
  padding: 3rem 0;
  min-height: 70vh;
}

.cart-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 968px) {
  .cart-container {
    grid-template-columns: 1fr;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
  }
  
  .cart-item-info {
    grid-column: 2;
  }
  
  .cart-item-qty-controls {
    grid-column: 1 / -1;
    justify-self: start;
  }
  
  .cart-item-price {
    grid-column: 1 / -1;
  }
  
  .btn-remove-cart {
    grid-column: 2;
    justify-self: end;
    grid-row: 1;
  }
}

.cart-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.3);
}

.cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  background: rgba(43, 202, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-image.placeholder {
  font-size: 2rem;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.cart-item-info h3 {
  color: var(--accent);
  margin: 0;
  font-size: 1.2rem;
}

.cart-item-meta {
  display: flex;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cart-item-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
  text-align: right;
  min-width: 120px;
}

.cart-item-price .unit-price {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cart-item-price strong {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: bold;
}

.btn-remove-cart {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  color: #ef4444;
  border: 2px solid rgba(239, 68, 68, 0.6);
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: bold;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-remove-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-remove-cart:hover::before {
  left: 100%;
}

.btn-remove-cart::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ef4444, #dc2626, #ef4444);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s ease infinite;
  z-index: -1;
}

.btn-remove-cart:hover::after {
  opacity: 1;
}

.btn-remove-cart:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-color: #ef4444;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.5),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Cart Quantity Controls */
.cart-item-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  min-width: 120px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 2px solid var(--neon-blue);
  background: transparent;
  color: var(--neon-blue) !important;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Green glow effect for plus button */
.qty-btn.qty-plus:hover,
.qty-btn.quantity-plus:hover {
  border-color: rgba(34, 197, 94, 0.8);
  color: #22c55e !important;
  background: rgba(34, 197, 94, 0.1);
  box-shadow: 
    0 0 20px rgba(34, 197, 94, 0.6),
    0 0 40px rgba(34, 197, 94, 0.3),
    inset 0 0 10px rgba(34, 197, 94, 0.2);
  transform: scale(1.15);
}

/* Red glow effect for minus button */
.qty-btn.qty-minus:hover,
.qty-btn.quantity-minus:hover {
  border-color: rgba(239, 68, 68, 0.8);
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 
    0 0 20px rgba(239, 68, 68, 0.6),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 0 10px rgba(239, 68, 68, 0.2);
  transform: scale(1.15);
}

.qty-display {
  min-width: 40px;
  text-align: center;
  font-weight: bold;
  color: var(--text-primary) !important;
}

/* Discount Apply Button */
.discount-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.discount-input-group input {
  flex: 1;
}

.btn-apply-discount {
  padding: 0.8rem 1.5rem;
  background: var(--neon-blue);
  color: var(--black-deep) !important;
  border: 2px solid var(--neon-blue);
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.btn-apply-discount:hover {
  background: var(--neon-blue-glow);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.5);
  transform: translateY(-2px);
}

.discount-applied {
  margin-top: 0.5rem;
  padding: 0.8rem;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid var(--accent-green);
  border-radius: 8px;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-remove-discount {
  background: transparent;
  border: none;
  color: #ef4444 !important;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
  transition: all 0.3s ease;
}

.btn-remove-discount:hover {
  transform: scale(1.2);
  color: #dc2626 !important;
}

.discount-row {
  color: var(--accent-green);
}

.cart-summary {
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 2rem;
  position: sticky;
  top: 2rem;
  align-self: start;
}

.cart-summary-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.cart-summary-buttons .btn-primary,
.cart-summary-buttons .btn-secondary {
  width: 100%;
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  margin: 0;
}

/* Slideshow Section */
.slideshow-section {
  width: 100%;
  position: relative;
  margin-bottom: 2rem;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 2rem;
  z-index: 2;
}

.slide-title {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slideshow-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
  pointer-events: none;
}

.slide-prev,
.slide-next {
  background: rgba(43, 202, 255, 0.8);
  color: var(--text-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-prev:hover,
.slide-next:hover {
  background: var(--neon-blue);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.6);
  transform: scale(1.1);
}

.slideshow-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--neon-blue);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.8);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .slideshow-wrapper {
    height: 250px;
  }
  
  .slide-title {
    font-size: 1.5rem;
  }
  
  .slide-prev,
  .slide-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.cart-total h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin: 0;
}

.total-amount {
  color: var(--accent);
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.empty-cart p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.checkout-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
}

.checkout-item-info h3 {
  color: var(--accent);
  margin: 0 0 0.5rem 0;
}

.checkout-item-info p {
  color: var(--text-secondary);
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.checkout-item-info .item-price {
  color: var(--accent);
  font-weight: bold;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-image {
    width: 100%;
    height: 200px;
  }
  
  .cart-item-info {
    width: 100%;
  }
  
  .cart-item-price {
    justify-content: center;
  }
  
  .btn-remove-cart {
    width: 100%;
  }
}

/* ============================================
   HOME PAGE REDESIGN - NEW SECTIONS
   ============================================ */

/* Hero Split Layout */
.hero-split {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.05) 0%, rgba(26, 37, 41, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.hero-split::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(43, 202, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(56, 188, 249, 0.03) 0%, transparent 50%);
  animation: gradientShift 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes gradientShift {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-left {
  text-align: center;
  width: 100%;
  max-width: 800px;
}

/* Responsive Hero Styles */
@media (max-width: 768px) {
  .hero-split {
    padding: 4rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  .hero-platforms {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .trust-block {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    width: auto;
    max-width: 100%;
  }
  
  .trust-counter {
    font-size: 1.75rem;
  }
  
  .hero-categories {
    gap: 1rem;
    justify-content: flex-start;
  }
  
  .category-card {
    min-width: 110px;
    padding: 0.875rem;
    flex: 0 1 auto;
  }
  
  .category-icon {
    font-size: 1.6rem;
  }
  
  .category-label {
    font-size: 0.85rem;
  }
  
  .hero-cta {
    flex-direction: row;
    gap: 1rem;
    width: auto;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
    padding: 1rem 2rem;
  }
  
  .trust-strip {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }
  
  .trust-item {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .trust-counter {
    font-size: 1.3rem;
  }
  
  .category-card {
    min-width: 90px;
    padding: 0.5rem;
  }
}

/* Fade-in animations - Ensure text is visible */
.fade-in {
  opacity: 1;
  animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-delay {
  opacity: 1;
  animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.fade-in-delay-1 {
  opacity: 1;
  animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.fade-in-delay-2 {
  opacity: 1;
  animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.fade-in-delay-3 {
  opacity: 1;
  animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.fade-in-delay-4 {
  opacity: 1;
  animation: fadeIn 0.8s ease-out 0.8s forwards;
}

.fade-in-delay-5 {
  opacity: 1;
  animation: fadeIn 0.8s ease-out 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Pulse Animation */
.btn-pulse {
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(43, 202, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(43, 202, 255, 0.6), 0 0 40px rgba(56, 188, 249, 0.4);
  }
}

/* Trust Strip */
.trust-strip {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43, 202, 255, 0.15);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background: rgba(43, 202, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(43, 202, 255, 0.1);
  animation: floatingWave 4s ease-in-out infinite;
}

.trust-item-1 {
  animation-delay: 0s;
}

.trust-item-2 {
  animation-delay: 1.3s;
}

.trust-item-3 {
  animation-delay: 2.6s;
}

@keyframes floatingWave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes digitBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes neonPulse {
  0%, 100% {
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.7), 0 0 30px rgba(34, 197, 94, 0.4);
    transform: scale(1.02);
  }
}

@keyframes neonIdleGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.4), 0 0 20px rgba(34, 197, 94, 0.2);
  }
  50% {
    text-shadow: 0 0 15px rgba(34, 197, 94, 0.6), 0 0 25px rgba(34, 197, 94, 0.3);
  }
}

@keyframes trustCounterWave {
  0%, 100% {
    transform: translateY(0);
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  }
  25% {
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
  }
  50% {
    transform: translateY(0);
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  }
  75% {
    transform: translateY(2px);
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
  }
}

.trust-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-top: 0.5rem;
  text-align: center;
}

.trust-icon {
  font-size: 1.2rem;
}

.trust-text {
  font-weight: 500;
}

/* Featured Cards (Hero Right) */
.featured-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

.featured-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(43, 202, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-card:hover::before {
  opacity: 1;
}

.featured-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.3);
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.card-label {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.card-1 {
  grid-column: 1;
  grid-row: 1;
}

.card-2 {
  grid-column: 2;
  grid-row: 1;
}

.card-3 {
  grid-column: 1 / 3;
  grid-row: 2;
}

/* Section Spacing */
.section-spacing {
  padding: 4rem 0;
  position: relative;
  overflow: visible;
}

.hot-deals-section {
  overflow: visible !important;
  z-index: 1;
  position: relative;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.hot-deals-section .container {
  overflow: visible !important;
  position: relative;
}

.hot-deals-section .products-grid {
  margin-top: 2rem;
  padding-top: 1.5rem;
  overflow: visible;
  position: relative;
}

.hot-deals-section .section-title {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.section-spacing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

/* Hot Deals Badge */
.hot-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 0.35rem 0.7rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 50;
  animation: shimmer 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.8), 0 0 30px rgba(255, 107, 107, 0.4);
  }
}

/* Products Scroll (Mobile) */
.products-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.products-scroll::-webkit-scrollbar {
  height: 8px;
}

.products-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.products-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.products-scroll .product-card {
  scroll-snap-align: start;
  min-width: 280px;
}

/* Rating Stars */
.rating-stars {
  color: #ffd700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Feature Stats */
.feature-stat {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* How It Works Section */
.how-it-works {
  background: rgba(26, 37, 41, 0.5);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(43, 202, 255, 0.3);
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.5);
}

.step-icon {
  font-size: 3rem;
  margin: 1.5rem 0 1rem;
}

.step-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-connector-wrapper {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  direction: ltr; /* Force LTR for arrows even in RTL */
}

.step-connector {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--border-color), var(--accent), var(--border-color));
  position: relative;
}

.step-connector::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: -10px;
  color: var(--accent);
  font-size: 1.5rem;
}

/* Recently Delivered Section */
.recent-deliveries {
  background: rgba(26, 37, 41, 0.3);
}

.deliveries-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.delivery-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.delivery-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.2);
}

.delivery-icon {
  font-size: 1.5rem;
  color: #4ade80;
}

.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.delivery-product {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.delivery-time {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Enhanced Contact Section */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  min-width: 180px;
}

.contact-icon:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(43, 202, 255, 0.4);
  transform: translateY(-5px);
}

.contact-icon svg {
  transition: transform 0.3s ease;
}

.contact-icon:hover svg {
  transform: scale(1.1);
}

.contact-label {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.contact-label small {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Enhanced Footer */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: right;
  margin-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-about {
  text-align: right;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent);
}

.footer-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-menu a:hover {
  color: var(--accent);
  padding-right: 0.5rem;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* CliQ Payment Block */
.cliq-block {
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 0 20px rgba(43, 202, 255, 0.2);
}

.cliq-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 10px var(--glow);
}

.cliq-bank,
.cliq-name,
.cliq-id {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.cliq-bank:last-child,
.cliq-name:last-child,
.cliq-id:last-child {
  border-bottom: none;
}

.cliq-label {
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 1rem;
}

.cliq-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) {
  .hero-wrapper {
    gap: 3rem;
  }
  
  .steps-container {
    gap: 1.5rem;
  }
  
  .step-connector {
    flex: 0 0 40px;
  }
  
  .contact-icons {
    gap: 2rem;
  }
}

/* Large Mobile / Small Tablet (481px - 768px) */
@media (max-width: 768px) {
  .hero-split {
    padding: 4rem 1.5rem;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
  }
  
  body[dir="rtl"] .hero-wrapper {
    text-align: right;
  }
  
  .hero-left {
    text-align: left;
  }
  
  body[dir="rtl"] .hero-left {
    text-align: right;
  }
  
  .trust-strip {
    justify-content: flex-start;
  }
  
  body[dir="rtl"] .trust-strip {
    justify-content: flex-end;
  }
  
  .featured-cards {
    max-width: 100%;
    margin: 0;
  }
  
  .steps-container {
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .step-connector {
    display: none;
  }
  
  .step-card {
    width: auto;
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 200px;
  }
  
  .deliveries-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .contact-icons {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .contact-icon {
    width: auto;
    max-width: 280px;
    flex: 1 1 auto;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    gap: 2rem;
  }
  
  body[dir="rtl"] .footer-content {
    text-align: right;
  }
  
  .footer-about {
    text-align: left;
  }
  
  body[dir="rtl"] .footer-about {
    text-align: right;
  }
  
  .footer-menu {
    align-items: flex-start;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .products-scroll .product-card {
    min-width: 250px;
  }
}

/* Small mobile: make the steps/cards single column */
@media (max-width: 600px) {
  .steps-container {
    flex-direction: column;
    align-items: stretch;
  }

  .step-card {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .trust-strip {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    padding: 1.5rem;
  }
  
  .step-icon {
    font-size: 2.5rem;
  }
  
  .contact-icon {
    min-width: auto;
    width: 100%;
  }
  
  .cliq-block {
    padding: 1rem;
  }
  
  .cliq-title {
    font-size: 1.2rem;
  }
  
  .cliq-bank,
  .cliq-name,
  .cliq-id {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .cliq-label {
    margin-left: 0;
  }
}

/* LTR Support (English) */
body[dir="ltr"] .hero-left {
  text-align: left;
}

body[dir="ltr"] .footer-about {
  text-align: left;
}

body[dir="ltr"] .footer-content {
  text-align: left;
}

body[dir="ltr"] .step-connector::after {
  content: '←';
  left: -10px;
  right: auto;
}

/* Floating Cart Icon - CRITICAL: Ensure always visible */
.floating-cart,
#cart-fab {
  position: fixed !important;
  bottom: 30px !important;
  left: 30px !important;
  width: 60px !important;
  height: 60px !important;
  background: var(--neon-blue) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--black-deep) !important;
  box-shadow: 0 4px 20px rgba(43, 202, 255, 0.4), 0 0 20px rgba(43, 202, 255, 0.25) !important;
  z-index: 99999 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  overflow: visible !important;
}

.floating-cart:hover,
#cart-fab:hover {
  transform: scale(1.08) translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(43, 202, 255, 0.6), 0 0 35px rgba(43, 202, 255, 0.4) !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cart svg,
#cart-fab svg {
  width: 28px !important;
  height: 28px !important;
}

body[dir="rtl"] .floating-cart,
body[dir="rtl"] #cart-fab {
  left: auto !important;
  right: 30px !important;
}

body[dir="ltr"] .floating-cart,
body[dir="ltr"] #cart-fab {
  left: 30px !important;
  right: auto !important;
}

/* Floating Cart Responsive */
/* Desktop (>=1024px) - keep as is */
@media (min-width: 1024px) {
  .floating-cart,
  #cart-fab {
    width: 60px !important;
    height: 60px !important;
    bottom: 30px !important;
  }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .floating-cart,
  #cart-fab {
    width: 56px !important;
    height: 56px !important;
    bottom: 24px !important;
  }
  
  body[dir="rtl"] .floating-cart,
  body[dir="rtl"] #cart-fab {
    right: 24px !important;
  }
  
  body[dir="ltr"] .floating-cart,
  body[dir="ltr"] #cart-fab {
    left: 24px !important;
  }
  
  .floating-cart svg,
  #cart-fab svg {
    width: 26px !important;
    height: 26px !important;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .floating-cart,
  #cart-fab {
    width: 52px !important;
    height: 52px !important;
    bottom: 110px !important;
  }

  /* avoid covering bottom CTAs/forms */
  body {
    padding-bottom: 140px;
  }
  
  body[dir="rtl"] .floating-cart,
  body[dir="rtl"] #cart-fab {
    right: 20px !important;
  }
  
  body[dir="ltr"] .floating-cart,
  body[dir="ltr"] #cart-fab {
    left: 20px !important;
  }
  
  .floating-cart svg,
  #cart-fab svg {
    width: 24px !important;
    height: 24px !important;
  }
  
  .floating-cart-badge {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.7rem !important;
  }
}

.floating-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.floating-cart svg,
.floating-cart * {
  position: relative;
  z-index: 1;
}

.floating-cart:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(43, 202, 255, 0.7), 0 0 40px rgba(43, 202, 255, 0.5);
  background: var(--neon-blue-glow);
  color: var(--black-deep) !important; /* Keep icon visible on hover */
}

.floating-cart:hover svg {
  stroke: var(--black-deep) !important;
  color: var(--black-deep) !important;
}

.floating-cart svg {
  width: 28px;
  height: 28px;
  stroke: var(--black-deep) !important; /* Ensure icon is visible */
  fill: none;
  color: var(--black-deep) !important;
  position: relative;
  z-index: 2;
}

.floating-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

/* Cart pulse animation */
@keyframes cartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.floating-cart.animate-pulse {
  animation: cartPulse 0.3s ease;
}

/* Fly-to-cart animation element */
.cart-fly-animation {
  position: fixed;
  z-index: 100000;
  pointer-events: none;
}

/* Remove old duplicate floating cart styles - now handled above */

/* Cart fly animation */
@keyframes cartPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.cart-fly-animation {
  will-change: transform, opacity;
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 400px;
  align-items: flex-end;
}

body[dir="rtl"] .toast-container {
  right: auto;
  left: 20px;
  align-items: flex-start;
}

.toast {
  background: var(--gray-card);
  border: 2px solid var(--neon-blue);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  color: var(--text-primary) !important;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(43, 202, 255, 0.3), 0 0 30px rgba(43, 202, 255, 0.2);
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  min-width: 280px;
  max-width: 400px;
}

.toast-success {
  border-color: var(--accent-green);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, var(--gray-card) 100%);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3), 0 0 30px rgba(34, 197, 94, 0.2);
}

.toast-success::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.toast-success {
  padding-left: 3.5rem;
}

.toast-error {
  border-color: var(--danger);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, var(--gray-card) 100%);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3), 0 0 30px rgba(239, 68, 68, 0.2);
}

.toast-info {
  border-color: var(--neon-blue);
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.15) 0%, var(--gray-card) 100%);
}

.toast-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toast-exit {
  opacity: 0;
  transform: translateX(400px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

body[dir="rtl"] .toast {
  transform: translateX(-400px);
}

body[dir="rtl"] .toast-visible {
  transform: translateX(0);
}

body[dir="rtl"] .toast-exit {
  transform: translateX(-400px);
}

/* Toast stacking with smooth transitions */
.toast-container .toast {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  will-change: transform;
}

@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .toast {
    min-width: auto;
    max-width: 100%;
    transform: translateX(100vw);
  }
  
  .toast-visible {
    transform: translateX(0);
  }
  
  .toast-exit {
    transform: translateX(100vw);
  }
}

/* ====================================================
   FEEDBACK & REQUEST GAME PAGES
   ==================================================== */
.feedback-section,
.request-game-section {
  padding: 2rem 1rem;
  min-height: 60vh;
}

.feedback-card,
.request-game-card {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feedback-form,
.request-game-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feedback-form .form-group,
.request-game-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feedback-form label,
.request-game-form label {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.feedback-form label .optional,
.request-game-form label .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.feedback-form input,
.feedback-form textarea,
.feedback-form select,
.request-game-form input,
.request-game-form textarea,
.request-game-form select {
  padding: 0.875rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.feedback-form input:focus,
.feedback-form textarea:focus,
.feedback-form select:focus,
.request-game-form input:focus,
.request-game-form textarea:focus,
.request-game-form select:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.2);
}

.feedback-form textarea,
.request-game-form textarea {
  resize: vertical;
  min-height: 120px;
}

.char-count {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: right;
}

body[dir="ltr"] .char-count {
  text-align: left;
}

.feedback-form .btn-primary,
.request-game-form .btn-primary {
  padding: 1rem 2rem;
  background: var(--neon-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.feedback-form .btn-primary:hover,
.request-game-form .btn-primary:hover {
  background: #1ea8d9;
  box-shadow: 0 4px 15px rgba(43, 202, 255, 0.4);
  transform: translateY(-2px);
}

.feedback-form .btn-primary:active,
.request-game-form .btn-primary:active {
  transform: translateY(0);
}

/* RTL Support */
body[dir="rtl"] .feedback-form,
body[dir="rtl"] .request-game-form {
  direction: rtl;
}

/* Admin Game Requests */
.request-details-row {
  background: rgba(43, 202, 255, 0.05);
}

.request-details {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.request-details strong {
  color: var(--text-color);
  margin-left: 0.5rem;
}

body[dir="rtl"] .request-details strong {
  margin-left: 0;
  margin-right: 0.5rem;
}

.status-badge.status-new {
  background: rgba(43, 80, 188, 0.2);
  color: #2b50bc;
  border: 1px solid #2b50bc;
}

.status-badge.status-seen {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid #fbbf24;
}

.status-badge.status-added {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid #22c55e;
}

.status-badge.status-rejected {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
  .feedback-card,
  .request-game-card {
    padding: 1.5rem;
    margin: 1rem auto;
  }
}

@media (max-width: 480px) {
  .feedback-card,
  .request-game-card {
    padding: 1.25rem;
  }
  
  .feedback-form,
  .request-game-form {
    gap: 1.25rem;
  }
}

/* ====================================================
   STAR RATING SYSTEM
   ==================================================== */
.product-reviews-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.rating-stars-large {
  display: flex;
  gap: 0.25rem;
}

.rating-stars-large .star {
  font-size: 1.8rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.rating-stars-large .star.filled {
  color: #fbbf24;
}

.rating-text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.rating-average {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.rating-count {
  font-size: 1rem;
  color: var(--text-secondary);
}

.no-reviews-message {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Star Rating Interactive UI */
.star-rating-container {
  margin-bottom: 1.5rem;
}

.star-rating {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.star-rating-star {
  cursor: pointer;
  transition: transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.star-rating-star:hover {
  transform: scale(1.15);
}

.star-rating-star:focus {
  outline: 2px solid var(--neon-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.star-rating-star .star-outline,
.star-rating-star .star-filled {
  width: 32px;
  height: 32px;
  transition: all 0.2s ease;
}

.star-rating-star .star-outline {
  color: var(--text-secondary);
  opacity: 0.6;
}

.star-rating-star .star-filled {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}

/* Review Form */
.review-form-card {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-form-card h3 {
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 1.3rem;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-form label {
  color: var(--text-color);
  font-weight: 500;
}

.review-form textarea {
  padding: 0.875rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: all 0.3s ease;
}

.review-form textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.2);
}

.review-disabled-message,
.review-login-prompt {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  text-align: center;
  color: var(--text-color);
}

.review-login-prompt .btn-primary {
  margin-top: 1rem;
  display: inline-block;
}

/* Reviews List */
.reviews-list {
  margin-top: 2rem;
}

.reviews-list h3 {
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 1.2rem;
}

.review-item {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.review-header strong {
  color: var(--text-color);
  font-weight: 600;
}

.review-rating {
  display: flex;
  gap: 0.2rem;
}

.review-rating .star {
  font-size: 1.2rem;
  color: #6b7280;
}

.review-rating .star.filled {
  color: #fbbf24;
  filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.5));
}

.review-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-left: auto;
}

.review-comment {
  color: var(--text-color);
  line-height: 1.6;
  margin-top: 0.75rem;
  white-space: pre-wrap;
}

.btn-delete-review {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  border: 2px solid rgba(239, 68, 68, 0.6);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-delete-review::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-delete-review:hover::before {
  left: 100%;
}

.btn-delete-review::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 10px;
  background: linear-gradient(45deg, #ef4444, #dc2626, #ef4444);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s ease infinite;
  z-index: -1;
}

.btn-delete-review:hover::after {
  opacity: 1;
}

.btn-delete-review:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border-color: #ef4444;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.5),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-delete-review:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 
    0 4px 15px rgba(239, 68, 68, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-delete-review svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.btn-delete-review:hover svg {
  transform: rotate(90deg);
}

/* RTL Support */
body[dir="rtl"] .review-date {
  margin-left: 0;
  margin-right: auto;
}

body[dir="rtl"] .review-header {
  flex-direction: row-reverse;
}

body[dir="rtl"] .rating-summary {
  flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
  .rating-summary {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .star-rating-star .star-outline,
  .star-rating-star .star-filled {
    width: 28px;
    height: 28px;
  }
  
  .review-form-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .star-rating-star .star-outline,
  .star-rating-star .star-filled {
    width: 24px;
    height: 24px;
  }
  
  .review-form-card {
    padding: 1.25rem;
  }
  
  .review-item {
    padding: 1.25rem;
  }
}

/* Payment Order Summary Styles (matching checkout style) */
.payment-order-summary .checkout-summary-bottom-divider {
  width: 75%;
  height: 1px;
  background: rgba(43, 202, 255, 0.25);
  margin: 1.5rem auto;
}

.payment-order-summary .checkout-summary-total {
  text-align: center;
  padding-top: 1rem;
}

.payment-order-summary .checkout-summary-total .checkout-total-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-order-summary .checkout-summary-total .checkout-total-amount {
  display: block;
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(43, 202, 255, 0.4);
}

/* Responsive adjustments for payment order summary */
@media (max-width: 768px) {
  .payment-order-summary {
    padding: 1.5rem;
  }

  .payment-product-image {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .payment-order-summary {
    padding: 1.75rem;
  }

  .payment-product-image {
    width: 100px;
    height: 100px;
  }
}

/* ============================================
   NEW CHECKOUT PAGE - COMPLETE REWRITE
   ============================================ */

.checkout-page-new {
  min-height: 100vh;
  padding: 120px 20px 40px;
  background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0f1419 100%);
}

.checkout-container {
  max-width: 1400px;
  margin: 0 auto;
}

.checkout-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #EAF2FF;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(43, 202, 255, 0.5);
}

.checkout-error,
.checkout-success {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
}

.checkout-error {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.checkout-success {
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid rgba(34, 197, 94, 0.5);
  color: #86efac;
}

.checkout-page-new .checkout-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.checkout-page-new .checkout-left,
.checkout-page-new .checkout-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-page-new .checkout-section {
  background: rgba(22, 30, 41, 0.8);
  border: 2px solid rgba(43, 202, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.checkout-page-new .section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #EAF2FF;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(43, 202, 255, 0.3);
}

/* Items List */
.checkout-page-new .checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-page-new .checkout-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: rgba(34, 47, 56, 0.4);
  border: 1px solid rgba(43, 202, 255, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.checkout-page-new .checkout-item:hover {
  border-color: rgba(43, 202, 255, 0.4);
  background: rgba(34, 47, 56, 0.6);
}

.checkout-page-new .checkout-item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(43, 202, 255, 0.2);
}

.checkout-page-new .checkout-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-page-new .checkout-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-page-new .item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #EAF2FF;
  margin: 0;
}

.checkout-page-new .item-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.checkout-page-new .item-platform,
.checkout-page-new .item-type {
  font-size: 0.9rem;
  color: #94a3b8;
  padding: 0.25rem 0.75rem;
  background: rgba(43, 202, 255, 0.1);
  border-radius: 6px;
}

.checkout-page-new .item-price-info {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.checkout-page-new .item-unit-price {
  color: #94a3b8;
  font-size: 0.95rem;
}

.checkout-page-new .item-quantity {
  color: #64748b;
  font-size: 0.9rem;
}

.checkout-page-new .item-total {
  font-weight: 600;
  color: #2beb85;
  font-size: 1.1rem;
}

.checkout-page-new .checkout-item-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.checkout-page-new .quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 47, 56, 0.6);
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(43, 202, 255, 0.2);
}

.checkout-page-new .qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-page-new .qty-btn:hover:not(:disabled) {
  background: rgba(43, 202, 255, 0.2);
  transform: scale(1.1);
}

.checkout-page-new .qty-btn.qty-plus:hover:not(:disabled) {
  border-color: #22c55e;
  color: #22c55e;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.checkout-page-new .qty-btn.qty-minus:hover:not(:disabled) {
  border-color: #ef4444;
  color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.checkout-page-new .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.checkout-page-new .qty-value {
  min-width: 30px;
  text-align: center;
  color: #EAF2FF;
  font-weight: 600;
}

.checkout-page-new .remove-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-page-new .remove-btn:hover {
  background: rgba(239, 68, 68, 0.4);
  border-color: #ef4444;
  color: #fee2e2;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* Notes */
.checkout-page-new .notes-input {
  width: 100%;
  min-height: 120px;
  padding: 1rem;
  background: rgba(34, 47, 56, 0.6);
  border: 2px solid rgba(43, 202, 255, 0.2);
  border-radius: 8px;
  color: #EAF2FF;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.checkout-page-new .notes-input:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

/* Summary */
.checkout-page-new .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: #EAF2FF;
}

.checkout-page-new .summary-label {
  font-size: 1rem;
  color: #94a3b8;
}

.checkout-page-new .summary-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #EAF2FF;
}

.checkout-page-new .summary-discount {
  color: #22c55e;
}

.checkout-page-new .summary-discount .summary-value {
  color: #22c55e;
}

.checkout-page-new .summary-divider {
  height: 1px;
  background: rgba(43, 202, 255, 0.2);
  margin: 0.75rem 0;
}

.checkout-page-new .summary-total {
  font-size: 1.2rem;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 2px solid rgba(43, 202, 255, 0.3);
}

.checkout-page-new .summary-total .summary-value {
  font-size: 1.4rem;
  color: #2beb85;
}

.checkout-page-new .summary-fee {
  color: #fbbf24;
}

.checkout-page-new .summary-fee .summary-value {
  color: #fbbf24;
}

.checkout-page-new .summary-final {
  font-size: 1.3rem;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 2px solid rgba(43, 202, 255, 0.4);
  margin-top: 0.5rem;
}

.checkout-page-new .summary-final .summary-value {
  font-size: 1.6rem;
  color: #2beb85;
  text-shadow: 0 0 10px rgba(43, 235, 133, 0.5);
}

.checkout-page-new .remove-discount-btn {
  margin-left: 0.5rem;
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.checkout-page-new .remove-discount-btn:hover {
  transform: scale(1.2);
}

.checkout-page-new .discount-section {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 202, 255, 0.2);
}

.checkout-page-new .discount-input {
  flex: 1;
  padding: 0.75rem;
  background: rgba(34, 47, 56, 0.6);
  border: 2px solid rgba(43, 202, 255, 0.2);
  border-radius: 8px;
  color: #EAF2FF;
  font-size: 1rem;
}

.checkout-page-new .discount-input:focus {
  outline: none;
  border-color: var(--neon-blue);
}

.checkout-page-new .discount-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--neon-blue) 0%, #1e88e5 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-page-new .discount-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(43, 202, 255, 0.4);
}

/* Payment Method */
.checkout-page-new .payment-select {
  width: 100%;
  padding: 1rem;
  background: rgba(34, 47, 56, 0.6);
  border: 2px solid rgba(43, 202, 255, 0.2);
  border-radius: 8px;
  color: #EAF2FF;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.checkout-page-new .payment-select:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(43, 202, 255, 0.3);
}

.checkout-page-new .payment-instructions-container {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(34, 47, 56, 0.4);
  border: 1px solid rgba(43, 202, 255, 0.2);
  border-radius: 12px;
  min-height: 150px;
}

.checkout-page-new .payment-instructions-placeholder {
  color: #64748b;
  text-align: center;
  font-style: italic;
}

.checkout-page-new .payment-instruction-block {
  color: #EAF2FF;
  line-height: 1.8;
  font-size: 1rem;
}

.checkout-page-new .payment-instruction-block p {
  margin: 0.5rem 0;
}

.checkout-page-new .no-methods {
  color: #fca5a5;
  text-align: center;
  padding: 1rem;
}

/* Wallet */
.checkout-page-new .wallet-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: #EAF2FF;
  font-size: 1rem;
}

.checkout-page-new .wallet-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.checkout-page-new .wallet-balance {
  color: #2beb85;
  font-weight: 600;
}

/* Submit */
.checkout-page-new .checkout-submit-section {
  margin-top: auto;
}

.checkout-page-new .checkout-submit-btn {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.checkout-page-new .checkout-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
}

.checkout-page-new .proof-upload-section {
  margin-bottom: 1.5rem;
}

.checkout-page-new .proof-label {
  display: block;
  color: #EAF2FF;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.checkout-page-new .required {
  color: #ef4444;
}

.checkout-page-new .file-upload-wrapper {
  position: relative;
}

.checkout-page-new .file-upload-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkout-page-new .file-upload-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(34, 47, 56, 0.6);
  border: 2px dashed rgba(43, 202, 255, 0.3);
  border-radius: 8px;
  color: #EAF2FF;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-page-new .file-upload-btn:hover {
  border-color: var(--neon-blue);
  background: rgba(34, 47, 56, 0.8);
}

.checkout-page-new .file-hint {
  display: block;
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.9rem;
}

.checkout-page-new .checkout-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #EAF2FF;
}

.checkout-page-new .checkout-back-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: rgba(43, 202, 255, 0.2);
  border: 2px solid var(--neon-blue);
  border-radius: 8px;
  color: #EAF2FF;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.checkout-page-new .checkout-back-btn:hover {
  background: rgba(43, 202, 255, 0.4);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .checkout-page-new .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-page-new .checkout-item {
    grid-template-columns: 80px 1fr;
  }

  .checkout-page-new .checkout-item-controls {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .checkout-page-new {
    padding: 100px 15px 30px;
  }

  .checkout-page-new .checkout-title {
    font-size: 2rem;
  }

  .checkout-page-new .checkout-item {
    grid-template-columns: 70px 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .checkout-page-new .checkout-item-image {
    width: 70px;
    height: 70px;
  }

  .checkout-page-new .item-name {
    font-size: 1rem;
  }

  .checkout-page-new .item-price-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}


/* ============================================
   PRODUCTS PAGE - VERTICAL LIST LAYOUT
   Matching reference design with dark theme
   ============================================ */

.products-section .products-page-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  padding: 1rem !important;
  max-width: 100% !important;
}

/* Override for desktop - MUST come after base styles */
@media (min-width: 768px) {
  .products-section .products-page-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    flex-direction: unset !important;
  }
}

.products-section .products-page-card,
.products-section .product-card.products-page-card,
.products-section .products-page-card.product-card {
  width: 100% !important;
  background: var(--card-bg) !important;
  background-color: var(--gray-card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 10px !important;
  padding: 1rem !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
  transform: none !important;
}

.products-section .products-page-card:hover {
  box-shadow: 0 4px 15px rgba(43, 202, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(43, 202, 255, 0.4) !important;
}

.products-section .products-page-card .product-card-inner {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem !important;
  align-items: flex-start !important;
}

.products-section .products-page-card .product-image-wrapper {
  flex-shrink: 0 !important;
  width: 120px !important;
  height: 120px !important;
}

.products-section .products-page-card .product-image {
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px !important;
  background: var(--black-deep) !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--border-color) !important;
}

.products-section .products-page-card .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}

.products-section .products-page-card .product-image.placeholder {
  background: var(--black-deep) !important;
  border: 1px dashed var(--border-color) !important;
}

.products-section .products-page-card .product-image .no-image-text {
  color: var(--text-secondary) !important;
  font-size: 0.875rem !important;
  text-align: center !important;
  padding: 0.5rem !important;
}

.products-section .products-page-card .product-image .discount-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: var(--neon-blue) !important;
  color: var(--black-deep) !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  z-index: 2 !important;
}

.products-section .products-page-card .product-image .product-rating-overlay {
  position: absolute !important;
  bottom: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 2px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  z-index: 2 !important;
}

.products-section .products-page-card .product-image .product-rating-overlay .star {
  color: #ffa502 !important;
  font-size: 0.75rem !important;
}

.products-section .products-page-card .product-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  min-width: 0 !important;
}

.products-section .products-page-card .product-name {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.products-section .products-page-card .product-details {
  font-size: 0.875rem !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
}

.products-section .products-page-card .product-price-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  margin: 0.5rem 0 !important;
}

.products-section .products-page-card .product-price,
.products-section .products-page-card .product-price-sale {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--neon-blue) !important;
}

.products-section .products-page-card .product-price-original {
  font-size: 0.875rem !important;
  text-decoration: line-through !important;
  color: var(--text-secondary) !important;
}

.products-section .products-page-card .product-card-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 0.5rem !important;
}

.products-section .products-page-card .product-card-actions .btn-details {
  color: var(--neon-blue) !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.products-section .products-page-card .product-card-actions .btn-details:hover {
  color: var(--neon-blue-glow) !important;
  text-decoration: underline !important;
}

.products-section .products-page-card .product-card-actions .btn-add-cart,
.products-section .products-page-card .product-card-actions a.btn-add-cart,
.products-section .products-page-card .product-card-actions button.btn-add-cart {
  background: var(--neon-blue) !important;
  color: var(--black-deep) !important;
  border: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
}

.products-section .products-page-card .product-card-actions .btn-add-cart:hover,
.products-section .products-page-card .product-card-actions a.btn-add-cart:hover,
.products-section .products-page-card .product-card-actions button.btn-add-cart:hover {
  background: var(--neon-blue-glow) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.3) !important;
}

.products-section .products-page-card .product-card-actions .btn-add-cart.disabled {
  background: rgba(43, 202, 255, 0.2) !important;
  color: var(--text-secondary) !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* ============================================
   MOBILE STYLES - Beautiful & Unique Design
   ============================================ */
@media (max-width: 767px) {
  .products-section .products-page-grid {
    padding: 0.75rem !important;
    gap: 0.75rem !important;
  }
  
  .products-section .products-page-card {
    padding: 0.875rem !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(43, 202, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
  }
  
  .products-section .products-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .products-section .products-page-card:hover::before {
    opacity: 1;
  }
  
  .products-section .products-page-card .product-card-inner {
    gap: 0.875rem !important;
  }
  
  .products-section .products-page-card .product-image-wrapper {
    width: 110px !important;
    height: 110px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }
  
  .products-section .products-page-card .product-image {
    border-radius: 10px !important;
    border-width: 1.5px !important;
  }
  
  .products-section .products-page-card .product-image img {
    border-radius: 10px !important;
    transition: transform 0.3s ease !important;
  }
  
  .products-section .products-page-card:hover .product-image img {
    transform: scale(1.05) !important;
  }
  
  .products-section .products-page-card .product-name {
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.25rem !important;
  }
  
  .products-section .products-page-card .product-details {
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .products-section .products-page-card .product-price-container {
    margin: 0.75rem 0 0.5rem 0 !important;
  }
  
  .products-section .products-page-card .product-price,
  .products-section .products-page-card .product-price-sale {
    font-size: 1.15rem !important;
  }
  
  .products-section .products-page-card .product-card-actions {
    gap: 0.75rem !important;
    margin-top: 0.75rem !important;
    flex-wrap: wrap !important;
  }
  
  .products-section .products-page-card .product-card-actions .btn-add-cart,
  .products-section .products-page-card .product-card-actions a.btn-add-cart,
  .products-section .products-page-card .product-card-actions button.btn-add-cart {
    flex: 1 1 auto !important;
    min-width: 120px !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(43, 202, 255, 0.2) !important;
  }
  
  .products-section .products-page-card .product-card-actions .btn-details {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.75rem !important;
  }
}

/* Desktop: Grid layout - cards side by side */
@media (min-width: 768px) {
  .products-section .products-page-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    flex-direction: unset !important;
    gap: 1.5rem !important;
    padding: 1.5rem !important;
  }
  
  .products-section .products-page-card {
    width: 100% !important;
    padding: 1.25rem !important;
  }
  
  .products-section .products-page-card .product-image-wrapper {
    width: 140px !important;
    height: 140px !important;
  }
  
  .products-section .products-page-card .product-name {
    font-size: 1.2rem !important;
  }
}

/* Large Desktop: 3 columns */
@media (min-width: 1024px) {
  .products-section .products-page-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    flex-direction: unset !important;
    gap: 1.75rem !important;
    padding: 2rem !important;
  }
  
  .products-section .products-page-card {
    padding: 1.5rem !important;
  }
  
  .products-section .products-page-card .product-image-wrapper {
    width: 160px !important;
    height: 160px !important;
  }
  
  .products-section .products-page-card .product-name {
    font-size: 1.3rem !important;
  }
}

/* ============================================
   ANIMATED PRODUCTS PAGE - NEW DESIGN
   ============================================ */

.animated-products-page {
  position: relative;
  padding: 2rem 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background Elements */
.animated-bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 202, 255, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
}

.circle-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.circle-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  animation-delay: 7s;
}

.circle-3 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  33% {
    transform: translate(50px, 50px) scale(1.1);
    opacity: 0.5;
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
    opacity: 0.4;
  }
}

/* Header Animations */
.products-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.animated-title {
  position: relative;
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2BCAFF 0%, #38BCF9 40%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  animation: titleSlideIn 0.8s ease-out;
  letter-spacing: -1px;
  text-shadow: 0 0 30px rgba(43, 202, 255, 0.3);
}

.title-accent {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #2BCAFF, transparent);
  animation: accentExpand 1s ease-out 0.5s forwards;
  opacity: 0;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes accentExpand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100px;
    opacity: 1;
  }
}

.btn-request-game {
  position: relative;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2BCAFF 0%, #38BCF9 100%);
  color: var(--black-deep);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 25px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: buttonBounceIn 0.8s ease-out 0.3s backwards;
  box-shadow: 0 4px 15px rgba(43, 202, 255, 0.4);
}

.btn-request-game:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(43, 202, 255, 0.6);
}

.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-request-game:hover .btn-glow {
  width: 300px;
  height: 300px;
}

@keyframes buttonBounceIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  60% {
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Filters Section Animations */
.animated-filters {
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(26, 37, 41, 0.85) 0%, rgba(31, 44, 53, 0.85) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(43, 202, 255, 0.25);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35), 
              0 0 0 1px rgba(43, 202, 255, 0.15) inset,
              0 0 40px rgba(43, 202, 255, 0.08);
  animation: filtersSlideIn 0.6s ease-out;
}

@keyframes filtersSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-wrapper .search-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: rgba(43, 202, 255, 0.6);
  pointer-events: none;
  transition: all 0.3s ease;
}

.search-input {
  width: 100%;
  padding: 0.8rem 2.75rem 0.8rem 1.1rem;
  background: rgba(43, 202, 255, 0.12);
  border: 1.5px solid rgba(43, 202, 255, 0.3);
  border-radius: 11px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.1) inset;
}

.search-input:focus {
  outline: none;
  border-color: #2BCAFF;
  background: rgba(43, 202, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(43, 202, 255, 0.2),
              0 4px 20px rgba(43, 202, 255, 0.3);
  transform: translateY(-1px);
}

.search-input:focus + .search-icon {
  color: #2BCAFF;
  transform: translateY(-50%) scale(1.2);
}

.animated-select {
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  background: rgba(31, 44, 53, 0.8);
  border: 2px solid rgba(43, 202, 255, 0.3);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 130px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232bcaff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
}

.animated-select:focus {
  outline: none;
  border-color: #2BCAFF;
  box-shadow: 0 0 15px rgba(43, 202, 255, 0.4);
  transform: translateY(-2px);
}

.animated-filter-btn {
  position: relative;
  padding: 0.8rem 1.75rem;
  border: none;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  overflow: hidden;
  font-family: inherit;
  background: linear-gradient(135deg, #2BCAFF 0%, #38BCF9 100%);
  color: var(--black-deep);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(43, 202, 255, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  letter-spacing: 0.3px;
}

.animated-filter-btn:hover {
  box-shadow: 0 6px 24px rgba(43, 202, 255, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.animated-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(43, 202, 255, 0.6);
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.animated-clear-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

.animated-clear-btn:hover {
  background: #ef4444;
  color: white;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

/* Products Grid Animations */
.animated-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.product-card-modern {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.product-card-modern.animate-card {
  opacity: 1;
  transform: translateY(0);
  animation: cardFadeInUp 0.5s ease-out forwards;
}

@keyframes cardFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card-inner-modern {
  position: relative;
  background: linear-gradient(145deg, rgba(31, 44, 53, 0.95) 0%, rgba(26, 37, 41, 0.95) 100%);
  border: 1px solid rgba(43, 202, 255, 0.25);
  border-radius: 14px;
  padding: 0.9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 
              0 0 0 1px rgba(43, 202, 255, 0.1) inset;
}

.product-card-inner-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(43, 202, 255, 0.1), transparent);
  transition: left 0.5s;
}

.product-card-modern:hover .product-card-inner-modern {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(43, 202, 255, 0.5);
  box-shadow: 0 10px 35px rgba(43, 202, 255, 0.25),
              0 4px 20px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(43, 202, 255, 0.3) inset;
  background: linear-gradient(145deg, rgba(35, 48, 57, 0.98) 0%, rgba(28, 39, 45, 0.98) 100%);
}

.product-card-modern:hover .product-card-inner-modern::before {
  left: 100%;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(43, 202, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.product-card-modern:hover .card-glow {
  opacity: 1;
}

/* Image Wrapper */
.product-image-wrapper-modern {
  position: relative;
  width: 100%;
  height: 170px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid rgba(43, 202, 255, 0.1);
}

.product-image-modern {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.6s ease;
  filter: brightness(0.95);
}

.product-card-modern:hover .product-image-modern img {
  transform: scale(1.12);
  filter: brightness(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card-modern:hover .image-overlay {
  opacity: 1;
}

/* Badges */
.floating-badge {
  position: absolute;
  z-index: 10;
  padding: 0.35rem 0.7rem;
  border-radius: 18px;
  font-weight: 800;
  font-size: 0.6rem;
  animation: badgeFloat 3s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.discount-badge-modern {
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #FF4D6D 0%, #EE5A6F 100%);
  color: white;
}

.hot-deal-badge {
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
  color: white;
}

.bestseller-badge {
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: white;
}

.badge-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background: inherit;
  animation: pulse 2s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

/* Rating */
.product-rating-overlay-modern {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.rating-stars-modern {
  display: flex;
  gap: 2px;
}

.star-modern {
  color: #FBBF24;
  font-size: 1.05rem;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6));
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.star-modern.filled {
  animation: starGlow 2s ease-in-out infinite;
}

@keyframes starGlow {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 1));
  }
}

.rating-text {
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Content Section */
.product-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-platform-tag {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  background: linear-gradient(135deg, rgba(43, 202, 255, 0.25) 0%, rgba(56, 188, 249, 0.15) 100%);
  border: 1px solid rgba(43, 202, 255, 0.35);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #2BCAFF;
  margin-bottom: 0.7rem;
  width: fit-content;
  animation: tagSlideIn 0.5s ease-out 0.2s backwards;
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.15);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

@keyframes tagSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.product-name-modern {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  line-height: 1.4;
  transition: all 0.3s ease;
  animation: nameFadeIn 0.5s ease-out 0.3s backwards;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.8em;
}

.product-card-modern:hover .product-name-modern {
  color: #2BCAFF;
  text-shadow: 0 0 12px rgba(43, 202, 255, 0.4);
  transform: translateX(2px);
}

@keyframes nameFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-type-modern {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.7rem;
  animation: typeFadeIn 0.5s ease-out 0.4s backwards;
  opacity: 0.9;
  font-weight: 500;
  line-height: 1.4;
}

@keyframes typeFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Price Section */
.product-price-container-modern {
  margin: 0.7rem 0;
  animation: priceSlideIn 0.5s ease-out 0.5s backwards;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.product-price-modern,
.product-price-sale-modern {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2BCAFF 0%, #38BCF9 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(43, 202, 255, 0.3);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.product-price-original-modern {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.7;
  line-height: 1.2;
}

@keyframes priceSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Action Buttons */
.product-card-actions-modern {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.75rem;
  animation: actionsSlideIn 0.5s ease-out 0.6s backwards;
  align-items: stretch;
}

@keyframes actionsSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cartHoverLift {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-4px) scale(1.03);
  }
}

@keyframes cartIconSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.btn-add-cart-modern {
  position: relative;
  flex: 1;
  padding: 0.65rem 0.9rem;
  background: linear-gradient(135deg, #2BCAFF 0%, #38BCF9 100%);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 4px 16px rgba(43, 202, 255, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  letter-spacing: 0.2px;
  min-width: 0;
  text-align: center;
}

.btn-add-cart-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-add-cart-modern .btn-text-modern {
  flex: 1;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
  line-height: 1.2;
  color: #ffffff;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.btn-add-cart-modern .btn-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-block;
  color: #ffffff;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.btn-add-cart-modern:hover {
  background: linear-gradient(135deg, #38BCF9 0%, #2BCAFF 100%);
  box-shadow: 0 6px 24px rgba(43, 202, 255, 0.6),
              0 0 0 1px rgba(255, 255, 255, 0.3) inset,
              0 0 40px rgba(43, 202, 255, 0.5);
  transform: translateY(-3px) scale(1.02);
  color: #ffffff;
}

.btn-add-cart-modern:hover::before {
  left: 100%;
}

.btn-add-cart-modern:hover .btn-text-modern {
  color: #ffffff;
}

.btn-add-cart-modern:hover .btn-icon {
  color: #ffffff;
  transform: rotate(15deg) scale(1.1);
}

.btn-add-cart-modern:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 16px rgba(43, 202, 255, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.btn-add-cart-modern:active .btn-icon {
  transform: rotate(25deg) scale(1.05);
}

.btn-ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.btn-add-cart-modern:hover .btn-ripple-effect {
  width: 300px;
  height: 300px;
}

.btn-details-modern {
  padding: 0.65rem 0.9rem;
  background: rgba(43, 202, 255, 0.08);
  border: 1.5px solid rgba(43, 202, 255, 0.4);
  border-radius: 9px;
  color: #2BCAFF;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(43, 202, 255, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: fit-content;
}

.btn-details-modern span {
  display: inline-block;
  line-height: 1.2;
}

.btn-details-modern .btn-arrow {
  display: inline-block;
  line-height: 1;
  font-size: 1rem;
}

.btn-details-modern:hover {
  background: rgba(43, 202, 255, 0.15);
  border-color: #2BCAFF;
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(43, 202, 255, 0.25);
}

.btn-arrow {
  transition: transform 0.3s;
}

.btn-details-modern:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-add-cart-modern.disabled {
  background: rgba(107, 114, 128, 0.3);
  color: var(--text-secondary);
  cursor: not-allowed;
  box-shadow: none;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-add-cart-modern.disabled span {
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-add-cart-modern.disabled:hover {
  transform: none;
  box-shadow: none;
}

.product-card-inner-modern.product-disabled {
  opacity: 0.6;
  filter: grayscale(0.8);
}

.product-card-inner-modern.product-disabled:hover {
  transform: none;
  border-color: rgba(43, 202, 255, 0.2);
  box-shadow: none;
}

/* Empty State */
.animated-empty {
  text-align: center;
  padding: 4rem 2rem;
  animation: emptyFadeIn 0.6s ease-out;
}

.empty-state-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: emptyIconBounce 2s ease-in-out infinite;
}

.empty-state-text {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

@keyframes emptyFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes emptyIconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .animated-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .animated-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .animated-products-page {
    padding: 1.5rem 0;
  }
  
  .animated-title {
    font-size: 1.5rem;
  }
  
  .animated-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .animated-filters {
    padding: 1rem;
  }
  
  .filter-row {
    flex-direction: column;
  }
  
  .search-wrapper,
  .animated-select,
  .animated-filter-btn,
  .animated-clear-btn {
    width: 100%;
  }
  
  .header-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-request-game {
    width: 100%;
    text-align: center;
  }
  
  .product-image-wrapper-modern {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .animated-title {
    font-size: 1.35rem;
  }
  
  .product-image-wrapper-modern {
    height: 160px;
  }
  
  .product-name-modern {
    font-size: 0.95rem;
    min-height: 2.6em;
  }
  
  .product-price-modern,
  .product-price-sale-modern {
    font-size: 1.2rem;
  }
  
  .product-card-actions-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-add-cart-modern,
  .btn-details-modern {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  .btn-add-cart-modern .btn-text-modern {
    font-size: 0.85rem;
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Filter Row */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Override existing product card styles for animated page */
.animated-products-page .products-grid {
  display: grid !important;
}

.animated-products-page .product-card {
  display: none;
}

.animated-products-page .product-card-modern {
  display: block;
}
