/* ═══════════════════════════════════════════════════════════
   INFARCTED — Shop / Storefront theme
   Inspired by Kernaim / MoneyMotion style stores
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --shop-bg: #1c1f2a;
  --shop-surface: #242836;
  --shop-surface-2: #2c3142;
  --shop-border: rgba(255, 255, 255, 0.1);
  --shop-border-hover: rgba(91, 147, 255, 0.45);
  --shop-text: #f4f6fb;
  --shop-muted: #a0a8ba;
  --shop-blue: #4d8dff;
  --shop-blue-bright: #6ba0ff;
  --shop-green: #34d399;
  --shop-amber: #f59e0b;
  --shop-radius: 18px;
  --shop-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --primary-gradient: linear-gradient(135deg, #4d8dff 0%, #3b7cf5 100%);
  --secondary-gradient: linear-gradient(135deg, #6ba0ff 0%, #4d8dff 100%);
  --accent-gradient: linear-gradient(135deg, #4d8dff 0%, #7dd3fc 100%);
  --card-gradient: linear-gradient(180deg, #2a2f40 0%, #242836 100%);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: var(--shop-border);
  --text-primary: var(--shop-text);
  --text-secondary: var(--shop-muted);
  --text-accent: var(--shop-blue-bright);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0 !important;
  font-family: 'Outfit', 'Space Grotesk', sans-serif !important;
  min-height: 100vh;
  color: var(--shop-text);
  overflow-x: hidden;
  background: #1c1f2a !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(ellipse 85% 50% at 50% -8%, rgba(77, 141, 255, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 15%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #222633 0%, #1c1f2a 40%, #191c27 100%) !important;
  background-size: 64px 64px, 64px 64px, auto, auto, auto !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat !important;
  background-attachment: fixed !important;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  display: none !important;
}

::selection {
  background: rgba(59, 124, 245, 0.35);
  color: #fff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb {
  background: rgba(59, 124, 245, 0.35);
  border-radius: 99px;
}

h1, h2, h3, h4,
.section-title h2,
.stats-title,
.shop-title h1,
.about-text h2,
.hero-text h1,
.logo {
  font-family: 'Outfit', 'Space Grotesk', sans-serif !important;
  letter-spacing: -0.02em;
}

/* ── Storefront hero ── */
.store-hero {
  position: relative;
  padding: 140px 24px 72px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

/* Hide leftover wave markup if present */
.mm-hero-bg { display: none !important; }

.store-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shop-green);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.12);
}

.store-hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shop-green);
  box-shadow: 0 0 10px var(--shop-green);
  animation: shopPulse 1.6s ease-in-out infinite;
}

@keyframes shopPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.25); }
}

.store-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  margin: 0 0 1.25rem !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

.store-hero h1 .accent {
  background: linear-gradient(135deg, #5b93ff, #3b7cf5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-hero h1::after { display: none !important; }

.store-hero p {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--shop-muted);
}

.store-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.store-hero-ctas a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s var(--shop-ease), box-shadow 0.3s var(--shop-ease), background 0.3s ease;
}

.store-cta-primary {
  background: var(--shop-blue) !important;
  color: #fff !important;
  box-shadow: 0 12px 36px rgba(59, 124, 245, 0.4);
}

.store-cta-primary:hover {
  background: var(--shop-blue-bright) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(59, 124, 245, 0.5);
}

.store-cta-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  border: 1px solid var(--shop-border);
}

.store-cta-secondary:hover {
  background: rgba(59, 124, 245, 0.12) !important;
  border-color: rgba(59, 124, 245, 0.35);
  transform: translateY(-2px);
}

.store-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  color: var(--shop-muted);
  font-size: 0.88rem;
}

.store-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.store-trust i { color: var(--shop-blue-bright); }

/* Hide old launcher chrome if present */
.launcher-shell,
.ln-quick-actions { display: none !important; }

.particles { opacity: 0.12; pointer-events: none; }

/* ── Buttons ── */
.btn-shop,
.btn-buy-direct,
.btn-primary,
.buy-button,
.checkout-btn,
.submit-btn,
.feat-cta,
.btn-show-details,
.purchase-btn {
  background: var(--shop-blue) !important;
  background-image: none !important;
  border: none !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 28px rgba(77, 141, 255, 0.32) !important;
  transition: transform 0.3s var(--shop-ease), box-shadow 0.3s var(--shop-ease), background 0.3s ease !important;
}

