/* ==========================================================================
   REDLINE DARK OBSIDIAN + CRIMSON RED-ORANGE STYLING & TOKENS
   ========================================================================== */

:root {
  --color-page: #0a0908;
  --color-brand: #ff3d1f;
  --color-brand-hover: #e0290d;
  --color-brand-dark: #b3220a;
  --color-brand-glow: #ff8a5c;
  --color-brand-cyan: #ffb020;
  --color-brand-subtle: rgba(255, 61, 31, 0.12);
  --color-card: #131110;
  --color-card-elevated: #181513;
  --color-card-top: #1c1815;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-brand: rgba(255, 61, 31, 0.4);
  --color-text-white: #ffffff;
  --color-text-slate: #a8a29e;
  --color-text-muted: #6b6560;

  --max-site: min(1680px, 95vw);
  --font-family-sans: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --font-family-body: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --font-family-display: "Anton", "Oswald", sans-serif;
  --font-family-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.container, .max-w-site {
  max-width: var(--max-site) !important;
  padding-inline: clamp(0.95rem, 3.5vw, 3.5rem);
}

@media (max-width: 575px) {
  .container, .max-w-site {
    padding-inline: 0.95rem !important;
  }
}

body {
  background-color: var(--color-page) !important;
  color: var(--color-text-white) !important;
  font-family: var(--font-family-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3:not(.product-card-title), h4, .font-display {
  font-family: var(--font-family-display);
}

/* Anton only ships one weight — forcing fw-bold (700) makes browsers synthesize
   a fake bold on top of it, exaggerating thickness beyond the font's real design. */
.font-display.fw-bold,
.font-display.fw-bolder {
  font-weight: 400 !important;
}

/* ==========================================================================
   PRODUCT CARDS TYPOGRAPHY — RealDudesInc Style (Manrope + JetBrains Mono)
   ========================================================================== */

.product-card-title,
.product-minimal-card .product-title-hover,
.product-minimal-card h3 {
  font-family: var(--font-family-body, "Manrope", "Inter", sans-serif) !important;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.product-card-desc {
  font-family: var(--font-family-body, "Manrope", "Inter", sans-serif);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #94a3b8;
}

.product-card-badge {
  font-family: var(--font-family-mono, "JetBrains Mono", monospace) !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.68rem;
}

.product-card-bullets,
.product-card-bullets li {
  font-family: var(--font-family-body, "Manrope", "Inter", sans-serif);
  font-size: 0.82rem;
  line-height: 1.5;
}

.product-card-from {
  font-family: var(--font-family-mono, "JetBrains Mono", monospace) !important;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.product-card-price {
  font-family: var(--font-family-body, "Manrope", "Inter", sans-serif) !important;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

.product-card-bullets .fa-check {
  color: #10b981 !important;
}

.product-card-btn {
  font-family: var(--font-family-body, "Manrope", "Inter", sans-serif) !important;
  font-weight: 700;
  font-size: 0.88rem;
}

.text-brand {
  color: var(--color-brand) !important;
}

.bg-brand {
  background-color: var(--color-brand) !important;
}

.bg-brand-hover:hover {
  background-color: var(--color-brand-hover) !important;
}

.border-brand {
  border-color: var(--color-brand) !important;
}

.border-brand\/40 {
  border-color: var(--color-border-brand, rgba(255, 61, 31, 0.4)) !important;
}

.bg-brand\/10 {
  background-color: var(--color-brand-subtle, rgba(255, 61, 31, 0.1)) !important;
}

/* Marketing Cards */
.mkt-card {
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  background-image: linear-gradient(rgba(255, 255, 255, 0.04), transparent 42%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

.mkt-card-interactive {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mkt-card-interactive:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-brand, rgba(255, 61, 31, 0.45)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 14px 36px -18px var(--color-aura, rgba(255, 61, 31, 0.45)) !important;
}

/* Buttons */
.btn-brand-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-brand);
  color: #050505 !important;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn-brand-primary:hover {
  background-color: var(--color-brand-hover, #e0290d) !important;
  box-shadow: 0 0 20px var(--color-aura, rgba(255, 61, 31, 0.6));
  transform: translateY(-1px);
}

.btn-brand-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--color-text-slate) !important;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-brand-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
}

/* Tab Pills */
.pc-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-slate);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}

.pc-tab:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.pc-tab.active,
.pc-tab[data-active="true"] {
  border-color: var(--color-brand, #ff3d1f) !important;
  background-color: var(--color-brand-subtle, rgba(255, 61, 31, 0.12)) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px var(--color-aura, rgba(255, 61, 31, 0.25));
}

/* Tier Plan Cards */
.pricing-tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-card-top);
  transition: all 0.25s ease;
}

.pricing-tier-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.pricing-tier-card.featured {
  border-color: var(--color-border-brand, rgba(255, 61, 31, 0.5)) !important;
  background-color: #1c120e !important;
  box-shadow: 0 0 30px var(--color-aura, rgba(255, 61, 31, 0.2));
}

.badge-most-popular {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-brand);
  color: #050505;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Radar Pulse */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.7;
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radar-ping {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Announcement Top Banner Styling */
.announcement {
  padding: 0.45rem 1rem !important;
  text-align: center !important;
  background: rgba(10, 11, 14, 0.96) !important;
  color: #cbd5e1 !important;
  border-bottom: 1px solid var(--color-border-brand, rgba(255, 255, 255, 0.08)) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  position: relative !important;
  z-index: 1001 !important;
}

.announcement a,
.announcement .ann-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  color: var(--color-brand, #ff3d1f) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.announcement a:hover,
.announcement .ann-link:hover {
  color: var(--color-brand-hover, #ff8a5c) !important;
  text-decoration: underline !important;
}

[data-theme-seed="white"] .announcement {
  background: #090a0d !important;
  color: #e2e8f0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}

[data-theme-seed="white"] .announcement a,
[data-theme-seed="white"] .announcement .ann-link {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

[data-theme-seed="white"] .announcement a:hover,
[data-theme-seed="white"] .announcement .ann-link:hover {
  color: #f1f5f9 !important;
  border-bottom-color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   LIGHT MODE DESIGN SYSTEM POLISH
   ========================================================================== */
[data-bs-theme="light"] {
  --color-page: #f8fafc;
  --color-card: #ffffff;
  --color-card-elevated: #f1f5f9;
  --color-border: rgba(20, 12, 10, 0.08);
}

/* Search Inputs (Navbar & Catalog Page) */
.navbar-search-input {
  background-color: rgba(18, 19, 24, 0.45) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  transition: all 0.25s ease;
}

.navbar-search-input:focus {
  background-color: rgba(24, 26, 34, 0.65) !important;
  color: #ffffff;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 0.25rem var(--color-brand-subtle, rgba(255, 61, 31, 0.2));
}

.navbar-search-row i.fa-search,
.navbar-search-row i.fa-magnifying-glass {
  z-index: 5 !important;
  pointer-events: none;
}

#pageProductSearchInput {
  background-color: rgba(18, 19, 24, 0.45) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  transition: all 0.25s ease;
}

#pageProductSearchInput:focus {
  background-color: rgba(24, 26, 34, 0.65) !important;
  color: #ffffff;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 0.25rem var(--color-brand-subtle, rgba(255, 61, 31, 0.2));
}

/* Kinetic Hero Word Highlights */
.hero-word-safe {
  color: #facc15 !important;
  text-shadow: 0 0 25px rgba(250, 204, 21, 0.45);
}

.hero-word-games {
  color: #38bdf8 !important;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.45);
}

/* FAQ Accordion */
.faq-accordion-item {
  background-color: #11141a;
  border: 1px solid var(--color-border-brand, rgba(255, 61, 31, 0.25));
}

.faq-accordion-btn {
  background-color: #11141a !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-family: var(--bs-font-sans-serif);
}

.faq-accordion-body {
  color: #94a3b8;
  border-top: 1px solid var(--color-border-brand, rgba(255, 61, 31, 0.15));
}

/* Feedback message */
.feedback-message {
  color: #e2e8f0;
}

[data-bs-theme="light"] .navbar-search-input,
[data-bs-theme="light"] #pageProductSearchInput {
  background-color: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
}

[data-bs-theme="light"] .navbar-search-input::placeholder,
[data-bs-theme="light"] #pageProductSearchInput::placeholder {
  color: #64748b !important;
}

[data-bs-theme="light"] .navbar-search-input:focus,
[data-bs-theme="light"] #pageProductSearchInput:focus {
  background-color: rgba(255, 255, 255, 0.88) !important;
  color: #0f172a !important;
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 0.25rem var(--color-aura, rgba(255, 61, 31, 0.15)) !important;
}

[data-bs-theme="light"] .faq-accordion-item {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

[data-bs-theme="light"] .faq-accordion-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .faq-accordion-body {
  color: #475569 !important;
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

[data-bs-theme="light"] .feedback-message {
  color: #334155 !important;
}

[data-bs-theme="light"] .theme-mode-toggle {
  background: rgba(20, 12, 10, 0.06) !important;
  border-color: rgba(20, 12, 10, 0.1) !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] #theme-seed-picker {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(20, 12, 10, 0.12) !important;
  box-shadow: 0 10px 30px rgba(20, 12, 10, 0.15) !important;
}

[data-bs-theme="light"] #theme-seed-picker .text-secondary {
  color: #64748b !important;
}

[data-bs-theme="light"] #theme-seed-picker .border-start {
  border-color: rgba(20, 12, 10, 0.15) !important;
}

[data-bs-theme="light"] .nav-cta-glass {
  background: rgba(20, 12, 10, 0.05) !important;
  color: var(--color-brand) !important;
  border-color: var(--color-border-brand) !important;
}

[data-bs-theme="light"] .nav-cta-glass:hover {
  background: rgba(20, 12, 10, 0.08) !important;
  color: var(--color-brand) !important;
}

[data-bs-theme="light"] .nav-cta-outline {
  border-color: rgba(20, 12, 10, 0.2) !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .nav-cta-outline:hover {
  background: #0f172a !important;
  color: #ffffff !important;
}

/* Supported Titles Marquee System */
.supported-titles-section {
  background: #08090b;
}

[data-bs-theme="light"] .supported-titles-section {
  background: #f1f5f9 !important;
  border-color: rgba(20, 12, 10, 0.08) !important;
}

[data-bs-theme="light"] .supported-titles-header {
  color: #475569 !important;
}

[data-bs-theme="light"] .supported-titles-label {
  color: #334155 !important;
}

[data-bs-theme="light"] .marquee-item {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(20, 12, 10, 0.1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-bs-theme="light"] .marquee-item:hover {
  border-color: var(--color-brand) !important;
  color: var(--color-brand) !important;
  transform: translateY(-2px);
}

/* Announcement Light Mode Global Overrides */
[data-bs-theme="light"] .announcement {
  background: #ffffff !important;
  color: #334155 !important;
  border-bottom: 1px solid rgba(20, 12, 10, 0.08) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

[data-bs-theme="light"] .announcement a,
[data-bs-theme="light"] .announcement .ann-link {
  color: var(--color-brand, #e0290d) !important;
}

[data-bs-theme="light"] .announcement a:hover,
[data-bs-theme="light"] .announcement .ann-link:hover {
  color: var(--color-brand-hover, #b3220a) !important;
}

[data-bs-theme="light"][data-theme-seed="white"] .announcement a,
[data-bs-theme="light"][data-theme-seed="white"] .announcement .ann-link {
  color: #0f172a !important;
  border-bottom: 1px solid rgba(20, 12, 10, 0.3) !important;
}

/* Currency Picker Element System */
.currency-picker-btn {
  background: #141416;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.currency-picker-btn:hover {
  background: #1a1a1e;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.currency-dropdown-menu {
  background: #0d0e10 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}

.currency-dropdown-menu .dropdown-item {
  color: #cbd5e1 !important;
}

.currency-dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

/* Currency Picker in Light Mode */
[data-bs-theme="light"] .currency-picker-btn {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid rgba(20, 12, 10, 0.12) !important;
  box-shadow: 0 1px 3px rgba(20, 12, 10, 0.06) !important;
}

[data-bs-theme="light"] .currency-picker-btn:hover {
  background: #f8fafc !important;
  border-color: rgba(20, 12, 10, 0.25) !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .currency-picker-btn strong,
[data-bs-theme="light"] .currency-picker-btn .currency-code-label {
  color: #0f172a !important;
}

[data-bs-theme="light"] .currency-picker-btn span {
  color: #475569 !important;
}

[data-bs-theme="light"] .currency-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(20, 12, 10, 0.1) !important;
  box-shadow: 0 12px 32px rgba(20, 12, 10, 0.12) !important;
}

[data-bs-theme="light"] .currency-dropdown-menu .dropdown-item {
  color: #334155 !important;
}

[data-bs-theme="light"] .currency-dropdown-menu .dropdown-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Background Character Silhouette Contrast Optimization */
[data-bs-theme="light"] .tactical-bg-character-layer:not(.ghost-hidden):not(.ghost-init-hidden) {
  opacity: 1;
}

[data-bs-theme="light"] .tactical-character-img {
  opacity: 0.52 !important;
  mix-blend-mode: multiply !important;
  filter: contrast(1.3) brightness(0.85) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.12)) !important;
}

[data-bs-theme="light"] .tactical-character-glow {
  opacity: 0.35 !important;
  background: radial-gradient(circle, var(--color-aura, rgba(255, 61, 31, 0.3)) 0%, rgba(20, 12, 10, 0.06) 45%, transparent 70%) !important;
}

[data-theme-seed="white"] .tactical-character-glow {
  opacity: 0.55 !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(203, 213, 225, 0.2) 45%, transparent 70%) !important;
}

[data-theme-seed="white"] .tactical-character-img {
  filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.35)) contrast(1.18) !important;
}

/* ==========================================================================
   HERO EYEBROW & ABSTRACT VISUAL (no bundled photo/character art required)
   ========================================================================== */

.hero-eyebrow {
  color: #10b981 !important;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
}

.hero-eyebrow-line {
  width: 32px;
  height: 2px;
  background: #10b981;
  opacity: 0.5;
}

.hero-visual {
  border: none;
  border-radius: 0;
  overflow: visible;
}

.hero-visual-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 42%, #000 40%, transparent 92%);
  mask-image: radial-gradient(ellipse 68% 62% at 50% 42%, #000 40%, transparent 92%);
}

.hero-visual-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, var(--color-aura, rgba(255, 61, 31, 0.35)) 0%, transparent 45%),
    radial-gradient(circle at 25% 75%, var(--color-brand-cyan, #ffb020) 0%, transparent 35%);
  filter: blur(70px);
  opacity: 0.45;
  z-index: 0;
}

.hero-visual-grid {
  position: absolute;
  inset: 6%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  border: none;
  mask-image: radial-gradient(circle at center, black 25%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle at center, black 25%, transparent 55%);
  z-index: 1;
}

.hero-floating-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: rgba(19, 17, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  z-index: 4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-floating-card-1 { top: 8%; left: 4%; }
.hero-floating-card-2 { top: 42%; right: 2%; }
.hero-floating-card-3 { bottom: 10%; left: 18%; }

@media (max-width: 991px) {
  .hero-floating-card { font-size: 0.72rem; padding: 0.5rem 0.85rem; }
}

.hero-stats-band {
  position: relative;
  z-index: 10;
  width: 100%;
  background: var(--color-page, #0a0908);
  margin-top: 1rem !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem;
}

[data-bs-theme="light"] .hero-stats-band {
  background: #ffffff;
}

.hero-stats-band .stat-number {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
}

.hero-stats-band .stat-label {
  font-size: 0.88rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  justify-items: center;
  justify-content: center;
}

.hero-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
}

/* Perks row shares the stats grid's 3 columns so each perk sits directly under its stat */
.hero-perks-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

.hero-perks-row > span {
  justify-content: center;
  text-align: center;
}

@media (max-width: 767px) {
  .hero-stats-band {
    margin-top: 0.5rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }

  .hero-stats-band .stat-number {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem) !important;
  }

  .hero-stats-band .stat-label {
    font-size: clamp(0.65rem, 2.3vw, 0.78rem) !important;
    line-height: 1.25;
    margin-top: 0.2rem;
  }

  .hero-perks-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.5rem 1.25rem !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
  }

  .hero-perks-row > span {
    font-size: 0.8rem !important;
  }
}

/* ==========================================================================
   CINEMATIC HERO BACKGROUND IMAGE & ATMOSPHERIC VIGNETTE
   ========================================================================== */

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.1) brightness(0.9);
  transform: scale(1.02);
  transition: opacity 0.3s ease;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Multi-stage dark vignette & gradient blend:
     1. Top shade to ensure navbar & search bar contrast
     2. Left vignette to make hero text/CTA pop with supreme readability
     3. Bottom dissolve so hero melts seamlessly into page background (#0a0b0d)
     4. Radial vignette darkening the peripheral edges */
  background:
    linear-gradient(180deg, 
      rgba(10, 11, 14, 0.72) 0%, 
      rgba(10, 11, 14, 0.30) 20%, 
      rgba(10, 11, 14, 0.50) 65%, 
      rgba(10, 11, 14, 0.90) 88%, 
      #0a0b0d 100%
    ),
    linear-gradient(90deg, 
      rgba(10, 11, 14, 0.80) 0%, 
      rgba(10, 11, 14, 0.45) 45%, 
      rgba(10, 11, 14, 0.15) 75%, 
      rgba(10, 11, 14, 0.55) 100%
    ),
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 40%, rgba(10, 11, 14, 0.75) 100%);
}

