:root {
  --bg: #020204;
  --bg-2: #08080c;
  --surface: rgba(10, 12, 28, 0.9);
  --surface-2: rgba(14, 18, 42, 0.88);
  --surface-glass: rgba(10, 14, 36, 0.58);
  --surface-card: rgba(8, 10, 26, 0.94);
  --surface-card-hover: rgba(12, 15, 34, 0.96);
  --text: #ebebed;
  --text-secondary: #c8c8d0;
  --dim: #7d8590;
  --text-gradient-start: #f4f4f6;
  --text-gradient-mid: #b8b8c2;
  --text-gradient-end: #8a8a96;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  --line-3: rgba(255, 255, 255, 0.16);
  --accent: #00b4ff;
  --accent-2: #0090d0;
  --accent-soft: rgba(0, 180, 255, 0.06);
  --danger: #ff4d6a;
  --danger-soft: rgba(255, 77, 106, 0.07);
  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.07);
  --paypal: #0070ba;
  --paypal-hover: #003087;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 36px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 50px rgba(0, 100, 200, 0.05);
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  animation: page-in 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(0, 80, 180, 0.04) 0%, transparent 60%);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

main {
  flex: 1;
}

.shell {
  width: min(1680px, 94%);
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════ Focus ═══════════════════════════════ */

.nav-links a:focus-visible,
.btn:focus-visible,
.tab-btn:focus-visible,
.mobile-menu-btn:focus-visible,
.mobile-nav a:focus-visible,
.mobile-nav-close:focus-visible,
.cart-clear-btn:focus-visible,
.cart-btn:focus-visible,
.discord-btn:focus-visible,
.input-ig-id:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.2);
  outline-offset: 3px;
}

/* ═══════════════════════════════ Header ═══════════════════════════════ */

.header {
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 28px;
  background: var(--surface-glass);
  backdrop-filter: blur(32px) saturate(1.6);
  -webkit-backdrop-filter: blur(32px) saturate(1.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}

.header-inner::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  border-radius: 1px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: opacity var(--transition-fast);
}

.brand:hover {
  opacity: 0.85;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: clamp(0.82rem, 2.2vw, 0.98rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
}

.brand-text small {
  color: var(--dim);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.nav-links a {
  padding: 7px 18px;
  border-radius: var(--radius-xs);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--dim);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 1px;
  transition: width var(--transition), left var(--transition);
}

.nav-links a.active::after {
  width: 50%;
  left: 25%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.discord-btn {
  color: var(--dim);
  transition: color var(--transition-fast);
}

.discord-btn:hover {
  color: #ffffff;
}

.cart-btn {
  position: relative;
}

.cart-btn svg {
  width: 17px;
  height: 17px;
}

.cart-pill {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════ Buttons ═══════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(180deg, rgba(32, 38, 56, 0.95), rgba(18, 22, 34, 0.98));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(40, 48, 68, 0.98), rgba(24, 30, 46, 0.99));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-primary:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-2);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
}

.btn-danger {
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid rgba(255, 77, 106, 0.15);
}

.btn-danger:hover {
  background: rgba(255, 77, 106, 0.13);
  border-color: rgba(255, 77, 106, 0.25);
}

.btn-paypal {
  background: linear-gradient(180deg, #0070ba, #003087);
  border-color: rgba(0, 48, 135, 0.4);
  box-shadow:
    0 4px 20px rgba(0, 48, 135, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  padding: 14px 22px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
}

.btn-paypal:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #008fd6, #004ead);
  box-shadow:
    0 10px 34px rgba(0, 48, 135, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-paypal:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

/* ═══════════════════════════════ Cards ═══════════════════════════════ */

.card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  border-radius: 1px;
}

.card:hover {
  border-color: var(--line-2);
}

.card-glow:hover {
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--line-2);
  background: var(--surface-card-hover);
}

/* ═══════════════════════════════ Hero (accueil) ═══════════════════════════════ */

.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  border: 1px solid rgba(52, 211, 153, 0.12);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--success);
  background: var(--success-soft);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero-title .highlight {
  background: linear-gradient(
    135deg,
    var(--text-gradient-start),
    var(--text-gradient-mid),
    var(--text-gradient-end)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-desc {
  color: var(--dim);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 36px;
  letter-spacing: 0.005em;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-buttons .btn {
  padding: 14px 30px;
  font-size: 0.94rem;
  border-radius: var(--radius-sm);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 30rem;
  position: relative;
  z-index: 1;
}

.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 14px 14px 14px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  text-align: left;
  transition: all var(--transition);
}

.hero-stat:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-2px);
}

.hero-stat-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  transition: all var(--transition);
}

.hero-stat:hover .hero-stat-icon {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.045);
}

.hero-stat-icon svg {
  width: 20px;
  height: 20px;
}

