/* NewVice Tebex — inspiré boutique.dynastyrp.fr */
:root {
  --nv-accent: #9a36e8;
  --nv-accent-hover: #b855f5;
  --nv-bg: #101010;
  --nv-bg-panel: rgba(255, 255, 255, 0.06);
  --nv-bg-store: #0d0d0d;
  --nv-text: #ffffff;
  --nv-text-muted: #a7a4a4;
  --nv-text-nav: #cbcaca;
  --nv-border: rgba(255, 255, 255, 0.12);
  --nv-radius: 6px;
  --nv-header-h: 72px;
  --font-display: "Inter", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--nv-text);
  background: var(--nv-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.5) 0%, rgba(16, 16, 16, 0.94) 50%, #101010 100%),
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(40, 20, 60, 0.5), transparent 55%),
    #0a0a0a;
}

/* Optionnel : décommente si tu ajoutes assets/bg-city.webp */
/*
body::before {
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.55) 0%, rgba(16, 16, 16, 0.92) 50%, #101010 100%),
    url("../assets/bg-city.webp") center top / cover no-repeat;
}
*/

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(154, 54, 232, 0.15), transparent 65%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1280px, 100% - 2.5rem);
  margin: 0 auto;
}

/* ─── Header (jhn-header style) ─── */
.nv-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.nv-header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--nv-header-h);
  padding: 0 clamp(0.75rem, 2vw, 1.75rem);
}

.nv-header-bar-left {
  flex-shrink: 0;
}

.nv-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nv-brand__logo {
  height: 46px;
  width: auto;
  max-width: min(210px, 46vw);
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(154, 54, 232, 0.55));
  transition: transform 0.2s, filter 0.2s;
}

.nv-brand:hover .nv-brand__logo {
  transform: scale(1.03);
  filter: drop-shadow(0 0 26px rgba(154, 54, 232, 0.8));
}

@media (min-width: 1100px) {
  .nv-brand__logo {
    height: 52px;
    max-width: 230px;
  }
}

.nv-header-bar-cent {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nv-nav {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nv-nav li {
  display: flex;
  align-items: stretch;
}

.nv-nav li.is-active {
  box-shadow: inset 0 3px 0 var(--nv-accent);
}

.nv-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nv-text-nav);
  transition: color 0.2s, background 0.2s;
}

.nv-nav a:hover,
.nv-nav li.is-active a {
  color: #e1e1e1;
}

.nv-nav li.is-active a {
  background: transparent;
  color: #fff;
}

.nv-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 0.72rem;
  color: #fff;
  background: linear-gradient(145deg, #b855f5 0%, var(--nv-accent) 100%);
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(154, 54, 232, 0.45);
}

.nv-header-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 10px 14px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border: 0.8px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nv-btn:hover {
  transform: translateY(-1px);
}

/* ─── Panier header ─── */
.nv-cart {
  position: relative;
}

.nv-cart__trigger {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.09);
  border: 0.8px solid var(--nv-border);
  color: #fff;
  font-size: 1.05rem;
}

.nv-cart__trigger:hover,
.nv-cart--open .nv-cart__trigger {
  background: rgba(154, 54, 232, 0.28);
  border-color: var(--nv-accent);
}

.nv-cart__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--nv-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(154, 54, 232, 0.55);
}

.nv-cart__badge.is-hidden {
  display: none;
}

.nv-cart__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 2rem));
  max-height: min(420px, 70vh);
  display: flex;
  flex-direction: column;
  background: rgba(14, 14, 18, 0.98);
  border: 1px solid rgba(154, 54, 232, 0.35);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
  z-index: 500;
  overflow: hidden;
}

.nv-cart:hover .nv-cart__panel,
.nv-cart:focus-within .nv-cart__panel,
.nv-cart--open .nv-cart__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nv-cart__head {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nv-cart__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.nv-cart__title i {
  color: var(--nv-accent);
}

.nv-cart__empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--nv-text-muted);
  font-size: 0.9rem;
}

.nv-cart__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  overflow-y: auto;
  flex: 1 1 auto;
}

.nv-cart__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nv-cart__item:last-child {
  border-bottom: none;
}

.nv-cart__item-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.nv-cart__item-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--nv-text-muted);
}

.nv-cart__item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nv-cart__item-total {
  font-size: 0.88rem;
  color: var(--nv-accent-hover);
  white-space: nowrap;
}

