@import url('./resend-design-system.css');

/* ==========================================================================
   BESTCHEAT / RESEND.COM INSPIRED DESIGN SYSTEM
   Full Rebuild: True Black (#000000), High-Contrast Pure White,
   Minimalist Monochrome, Precision Typography & Resend Atmospheric Glow
   ========================================================================== */

:root {
  /* Resend True Black & Monochrome Color Palette */
  --bg-pure-black: #000000;
  --bg-canvas: #000000;
  --bg-card: #08080a;
  --bg-card-hover: #0d0d10;
  --bg-surface: #111114;
  --bg-surface-elevated: #16161a;
  --bg-glass: rgba(0, 0, 0, 0.75);

  /* Resend Hairline Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(255, 255, 255, 0.22);
  --border-card: #18181b;

  /* Resend Typography Colors */
  --text-white: #ffffff;
  --text-primary: #ededed;
  --text-secondary: #a1a1a6;
  --text-tertiary: #71717a;
  --text-muted: #52525b;

  /* Resend Accents */
  --accent-white: #ffffff;
  --accent-green: #22c55e;
  --accent-blue: #3b82f6;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Typography Stacks */
  --font-fa: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Commit Mono', 'Geist Mono', 'SF Mono', 'Courier New', monospace;

  /* Legacy Variable Overrides (Enforces True Black #000000 across all legacy templates & Tailwind classes) */
  --bg-primary: #000000;
  --bg-secondary: #08080a;
  --bg-tertiary: rgba(8, 8, 10, 0.72);
  --text-primary: #ededed;
  --text-secondary: #a1a1a6;
  --text-tertiary: #71717a;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.18);
  --accent-blue: #ffffff;
  --accent-blue-dark: #e5e5e5;
  --accent-primary: #ffffff;
  --accent-cyan: #ffffff;
}

/* ==========================================================================
   RESET & CORE BASE
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-pure-black) !important;
  color: var(--text-primary) !important;
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="fa-IR"],
html[dir="rtl"] {
  font-family: var(--font-fa);
  direction: rtl;
}

html[lang="en"],
html[dir="ltr"] {
  font-family: var(--font-en);
  direction: ltr;
}

body,
body.light-mode {
  background-color: var(--bg-pure-black) !important;
  color: var(--text-primary) !important;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

#app,
#content,
main,
.section {
  background-color: transparent !important;
}

/* Minimal Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-pure-black);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

.bc-container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   RESEND HEADER & NAVIGATION
   "پس زمینه فهرست هدر باید اندازه دکمه های فهرست باشه"
   ========================================================================== */

.bc-header {
  position: sticky !important;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
}

.bc-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 68px !important;
  gap: 16px !important;
}

/* Brand */
.bc-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.bc-brand img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
  filter: brightness(1.2);
}

.site-brand-copy {
  display: flex !important;
  flex-direction: column !important;
}

.site-brand-copy strong {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}

.site-brand-copy strong span {
  color: #888 !important;
}

.site-brand-copy small {
  display: none !important;
}

/* Menu Background Matches Exact Size of Menu Buttons */
#nav #site-tabs.bc-main-nav,
#nav .bc-main-nav,
#site-tabs.bc-main-nav,
.bc-main-nav {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important; /* Prevents stretching - wraps buttons tightly */
  width: fit-content !important;
  max-width: fit-content !important;
  margin: 0 auto !important;
  background: #09090b !important; /* Resend pill background */
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-full) !important;
  padding: 3px !important;
  gap: 2px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  overflow: visible !important;
}

#nav #site-tabs.bc-main-nav button,
#nav .bc-main-nav button,
#site-tabs.bc-main-nav button,
.bc-main-nav button {
  background: transparent !important;
  color: var(--text-secondary) !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  padding: 6px 14px !important;
  min-height: 32px !important;
  height: 32px !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}

#nav #site-tabs.bc-main-nav button:hover:not(.tab-active),
#nav .bc-main-nav button:hover:not(.tab-active),
#site-tabs.bc-main-nav button:hover:not(.tab-active),
.bc-main-nav button:hover:not(.tab-active) {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

#nav #site-tabs.bc-main-nav button.tab-active,
#nav .bc-main-nav button.tab-active,
#site-tabs.bc-main-nav button.tab-active,
.bc-main-nav button.tab-active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4) !important;
}

/* Header Actions */
.bc-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

/* Modern Flag Language Toggle Button */
.bc-lang-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #09090b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-primary) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  min-height: 36px !important;
}

