@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* ==========================================================================
   VEX COMMUNITY - MODERN RED & BLACK DESIGN SYSTEM
   Palette: #FF0033 / #DC143C Accents, Deep Dark #0A0A0C, Dark Glassmorphism
   ========================================================================== */

:root {
  /* Colors */
  --bg-darkest: #070709;
  --bg-primary: #0A0A0C;
  --bg-surface: #0E0E12;
  --bg-card: rgba(16, 16, 22, 0.65);
  --bg-card-hover: rgba(24, 24, 32, 0.85);
  --bg-glass: rgba(14, 14, 18, 0.7);

  --red-neon: #FF0033;
  --red-crimson: #DC143C;
  --red-dark: #8B0000;
  --red-glow: 0 0 25px rgba(255, 0, 51, 0.4);
  --red-glow-lg: 0 0 50px rgba(255, 0, 51, 0.25);
  --red-border: rgba(255, 0, 51, 0.25);
  --red-border-bright: rgba(255, 0, 51, 0.55);

  --text-primary: #FFFFFF;
  --text-secondary: #C8C8D0;
  --text-muted: #828290;
  --text-dim: #545462;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);

  /* Fonts */
  --font-brand: 'Orbitron', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s ease;
  --trans-normal: 0.3s ease;
}

/* ==========================================================================
   GLOBAL RESETS & SCROLLBAR
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg-darkest);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
  border-left: 1px solid rgba(255, 0, 51, 0.08);
}
::-webkit-scrollbar-thumb {
  background: #2a0b10;
  border-radius: 5px;
  border: 2px solid var(--bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-neon);
}
* {
  scrollbar-width: thin;
  scrollbar-color: #3b0d14 var(--bg-darkest);
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

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

/* ==========================================================================
   INITIAL LOADING SCREEN & BACKGROUND (PRESERVED INTACT)
   ========================================================================== */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: #000;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.video-background.show-bg {
  opacity: 1;
}

.video-background img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0.12;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, rgba(20,0,5,0.92), rgba(60,5,12,0.88), rgba(10,10,12,0.95), rgba(35,2,8,0.92));
  background-size: 400% 400%;
  animation: gradientAnimation 12s ease infinite;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.main-container {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 9999;
  background: #000;
  transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

.main-container.hide-loading {
  opacity: 0;
  visibility: hidden;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-text, .bottom-text {
  font-family: system-ui, -apple-system, sans-serif;
  color: #e2e2e2;
  font-weight: 300;
  text-transform: uppercase;
  margin: 0;
  z-index: 10;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.top-text {
  font-size: 2vw;
  letter-spacing: 1.5vw;
  margin-bottom: -3vw;
  opacity: 0.7;
}

.bottom-text {
  font-size: 2.5vw;
  letter-spacing: 2vw;
  margin-top: -3vw;
  opacity: 0.9;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.3));
}

.lightning-svg {
  width: 90vw;
  max-width: 1200px;
  animation: pulse 8s infinite alternate ease-in-out;
}

.faint-text, .lightning-text {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 220px;
  font-weight: 900;
  letter-spacing: 20px;
}

.faint-text {
  fill: rgba(255, 255, 255, 0.1);
}

.lightning-text {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4px;
  stroke-dasharray: 60 400;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 0, 0, 0.6));
  animation: lightning 3.5s linear infinite;
}

@keyframes pulse {
  0% { opacity: 0.1; }
  100% { opacity: 1; }
}

@keyframes lightning {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -920; }
}

/* Master Content Container */
.home-content {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s ease-in-out 0.8s;
  background: radial-gradient(ellipse at 50% -10%, rgba(255, 0, 51, 0.12) 0%, transparent 60%);
}

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 51, 0.2);
  transition: all var(--trans-normal);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo-img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 51, 0.4);
  box-shadow: 0 0 16px rgba(255, 0, 51, 0.5);
  transition: transform var(--trans-normal);
}

.nav-left:hover .nav-logo-img {
  transform: rotate(10deg) scale(1.05);
}

.nav-brand-text {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.nav-brand-text span.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--red-neon);
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  font-family: var(--font-brand);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 4px;
  position: relative;
  transition: all var(--trans-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-neon);
  box-shadow: 0 0 8px var(--red-neon);
  transition: width 0.3s var(--ease-spring);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

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

.nav-login-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--trans-fast);
}

.nav-login-btn:hover {
  background: rgba(255, 0, 51, 0.15);
  border-color: var(--red-neon);
  box-shadow: var(--red-glow);
}

.nav-discord-btn {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all var(--trans-fast);
}

.nav-discord-btn:hover {
  background: #5865F2;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
  transform: translateY(-2px);
}

.nav-discord-btn.youtube-btn {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.4);
}