.nv-cart__remove {
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.nv-cart__remove:hover {
  background: rgba(220, 60, 60, 0.35);
  color: #fff;
}

.nv-cart__footer {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(154, 54, 232, 0.25);
  background: rgba(154, 54, 232, 0.06);
}

.nv-cart__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #cfcfcf;
}

.nv-cart__total-row strong {
  font-size: 1.1rem;
  color: #fff;
}

.nv-cart__checkout {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
}

.nv-cart--pulse .nv-cart__trigger {
  animation: nv-cart-pulse 0.45s ease;
}

@keyframes nv-cart-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.nv-btn--cart-added {
  background: rgba(154, 54, 232, 0.35) !important;
  border-color: var(--nv-accent) !important;
}

.nv-btn--discord {
  position: relative;
  z-index: 12;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--nv-border);
  color: #fff;
  font-size: 1.1rem;
  pointer-events: auto;
  flex-shrink: 0;
}

.nv-btn--discord:hover {
  background: #5865f2;
  border-color: #5865f2;
}

.nv-btn--login {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--nv-border);
  color: rgba(255, 255, 255, 0.73);
}

.nv-btn--logged {
  max-width: min(200px, 38vw);
  text-decoration: none;
}

.nv-btn--logged [data-nv-player-name] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}

.nv-btn--primary {
  background: var(--nv-accent);
  border-color: var(--nv-accent);
  color: #fff;
  font-weight: 700;
}

.nv-btn--primary:hover {
  background: var(--nv-accent-hover);
  border-color: var(--nv-accent-hover);
}

.nv-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.nv-btn--discord-cta {
  background: #4da8f7;
  border-color: #4da8f7;
  color: #fff;
}

.nv-btn--cart {
  width: 100%;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--nv-border);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.nv-btn--cart:hover {
  background: rgba(154, 54, 232, 0.25);
  border-color: var(--nv-accent);
}

/* ─── Accueil Dynasty (fond ville + collage intégré) ─── */
body.nv-page-home::before,
body.nv-page-home::after {
  display: none;
}

body.nv-page-home {
  overflow-x: hidden;
  background: #0a0a0a;
}

.nv-home-top {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.nv-home-top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/hero-bg-city.jpg") no-repeat center;
  background-size: cover;
}

.nv-home-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  z-index: 2;
  background: linear-gradient(277.35deg, #aa5eeb -2.2%, var(--nv-accent) 100%);
  pointer-events: none;
}

.nv-home-top > .nv-header,
.nv-home-top > .nv-hero {
  position: relative;
  z-index: 1;
}