.hero-stat-body {
  min-width: 0;
  flex: 1;
}

.hero-stat-body strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.hero-stat-body span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.66rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  line-height: 1.3;
}

.hero-showcase {
  position: relative;
}

.showcase-inner {
  text-align: center;
  padding: 10px 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  transition: opacity var(--transition);
}

.showcase-inner:hover {
  opacity: 0.95;
}

.showcase-logo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  animation: float-logo 6s ease-in-out infinite;
  margin-bottom: 28px;
  filter: drop-shadow(0 16px 40px rgba(0, 60, 140, 0.1));
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.showcase-inner h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.showcase-inner p {
  color: var(--dim);
  font-size: 0.88rem;
}

/* ═══════════════════════════════ Section divider ═══════════════════════════════ */

.section-divider {
  width: 100%;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.06) 50%, transparent 95%);
  margin: 0;
}

/* ═══════════════════════════════ Features (accueil) ═══════════════════════════════ */

.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.02), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.feature:hover::after {
  opacity: 1;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--dim);
  transition: all var(--transition);
}

.feature:hover .feature-icon {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line-2);
  transform: scale(1.04);
  color: var(--text-secondary);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--dim);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ═══════════════════════════════ CTA banner ═══════════════════════════════ */

.cta-banner {
  padding: 56px 44px;
  text-align: center;
  margin-bottom: 70px;
  background: var(--surface-card);
  border-color: var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.015), transparent 65%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 1.9rem;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text), var(--dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: var(--dim);
  margin-bottom: 28px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════ Page header ═══════════════════════════════ */

.page-header {
  padding: 68px 0 42px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  background: linear-gradient(
    135deg,
    var(--text),
    var(--text-gradient-mid),
    var(--dim)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
}

.page-header p {
  color: var(--dim);
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ═══════════════════════════════ Store layout ═══════════════════════════════ */

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
  padding-bottom: 70px;
}

.store-main {
  padding: 28px;
  backdrop-filter: blur(10px);
}

.store-head {
  margin-bottom: 22px;
}

.store-head h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text), var(--dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.store-head p {
  color: var(--dim);
  font-size: 0.88rem;
}

/* ═══════════════════════════════ Tabs ═══════════════════════════════ */

.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.tab-btn {
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--dim);
  font-weight: 500;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.005em;
}

.tab-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
  border-color: var(--line-2);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-weight: 600;
}

/* ═══════════════════════════════ Product grid ═══════════════════════════════ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 14px;
}

.product-grid-vehicles {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-brand-group {
  margin: 0;
}

.product-brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-brand-title::before {
  content: "";
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
}

.product-brand-group .product-grid {
  margin: 0;
}

/* ═══════════════════════════════ Product card ═══════════════════════════════ */

.product-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.015), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--line-2);
  background: var(--surface-card-hover);
}

.product-card .product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: var(--dim);
}

.product-card .product-image {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  padding: 14px;
  transition: transform var(--transition-slow), border-color var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.05);
  border-color: var(--line-2);
}

.product-card .coins-image {
  mix-blend-mode: screen;
  filter: contrast(1.06) saturate(1.06);
}

.product-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-card--vehicle h3,
.product-card--caisse h3,
.product-card--creation h3 {
  margin-bottom: 14px;
  flex: 1;
}

.product-meta {
  color: var(--dim);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 16px;
  line-height: 1.55;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--text-gradient-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.product-card .btn-primary {
  transition: all var(--transition);
}

.product-card:hover .btn-primary {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ═══════════════════════════════ Cart panel ═══════════════════════════════ */

.cart-panel {
  padding: 24px;
  position: sticky;
  top: 90px;
  backdrop-filter: blur(14px);
}

.cart-ig-block {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-ig-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.cart-ig-hint {
  font-size: 0.76rem;
  color: var(--dim);
  line-height: 1.5;
  margin-bottom: 10px;
}

.input-ig-id {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  transition: all var(--transition);
}

.input-ig-id:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.04);
}

.input-ig-id::placeholder {
  color: rgba(156, 163, 175, 0.45);
}

.input-ig-id:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.035);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.cart-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cart-badge {
  background: rgba(255, 255, 255, 0.05);
  color: var(--dim);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.cart-items {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  max-height: 340px;
  overflow-y: auto;
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.cart-row:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.035);
}

.cart-row strong {
  font-size: 0.86rem;
  line-height: 1.3;
  font-weight: 600;
}

.cart-row small {
  color: var(--dim);
  font-size: 0.76rem;
  display: block;
  margin-top: 1px;
}

