/* ==========================================================================
   REVOLEX — Next-Gen Tactical Storefront Theme
   Obsidian Carbon + Molten Amber Gold | Fully Responsive & Accessible
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-base: #07080d;
  --bg-elevated: #0d1018;
  --bg-surface: rgba(17, 21, 33, 0.78);
  --bg-surface-solid: #111521;
  --bg-surface-hover: rgba(24, 29, 45, 0.92);

  /* Brand Amber Gold */
  --accent: #ffa200;
  --accent-light: #ffc14d;
  --accent-deep: #e68a00;
  --accent-glow: rgba(255, 162, 0, 0.12);
  --accent-subtle: rgba(255, 162, 0, 0.1);
  --accent-border: rgba(255, 162, 0, 0.32);

  /* Status Colors */
  --status-updated: #22c55e;
  --status-updated-bg: rgba(34, 197, 94, 0.12);
  --status-updated-border: rgba(34, 197, 94, 0.32);

  --status-updating: #f59e0b;
  --status-updating-bg: rgba(245, 158, 11, 0.12);
  --status-updating-border: rgba(245, 158, 11, 0.35);

  --status-closed: #ef4444;
  --status-closed-bg: rgba(239, 68, 68, 0.12);
  --status-closed-border: rgba(239, 68, 68, 0.35);

  /* Discord Accent */
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --discord-glow: rgba(88, 101, 242, 0.12);

  /* Typography & Text */
  --text-primary: #f8fafc;
  --text-secondary: #9aa4b8;
  --text-muted: #647087;

  /* Borders & Radii */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.48);
  --shadow-lg: 0 20px 54px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 2px 8px rgba(0, 0, 0, 0.32), 0 1px 6px rgba(255, 162, 0, 0.1);

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --font-display: 'Space Grotesk', 'Outfit', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Subtle ambient background grid & radial illumination */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 50% at 15% -10%, rgba(255, 162, 0, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 45% at 88% 10%, rgba(88, 101, 242, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 122, 0, 0.06), transparent 60%),
    var(--bg-base);
}

.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 20%, transparent 100%);
}

/* ---------- Layout Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 8vw, 108px);
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, rgba(13, 16, 24, 0.72), rgba(7, 8, 13, 0.4));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  background: rgba(7, 8, 13, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.is-scrolled {
  background: rgba(7, 8, 13, 0.88);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  color: #090a0f;
  transition: transform 0.25s var(--ease);
}

.brand:hover .brand-mark {
  transform: scale(1.06) rotate(-2deg);
}

.brand-text span {
  color: var(--accent);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--accent);
  background: var(--accent-subtle);
}

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

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-btn {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}

.lang-btn.is-active {
  background: var(--accent);
  color: #090a0f;
}

.lang-btn:not(.is-active):hover {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: #090a0f;
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background: #ffae1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38), 0 2px 10px rgba(255, 162, 0, 0.14);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.btn--discord {
  background: var(--discord);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32), 0 1px 6px var(--discord-glow);
}

.btn--discord:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38), 0 2px 10px rgba(88, 101, 242, 0.18);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: var(--radius-pill);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  position: relative;
  z-index: 1002;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-border);
}

.hamburger {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: #0d1018;
  border-left: 1px solid var(--border-subtle);
  z-index: 999;
  padding: calc(var(--header-height) + 24px) 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--text-primary);
  background: var(--accent-subtle);
  border-color: var(--accent-border);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ---------- Hero Section ---------- */
.hero {
  padding-top: calc(var(--header-height) + clamp(44px, 7vw, 84px));
  padding-bottom: clamp(56px, 7vw, 92px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-updated);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.pulse-dot--amber {
  background: var(--status-updating);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.65);
  animation: pulseDotAmber 2s infinite;
}