/* Light Theme Mode Hero Background adjustments */
[data-bs-theme="light"] .hero-bg-image {
  filter: contrast(1) brightness(1.05) grayscale(20%);
  opacity: 0.15 !important;
}

[data-bs-theme="light"] .hero-bg-overlay {
  background:
    linear-gradient(180deg, 
      rgba(248, 250, 252, 0.88) 0%, 
      rgba(248, 250, 252, 0.45) 30%, 
      rgba(248, 250, 252, 0.70) 75%, 
      #f8fafc 100%
    );
}

/* Ambient blue glow wash behind the whole hero section */
.hero-redline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 80% 12%, rgba(59, 130, 246, 0.24) 0%, transparent 62%),
    radial-gradient(ellipse 55% 50% at 10% 90%, rgba(37, 99, 235, 0.16) 0%, transparent 65%);
}

/* ==========================================================================
   HERO EXTENSION BEHIND SEARCH BAR
   Pulls the hero section up behind #siteSearchBar so the background image,
   ambient vignette, and floating particles seamlessly flow behind the search bar.
   ========================================================================== */
:root {
  --site-search-height: 88px;
}

@media (max-width: 575.98px) {
  :root {
    --site-search-height: 84px;
  }
}

body.has-navbar-search .hero-redline,
body:has(#siteSearchBar) .hero-redline {
  margin-top: calc(-1 * var(--site-search-height, 88px));
  padding-top: calc(var(--site-search-height, 88px) + clamp(2rem, 3.5vw, 3rem)) !important;
}