body.nv-page-home .nv-header {
  position: relative;
  background: rgba(8, 8, 8, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.nv-hero--home {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.nv-hero-mid {
  margin-top: clamp(2rem, 5vw, 6rem);
  padding-bottom: 2.5rem;
}

.nv-hero-mid__grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.nv-hero-intro {
  position: relative;
  z-index: 1;
  flex: 0 1 42%;
  max-width: 700px;
  margin-top: -3rem;
}

.nv-hero-intro-tit {
  position: relative;
  margin-bottom: 1.25rem;
}

.nv-hero-intro-tit span {
  position: relative;
  z-index: 2;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.nv-hero-intro-tit-abs {
  position: absolute;
  top: -0.65em;
  left: 0;
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.625rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(rgb(154, 54, 232) 7%, rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: rgba(154, 54, 232, 0.5);
  filter: drop-shadow(3px -4px 6px var(--nv-accent));
  pointer-events: none;
  user-select: none;
}

.nv-hero-intro-text {
  max-width: 620px;
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #d4d4d4;
}

.nv-hero-intro-text strong {
  color: #fff;
  font-weight: 600;
}

.nv-hero-intro-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.nv-hero-intro-btns .nv-btn--primary {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nv-hero-intro-btns .nv-btn--ghost {
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.nv-hero-mid-img {
  position: relative;
  flex: 0 1 55%;
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.nv-hero-mid-img__main {
  position: relative;
  z-index: 1;
  height: min(601px, 58vh);
  width: auto;
  max-width: none;
  margin-left: 12%;
  margin-top: -7%;
  transform: scale(1.15);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.nv-hero-mid-img__ghost {
  position: absolute;
  top: -7rem;
  right: -18%;
  height: min(600px, 56vh);
  width: auto;
  z-index: 0;
  filter: grayscale(1);
  opacity: 0.1;
  transform: scale(1.2);
  pointer-events: none;
}

/* ─── Barre titre catégorie (style Dynasty) ─── */
.nv-cat-bar {
  text-align: center;
  padding: 2.25rem 1rem 1.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(154, 54, 232, 0.22);
  background: linear-gradient(180deg, rgba(154, 54, 232, 0.06) 0%, transparent 100%);
}

.nv-page-category .nv-section {
  padding-top: 0;
}

.nv-page-category main.nv-section {
  padding-top: 0;
}

/* ─── Notre communauté (style Dynasty) ─── */
.nv-community {
  position: relative;
  margin-top: 7rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem) 3rem;
  background: #0a0a0a;
}

.nv-community__grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.nv-community__content {
  flex: 0 1 50%;
  max-width: 560px;
}

.nv-community__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--nv-accent);
}

.nv-community__title {
  margin: 0.75rem 0 1.25rem;
  font-family: "Bungee", var(--font-display), sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.125rem);
  font-weight: 400;
  line-height: 0.95;
  color: #fff;
  text-transform: uppercase;
}

.nv-community__text {
  margin: 0 0 1.25rem;
  max-width: 500px;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.65;
  color: #bababa;
}

.nv-community__btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.nv-community__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 50px;
  padding: 12px 20px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
}

.nv-community__btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.nv-community__btn--discord {
  border: 1px solid #4da8f7;
  background: #4da8f7;
  color: #fff;
}

.nv-community__btn--discord i {
  font-size: 1.25rem;
}

.nv-community__btn--tiktok {
  width: 50px;
  padding: 12px;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
}

.nv-community__btn--tiktok i {
  font-size: 1.35rem;
}

.nv-community__images {
  flex: 0 1 50%;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.nv-community__img {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.nv-community__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.nv-community__img--1 {
  width: 300px;
  margin-top: -100px;
  flex-shrink: 0;
}

.nv-community__img--1 img {
  width: 300px;
  height: 340px;
}

.nv-community__img--2 {
  width: 336px;
  height: 450px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
}

.nv-community__img--2 img {
  width: 336px;
  height: 450px;
  opacity: 0.92;
}

/* ─── Features 4 colonnes ─── */
.nv-features {
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 3rem;
  border-top: 2px solid rgba(154, 54, 232, 0.35);
}

.nv-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.nv-feature {
  text-align: center;
}

.nv-feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 54, 232, 0.45), rgba(154, 54, 232, 0.08));
  box-shadow: 0 0 28px rgba(154, 54, 232, 0.35);
  color: #fff;
  font-size: 1.25rem;
}

.nv-feature h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nv-feature p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #a0a0a0;
}

/* ─── Best sellers / produits ─── */
.nv-section {
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
}

.nv-section--best-sellers {
  padding: 3rem clamp(1rem, 3vw, 2.5rem) 3.5rem;
  background: #0a0a0a;
}

.nv-featured-title {
  position: relative;
  text-align: center;
  margin: 0 0 2.25rem;
  min-height: 7.5rem;
  padding: 1.5rem 1rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  outline: none;
}

.nv-featured-title__ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(3.5rem, 10vw, 6.125rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  color: rgba(90, 90, 90, 0.45);
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 0 28px rgba(154, 54, 232, 0.35));
  transition:
    color 0.4s ease,
    -webkit-text-stroke 0.4s ease,
    filter 0.4s ease,
    opacity 0.4s ease;
}

.nv-featured-title__label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2.1875rem);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transform: translate(-50%, -50%) scale(0.94);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nv-featured-title__label span {
  position: relative;
  display: inline-block;
  color: #fff;
}

.nv-featured-title__label span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.65);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nv-featured-title:hover .nv-featured-title__ghost,
.nv-featured-title:focus-visible .nv-featured-title__ghost {
  color: transparent;
  -webkit-text-stroke: 2px var(--nv-accent);
  filter: drop-shadow(3px -4px 6px var(--nv-accent));
  opacity: 0.55;
}