.btn-shop:hover,
.btn-buy-direct:hover,
.btn-primary:hover,
.buy-button:hover,
.btn-show-details:hover,
.purchase-btn:hover,
.feat-cta:hover {
  background: var(--shop-blue-bright) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 36px rgba(77, 141, 255, 0.42) !important;
}

.btn-status,
.btn-secondary,
.btn-xbox {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--shop-border) !important;
  border-radius: 14px !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-status:hover,
.btn-secondary:hover,
.btn-xbox:hover {
  background: rgba(77, 141, 255, 0.14) !important;
  border-color: rgba(77, 141, 255, 0.35) !important;
  transform: translateY(-2px) !important;
}

.btn-shop::before,
.btn-status::before { display: none !important; }

/* Shop CTA in navbar should stand out */
.header-buttons .btn-secondary {
  background: var(--shop-blue) !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(77, 141, 255, 0.32) !important;
}

.header-buttons .btn-secondary:hover {
  background: var(--shop-blue-bright) !important;
}

.header-buttons .btn-primary {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--shop-border) !important;
  box-shadow: none !important;
}

/* ── Product / sale cards ── */
.top-sale-card,
.product-card,
.counter,
.card,
.about-card,
.status-card,
.review-card,
.video-card,
.game-card,
.contact-card,
.featured-banner {
  background: linear-gradient(180deg, #2a2f40 0%, #242836 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--shop-radius) !important;
  backdrop-filter: none !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 32px rgba(0, 0, 0, 0.18) !important;
  transition:
    transform 0.35s var(--shop-ease),
    border-color 0.35s var(--shop-ease),
    box-shadow 0.35s var(--shop-ease) !important;
}

.top-sale-card:hover,
.product-card:hover,
.counter:hover,
.card:hover,
.video-card:hover,
.game-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--shop-border-hover) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(77, 141, 255, 0.12) !important;
}

.benefits .card::before {
  background: var(--shop-blue);
}

.section-title h2,
.stats-title {
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}

.section-divider {
  background: var(--shop-blue) !important;
  width: 48px !important;
  height: 3px !important;
  border-radius: 99px !important;
}

.section-title i { display: none !important; }

.hero-text h1 {
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}

.hero-text h1::after { display: none !important; }

.hero-text .highlight,
.about-text .highlight {
  background: linear-gradient(135deg, #5b93ff, #3b7cf5) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Why / benefits — store style */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.why-item {
  padding: 1.5rem 1.35rem;
  background: linear-gradient(180deg, #2a2f40 0%, #242836 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--shop-radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition: transform 0.35s var(--shop-ease), border-color 0.35s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 124, 245, 0.3);
}

.why-item i {
  font-size: 1.35rem;
  color: var(--shop-blue-bright);
  margin-bottom: 0.85rem;
  display: block;
}

.why-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.why-item p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .store-hero { padding: 120px 16px 48px; }
}

/* Inputs */
input, textarea, select, .form-input, .form-control {
  background: #1e2230 !important;
  border: 1px solid var(--shop-border) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
}

input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: var(--shop-blue) !important;
  box-shadow: 0 0 0 3px rgba(59, 124, 245, 0.15) !important;
}

.filter-btn.active,
.tab-btn.active {
  background: var(--shop-blue) !important;
  color: #fff !important;
  border-color: var(--shop-blue) !important;
}

.footer {
  background: rgba(24, 27, 38, 0.92) !important;
  border-top: 1px solid var(--shop-border) !important;
}

.footer-brand h3 {
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}

.social-links a {
  background: var(--shop-surface-2) !important;
  border: 1px solid var(--shop-border) !important;
  border-radius: 12px !important;
}

.social-links a:hover {
  background: var(--shop-blue) !important;
  border-color: var(--shop-blue) !important;
}

.chat-toggle {
  background: var(--shop-blue) !important;
  box-shadow: 0 10px 28px rgba(59, 124, 245, 0.4) !important;
}

.chat-window {
  background: #242836 !important;
  border: 1px solid var(--shop-border) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s var(--shop-ease), transform 0.45s var(--shop-ease);
}

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

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

.page-enter { animation: lnFadeUp 0.55s var(--shop-ease) both; }

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