/* Search bar styling: transparent background and high z-index to sit on top of hero background */
#siteSearchBar,
.navbar-search-row {
  background: transparent !important;
  position: relative;
  z-index: 10;
}

#siteSearchBar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 240% at 78% 130%, rgba(59, 130, 246, 0.20) 0%, transparent 65%);
}

#siteSearchBar > .container {
  position: relative;
  z-index: 1;
}

/* Particles spanning the full hero section (not just the visual column) */
.hero-particles-full {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

/* Orbiting rings behind the hero visual/PNG slot */
.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--color-border-brand, rgba(255, 61, 31, 0.25));
}

.hero-orbit-ring-1 {
  width: 62%;
  aspect-ratio: 1;
  animation: hero-orbit-spin 22s linear infinite;
}

.hero-orbit-ring-2 {
  width: 80%;
  aspect-ratio: 1;
  border-style: dashed;
  opacity: 0.6;
  animation: hero-orbit-spin-reverse 32s linear infinite;
}

.hero-orbit-ring-3 {
  width: 98%;
  aspect-ratio: 1;
  opacity: 0.35;
  animation: hero-orbit-spin 48s linear infinite;
}

@keyframes hero-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hero-orbit-spin-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit-ring {
    animation: none;
  }
}

/* Floating particles behind the hero visual */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-particles.has-canvas .hero-particle {
  display: none !important;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-brand-glow, #ffb020);
  box-shadow: 0 0 8px 2px var(--color-aura, rgba(255, 61, 31, 0.6));
  opacity: 0;
  animation: hero-particle-float 6s ease-in-out infinite;
}