.nv-featured-title:hover .nv-featured-title__label,
.nv-featured-title:focus-visible .nv-featured-title__label {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nv-featured-title:hover .nv-featured-title__label span::after,
.nv-featured-title:focus-visible .nv-featured-title__label span::after {
  width: 100%;
}

.nv-section-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nv-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nv-category-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.nv-cat-bar .nv-category-name span {
  color: var(--nv-accent);
}

.nv-section > .nv-category-name {
  margin: 0 0 1.75rem;
}

.nv-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.nv-products--best {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.nv-products--best .nv-product__title {
  font-size: 1.35rem;
  padding: 0.35rem 0.75rem 0;
}

.nv-products--best .nv-product__actions {
  padding: 0.25rem 0.85rem 0.85rem;
}

.nv-products--best .nv-btn--cart {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}

.nv-products--best .nv-btn--cart i {
  margin-right: 0.15rem;
}

/* Icônes packs (Perm, Unban, Main Team…) */
.nv-pack-icon {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 2px 8px rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.nv-pack-icon i {
  font-size: 2rem;
  color: #fff;
}

.nv-pack-icon span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
}

.nv-pack-icon--blue {
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 55%, #1e3a8a 100%);
}

.nv-pack-icon--purple {
  background: linear-gradient(145deg, #c084fc 0%, #9333ea 45%, #6b21a8 100%);
}

.nv-pack-icon--violet {
  background: linear-gradient(145deg, #a855f7 0%, #7c3aed 50%, #5b21b6 100%);
}

.nv-pack-icon--yellow {
  background: linear-gradient(145deg, #fde047 0%, #eab308 45%, #a16207 100%);
}

.nv-pack-icon--orange {
  background: linear-gradient(145deg, #fdba74 0%, #f97316 45%, #c2410c 100%);
}

.nv-pack-icon--mainteam {
  gap: 0.15rem;
}

.nv-pack-icon--mainteam .nv-pack-icon__line {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.55);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 -1px 0 rgba(0, 0, 0, 0.35);
}

.nv-pack-icon--mainteam.nv-pack-icon--blue .nv-pack-icon__line {
  color: rgba(15, 40, 90, 0.75);
}

.nv-pack-icon--mainteam.nv-pack-icon--yellow .nv-pack-icon__line {
  color: rgba(60, 45, 0, 0.7);
}

.nv-pack-icon--mainteam.nv-pack-icon--orange .nv-pack-icon__line {
  color: rgba(70, 25, 0, 0.75);
}

/* ─── Catégorie Main Team (hero + texte Dynasty) ─── */
.nv-cat-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(154, 54, 232, 0.2);
}

.nv-cat-hero__bg {
  position: absolute;
  inset: -20px;
  background: url("../assets/mainteam-hero-bg.png") center 12% / cover no-repeat;
  filter: blur(10px) brightness(0.42) saturate(1.1);
  transform: scale(1.08);
  pointer-events: none;
}

.nv-cat-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.88) 55%, #0a0a0a 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.7) 0%, transparent 50%);
  pointer-events: none;
}

.nv-cat-hero__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: calc(var(--nv-header-h) + 2.5rem) clamp(1.25rem, 4vw, 3rem) 2.75rem;
}

.nv-cat-hero__content .nv-category-name {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
}

.nv-cat-hero__content .nv-category-name span {
  color: var(--nv-accent);
}

.nv-cat-hero__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #b8b8b8;
}

.nv-cat-hero__text p {
  margin: 0 0 1rem;
}

.nv-cat-hero__text p:last-child {
  margin-bottom: 0;
}

body.nv-page-mainteam .nv-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  border-bottom: none;
}

body.nv-page-mainteam .nv-header-bar {
  max-width: 100%;
}

.nv-section--mainteam {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  background: #0a0a0a;
}