.nav-discord-btn.youtube-btn:hover {
  background: #ff0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   SPA VIEWS ARCHITECTURE & TRANSITIONS
   ========================================================================== */
.spa-views-wrapper {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 85px);
}

.spa-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-spring);
}

.spa-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   VIEW 1: HOME - HERO & SHOWCASE
   ========================================================================== */
.hero-section {
  padding: 80px 20px 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content-inner {
  max-width: 1050px;
  width: 100%;
}

.cyber-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 0, 51, 0.1);
  border: 1px solid var(--red-border);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--red-neon);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-neon);
  box-shadow: 0 0 10px var(--red-neon);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-brand);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title .highlight-red {
  color: var(--red-neon);
  text-shadow: 0 0 30px rgba(255, 0, 51, 0.6);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 55px;
}

/* Modern Glowing Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--red-neon) 0%, #b30024 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 34px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-brand);
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(255, 0, 51, 0.4);
  transition: all var(--trans-normal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 0, 51, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid var(--border-medium);
  color: #fff;
  padding: 14px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-brand);
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  transition: all var(--trans-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Stat Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 950px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-neon), transparent);
  opacity: 0;
  transition: opacity var(--trans-normal);
}

.stat-card:hover {
  border-color: var(--red-border);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card h3 {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stat-card h3 i {
  color: var(--red-neon);
  font-size: 1.3rem;
}

.stat-card span {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

/* 3-Step Purchase Process */
.new-steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
}

.new-step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px 22px;
  width: 290px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all var(--trans-normal);
  overflow: hidden;
}

.new-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-border);
  box-shadow: var(--red-glow);
}

.step-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 0, 51, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.new-step-card:hover .step-glow {
  opacity: 1;
}

.step-icon-wrapper {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px auto;
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.2), rgba(15, 15, 20, 0.6));
  border: 1px solid var(--red-border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: var(--red-neon);
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.2);
  transition: transform var(--trans-normal);
}

.new-step-card:hover .step-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 25px rgba(255, 0, 51, 0.5);
}

.step-number {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--red-neon);
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}

.new-step-card h4 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px;
}

.new-step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.step-arrow {
  color: var(--red-neon);
  font-size: 1.3rem;
  opacity: 0.7;
}

/* ==========================================================================
   VIEW 2: STORE / CATALOG VIEW
   ========================================================================== */
.store-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

.store-header {
  text-align: center;
  margin-bottom: 45px;
}

.store-header h2 {
  font-family: var(--font-brand);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
}

.store-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Store Filter & Search Bar */
.store-toolbar {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  background: rgba(10, 10, 14, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 12px 18px 12px 42px;
  color: #fff;
  font-size: 0.92rem;
  transition: all var(--trans-fast);
}

.search-box input:focus {
  outline: none;
  border-color: var(--red-neon);
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.25);
}

.search-box i.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.cat-pill:hover,
.cat-pill.active {
  background: rgba(255, 0, 51, 0.15);
  border-color: var(--red-neon);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 0, 51, 0.3);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 0, 51, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--trans-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 0, 51, 0.18);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-media {
  height: 190px;
  position: relative;
  background: #14141c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-media.bg-red-1 {
  background: linear-gradient(135deg, #1c050a 0%, #3d0510 50%, #0d0d12 100%);
}
.product-card-media.bg-red-2 {
  background: linear-gradient(135deg, #2b0308 0%, #150004 50%, #0a0a0e 100%);
}
.product-card-media.bg-red-3 {
  background: linear-gradient(135deg, #200005 0%, #450814 50%, #111116 100%);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 0, 51, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(255, 0, 51, 0.5);
}

.card-stock-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 10, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #28a745;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-stock-pill.out {
  color: var(--red-neon);
}

.card-logo-symbol {
  font-family: var(--font-brand);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.12);
  user-select: none;
  transition: transform var(--trans-normal), color var(--trans-normal);
}

.product-card:hover .card-logo-symbol {
  transform: scale(1.08);
  color: rgba(255, 0, 51, 0.25);
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color var(--trans-fast);
}

.product-card-title:hover {
  color: var(--red-neon);
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.price-val {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--red-neon);
  text-shadow: 0 0 10px rgba(255, 0, 51, 0.35);
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-card-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--trans-fast);
}

.btn-card-details:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-card-buy {
  background: var(--red-neon);
  border: none;
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(255, 0, 51, 0.4);
  transition: all var(--trans-fast);
}

.btn-card-buy:hover {
  background: #ff2a4b;
  box-shadow: 0 6px 20px rgba(255, 0, 51, 0.6);
  transform: translateY(-2px);
}

/* ==========================================================================
   VIEW 3: DEDICATED PRODUCT DETAILS / ITEM VIEW PAGE
   ========================================================================== */
.product-detail-view-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 30px 24px 80px 24px;
}