@keyframes hero-particle-float {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  15% { opacity: 0.85; }
  50% { transform: translateY(-24px) scale(1.1); opacity: 0.55; }
  85% { opacity: 0.85; }
  100% { transform: translateY(0) scale(0.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particle {
    animation: none;
    opacity: 0.5;
  }
}

@keyframes hero-character-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Hero Cutout Image: Tactical soldier operator aiming (Call of Duty style half-body emerging large) */
.hero-cutout-image {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 105%;
  max-width: 115%;
  margin-inline: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  filter: saturate(0.55) drop-shadow(0 25px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 35px var(--color-aura, rgba(255, 61, 31, 0.35)));
  -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.08) 3%, rgba(0,0,0,0.65) 9%, #000 16%, #000 100%);
  mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.08) 3%, rgba(0,0,0,0.65) 9%, #000 16%, #000 100%);
  animation: hero-character-float 6s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
  pointer-events: none;
}

.hero-visual:hover .hero-cutout-image,
.hero-cutout-image:hover {
  filter: saturate(0.55) drop-shadow(0 30px 50px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 50px var(--color-aura, rgba(255, 61, 31, 0.55)));
}

@media (min-width: 992px) {
  .hero-cutout-image {
    left: auto;
    right: -1%;
    width: 126%;
    max-width: none;
    height: 111%;
  }
}