.pulse-dot--red {
  background: var(--status-closed);
  animation: none;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes pulseDotAmber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.hero-title {
  font-size: clamp(1.9rem, 4.4vw, 3.55rem);
  font-weight: 800;
  line-height: 1.09;
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffd07a 0%, var(--accent) 48%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}

.game-chip:hover {
  color: var(--text-primary);
  border-color: var(--accent-border);
  background: var(--accent-subtle);
  transform: translateY(-1px);
}

.game-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero Right Visual — Command Deck Showcase */
.hero-deck {
  background: linear-gradient(160deg, rgba(22, 27, 42, 0.9), rgba(11, 14, 23, 0.94));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-deck::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.deck-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.deck-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deck-dots {
  display: flex;
  gap: 6px;
}

.deck-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.deck-dots i:first-child { background: #ff5f56; }
.deck-dots i:nth-child(2) { background: #ffbd2e; }
.deck-dots i:nth-child(3) { background: #27c93f; }

.deck-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.deck-uptime {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--status-updated-bg);
  border: 1px solid var(--status-updated-border);
  color: var(--status-updated);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.deck-featured-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deck-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all 0.22s var(--ease);
}

.deck-item:hover {
  background: rgba(255, 162, 0, 0.08);
  border-color: var(--accent-border);
  transform: translateX(4px);
}

.deck-thumb {
  width: 66px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.deck-info {
  flex: 1;
  min-width: 0;
}

.deck-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck-info small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.deck-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 5px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}

.deck-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.deck-footer a {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.deck-footer a:hover {
  color: var(--accent-light);
}

/* ---------- Stats Strip ---------- */
.stats-section {
  padding-block: 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ---------- Section Heading ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* ---------- Store Controls (Filter + Search) ---------- */
.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s var(--ease);
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.filter-pill.is-active {
  background: var(--accent);
  color: #090a0f;
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.search-box {
  position: relative;
  min-width: 240px;
  flex: 0 1 280px;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

/* ---------- Product Cards Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b0d14;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.07);
}

.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 13, 0.22) 0%, transparent 45%, rgba(11, 14, 23, 0.92) 100%);
  pointer-events: none;
}

.product-badges {
  position: absolute;
  top: 11px;
  left: 11px;
  right: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.cat-badge {
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(7, 8, 13, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.status-pill--updated {
  background: rgba(16, 48, 28, 0.85);
  border: 1px solid var(--status-updated-border);
  color: #4ade80;
}

.status-pill--updating {
  background: rgba(58, 39, 9, 0.88);
  border: 1px solid var(--status-updating-border);
  color: #fbbf24;
}

.status-pill--closed {
  background: rgba(62, 16, 20, 0.88);
  border: 1px solid var(--status-closed-border);
  color: #f87171;
}

.product-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.product-card:hover .product-title {
  color: var(--accent-light);
}

.product-meta {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

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

.product-price-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.1;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.product-card:hover .product-cta {
  background: var(--accent);
  color: #090a0f;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  color: var(--text-secondary);
}

/* ---------- Why Revolex Highlights ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.feature-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---------- Status Section ---------- */
.status-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all 0.22s var(--ease);
}

.status-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.status-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.status-card-left > div {
  min-width: 0;
}

.status-indicator {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.status-indicator--updated {
  background: var(--status-updated-bg);
  border: 1px solid var(--status-updated-border);
  color: var(--status-updated);
}

.status-indicator--updating {
  background: var(--status-updating-bg);
  border: 1px solid var(--status-updating-border);
  color: var(--status-updating);
}

.status-indicator--closed {
  background: var(--status-closed-bg);
  border: 1px solid var(--status-closed-border);
  color: var(--status-closed);
}

.status-card h3 {
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-date {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}

.faq-item.is-open {
  border-color: var(--accent-border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-trigger:hover {
  color: var(--accent-light);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent-subtle);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-content {
  overflow: hidden;
}

.faq-content p {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Support CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(255, 162, 0, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 8px;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 560px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background: #05060a;
  border-top: 1px solid var(--border-subtle);
  padding-block: 42px 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom strong {
  color: var(--text-secondary);
}

/* ==========================================================================
   PRODUCT DETAIL PAGES
   ========================================================================== */
.product-hero {
  padding-top: calc(var(--header-height) + 32px);
  padding-bottom: 40px;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
}

.product-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface-solid);
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 28px;
  align-items: center;
}

.product-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: blur(2px) saturate(1.2);
  pointer-events: none;
}

.product-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 8, 13, 0.94) 30%, rgba(7, 8, 13, 0.65) 100%);
  pointer-events: none;
}

.product-banner-content,
.product-banner-art {
  position: relative;
  z-index: 2;
}

.product-banner-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.product-banner h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.product-banner p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 580px;
}

.product-banner-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}

/* Alert Notice (Hardware required / Updating / HVCI) */
.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 22px;
  font-size: 0.92rem;
  font-weight: 600;
}

.notice-banner--danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.38);
  color: #fca5a5;
}

.notice-banner--info {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.34);
  color: #86efac;
}

.notice-banner--warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fcd34d;
}