.bc-lang-btn:hover {
  background: #141418 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.bc-flag-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 15px !important;
  border-radius: 2px !important;
  overflow: hidden !important;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5) !important;
  flex-shrink: 0 !important;
}

/* Cart Button */
.bc-cart-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  position: relative !important;
  background: #09090b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-primary) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  min-height: 36px !important;
}

.bc-cart-button:hover {
  background: #141418 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.bc-cart-button svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 1.6 !important;
}

.bc-cart-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  border-radius: var(--radius-full) !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

/* Pure White Account Button */
.bc-account-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  padding: 7px 16px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15) !important;
  min-height: 36px !important;
}

.bc-account-button:hover {
  background: #e6e6e6 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25) !important;
}

.bc-account-button svg {
  width: 15px !important;
  height: 15px !important;
  stroke: #000 !important;
  stroke-width: 2 !important;
}

/* Mobile Toggle */
.bc-menu-toggle {
  display: none !important;
  background: #09090b !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: var(--radius-md) !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

/* ==========================================================================
   RESEND HERO SECTION & ATMOSPHERIC LIGHTING
   ========================================================================== */

#section-home .bc-home-actual {
  padding: 40px 0 24px !important;
}

.bc-hero-panel {
  position: relative !important;
  isolation: isolate !important;
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  padding: 60px 48px !important;
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  align-items: center !important;
  gap: 48px !important;
  min-height: 520px !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8) !important;
}

/* Resend Signature Atmospheric Spotlight Animation */
.bc-hero-panel::before {
  content: '' !important;
  position: absolute !important;
  top: -150px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 700px !important;
  height: 400px !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, transparent 80%) !important;
  filter: blur(50px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: resendSpotlight 12s ease-in-out infinite alternate !important;
}

/* Subtle Resend Grid Background Overlay */
.bc-hero-panel::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
  background-size: 50px 50px !important;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%) !important;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

@keyframes resendSpotlight {
  0% { opacity: 0.6; transform: translateX(-50%) scale(0.95); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
  100% { opacity: 0.7; transform: translateX(-50%) scale(0.98); }
}

.bc-hero-content {
  position: relative !important;
  z-index: 2 !important;
}

/* Resend Kicker Badge */
.bc-hero-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-secondary) !important;
  padding: 5px 14px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 24px !important;
}

.bc-hero-kicker-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--accent-green) !important;
  box-shadow: 0 0 8px var(--accent-green) !important;
}

/* Resend Glowing White Headline */
.bc-hero-content h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.04em !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.12) !important;
}

.bc-hero-content h1 em {
  font-style: normal !important;
  background: linear-gradient(180deg, #ffffff 40%, #888888 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.bc-hero-content p {
  color: var(--text-secondary) !important;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem) !important;
  line-height: 1.75 !important;
  max-width: 520px !important;
  margin-bottom: 32px !important;
}

/* Resend Modern Buttons (Pure White Primary) */
.bc-hero-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

.bc-hero-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

.bc-hero-primary:hover {
  background: #ededed !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.35) !important;
}

.bc-hero-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 12px 22px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.bc-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
}

.bc-hero-telegram {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--text-tertiary) !important;
  text-decoration: none !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  border-radius: var(--radius-full) !important;
  transition: all 0.2s ease !important;
}

.bc-hero-telegram:hover {
  color: #fff !important;
}

/* ==========================================================================
   RESEND CODE / TERMINAL PREVIEW WINDOW (Hero Right)
   ========================================================================== */

.bc-hero-visual {
  position: relative !important;
  z-index: 2 !important;
}

.resend-terminal-card {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 1px rgba(255, 255, 255, 0.06) !important;
}

.resend-terminal-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: #050507 !important;
}

.resend-terminal-dots {
  display: flex !important;
  gap: 6px !important;
}

