/* ==========================================================================
   HEX OFFICIAL - GAMEZONE CINEMATIC RED & BLACK DESIGN SYSTEM
   Exact replication of GameZone Reference Design
   ========================================================================== */
@import "./auth.css";

:root {
  --bg-primary: #050607;
  --bg-secondary: #0A0C10;
  --bg-surface: #0E1015;
  --bg-card: #0E1015;
  --bg-card-hover: #141720;
  
  --accent-red: #FF1538;
  --accent-red-hover: #E00A2C;
  --accent-red-glow: rgba(255, 21, 56, 0.45);
  --accent-red-subtle: rgba(255, 21, 56, 0.12);
  --accent-red-dark: #8F001B;
  
  --text-primary: #FFFFFF;
  --text-secondary: #A6ADB7;
  --text-muted: #64748B;
  --text-dim: #475569;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 21, 56, 0.4);
  --border-red: #FF1538;

  --font-rajdhani: 'Rajdhani', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

body {
  background-color: #050607 !important;
  color: #FFFFFF !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#root,
#root > div {
  background-color: #050607 !important;
}

/* Typography Utilities */
.font-rajdhani {
  font-family: 'Rajdhani', sans-serif !important;
}
.font-inter {
  font-family: 'Inter', sans-serif !important;
}

/* Red & Dark Aesthetic Color Overrides */
.text-hex-red, .text-\[\#FF0033\], .text-red-500, .text-red-400 { color: #FF1538 !important; }
.text-hex-cyan, .text-\[\#00D9FF\], .text-cyan-400 { color: #FF1538 !important; }
.text-hex-green, .text-\[\#00D99A\], .text-emerald-400 { color: #FFFFFF !important; }
.text-hex-muted, .text-\[\#91C7DA\], .text-slate-400 { color: #A6ADB7 !important; }
.text-hex-dim, .text-\[\#5A7E8D\], .text-slate-500 { color: #64748B !important; }

/* Background Overrides */
.bg-hex-dark, .bg-\[\#02070D\] { background-color: #050607 !important; }
.bg-hex-surface, .bg-\[\#04111A\] { background-color: #0E1015 !important; }
.bg-hex-panel, .bg-\[\#06121B\], .bg-\[\#06131F\] { background-color: #0A0C10 !important; }
.bg-hex-red, .bg-\[\#FF0033\] { background-color: #FF1538 !important; }
.bg-hex-green, .bg-\[\#00D99A\] { background-color: #FF1538 !important; }

/* Border Overrides */
.border-hex-border, .border-\[\#123A4C\], .border-slate-800 { border-color: rgba(255, 255, 255, 0.08) !important; }
.border-hex-red, .border-\[\#FF0033\] { border-color: #FF1538 !important; }
.border-hex-cyan, .border-\[\#00D9FF\] { border-color: rgba(255, 21, 56, 0.5) !important; }
.border-hex-green, .border-\[\#00D99A\] { border-color: rgba(255, 21, 56, 0.3) !important; }

/* ==========================================================================
   HEADER / NAVBAR STYLES (Reference-Matched Pixel-Precise Design)
   ========================================================================== */
#app-navbar {
  width: 100% !important;
  height: 68px !important;
  background-color: rgba(6, 7, 10, 0.94) !important;
  border-bottom: 1px solid rgba(255, 21, 56, 0.18) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 28px !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 21, 56, 0.1) !important;
}

@media (max-width: 768px) {
  #app-navbar {
    padding: 0 14px !important;
    height: 62px !important;
  }
}

#navbar-hamburger-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background-color: #0E1016 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #C5CCD6 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
#navbar-hamburger-btn:hover {
  border-color: #FF1538 !important;
  color: #FF1538 !important;
  box-shadow: 0 0 12px rgba(255, 21, 56, 0.45) !important;
}

.hex-search-bar {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 440px !important;
  height: 40px !important;
  border-radius: 9999px !important;
  background-color: #0D0F15 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}
.hex-search-bar:focus-within {
  border-color: #FF1538 !important;
  box-shadow: 0 0 16px rgba(255, 21, 56, 0.4) !important;
  background-color: #12151E !important;
}

.navbar-icon-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background-color: #0E1016 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #C5CCD6 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  box-sizing: border-box !important;
}
.navbar-icon-btn:hover {
  border-color: #FF1538 !important;
  color: #FF1538 !important;
  box-shadow: 0 0 12px rgba(255, 21, 56, 0.45) !important;
  background-color: #141722 !important;
}

#header-wallet-card {
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 9999px !important;
  background-color: #0E1016 !important;
  border: 1px solid #FF1538 !important;
  box-shadow: 0 0 12px rgba(255, 21, 56, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}
#header-wallet-card:hover {
  border-color: #FF1538 !important;
  box-shadow: 0 0 20px rgba(255, 21, 56, 0.6) !important;
  transform: translateY(-1px) !important;
}

#header-user-dropdown-btn {
  height: 38px !important;
  width: 38px !important;
  border-radius: 50% !important;
  background-color: #0E1016 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  position: relative !important;
}
#header-user-dropdown-btn:hover {
  border-color: #FF1538 !important;
  box-shadow: 0 0 12px rgba(255, 21, 56, 0.45) !important;
}

/* Nav Link States */
.gz-nav-link {
  color: #A6ADB7;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 7px 16px;
  border-radius: 9999px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gz-nav-link:hover {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.04);
}
.gz-nav-link.active {
  background: linear-gradient(135deg, #FF1538 0%, #D6002A 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 16px rgba(255, 21, 56, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

/* ==========================================================================
   PRODUCT CARDS (GameZone Reference - 5 Col Grid)
   ========================================================================== */
.hex-featured-card {
  min-height: 380px !important;
  background-color: #0E1015 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  position: relative !important;
}
.hex-featured-card:hover {
  border-color: rgba(255, 21, 56, 0.6) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 21, 56, 0.25) !important;
  transform: translateY(-4px) !important;
  background-color: #12151D !important;
}

/* Buy Now Button (GameZone Pill Red Button) */
.btn-hex-buy {
  flex: 1 !important;
  height: 40px !important;
  border-radius: 9999px !important;
  background: linear-gradient(90deg, #FF1538 0%, #D6002A 100%) !important;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.03em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 18px rgba(255, 21, 56, 0.4) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}
.btn-hex-buy:hover {
  background: linear-gradient(90deg, #FF2B4D 0%, #E6002E 100%) !important;
  box-shadow: 0 6px 24px rgba(255, 21, 56, 0.6) !important;
  transform: scale(1.02) !important;
}
.btn-hex-buy:active {
  transform: scale(0.98) !important;
}

/* Wishlist Icon Button */
.btn-hex-wishlist {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background-color: rgba(14, 16, 21, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #A6ADB7 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.btn-hex-wishlist:hover {
  border-color: #FF1538 !important;
  color: #FF1538 !important;
  background-color: rgba(255, 21, 56, 0.15) !important;
  transform: scale(1.08) !important;
}

/* Cart Icon Button next to Buy Now */
.btn-hex-cart-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background-color: #0A0C10 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #A6ADB7 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}
.btn-hex-cart-icon:hover {
  border-color: #FF1538 !important;
  color: #FF1538 !important;
  box-shadow: 0 0 14px rgba(255, 21, 56, 0.3) !important;
}

/* Category Filter Chips */
.gz-filter-chip {
  padding: 6px 18px !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background-color: #0E1015 !important;
  color: #A6ADB7 !important;
}
.gz-filter-chip:hover {
  border-color: rgba(255, 21, 56, 0.4) !important;
  color: #FFFFFF !important;
}
.gz-filter-chip.active {
  background: #FF1538 !important;
  color: #FFFFFF !important;
  border-color: #FF1538 !important;
  box-shadow: 0 4px 16px rgba(255, 21, 56, 0.45) !important;
}

/* Category Cards (8 Cards Grid matching Reference) */
.gz-cat-card {
  background-color: #0B0D13 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 16px 14px 14px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 155px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.gz-cat-card:focus-visible {
  border-color: #FF1538 !important;
  box-shadow: 0 0 0 2px rgba(255, 21, 56, 0.5) !important;
}

.gz-cat-card .cat-logo-wrapper {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gz-cat-card:hover .cat-logo-wrapper {
  transform: scale(1.08);
}

.gz-cat-card:hover {
  border-color: #FF1538 !important;
  background-color: #11141E !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85), 0 0 22px rgba(255, 21, 56, 0.4) !important;
  transform: translateY(-4px) !important;
}

.gz-cat-card.active {
  border-color: #FF1538 !important;
  box-shadow: 0 0 22px rgba(255, 21, 56, 0.45), inset 0 0 16px rgba(255, 21, 56, 0.12) !important;
  background-color: #11141E !important;
}

.gz-cat-card .cat-arrow-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 21, 56, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF1538;
  font-size: 11px;
  flex-shrink: 0;
  transition: all 0.25s ease;
  background: transparent;
}

.gz-cat-card:hover .cat-arrow-btn {
  border-color: #FF1538;
  background-color: #FF1538;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 21, 56, 0.7);
}

.gz-cat-card.active .cat-arrow-btn {
  background-color: #FF1538;
  color: #FFFFFF;
  border-color: #FF1538;
  box-shadow: 0 0 10px rgba(255, 21, 56, 0.8);
}

/* ==========================================================================
   HERO BANNER ACCENTS & TRUST SYSTEM
   ========================================================================== */
.hero-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 0 8px #FF1538);
}
.hero-corner.top-left {
  top: 0;
  left: 0;
  border-top: 3px solid #FF1538;
  border-left: 3px solid #FF1538;
  border-top-left-radius: 24px;
}
.hero-corner.top-right {
  top: 0;
  right: 0;
  border-top: 3px solid #FF1538;
  border-right: 3px solid #FF1538;
  border-top-right-radius: 24px;
}
.hero-corner.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 3px solid #FF1538;
  border-left: 3px solid #FF1538;
  border-bottom-left-radius: 24px;
}
.hero-corner.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 3px solid #FF1538;
  border-right: 3px solid #FF1538;
  border-bottom-right-radius: 24px;
}

.hero-trust-badge {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 20;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 21, 56, 0.4);
  border-radius: 14px;
  box-shadow: 0 0 22px rgba(255, 21, 56, 0.25);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-benefit-panel {
  background: rgba(10, 12, 16, 0.88);
  border: 1px solid rgba(255, 21, 56, 0.25);
  border-radius: 14px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-top: 6px;
  width: fit-content;
  flex-wrap: wrap;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-benefit-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 21, 56, 0.12);
  border: 1px solid rgba(255, 21, 56, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF1538;
  flex-shrink: 0;
}

/* Red Glow Pulse Animation */
@keyframes redPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 21, 56, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 21, 56, 0.6);
  }
}
.pulse-red-glow {
  animation: redPulse 3s infinite ease-in-out;
}

/* Custom Red Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #050607;
}
::-webkit-scrollbar-thumb {
  background: #1E222D;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF1538;
}