.nv-products--team {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.nv-product {
  display: flex;
  flex-direction: column;
  background: var(--nv-bg-panel);
  border-radius: var(--nv-radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nv-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.nv-product__image-link {
  display: block;
  padding: 1.25rem 1rem 0.5rem;
}

.nv-product__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.nv-product__media::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      rgba(154, 54, 232, 0.14) 0,
      rgba(154, 54, 232, 0.14) 2px,
      transparent 2px,
      transparent 11px
    );
  opacity: 0.85;
}

/* ─── Pièces 3D (style Dynasty + logo NewVice derrière) ─── */
.nv-coin-stack-mount {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.nv-coin-stack {
  position: relative;
  width: 230px;
  height: 190px;
  z-index: 1;
}

.nv-coin-stack__rings {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      rgba(154, 54, 232, 0.12) 0,
      rgba(154, 54, 232, 0.12) 2px,
      transparent 2px,
      transparent 12px
    );
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.nv-coin-stack__wm {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(168px, 78%);
  z-index: 1;
  pointer-events: none;
}

.nv-coin-stack__wm img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.42;
  filter: drop-shadow(0 0 32px rgba(154, 54, 232, 0.55));
}

.nv-coin-stack__scene {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  perspective: 900px;
  perspective-origin: 50% 36%;
  transform-style: preserve-3d;
}

.nv-coin {
  position: absolute;
  left: 50%;
  width: 114px;
  height: 114px;
  margin-left: -57px;
  transform-style: preserve-3d;
}

.nv-coin__face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 68% 52% at 34% 24%, #c084fc 0%, #9333ea 14%, #7e22ce 32%, #5b21b6 48%, #3b0764 62%, #1a0a28 82%, #0d0614 100%);
  border: 3px solid rgba(216, 180, 254, 0.65);
  box-shadow:
    inset 0 4px 14px rgba(255, 255, 255, 0.35),
    inset 0 -10px 22px rgba(0, 0, 0, 0.55),
    0 16px 36px rgba(0, 0, 0, 0.6),
    0 8px 22px rgba(154, 54, 232, 0.5);
  transform: rotateX(58deg) rotateZ(-5deg);
  transform-style: preserve-3d;
}

.nv-coin__face::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.12),
    inset 0 -4px 10px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.nv-coin__edge {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    #4c1d95,
    #7c3aed,
    #c084fc,
    #6d28d9,
    #3b0764,
    #4c1d95
  );
  z-index: -1;
  transform: translateZ(-6px) rotateX(58deg);
  filter: blur(0.5px);
  opacity: 0.85;
}

.nv-coin__mark {
  position: relative;
  z-index: 2;
  width: 56%;
  height: auto;
  filter:
    drop-shadow(0 0 6px rgba(217, 70, 239, 0.95))
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.5))
    brightness(1.15)
    saturate(1.25);
  pointer-events: none;
}

/* Pile Dynasty : coins éparpillés, devant = plus grand */
.nv-coin--back {
  top: 58px;
  z-index: 1;
  opacity: 0.78;
  transform: translateX(-32px) scale(0.8);
}

.nv-coin--back .nv-coin__face {
  transform: rotateX(60deg) rotateZ(-16deg);
  filter: brightness(0.82) saturate(0.95);
}

.nv-coin--mid {
  top: 38px;
  z-index: 2;
  opacity: 0.9;
  transform: translateX(-18px) scale(0.9);
}

.nv-coin--mid .nv-coin__face {
  transform: rotateX(59deg) rotateZ(-11deg);
}

.nv-coin--front {
  top: 14px;
  z-index: 4;
  transform: translateX(4px) scale(1.02);
}

.nv-coin--front .nv-coin__face {
  transform: rotateX(56deg) rotateZ(-6deg);
}

.nv-coin--extra {
  top: 26px;
  z-index: 3;
  opacity: 0.85;
  transform: translateX(22px) scale(0.86);
}

.nv-coin--extra .nv-coin__face {
  transform: rotateX(57deg) rotateZ(-3deg);
  filter: brightness(0.92);
}

.nv-coin--top {
  top: 2px;
  z-index: 5;
  transform: translateX(12px) scale(1.06);
}

.nv-coin--top .nv-coin__face {
  transform: rotateX(55deg) rotateZ(-4deg);
  filter: brightness(1.05);
}

.nv-coin-stack[data-count="1"] .nv-coin--back,
.nv-coin-stack[data-count="1"] .nv-coin--mid,
.nv-coin-stack[data-count="1"] .nv-coin--extra,
.nv-coin-stack[data-count="1"] .nv-coin--top {
  display: none;
}

.nv-coin-stack[data-count="1"] .nv-coin--front {
  top: 28px;
  left: 50%;
  transform: translateX(-50%) scale(1.05);
}

.nv-coin-stack[data-count="2"] .nv-coin--mid,
.nv-coin-stack[data-count="2"] .nv-coin--extra,
.nv-coin-stack[data-count="2"] .nv-coin--top {
  display: none;
}

.nv-coin-stack[data-count="3"] .nv-coin--extra,
.nv-coin-stack[data-count="3"] .nv-coin--top {
  display: none;
}

.nv-coin-stack[data-count="4"] .nv-coin--top {
  display: none;
}