.resend-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
}
.resend-dot-red { background: #ff5f56 !important; }
.resend-dot-yellow { background: #ffbd2e !important; }
.resend-dot-green { background: #27c93f !important; }

.resend-terminal-title {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  color: #71717a !important;
  letter-spacing: 0.04em !important;
}

.resend-terminal-body {
  padding: 20px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.78rem !important;
  line-height: 1.7 !important;
  color: #a1a1aa !important;
  background: #08080a !important;
}

.resend-code-line {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.resend-code-tag {
  color: #71717a !important;
  user-select: none !important;
}

.resend-val-white { color: #ffffff !important; font-weight: 600 !important; }
.resend-val-green { color: #22c55e !important; font-weight: 600 !important; }
.resend-val-cyan { color: #38bdf8 !important; }
.resend-val-dim { color: #52525b !important; }

/* ==========================================================================
   METRICS & STATS (Clean Resend Monospaced Cards)
   ========================================================================== */

.bc-stats-strip {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin: 32px auto 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.bc-stat {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: var(--radius-lg) !important;
  padding: 20px 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  transition: all 0.2s ease !important;
}

.bc-stat:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: #0d0d10 !important;
}

.bc-stat-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
}

.bc-stat-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.bc-stat strong {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  display: block !important;
}

.bc-stat small {
  font-size: 0.72rem !important;
  color: var(--text-secondary) !important;
  display: block !important;
  margin-top: 2px !important;
}

/* ==========================================================================
   CATEGORY & CATALOG (Ultra-minimal Resend aesthetic)
   ========================================================================== */

.bc-market-section {
  padding: 48px 0 24px !important;
}

.bc-section-heading {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  margin-bottom: 24px !important;
}

.bc-section-heading h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.bc-section-heading p {
  color: var(--text-secondary) !important;
  font-size: 0.82rem !important;
  margin-top: 4px !important;
}

.bc-categories {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 14px !important;
}

.bc-category-card {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: var(--radius-lg) !important;
  padding: 22px !important;
  min-height: 135px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  cursor: pointer !important;
  text-align: start !important;
  transition: all 0.2s ease !important;
}

.bc-category-card:hover {
  background: #0e0e12 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

.bc-cat-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: auto !important;
}

.bc-cat-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.bc-category-card strong {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-top: 14px !important;
}

.bc-category-card small {
  font-size: 0.72rem !important;
  color: var(--text-secondary) !important;
  margin-top: 2px !important;
}

/* ==========================================================================
   PRODUCTS GRID & RESEND CARDS
   ========================================================================== */

.bc-featured-grid,
#products-grid,
#bc-mobile-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

.product-card {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: var(--radius-xl) !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.2s ease !important;
}

.product-card:hover {
  background: #0e0e12 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

.product-image,
.product-image-placeholder {
  width: 100% !important;
  height: 170px !important;
  object-fit: cover !important;
  border-radius: var(--radius-md) !important;
  background: #040405 !important;
  margin-bottom: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.product-card h4 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 8px !important;
}

.product-card p {
  color: var(--text-secondary) !important;
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
  margin-bottom: 18px !important;
}

/* Product Catalog Tabs (PC / Mobile) */
.bc-catalog-tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #09090b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 3px !important;
  border-radius: var(--radius-full) !important;
  margin-bottom: 24px !important;
}

.bc-catalog-tab {
  background: transparent !important;
  color: var(--text-secondary) !important;
  border: none !important;
  padding: 6px 16px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.bc-catalog-tab.is-active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   GLOBAL RESEND BUTTONS & INPUTS
   ========================================================================== */

.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15) !important;
}

.btn-primary:hover {
  background: #ededed !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25) !important;
}

.btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ededed !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}

.glass-input {
  background: #09090b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 14px !important;
  font-size: 0.85rem !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.glass-input:focus {
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
  background: #0e0e12 !important;
}

/* ==========================================================================
   TRUST BAND & FAQ (Resend Clean Monochrome)
   ========================================================================== */

.bc-trust-band {
  margin: 36px auto !important;
  padding: 36px !important;
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: var(--radius-xl) !important;
}

.bc-trust-intro span {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #888 !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.bc-trust-intro h2 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 8px !important;
}

.bc-trust-intro p {
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
  margin-bottom: 28px !important;
}

.bc-trust-items {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
}

.bc-trust-items article {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
}

.bc-trust-items article span {
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  color: #888 !important;
  display: block !important;
  margin-bottom: 10px !important;
}

.bc-trust-items article h3 {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 6px !important;
}

.bc-trust-items article p {
  font-size: 0.78rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.6 !important;
}

.bc-proof-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin: 32px auto !important;
}

.bc-proof-panel {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: var(--radius-xl) !important;
  padding: 30px !important;
}

.bc-faq-panel details {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 18px !important;
  margin-bottom: 10px !important;
}

.bc-faq-panel summary {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  cursor: pointer !important;
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.bc-faq-panel summary::-webkit-details-marker {
  display: none !important;
}

.bc-faq-panel summary::after {
  content: '+' !important;
  color: #888 !important;
  font-size: 1.1rem !important;
}

.bc-faq-panel details[open] summary::after {
  content: '−' !important;
}

.bc-faq-panel details p {
  color: var(--text-secondary) !important;
  font-size: 0.8rem !important;
  line-height: 1.7 !important;
  margin-top: 10px !important;
}

/* ==========================================================================
   CHECKOUT, CART, LOADER & AUTH (Pure White CTAs)
   ========================================================================== */

#section-checkout .bc-checkout-hero,
#section-checkout .bc-payment-panel,
#section-checkout .bc-checkout-summary,
#section-cart .card,
#section-loader .card,
#section-auth .card,
#section-support .card {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-xl) !important;
}

#checkout-btn,
#loader-download-button,
#login-btn,
#register-btn,
#logout-btn {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s ease !important;
}

#checkout-btn:hover,
#loader-download-button:hover,
#login-btn:hover,
#register-btn:hover,
#logout-btn:hover {
  background: #ededed !important;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   FOOTER — Resend Minimalist Rebuild
   ========================================================================== */

.site-footer,
#site-footer,
.bc-footer {
  margin-top: 80px !important;
  background: #000000 !important;
  padding: 0 0 32px !important;
  border: none !important;
  box-shadow: none !important;
}

.bc-footer-divider {
  height: 1px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 48px !important;
}

.bc-footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1.2fr !important;
  gap: 48px !important;
  padding-bottom: 48px !important;
}

/* Brand Column */
.bc-footer-brand {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.bc-footer-brand-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.footer-logo {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
}

.bc-footer-brand-name {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
}

#footer-about-text {
  color: #71717a !important;
  font-size: 0.82rem !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
  max-width: 320px !important;
}

/* Social Links Row */
.bc-footer-social {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.bc-footer-social-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #a1a1a6 !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}

.bc-footer-social-link svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
}

.bc-footer-social-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

/* Link Columns */
.bc-footer-links {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.bc-footer-links h3 {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: #71717a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 16px !important;
}

.bc-footer-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.bc-footer-nav button {
  background: transparent !important;
  border: none !important;
  color: #a1a1a6 !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  padding: 0 !important;
  text-align: start !important;
  transition: color 0.15s ease !important;
  line-height: 1.4 !important;
}

.bc-footer-nav button:hover {
  color: #ffffff !important;
}

/* Status Column */
.bc-footer-status {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.bc-footer-status h3 {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: #71717a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 16px !important;
}

.bc-footer-status-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.bc-footer-status-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.82rem !important;
  color: #a1a1a6 !important;
}

.bc-status-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.bc-status-online {
  background: #22c55e !important;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5) !important;
}

.bc-footer-status-icon {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  color: #52525b !important;
}

/* Bottom Bar */
.bc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding-top: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #52525b !important;
  font-size: 0.76rem !important;
}

.bc-footer-bottom-links {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.bc-footer-bottom-links button {
  background: transparent !important;
  border: none !important;
  color: #52525b !important;
  cursor: pointer !important;
  font-size: 0.76rem !important;
  padding: 0 !important;
  transition: color 0.15s ease !important;
}

.bc-footer-bottom-links button:hover {
  color: #ffffff !important;
}

.bc-footer-dot {
  margin: 0 8px !important;
  color: #3f3f46 !important;
}

/* Remove old footer-panel boxes completely */
.footer-panel {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ==========================================================================
   MOBILE DOCK
   ========================================================================== */

.bc-mobile-dock {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 400px);
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 4px 8px;
  z-index: 99;
  align-items: center;
  justify-content: space-around;
}

.bc-mobile-dock button {
  background: transparent;
  border: none;
  color: #71717a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.bc-mobile-dock button.active,
.bc-mobile-dock button:hover {
  color: #fff;
}

.bc-mobile-dock svg {
  width: 18px;
  height: 18px;
}

.bc-mobile-dock small {
  font-size: 10px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .bc-hero-panel {
    grid-template-columns: 1fr !important;
    padding: 36px 24px !important;
    gap: 32px !important;
  }
  .bc-stats-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .bc-categories { grid-template-columns: repeat(3, 1fr) !important; }
  .bc-featured-grid, #products-grid, #bc-mobile-products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .bc-trust-items { grid-template-columns: repeat(2, 1fr) !important; }
  .bc-footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 768px) {
  .bc-container { width: min(100% - 24px, 1200px) !important; }
  #site-tabs.bc-main-nav { display: none !important; }
  #site-tabs.bc-main-nav.is-open {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    background: #09090b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 10px !important;
    gap: 8px !important;
    z-index: 200 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px) !important;
  }
  #site-tabs.bc-main-nav.is-open button {
    border-radius: 10px !important;
    min-height: 42px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ededed !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    justify-content: center !important;
  }
  #site-tabs.bc-main-nav.is-open button.tab-active {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
  }
  .bc-menu-toggle { display: flex !important; }
  .bc-categories { grid-template-columns: repeat(2, 1fr) !important; }
  .bc-featured-grid, #products-grid, #bc-mobile-products-grid { grid-template-columns: 1fr !important; }
  .bc-proof-row { grid-template-columns: 1fr !important; }
  .bc-stats-strip { grid-template-columns: 1fr !important; }
  .bc-trust-items { grid-template-columns: 1fr !important; }
  .bc-footer-grid { grid-template-columns: 1fr !important; }
  .bc-mobile-dock { display: flex !important; }
  body { padding-bottom: 64px !important; }
}

/* ==========================================================================
   POLISH: ADDITIONAL RESEND COMPONENTS & CLEANUPS
   ========================================================================== */

/* Benefits Strip */
/* Benefits Quick Access Strip — Resend Pill Grid */
.bc-benefits,
.site-benefits,
.benefits-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 0 !important;
  margin: 12px 0 32px !important;
}
.bc-benefits button,
.site-benefits button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 18px !important;
  color: #a1a1a6 !important;
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}
.bc-benefits button:hover,
.site-benefits button:hover {
  background: #0e0e12 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}
.bc-benefit-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
}
.bc-benefit-icon svg {
  width: 16px !important;
  height: 16px !important;
}
@media (max-width: 768px) {
  .bc-benefits,
  .site-benefits,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .bc-benefits button,
  .site-benefits button {
    padding: 12px 14px !important;
    font-size: 0.76rem !important;
  }
}
@media (max-width: 480px) {
  .bc-benefits,
  .site-benefits,
  .benefits-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Bottom CTA Section - Resend Style */
.bc-bottom-cta,
.cta-banner,
.cta-section {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.07), transparent 70%), #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8) !important;
  color: #ffffff !important;
}
.bc-bottom-cta h2,
.bc-bottom-cta h3 {
  color: #ffffff !important;
}
.bc-bottom-cta p {
  color: #a1a1a6 !important;
}