/* Breadcrumb Bar */
.detail-breadcrumb-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.breadcrumbs a:hover {
  color: var(--red-neon);
}

.breadcrumbs span.current {
  color: #fff;
  font-weight: 600;
}

.btn-back-catalog {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--trans-fast);
}

.btn-back-catalog:hover {
  background: rgba(255, 0, 51, 0.15);
  border-color: var(--red-neon);
  color: #fff;
}

/* Two-Column Detail Layout */
.detail-main-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* Left Column: Visual Preview */
.detail-visual-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--red-border);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 0, 51, 0.15);
}

.detail-hero-media {
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f0308 0%, #3e0510 50%, #0d0d12 100%);
  border: 1px solid rgba(255, 0, 51, 0.3);
  margin-bottom: 18px;
}

.detail-media-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}

.detail-media-overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red-neon);
  color: #fff;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.6);
}

.detail-logo-big {
  font-family: var(--font-brand);
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.15);
  text-shadow: 0 0 30px rgba(255, 0, 51, 0.5);
}

/* Trust Pill Badges */
.detail-status-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.status-pill-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #ddd;
}

.status-pill-item i {
  color: var(--red-neon);
  font-size: 1.1rem;
}

/* Right Column: Info & Purchase */
.detail-info-card {
  display: flex;
  flex-direction: column;
}

.detail-meta-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.detail-cat-tag {
  background: rgba(255, 0, 51, 0.15);
  border: 1px solid var(--red-border);
  color: var(--red-neon);
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #ffaa00;
}

.detail-rating span {
  color: var(--text-muted);
}

.detail-title {
  font-family: var(--font-brand);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
}

.detail-stock-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 20px;
}

.detail-stock-notice.out {
  color: var(--red-neon);
}

.detail-desc-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Subscription Plans Tier Selector */
.tier-selector-heading {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.tiers-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.tier-item-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  position: relative;
}

.tier-item-box:hover {
  background: rgba(255, 0, 51, 0.05);
  border-color: rgba(255, 0, 51, 0.4);
}

.tier-item-box.selected {
  background: rgba(255, 0, 51, 0.12);
  border-color: var(--red-neon);
  box-shadow: 0 0 20px rgba(255, 0, 51, 0.3);
}

.tier-left-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tier-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.tier-item-box.selected .tier-radio-circle {
  border-color: var(--red-neon);
  background: var(--red-neon);
}

.tier-radio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.tier-item-box.selected .tier-radio-dot {
  opacity: 1;
}

.tier-name-label {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.tier-extra-tag {
  background: rgba(255, 0, 51, 0.2);
  color: var(--red-neon);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-left: 8px;
}

.tier-right-pricing {
  text-align: right;
}

.tier-orig-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.tier-final-price {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.tier-item-box.selected .tier-final-price {
  color: var(--red-neon);
}

/* Purchase Action Box */
.detail-purchase-box {
  background: rgba(14, 14, 20, 0.9);
  border: 1px solid var(--red-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.purchase-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.purchase-plan-summary {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
}

.purchase-total-price {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red-neon);
  text-shadow: 0 0 15px rgba(255, 0, 51, 0.5);
}

.btn-buy-detail-paypal {
  width: 100%;
  background: linear-gradient(135deg, var(--red-neon) 0%, #b30024 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(255, 0, 51, 0.45);
  transition: all var(--trans-normal);
}

.btn-buy-detail-paypal:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 0, 51, 0.75);
}

.btn-buy-detail-paypal:disabled {
  background: #333;
  color: #777;
  border-color: #444;
  cursor: not-allowed;
  box-shadow: none;
}

.purchase-guarantee-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Detail Specs & Feature Tabs */
.detail-tabs-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 30px;
}

.detail-tab-buttons {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.detail-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.detail-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.detail-tab-btn.active {
  color: #fff;
  background: rgba(255, 0, 51, 0.15);
  border: 1px solid var(--red-border);
}

.tab-content-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.features-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.feature-check-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-check-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 0, 51, 0.15);
  border: 1px solid var(--red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-neon);
  font-size: 0.9rem;
}

.feature-check-info h5 {
  margin: 0 0 2px 0;
  font-size: 0.95rem;
  color: #fff;
}

.feature-check-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SHOWCASE, REVIEWS & ABOUT SECTIONS
   ========================================================================== */
.showcase-section,
.reviews-section,
.about-section {
  padding: 80px 24px;
  max-width: 1250px;
  margin: 0 auto;
}

.about-header,
.reviews-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2,
.reviews-header h2 {
  font-family: var(--font-brand);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
}

.video-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--red-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 0, 51, 0.2);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: all var(--trans-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--red-border);
}