@media (max-width: 991px) {
  .hero-visual {
    aspect-ratio: 16/11 !important;
    max-height: 330px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden !important;
    border-radius: 1.25rem;
  }
  .hero-cutout-image {
    width: 95% !important;
    height: 95% !important;
    max-width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    object-position: bottom center !important;
  }
  .hero-floating-card {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .hero-visual {
    aspect-ratio: 16/12 !important;
    max-height: 280px;
  }
  .hero-cutout-image {
    width: 92% !important;
    height: 92% !important;
    max-width: 100% !important;
    right: 0 !important;
    left: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cutout-image {
    animation: none;
  }
}

/* Atmospheric Floating Embers around Soldier */
.hero-soldier-embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
  --color-brand-glow: #7dd3fc;
  --color-aura: rgba(56, 132, 255, 0.7);
  --color-brand: #2563eb;
}

.hero-ember {
  position: absolute;
  border-radius: 50%;
  background: var(--color-brand-glow, #ffb020);
  box-shadow: 0 0 10px 3px var(--color-aura, rgba(255, 61, 31, 0.7)), 0 0 20px var(--color-brand, #ff3d1f);
  opacity: 0;
  animation: hero-ember-drift 4.8s ease-in-out infinite;
}

@keyframes hero-ember-drift {
  0% {
    transform: translate(0, 0) scale(0.65);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  50% {
    transform: translate(-18px, -28px) scale(1.2);
    opacity: 0.8;
  }
  80% {
    opacity: 0.95;
  }
  100% {
    transform: translate(-30px, -58px) scale(0.55);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ember {
    animation: none;
    opacity: 0.6;
  }
}

/* ==========================================================================
   Hero Cutout Base FX: Tactical Fire, Combat Smoke & Volumetric Dust
   Disguises and conceals character torso cut-off with multi-layer battlefield aura
   ========================================================================== */

.hero-cutout-base-fx {
  position: absolute;
  bottom: -2%;
  left: -8%;
  right: -8%;
  width: 116%;
  height: 42%;
  max-height: 200px;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
  --color-brand-glow: #7dd3fc;
  --color-aura: rgba(56, 132, 255, 0.75);
  --color-brand: #2563eb;
}

/* 1. Deep Core Thermal Glow (Underlying heat source) */
.hero-base-core-glow {
  position: absolute;
  bottom: -15%;
  left: 6%;
  right: 6%;
  height: 80%;
  background: radial-gradient(ellipse at 50% 90%, var(--color-brand-glow, #7dd3fc) 0%, var(--color-aura, rgba(56, 132, 255, 0.75)) 35%, rgba(29, 78, 216, 0.35) 60%, transparent 80%);
  filter: blur(28px);
  opacity: 0.9;
  animation: hero-base-glow-pulse 3.4s ease-in-out infinite alternate;
  pointer-events: none;
}

/* 2. Photo-realistic Cinematic Fire & Volumetric Dust Image Layer (hue-shifted from the source orange flame to a cool blue) */
.hero-base-fire-dust-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  display: block;
  pointer-events: none;
  filter: hue-rotate(185deg) saturate(1.4) drop-shadow(0 -8px 25px rgba(56, 132, 255, 0.45)) drop-shadow(0 -4px 18px var(--color-aura, rgba(56, 132, 255, 0.4)));
  animation: hero-fire-dust-breathe 5.2s ease-in-out infinite alternate;
  transition: filter 0.3s ease;
}

.hero-visual:hover .hero-base-fire-dust-img {
  filter: hue-rotate(185deg) saturate(1.4) drop-shadow(0 -10px 35px rgba(56, 132, 255, 0.65)) drop-shadow(0 -6px 25px var(--color-aura, rgba(56, 132, 255, 0.6)));
}

@keyframes hero-fire-dust-breathe {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.94;
  }
  50% {
    transform: scale(1.02) translateY(-4px);
    opacity: 1;
  }
  100% {
    transform: scale(1.008) translateY(-2px);
    opacity: 0.96;
  }
}

/* 3. Tactical Combustion Sparks & Hot Ash Motes */
.hero-base-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 4;
}

.hero-base-spark {
  position: absolute;
  bottom: 15%;
  border-radius: 50%;
  background: #e0f2fe;
  box-shadow: 0 0 8px 2px var(--color-brand-glow, #7dd3fc), 0 0 16px var(--color-brand, #2563eb);
  opacity: 0;
  animation: hero-base-spark-rise infinite ease-out;
}

/* 4. Low Ground Fog & Shadow Seam Dissolve Bar */
.hero-base-fog-bar {
  position: absolute;
  bottom: -3px;
  left: -10%;
  width: 120%;
  height: 36%;
  background: linear-gradient(to top, rgba(11, 12, 14, 0.98) 0%, rgba(11, 12, 14, 0.75) 35%, rgba(11, 12, 14, 0.25) 75%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

@keyframes hero-base-glow-pulse {
  0% { transform: scale(0.94); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes hero-base-spark-rise {
  0% {
    transform: translate(0, 0) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translate(calc(var(--sx) * 0.25), -24px) scale(1.2);
  }
  65% {
    opacity: 0.85;
    transform: translate(calc(var(--sx) * 0.75), -85px) scale(0.9);
  }
  100% {
    transform: translate(var(--sx), -145px) scale(0.3);
    opacity: 0;
  }
}

/* Light Mode Adaptations for Base Effects */
[data-bs-theme="light"] .hero-base-fire-dust-img {
  filter: hue-rotate(185deg) saturate(1.4) drop-shadow(0 -6px 20px rgba(56, 132, 255, 0.35));
}

[data-bs-theme="light"] .hero-base-fog-bar {
  background: linear-gradient(to top, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.8) 35%, rgba(248, 250, 252, 0.3) 75%, transparent 100%);
}

@media (max-width: 991px) {
  .hero-cutout-base-fx {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 40% !important;
    bottom: 0 !important;
  }
  .hero-base-fog-bar {
    left: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 575px) {
  .hero-cutout-base-fx {
    height: 42% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-base-core-glow,
  .hero-base-fire-dust-img,
  .hero-base-spark {
    animation: none;
    opacity: 0.95;
  }
}

/* Placeholder drop-zone shown until a hero PNG is configured */
.hero-image-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 2px dashed rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  color: #6b6560;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 2rem;
}

.hero-image-placeholder i {
  font-size: 2.5rem;
  opacity: 0.5;
}

.hero-image-placeholder code {
  color: var(--color-brand-glow, #ffb020);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
}

/* ==========================================================================
   COMMUNITY CTA PANEL (Discord Banner)
   ========================================================================== */

.discord-cta-panel,
.footer-discord-panel {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22) 0%, rgba(37, 99, 235, 0.16) 50%, rgba(10, 15, 29, 0.70) 100%) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(59, 130, 246, 0.40) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 32px rgba(59, 130, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.discord-cta-glow {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 70%) !important;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.5;
}

.discord-cta-tag {
  background: rgba(59, 130, 246, 0.18) !important;
  border: 1px solid rgba(59, 130, 246, 0.45) !important;
  font-size: 0.8rem;
  color: #93c5fd !important;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.discord-cta-panel .btn-brand-primary,
.footer-discord-panel .btn-brand-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.5) !important;
}

.discord-cta-panel .btn-brand-primary:hover,
.footer-discord-panel .btn-brand-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.7) !important;
  transform: translateY(-2px);
}

/* Footer "Join the Discord" panel: centered visual character, content on the left */
.footer-discord-panel {
  min-height: 280px;
}

.footer-discord-visual {
  align-self: stretch;
  min-height: 280px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem 1.5rem;
}

.footer-discord-character {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 35px rgba(59, 130, 246, 0.35));
  transition: transform 0.3s ease;
  pointer-events: none;
}

.footer-discord-panel:hover .footer-discord-character {
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .footer-discord-panel {
    min-height: 0;
  }
  .footer-discord-visual {
    min-height: 180px;
    padding: 0 1rem 1.5rem;
  }
  .footer-discord-character {
    max-height: 200px;
  }
}

/* ==========================================================================
   HOW IT WORKS — NUMBERED STEPS ON A CONNECTING LINE (matches realdudesinc.net)
   ========================================================================== */

.how-it-works-row {
  position: relative;
}

.how-it-works-step {
  position: relative;
  --step-accent: var(--color-brand);
  --step-accent-subtle: var(--color-brand-subtle, rgba(59, 130, 246, 0.15));
  --step-accent-border: var(--color-border-brand, rgba(59, 130, 246, 0.4));
  --step-accent-aura: var(--color-aura, rgba(59, 130, 246, 0.3));
}

.how-it-works-step-head {
  position: relative;
  z-index: 2;
}

.how-it-works-step-number {
  display: block;
  font-family: var(--font-family-display);
  font-style: italic;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
  color: var(--step-accent, var(--color-brand));
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.how-it-works-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.65rem;
  border: 1px solid var(--step-accent-border, var(--color-border-brand, rgba(255, 61, 31, 0.4)));
  background: var(--color-page, #0a0908);
  color: var(--step-accent, var(--color-brand));
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-it-works-step:hover .how-it-works-step-icon {
  border-color: var(--step-accent) !important;
  background: var(--step-accent-subtle) !important;
  box-shadow: 0 0 18px var(--step-accent-aura);
  transform: translateY(-2px) scale(1.06);
}

.how-it-works-step-icon svg {
  width: 20px;
  height: 20px;
}

.feature-icon-badge svg {
  width: 20px;
  height: 20px;
}

/* "Why [Store]" feature cards: stealth subtle boxes, glowing interactive reveal on hover */
.feature-col {
  display: flex;
}

.feature-card {
  --card-accent: var(--color-brand, #ff3d1f);
  --card-accent-subtle: var(--color-brand-subtle, rgba(255, 61, 31, 0.15));
  --card-accent-aura: var(--color-aura, rgba(255, 61, 31, 0.25));
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.85rem 1.45rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(circle at 50% 0%, var(--card-accent-subtle), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--card-accent);
  box-shadow: 0 18px 38px -10px rgba(0, 0, 0, 0.75), 0 0 25px -4px var(--card-accent-aura);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .feature-icon-badge {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--card-accent) !important;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-badge {
  border-color: var(--card-accent) !important;
  background: var(--card-accent-subtle) !important;
  color: var(--card-accent) !important;
  box-shadow: 0 0 16px var(--card-accent-aura);
  transform: scale(1.06);
}

/* Single continuous line spanning the whole row, passing behind the icon boxes */
@media (min-width: 992px) {
  .how-it-works-row::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 46px;
    height: 1px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.35) 0%, rgba(16, 185, 129, 0.35) 35%, rgba(245, 158, 11, 0.35) 70%, rgba(168, 85, 247, 0.35) 100%);
    z-index: 1;
  }
}

@media (max-width: 575px) {
  .feature-card {
    padding: 1.25rem 1.1rem !important;
    border-radius: 14px !important;
  }
  .feature-card .feature-icon-badge {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.15rem !important;
    margin-bottom: 0.75rem !important;
  }
  .feature-card h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.35rem !important;
  }
  .feature-card p {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 767px) {
  .how-it-works-row {
    margin-top: 1.75rem !important;
  }
  .how-it-works-step-icon {
    width: 42px !important;
    height: 42px !important;
  }
  .how-it-works-step h3 {
    font-size: 1.05rem !important;
  }
  .how-it-works-step p {
    font-size: 0.86rem !important;
  }
  .marquee-img {
    height: 24px !important;
    min-width: 48px !important;
    margin-inline: 0.85rem !important;
  }
  .marquee-icon {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 575px) {
  .component[id*="categories"] .mkt-card,
  section[id*="categories"] .mkt-card,
  #categories .mkt-card {
    padding: 0.65rem 0.6rem !important;
    gap: 0.5rem !important;
  }
  .component[id*="categories"] .mkt-card img,
  section[id*="categories"] .mkt-card img,
  #categories .mkt-card img {
    width: 36px !important;
    height: 36px !important;
  }
  .component[id*="categories"] .mkt-card span.text-truncate,
  section[id*="categories"] .mkt-card span.text-truncate,
  #categories .mkt-card span.text-truncate {
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   LIGHT MODE: COMPREHENSIVE CONTRAST & FORM FIELD POLISH
   ========================================================================== */

[data-bs-theme="light"] {
  --bs-gray-bg: #ffffff;
  --bs-body-bg: #f8fafc;
  --bs-body-color: #0f172a;
  --bs-card-bg: #ffffff;
  --bs-card-color: #0f172a;
  --background: #f8fafc;
  --foreground: #0f172a;
  --muted-foreground: #475569;
}

[data-bs-theme="light"] input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
[data-bs-theme="light"] textarea,
[data-bs-theme="light"] select,
[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
}

[data-bs-theme="light"] input::placeholder,
[data-bs-theme="light"] textarea::placeholder,
[data-bs-theme="light"] .form-control::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

[data-bs-theme="light"] input:disabled,
[data-bs-theme="light"] textarea:disabled,
[data-bs-theme="light"] select:disabled,
[data-bs-theme="light"] .form-control:disabled {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

[data-bs-theme="light"] .choices .choices__inner {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
}

[data-bs-theme="light"] .choices .choices__list--dropdown {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-bs-theme="light"] .choices .choices__list--dropdown .choices__item,
[data-bs-theme="light"] .choices .choices__list[aria-expanded] .choices__item {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .choices .choices__list--dropdown .choices__item--selectable.is-highlighted,
[data-bs-theme="light"] .choices .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background-color: var(--color-brand-subtle, rgba(255, 61, 31, 0.1)) !important;
  color: var(--color-brand) !important;
}

[data-bs-theme="light"] .choices[data-type*="select-one"] .choices__list.choices__list--dropdown .choices__input {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

[data-bs-theme="light"] .cart-item-bg {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .cart-product-link {
  color: #0f172a !important;
}

[data-bs-theme="light"] .cart-variant-text {
  color: #475569 !important;
}

[data-bs-theme="light"] .cart-discount-text {
  color: #64748b !important;
}

[data-bs-theme="light"] .cart-addon-badge {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #475569 !important;
}

[data-bs-theme="light"] .status-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

[data-bs-theme="light"] .status-card h3 {
  color: #0f172a !important;
}

[data-bs-theme="light"] .status-group h2 {
  color: #0f172a !important;
}

[data-bs-theme="light"] .products-sidebar-filter {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-bs-theme="light"] .products-sidebar-title {
  color: #64748b !important;
}

[data-bs-theme="light"] .pc-tab-vertical {
  color: #475569 !important;
}

[data-bs-theme="light"] .pc-tab-vertical:hover {
  background: rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .pc-tab-vertical.active {
  background: var(--color-brand-subtle, rgba(255, 61, 31, 0.1)) !important;
  color: var(--color-brand, #ff3d1f) !important;
}

[data-bs-theme="light"] .product-card-col .text-slate-400,
[data-bs-theme="light"] .product-minimal-card p {
  color: #64748b !important;
}

[data-bs-theme="light"] .product-card-col .text-slate-300,
[data-bs-theme="light"] .product-card-col ul.text-slate-300 li {
  color: #334155 !important;
}

[data-bs-theme="light"] .product-card-col .text-slate-500 {
  color: #64748b !important;
}

[data-bs-theme="light"] .table,
[data-bs-theme="light"] .table th,
[data-bs-theme="light"] .table td {
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

[data-bs-theme="light"] .text-t-primary\/80,
[data-bs-theme="light"] .text-t-primary {
  color: #0f172a !important;
}

[data-bs-theme="light"] .nav-pills .nav-link:not(.active) {
  color: #475569 !important;
}

[data-bs-theme="light"] .nav-pills .nav-link:hover:not(.active) {
  color: #0f172a !important;
  background-color: rgba(15, 23, 42, 0.05) !important;
}

[data-bs-theme="light"] .ticket-message-content {
  color: #334155 !important;
}

[data-bs-theme="light"] .ticket-time-ago {
  color: #64748b !important;
}

[data-bs-theme="light"] .ticket-sender-name {
  color: #0f172a !important;
}

[data-bs-theme="light"] .ticket-input-area {
  background: #ffffff !important;
  border-top-color: rgba(15, 23, 42, 0.1) !important;
}

[data-bs-theme="light"] .socials .list .social {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

[data-bs-theme="light"] .socials .list .social .left span {
  color: #0f172a !important;
}

[data-bs-theme="light"] .search-modal .product .text,
[data-bs-theme="light"] .search-modal .product h3,
[data-bs-theme="light"] .search-modal .product p {
  color: #0f172a !important;
}

[data-bs-theme="light"] .search-modal .modal-content {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .features .list .feature {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-bs-theme="light"] .features .list .feature .title {
  color: #0f172a !important;
}

[data-bs-theme="light"] .features .list .feature .description {
  color: #475569 !important;
}

[data-bs-theme="light"] .bg-gray,
[data-bs-theme="light"] .card {
  background-color: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .text-muted {
  color: #64748b !important;
}

/* ==========================================================================
   SELLAUTH BRANDING & FOOTER NON-TRANSPARENCY ENFORCEMENT
   Guarantees 'Powered by SellAuth' is completely solid, opaque, and never transparent
   ========================================================================== */
footer,
.footer-main,
.footer-bottom {
  position: relative !important;
  z-index: 20 !important;
}

/* Any platform-injected SellAuth element or element containing Powered by SellAuth */
body > footer ~ *,
div[class*="sellauth"],
div[id*="sellauth"],
div[class*="powered"],
.sellauth-footer,
.sellauth-watermark,
.sellauth-branding {
  position: relative !important;
  z-index: 25 !important;
  background-color: #050608 !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-bs-theme="light"] body > footer ~ *,
[data-bs-theme="light"] div[class*="sellauth"],
[data-bs-theme="light"] div[id*="sellauth"],
[data-bs-theme="light"] div[class*="powered"],
[data-bs-theme="light"] .sellauth-footer,
[data-bs-theme="light"] .sellauth-watermark,
[data-bs-theme="light"] .sellauth-branding {
  background-color: #f1f5f9 !important;
  opacity: 1 !important;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE ENGINE & MOBILE POLISH
   Ensures seamless presentation on all screens from 320px mobile to 4K ultra-wide
   ========================================================================== */

@media (max-width: 767px) {
  /* Prevent large display headings from overflowing on narrow phones */
  h1.font-display,
  .hero-title-kinetic {
    font-size: clamp(1.95rem, 7.5vw, 3.2rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.01em !important;
  }

  h2.font-display {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
    letter-spacing: -0.01em !important;
  }

  /* Prevent any modal, table, or card from generating horizontal scrollbars */
  .table-responsive,
  .card table,
  .modal-dialog {
    max-width: 100% !important;
  }

  /* Mobile Button touch targets */
  .btn-brand-primary,
  .btn-brand-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
  }

  /* Clean spacing for section subtitle texts */
  .component p.text-slate-400 {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 575px) {
  /* Remove excessive gutters on very small screens */
  .row {
    --bs-gutter-x: 1rem;
  }

  /* Product card layout adjustments */
  .product-minimal-card .p-4 {
    padding: 1.15rem 1rem !important;
  }
  .product-minimal-card .product-card-title {
    font-size: 0.98rem !important;
  }
  .product-minimal-card .product-card-desc {
    font-size: 0.82rem !important;
    margin-bottom: 0.75rem !important;
  }
  .product-minimal-card .product-card-bullets {
    font-size: 0.76rem !important;
    gap: 0.25rem !important;
    margin-bottom: 0.75rem !important;
  }
  .product-card-price {
    font-size: 1.15rem !important;
  }
}
/* Group modal (game -> sub-products chooser): transparent blue glass */
.group-modal .modal-content,
[data-bs-theme="dark"] #customer-login-modal .modal-content {
  background: linear-gradient(145deg, rgba(22, 44, 86, 0.62) 0%, rgba(9, 18, 40, 0.66) 55%, rgba(4, 10, 24, 0.74) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-radius: 1.25rem;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12), 0 0 45px rgba(59, 130, 246, 0.2), 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: #ffffff;
  overflow: hidden;
}
.group-modal .modal-header,
[data-bs-theme="dark"] #customer-login-modal .modal-header {
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
  padding: 1.25rem 1.75rem;
}
.group-modal .modal-title,
[data-bs-theme="dark"] #customer-login-modal .modal-title {
  font-weight: 700;
  color: #ffffff;
}
.group-modal .btn-close,
[data-bs-theme="dark"] #customer-login-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.7;
}
.group-modal .btn-close:hover,
[data-bs-theme="dark"] #customer-login-modal .btn-close:hover {
  opacity: 1;
}
.group-modal .modal-body {
  padding: 1.75rem;
}
.group-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem;
}
.group-modal-grid .product-card-col {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.group-modal .mkt-card {
  background: rgba(8, 18, 38, 0.6) !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
}
.group-modal .mkt-card:hover {
  border-color: rgba(59, 130, 246, 0.65) !important;
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.25);
}
.group-modal .modal-dialog {
  will-change: transform;
}
body:has(.group-modal.show) .modal-backdrop.show,
[data-bs-theme="dark"] body:has(#customer-login-modal.show) .modal-backdrop.show {
  background-color: #030a19;
  opacity: 0.72;
}
@media (max-width: 575px) {
  .group-modal .modal-body { padding: 1.1rem; }
  .group-modal-grid { gap: 1.25rem; }
}

/* Cart panels: same transparent blue glass as the group modal and the categories sidebar */
[data-bs-theme="dark"] section.cart .border.rounded,
[data-bs-theme="dark"] section.cart .cart-item-bg {
  background: linear-gradient(145deg, rgba(22, 44, 86, 0.5) 0%, rgba(9, 18, 40, 0.55) 60%, rgba(4, 10, 24, 0.62) 100%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
  border-color: rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-bs-theme="dark"] section.cart .border.rounded .border.rounded,
[data-bs-theme="dark"] section.cart .border.rounded .cart-item-bg {
  background: rgba(8, 18, 38, 0.55) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
[data-bs-theme="dark"] section.cart .border-bottom,
[data-bs-theme="dark"] section.cart .border-top {
  border-color: rgba(59, 130, 246, 0.2) !important;
}

/* Cart rows: compact thumbnail, full product name */
section.cart .cart-thumb {
  flex: 0 0 136px;
  width: 136px;
}
section.cart .cart-thumb img,
section.cart .cart-thumb > div {
  width: 100%;
}
section.cart .cart-item-info {
  min-width: 0;
}
section.cart .cart-product-link {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
section.cart .cart-variant-text {
  white-space: normal;
}
@media (max-width: 575px) {
  section.cart .cart-thumb {
    flex-basis: 84px;
    width: 84px;
    padding: 0.35rem !important;
  }
}