.cart-empty {
  text-align: center;
  padding: 36px 0;
  color: var(--dim);
  font-size: 0.88rem;
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.cart-pay-hint {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-pay-hint ol {
  margin: 0;
  padding-left: 18px;
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.6;
}

.cart-pay-hint li {
  margin-bottom: 4px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--dim);
}

.cart-total strong {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--text-gradient-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════ Mandatory block ═══════════════════════════════ */

.mandatory-block {
  background: var(--danger-soft);
  border: 1px solid rgba(255, 77, 106, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.mandatory {
  color: var(--danger);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mandatory-block span:not(.mandatory) {
  color: rgba(232, 232, 234, 0.88);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ═══════════════════════════════ Confirmation page ═══════════════════════════════ */

.confirm-card {
  padding: 30px;
}

.confirm-summary {
  display: grid;
  gap: 0;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 0;
}

.confirm-row:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.confirm-row-label {
  color: var(--dim);
  font-size: 0.88rem;
}

.confirm-row-value {
  font-size: 1.02rem;
  font-weight: 700;
}

.confirm-items-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.confirm-items-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.confirm-items-list {
  display: grid;
  gap: 6px;
}

.confirm-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  transition: all var(--transition-fast);
}

.confirm-item:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}

.confirm-item-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.confirm-item-id {
  display: block;
  color: var(--dim);
  font-size: 0.76rem;
  margin-top: 2px;
}

.confirm-item-price {
  font-weight: 800;
  white-space: nowrap;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.confirm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ═══════════════════════════════ Rules (règlement) ═══════════════════════════════ */

.rules-section {
  padding: 0 0 70px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rules-group {
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.rules-group:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.rules-group h3 {
  font-size: 1.08rem;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.rules-group ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.rules-group li {
  color: var(--dim);
  font-size: 0.88rem;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.rules-group li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dim);
  opacity: 0.5;
  position: absolute;
  left: 0;
  top: 0.6rem;
}

.contact-block {
  padding: 44px;
  margin-top: 24px;
  text-align: center;
  background: var(--surface-card);
  border-color: var(--line);
}

.contact-block h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text), var(--dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-block p {
  color: var(--dim);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-block a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.15);
  text-underline-offset: 3px;
}

.contact-block a:hover {
  color: var(--text);
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════ Footer ═══════════════════════════════ */

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 20px;
  margin-top: auto;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
}

.footer-brand-text strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 600;
}

.footer-brand-text small {
  color: var(--dim);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.footer-center {
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 14px;
  margin-bottom: 6px;
  justify-content: center;
}

.footer-links a {
  color: var(--dim);
  font-size: 0.78rem;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--dim);
  font-size: 0.68rem;
  line-height: 1.35;
  opacity: 0.7;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-discord {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-size: 0.78rem;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.footer-discord:hover {
  color: var(--text);
}

.footer-discord svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════ Mobile menu ═══════════════════════════════ */

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 2, 4, 0.98);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  color: var(--dim);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
}

/* ═══════════════════════════════ Animations ═══════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: rgba(8, 12, 30, 0.92);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 500;
  animation: toast-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), toast-out 0.3s 2s ease-in forwards;
}

.toast svg {
  width: 17px;
  height: 17px;
  color: var(--success);
  flex-shrink: 0;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-8px) scale(0.96); }
}

@keyframes pill-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.cart-pill.bounce {
  animation: pill-bounce 0.4s var(--transition-spring);
}

.product-grid.fade-enter,
.product-grid-vehicles.fade-enter {
  animation: grid-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes grid-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-pay-pulse {
  animation: pay-pulse 3.5s infinite;
}

@keyframes pay-pulse {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(0, 48, 135, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow:
      0 6px 30px rgba(0, 48, 135, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 0 0 1px rgba(0, 112, 186, 0.12);
  }
}

/* ═══════════════════════════════ Clear cart ═══════════════════════════════ */

.cart-clear-btn {
  background: none;
  border: none;
  color: var(--dim);
  font-size: 0.76rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.cart-clear-btn:hover {
  color: var(--danger);
  background: var(--danger-soft);
}

/* ═══════════════════════════════ Custom scrollbar ═══════════════════════════════ */

.cart-items::-webkit-scrollbar {
  width: 4px;
}

.cart-items::-webkit-scrollbar-track {
  background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════ Responsive ═══════════════════════════════ */

@media (max-width: 1080px) {
  .store-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .shell {
    width: 92%;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section {
    min-height: auto;
    padding: 44px 0;
  }

  .page-header {
    padding: 44px 0 30px;
  }

  .page-header h1 {
    font-size: 1.9rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-right {
    justify-content: center;
  }

  .toast-container {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .store-main {
    padding: 16px;
  }

  .cart-panel {
    padding: 16px;
  }

  .confirm-card {
    padding: 18px;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .rules-group {
    padding: 22px 24px;
  }

  .contact-block {
    padding: 32px 24px;
  }
}