.review-meta h4 {
  font-size: 0.95rem;
  color: #fff;
  margin: 0 0 2px 0;
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-rating {
  margin-bottom: 12px;
  color: var(--red-neon);
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.write-review-btn {
  background: var(--red-neon);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 4px 15px rgba(255, 0, 51, 0.4);
  transition: all var(--trans-fast);
}

.write-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 51, 0.6);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  transition: all var(--trans-normal);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: var(--red-glow);
}

.about-icon {
  font-size: 2rem;
  color: var(--red-neon);
  margin-bottom: 18px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
  background: #070709;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 40px 30px 40px;
}

.footer-content {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-left {
  max-width: 380px;
}

.footer-logo {
  height: 48px;
  margin-bottom: 16px;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all var(--trans-fast);
}

.social-links a:hover {
  background: var(--red-neon);
  border-color: var(--red-neon);
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.5);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.link-column h4 {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.link-column a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color var(--trans-fast);
}

.link-column a:hover {
  color: var(--red-neon);
}

.footer-bottom {
  max-width: 1250px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ==========================================================================
   MODALS (PAYPAL CHECKOUT, ORDERS, KEYAUTH KEY, RECEIPT, AUTH)
   ========================================================================== */
.vex-modal-overlay,
.auth-modal-overlay,
.review-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vex-modal-overlay.active,
.auth-modal-overlay.active,
.review-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.vex-modal-box,
.auth-modal,
.review-modal {
  background: #111115;
  border: 1px solid var(--red-border);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 0, 51, 0.18);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  color: #fff;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease-spring);
}

.vex-modal-overlay.active .vex-modal-box,
.auth-modal-overlay.active .auth-modal,
.review-modal-overlay.active .review-modal {
  transform: translateY(0) scale(1);
}

.vex-modal-close,
.auth-close,
.close-modal {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.vex-modal-close:hover,
.auth-close:hover,
.close-modal:hover {
  background: var(--red-neon);
  border-color: var(--red-neon);
  color: #fff;
  transform: rotate(90deg);
}

/* Checkout Summary Card */
.checkout-summary-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #bbb;
}

.checkout-row.total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
}

.checkout-row.total-row .total-amount {
  color: var(--red-neon);
  font-family: var(--font-brand);
  text-shadow: 0 0 12px rgba(255, 0, 51, 0.4);
}

.security-badge-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #888;
  margin-top: 18px;
  text-align: center;
}

.security-badge-banner i {
  color: #0070ba;
}

/* Key Display Box */
.key-display-box {
  background: rgba(255, 0, 51, 0.07);
  border: 1px dashed rgba(255, 0, 51, 0.45);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 18px 0;
}

.key-code {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--red-neon);
  letter-spacing: 1.5px;
  user-select: all;
  word-break: break-all;
}

.btn-copy-key {
  background: var(--red-neon);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-copy-key:hover {
  background: #ff3355;
  box-shadow: 0 0 12px rgba(255, 0, 51, 0.5);
}

.btn-copy-key.copied {
  background: #28a745;
}

/* Orders List in Modal */
.orders-table-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 15px;
}

.order-item-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 20px;
  transition: all 0.2s ease;
}

.order-item-card:hover {
  border-color: var(--red-border);
  background: rgba(255, 0, 51, 0.03);
}

.order-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.order-item-title {
  font-size: 1.15rem;
  font-family: var(--font-brand);
  color: #fff;
  margin: 0;
}

.order-item-meta {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

.order-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-badge-status.completed {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.order-badge-status.pending {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.order-badge-status.refunded {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.order-item-body {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-view-receipt {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ddd;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-view-receipt:hover {
  background: rgba(255, 0, 51, 0.15);
  border-color: var(--red-neon);
  color: #fff;
}

/* Printable Receipt Template */
.receipt-paper {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.receipt-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--red-neon);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.receipt-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red-neon);
  margin: 0;
  letter-spacing: 1px;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.receipt-table th {
  background: #f4f4f4;
  color: #555;
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #ddd;
  font-size: 0.85rem;
}

.receipt-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  color: #222;
  font-size: 0.95rem;
}

.receipt-key-banner {
  background: #fff5f5;
  border: 1px dashed var(--red-neon);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 18px 0;
  font-family: monospace;
  font-weight: bold;
  font-size: 1rem;
  color: #c90000;
  text-align: center;
  word-break: break-all;
}

/* Forms in Modals */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-group textarea,
.form-group input {
  width: 100%;
  background: rgba(10, 10, 14, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.92rem;
}

.form-group textarea:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--red-neon);
  box-shadow: 0 0 12px rgba(255, 0, 51, 0.3);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  #receipt-print-area, #receipt-print-area * {
    visibility: visible;
  }
  #receipt-print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #fff !important;
    color: #000 !important;
  }
  .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .detail-main-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .new-steps-container {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 14, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--red-border);
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .store-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-links {
    gap: 30px;
  }
}