.notice-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing Packages Grid */
.pricing-section {
  padding-block: 16px 56px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
}

.plans-grid--single {
  max-width: 380px;
}

.plans-grid--double {
  max-width: 700px;
}

.plans-grid--triple {
  max-width: 920px;
}

.plans-grid--five {
  max-width: 1200px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.plans-grid--five .plan-card {
  padding: 20px 16px;
}

.plans-grid--five .plan-price {
  font-size: 2rem;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(21, 26, 40, 0.92), rgba(12, 15, 24, 0.95));
  border: 1px solid var(--border-strong);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.plan-card--featured {
  border-color: var(--accent-border);
  background: linear-gradient(165deg, rgba(30, 26, 18, 0.92), rgba(14, 16, 26, 0.96));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.plan-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}

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

.plan-duration {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-tier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  white-space: nowrap;
}

.plan-tier--premium {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent-light);
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.plan-card--featured .plan-price {
  color: var(--accent-light);
}

.plan-billing {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.plan-perks {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
  flex: 1;
}

.plan-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.plan-perk svg {
  color: var(--status-updated);
  flex-shrink: 0;
}

.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  transition: all 0.2s var(--ease);
}

.plan-card:hover .plan-btn,
.plan-card--featured .plan-btn {
  background: var(--accent);
  color: #090a0f;
  border-color: transparent;
}

.payment-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.24);
  max-width: 780px;
  margin-inline: auto;
}

.payment-note-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(88, 101, 242, 0.18);
  color: #818cf8;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.payment-note a {
  color: #818cf8;
  font-weight: 700;
  text-decoration: none;
}

.payment-note a:hover {
  color: #a5b4fc;
}

/* Details Split: Responsive Video + Features/Specs */
.details-section {
  padding-block: 24px 80px;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-title svg {
  color: var(--accent);
}

/* Responsive 16:9 YouTube Wrapper (NO overflow on mobile!) */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #05060a;
  border: 1px solid var(--border-strong);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--text-primary);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.feature-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.spec-key {
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-val {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
}

.spec-games-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  font-size: 0.85rem;
  color: var(--accent-light);
}

.details-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(17, 21, 33, 0.92);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: grid;
  place-items: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: #090a0f;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plans-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .nav-desktop,
  .header-actions .btn--discord {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-banner {
    grid-template-columns: 1fr;
  }

  .product-banner-art {
    max-width: 460px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container {
    padding-inline: 16px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .features-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .store-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }

  .plans-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-trigger {
    padding: 17px 18px;
    font-size: 0.98rem;
  }

  .faq-content p {
    padding: 0 18px 18px;
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .spec-val {
    text-align: left;
  }

  .panel-card {
    padding: 18px;
  }

  .back-to-top {
    right: 14px;
    bottom: 84px;
  }
}

@media (max-width: 520px) {
  .products-grid,
  .plans-grid,
  .plans-grid--five,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .deck-item {
    gap: 10px;
  }

  .deck-thumb {
    width: 56px;
    height: 38px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