/* Notifications Popover */
.bc-notifications-popover,
#notifications-menu,
.notifications-dropdown {
  background: #09090b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9) !important;
  color: #ededed !important;
  backdrop-filter: blur(20px) !important;
}
.bc-notifications-popover header,
.bc-notifications-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}
.bc-notification-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #ededed !important;
}
.bc-notification-item:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Reviews & Proof Cards */
.bc-review-list,
.bc-proof-card,
.review-card,
.bc-review-card {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  color: #ededed !important;
}
.bc-review-card h4,
.review-card .author {
  color: #ffffff !important;
}
.bc-review-card p,
.review-card .comment {
  color: #a1a1a6 !important;
}

/* TetraPay Resend Checkout Theme */
#bc-tetrapay-notice {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: #0d0d10 !important;
  color: #ededed !important;
  border-radius: 12px !important;
}
#bc-tetrapay-notice.is-error {
  border-color: rgba(239, 68, 68, 0.4) !important;
  background: rgba(239, 68, 68, 0.08) !important;
  color: #fca5a5 !important;
}
.bc-tetrapay-result {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9) !important;
  color: #ededed !important;
}
.bc-tetrapay-start {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  transition: all 0.18s ease !important;
}
.bc-tetrapay-start:hover {
  background: #f0f0f0 !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25) !important;
}

/* Mobile Catalog & Cards */
.bc-catalog-tabs {
  background: rgba(8, 8, 10, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) !important;
  border-radius: 14px !important;
}
.bc-catalog-tab {
  color: #a1a1a6 !important;
  border-radius: 10px !important;
}
.bc-catalog-tab.is-active,
.bc-catalog-tab:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}
.bc-mobile-card {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  color: #ededed !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.bc-mobile-card:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8) !important;
}
.bc-mobile-card-heading {
  color: #ffffff !important;
}
.bc-mobile-pill {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ededed !important;
}

/* Section Heading Overrides */
#section-mygames h2,
#section-payments h2,
#section-products h2,
#section-loader h2,
#section-rules h2,
#section-support h2,
#section-auth h2 {
  color: #ffffff !important;
}