/* ─── Scroll reveal (AOS / fallback) ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].nv-revealed,
[data-reveal].aos-animate {
  opacity: 1;
  transform: none;
}

[data-reveal="fade-down"] {
  transform: translateY(-32px);
}

[data-reveal="zoom-in"] {
  transform: scale(0.92);
}

[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.nv-product__title {
  margin: 0;
  padding: 0.5rem 1rem 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

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

.nv-product__actions {
  padding: 0.35rem 1rem 1rem;
  margin-top: auto;
  text-align: center;
}

.nv-product__price {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--nv-text-muted);
}

.nv-product__price strong {
  font-weight: 600;
  color: #d4d4d4;
}

/* ─── Bloc texte boutique ─── */
.nv-store-text {
  margin: 2rem clamp(1rem, 3vw, 2.5rem);
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  background: var(--nv-bg-store);
  border-radius: 5px;
  line-height: 1.7;
  color: #b0b0b0;
}

.nv-store-text strong,
.nv-store-text h2 {
  color: #fff;
}

.nv-store-text h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

/* ─── Besoin d'aide (style Dynasty) ─── */
.nv-help-block {
  position: relative;
  margin-top: 5rem;
  z-index: 0;
  background: rgb(11 11 11 / 86%);
}

.nv-help-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: url("../assets/help-bg.png") no-repeat center;
  background-size: cover;
  z-index: 0;
  filter: brightness(0.5);
  opacity: 0.8;
  pointer-events: none;
}

.nv-help-block::after {
  content: "";
  position: absolute;
  inset: 0;
  height: 100%;
  background: linear-gradient(180deg, rgb(11 11 37 / 88%) 0%, #0b0b25 100%);
  z-index: 0;
  pointer-events: none;
}

.nv-help-block .container {
  position: relative;
  z-index: 1;
}

.nv-help {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  max-height: 500px;
  padding: 2rem 1rem;
  text-align: center;
}

.nv-help::after {
  content: "";
  position: absolute;
  top: 108px;
  left: 50%;
  width: 300px;
  height: 300px;
  background: var(--nv-accent);
  filter: blur(90px);
  opacity: 0.3;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.nv-help__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
}

.nv-help__subtitle {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nv-accent);
}

.nv-help__text {
  max-width: 700px;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: #cfcfcf;
}

.nv-help__btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding: 15px 25px;
  border-radius: 5px;
  background: var(--nv-accent);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.nv-help__btn:hover {
  background: var(--nv-accent-hover);
  color: #000;
  transform: translateY(-1px);
}

.nv-help__btn i {
  font-size: 1rem;
}

@media (max-width: 640px) {
  .nv-help-block::before {
    height: 100%;
    min-height: 520px;
  }

  .nv-help {
    min-height: 520px;
    max-height: none;
    padding: 2.5rem 0.75rem;
  }

  .nv-help__text {
    font-size: 0.95rem;
  }
}

/* ─── Footer ─── */
.nv-footer {
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nv-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--nv-text-muted);
}

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

.nv-footer-copy {
  text-align: center;
  font-size: 0.82rem;
  color: #666;
}

/* ─── Page simple ─── */
.nv-page-empty {
  padding: 4rem 1.5rem;
  text-align: center;
  color: #a0a0a0;
}

@media (max-width: 1100px) {
  .nv-products--best {
    grid-template-columns: repeat(2, 1fr);
  }

  .nv-products--team {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nv-community__grid {
    flex-direction: column;
    align-items: stretch;
  }

  .nv-community__content {
    flex: 1 1 auto;
    max-width: none;
  }

  .nv-community__images {
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nv-community__img--1 {
    margin-top: 0;
  }

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

  .nv-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .nv-hero-mid__grid {
    flex-direction: column;
    align-items: stretch;
  }

  .nv-hero-intro {
    flex: 1 1 auto;
    max-width: none;
    margin-top: 0;
  }

  .nv-hero-mid-img {
    width: 100%;
    flex: 1 1 auto;
    min-height: 280px;
  }

  .nv-hero-mid-img__main {
    margin-left: 0;
    margin-top: 0;
    transform: scale(1);
    height: auto;
    max-height: 340px;
    width: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .nv-hero-mid-img__ghost {
    display: none;
  }

  .nv-products--team {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nv-header-bar {
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
  }

  .nv-header-bar-cent {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .nv-nav a {
    padding: 0.65rem 0.75rem;
    font-size: 0.72rem;
  }

  .nv-btn--login span {
    display: none;
  }

  .nv-products,
  .nv-products--best {
    grid-template-columns: 1fr;
  }

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