/* ==========================================================================
   SeyR0x Shop — design system
   Noir & blanc, néon, animé, fluide
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-soft: #08080a;
  --surface: #0c0c0f;
  --surface-2: #121216;
  --line: #1e1e24;
  --line-bright: #34343e;

  --text: #f7f7f8;
  --text-dim: #9b9ba6;
  --text-faint: #5e5e69;

  --radius: 14px;
  --radius-lg: 22px;

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

::selection {
  background: #fff;
  color: #000;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 99px;
  border: 2px solid #000;
}
::-webkit-scrollbar-thumb:hover {
  background: #3c3c48;
}

/* ==========================================================================
   Neige
   ========================================================================== */

.snow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.snow__flake {
  position: absolute;
  top: -10vh;
  border-radius: 50%;
  background: #fff;
  will-change: transform, opacity;
  animation: snowfall linear infinite;
}

@keyframes snowfall {
  0% {
    transform: translate3d(0, -10vh, 0);
    opacity: 0;
  }
  8% {
    opacity: var(--o, 0.7);
  }
  50% {
    transform: translate3d(calc(var(--d, 40px) * 0.45), 52vh, 0);
  }
  92% {
    opacity: calc(var(--o, 0.7) * 0.55);
  }
  100% {
    transform: translate3d(var(--d, 40px), 106vh, 0);
    opacity: 0;
  }
}

/* ==========================================================================
   Bandeau d'annonce
   ========================================================================== */

.announce {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1100px;
  margin: 104px auto 0;
  padding: 30px 34px;
  border-radius: 24px;
  background:
    radial-gradient(140% 190% at 0% 0%, rgba(255, 255, 255, 0.09), transparent 56%),
    radial-gradient(120% 180% at 100% 100%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(180deg, #101014 0%, #08080a 100%);
  box-shadow:
    0 40px 90px -50px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
  animation: fadeUp 0.9s var(--ease-out) both;
}

/* --- bordure néon qui tourne --- */
.announce::before {
  content: '';
  position: absolute;
  inset: -120%;
  z-index: -2;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.85) 42deg,
    transparent 92deg,
    transparent 215deg,
    rgba(255, 255, 255, 0.4) 268deg,
    transparent 320deg,
    transparent 360deg
  );
  animation: spin 7s linear infinite;
  opacity: 0.75;
}

/* --- fond opaque pour cacher la bordure sauf sur les bords --- */
.announce::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 23px;
  background: linear-gradient(180deg, #101014 0%, #08080a 100%);
}

/* --- reflet qui traverse --- */
.announce__shine {
  position: absolute;
  top: -60%;
  left: -45%;
  z-index: 0;
  width: 26%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-16deg);
  animation: sweep 8s var(--ease) infinite;
  pointer-events: none;
}

@keyframes sweep {
  0%,
  72%,
  100% {
    left: -45%;
  }
  38% {
    left: 125%;
  }
}

/* --- icône dans un halo --- */
.announce__ico {
  position: relative;
  z-index: 1;
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);
  animation: iconPulse 3.4s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.22), 0 0 26px -6px rgba(255, 255, 255, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 0 38px -4px rgba(255, 255, 255, 0.55);
    transform: scale(1.04);
  }
}

.announce__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
}

/* --- titre accrocheur --- */
.announce__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.62rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}

.announce__title b {
  font-weight: 700;
  background: linear-gradient(100deg, #fff 0%, #cfcfd6 50%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

/* --- sous-titre --- */
.announce__text {
  font-size: clamp(0.82rem, 1.35vw, 0.97rem);
  line-height: 1.45;
  color: #a9a9b4;
  text-wrap: balance;
}

@media (max-width: 640px) {
  .announce {
    margin: 92px 20px 0;
    padding: 22px 20px;
    gap: 16px;
  }
  .announce__ico {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   Fond : grille + halos + glow qui suit la souris
   ========================================================================== */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  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);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 70% at 50% -5%, #000 0%, rgba(0, 0, 0, 0.45) 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 120% 70% at 50% -5%, #000 0%, rgba(0, 0, 0, 0.45) 35%, transparent 72%);
}

/* profondeur : noir profond + halo tres discret en haut */
.bg-deep {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(255, 255, 255, 0.07), transparent 62%),
    linear-gradient(180deg, #060607 0%, #020203 45%, #000 100%);
}

/* grain + vignette pour casser le noir plat */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 105% 80% at 50% 38%, transparent 38%, rgba(0, 0, 0, 0.92) 100%);
}

.bg-orb {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.32;
  will-change: transform;
  animation: float 20s var(--ease) infinite;
}

.bg-orb--1 {
  width: 580px;
  height: 580px;
  top: -200px;
  left: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
}

.bg-orb--2 {
  width: 520px;
  height: 520px;
  top: 8%;
  right: -180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 65%);
  animation-delay: -8s;
}

/* halo qui suit le curseur */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(70px, 45px, 0) scale(1.12);
  }
  66% {
    transform: translate3d(-45px, 80px, 0) scale(0.94);
  }
}

/* ==========================================================================
   Barre de progression
   ========================================================================== */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  will-change: transform;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), padding 0.4s var(--ease);
  will-change: padding;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(0, 0, 0, 0.86);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav__logo img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.45s var(--ease-out), filter 0.45s;
}

.nav__logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.35));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.nav__links a {
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.4s var(--ease);
}

.nav__links a:hover {
  color: #fff;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.nav__burger span:nth-child(1) {
  top: 15px;
}
.nav__burger span:nth-child(2) {
  top: 20px;
}
.nav__burger span:nth-child(3) {
  top: 25px;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1040px) {
  .nav__links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px clamp(20px, 5vw, 56px) 24px;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease);
  }
  .nav__links.is-open {
    transform: translateY(0);
  }
  .nav__links a {
    padding: 13px 0;
    font-size: 1rem;
  }
  .nav__burger {
    display: block;
  }
  .nav__discord {
    display: none;
  }
}

/* ==========================================================================
   Boutons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease),
    color 0.3s, background 0.3s, border-color 0.3s;
  will-change: transform;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* --- primaire : bordure néon rotative + reflet --- */
.btn--primary {
  color: #fff;
  background: #0a0a0b;
  border-color: #2a2a33;
  isolation: isolate;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: -70%;
  z-index: -2;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    #ffffff 55deg,
    transparent 120deg,
    transparent 250deg,
    rgba(255, 255, 255, 0.5) 295deg,
    transparent 350deg
  );
  animation: spin 4s linear infinite;
  opacity: 0.85;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: #0a0a0b;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 14px 44px -12px rgba(255, 255, 255, 0.42);
}

/* reflet qui traverse au survol */
.btn--shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.btn--shine:hover::before {
  left: 130%;
}

/* --- fantôme --- */
.btn--ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-bright);
}

.btn--ghost:hover {
  color: #fff;
  background: #141418;
  border-color: #4a4a56;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -16px rgba(255, 255, 255, 0.45);
}

/* --- discord : sombre, glow au survol (pas de full blanc) --- */
.btn--discord {
  color: #fff;
  background: #101014;
  border-color: #2c2c36;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.btn--discord:hover {
  color: #fff;
  background: #17171d;
  border-color: #55555f;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 36px -16px rgba(255, 255, 255, 0.5);
}

/* fleche qui glisse au survol */
.btn__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px clamp(20px, 5vw, 56px) 90px;
  will-change: transform;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 13px;
  border: 1px solid var(--line-bright);
  border-radius: 99px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 34px;
  animation: fadeUp 0.9s var(--ease-out) both;
}

.hero__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.75);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 8.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
  animation: fadeUp 1s var(--ease-out) 0.08s both;
  position: relative;
  text-wrap: balance;
}

.hero__title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.8) 45%, transparent 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 180% 0;
  }
  50% {
    background-position: -80% 0;
  }
}

.hero__title span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
  text-shadow: 0 0 44px rgba(255, 255, 255, 0.32);
}

.hero__sub {
  max-width: 620px;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  margin-bottom: 42px;
  animation: fadeUp 1s var(--ease-out) 0.2s both;
  text-wrap: balance;
}

.hero__sub strong {
  color: var(--text);
  font-weight: 500;
}

.hero__rotator {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.hero__rotator-text {
  position: relative;
  display: inline-block;
  min-width: 0;
}

.hero__rotator-text span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.hero__rotator-text span.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  animation: fadeUp 1s var(--ease-out) 0.3s both;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 6vw, 64px);
  justify-content: center;
  margin-top: 74px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  width: min(760px, 100%);
  animation: fadeUp 1s var(--ease-out) 0.4s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero__stat span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

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

/* indicateur de scroll */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: fadeUp 1s var(--ease-out) 0.6s both;
}

.scroll-hint__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, #fff, transparent);
  position: relative;
  overflow: hidden;
}

.scroll-hint__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 56px);
  max-width: 1280px;
  margin: 0 auto;
}

.section__head {
  text-align: center;
  margin-bottom: 58px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 14px;
  text-wrap: balance;
}

.section__desc {
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto;
  text-wrap: pretty;
}

.section__label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

/* ==========================================================================
   Cartes produits
   ========================================================================== */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s var(--ease-out);
  overflow: hidden;
  will-change: transform;
}

/* photo du produit (optionnelle) */
.card__media {
  position: relative;
  margin: -20px -20px 18px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0c;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.2),
    transparent 58%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-7px);
  border-color: var(--line-bright);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.95);
}

.card:hover::before {
  opacity: 1;
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.card__name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  white-space: nowrap;
}

.card__tag {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  padding: 4px 11px;
  border: 1px solid var(--line-bright);
  border-radius: 99px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  overflow: hidden;
  animation: tagGlow 3.2s ease-in-out infinite;
}

/* reflet qui traverse le badge */
.card__tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  animation: tagSweep 3.6s var(--ease) infinite;
  pointer-events: none;
}

@keyframes tagGlow {
  0%,
  100% {
    border-color: var(--line-bright);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    color: var(--text-dim);
  }
  50% {
    border-color: #6c6c7a;
    box-shadow: 0 0 18px -6px rgba(255, 255, 255, 0.55);
    color: #fff;
  }
}

@keyframes tagSweep {
  0%,
  68%,
  100% {
    left: -70%;
  }
  36% {
    left: 130%;
  }
}

.card__price {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.28);
}

/* --- offres (3 achetés 1 offert, etc.) --- */
.card__deals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 18px;
}

.card__deal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 7px 10px;
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  text-align: center;
  transition: border-color 0.35s var(--ease), transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.card:hover .card__deal {
  border-color: #55555f;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -14px rgba(255, 255, 255, 0.4);
}

.card__deal b {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.35);
}

.card__deal em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.card__deal span {
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.2;
  white-space: nowrap;
}

/* --- etapes numerotees (vbucks) --- */
.card__steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 0 0 14px;
  padding: 15px 16px;
  border-radius: 12px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.card:hover .card__steps {
  border-color: #55555f;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.card__steps li {
  counter-increment: step;
  position: relative;
  padding-left: 30px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #d9d9e0;
}

.card__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
}

/* --- carte premium : bordure neon qui tourne --- */
@property --spin {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.card--featured {
  border-color: transparent;
  background:
    linear-gradient(180deg, #101014 0%, #08080a 100%) padding-box,
    conic-gradient(
      from var(--spin),
      transparent 0deg,
      #ffffff 55deg,
      transparent 115deg,
      transparent 245deg,
      rgba(255, 255, 255, 0.55) 300deg,
      transparent 360deg
    )
      border-box;
  animation: featuredSpin 4.5s linear infinite;
  box-shadow: 0 18px 50px -26px rgba(255, 255, 255, 0.35);
}

@keyframes featuredSpin {
  to {
    --spin: 360deg;
  }
}

.card--featured .card__price {
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.6);
}

.card--featured .card__name {
  text-shadow: 0 0 26px rgba(255, 255, 255, 0.45);
}

.card--featured:hover {
  box-shadow: 0 26px 64px -26px rgba(255, 255, 255, 0.55);
}

/* --- onglets de navigation (Accounts / Vbucks) --- */
.gamehead__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gamehead__tabs .btn {
  border-radius: 99px;
  padding: 10px 24px;
  font-size: 0.9rem;
  border-color: transparent;
}

.gamehead__tabs .btn:hover {
  background: #16161c;
  border-color: var(--line-bright);
  color: #fff;
  box-shadow: 0 10px 30px -16px rgba(255, 255, 255, 0.5);
}

/* --- sections collees (comptes / vbucks) --- */
.section--comptes {
  padding-bottom: 24px;
}

.section--vbucks {
  padding-top: 24px;
}

/* --- flow horizontal (comment ca marche) --- */
.flow {
  max-width: 1120px;
  margin: 0 auto 34px;
  text-align: center;
}

.flow__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.flow__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 20px;
}

.flow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: left;
}

.flow__step {
  position: relative;
  padding: 18px 16px 20px;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.flow__step:hover {
  border-color: #55555f;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px rgba(255, 255, 255, 0.4);
}

/* fleche entre les etapes */
.flow__step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -13px;
  transform: translateY(-50%);
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0c0c10;
  border: 1px solid var(--line-bright);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
}

.flow__step b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 0 20px -6px rgba(255, 255, 255, 0.8);
}

.flow__step p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d0d0d8;
}

@media (max-width: 900px) {
  .flow__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow__step:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .flow__steps {
    grid-template-columns: 1fr;
  }
  .flow__step::after {
    display: none !important;
  }
}

/* --- sections collees (catalogue / paiement) --- */
.section--catalogue {
  padding-bottom: 26px;
}

.section--paiement {
  padding-top: 26px;
}

/* ==========================================================================
   Section "Comment payer"
   ========================================================================== */

.paygrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.paycard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 26px 28px;
  border-radius: 20px;
  border: 1px solid var(--line-bright);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s var(--ease-out);
}

/* --- actif : bordure qui pulse --- */
.paycard--on {
  border-color: #4a4a58;
  box-shadow: 0 20px 60px -34px rgba(255, 255, 255, 0.45);
  animation: payGlow 3.6s ease-in-out infinite;
}

.paycard--on:hover {
  transform: translateY(-5px);
  border-color: #6c6c7a;
  box-shadow: 0 28px 70px -30px rgba(255, 255, 255, 0.55);
}

@keyframes payGlow {
  0%,
  100% {
    box-shadow: 0 20px 60px -34px rgba(255, 255, 255, 0.35);
  }
  50% {
    box-shadow: 0 20px 70px -28px rgba(255, 255, 255, 0.6);
  }
}

/* --- bientot : attenue, pointilles --- */
.paycard--soon {
  border-style: dashed;
  border-color: #2a2a33;
  background: rgba(255, 255, 255, 0.012);
  opacity: 0.62;
}

.paycard--soon:hover {
  opacity: 0.85;
  border-color: var(--line-bright);
}

.paycard__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 13px;
  border-radius: 99px;
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.paycard--on .paycard__badge {
  border-color: #6c6c7a;
  background: #fff;
  color: #000;
  box-shadow: 0 0 24px -8px rgba(255, 255, 255, 0.9);
  animation: pulse 2.8s ease-in-out infinite;
}

.paycard h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.paycard p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #b6b6c0;
  margin-bottom: 14px;
}

.paycard__warn {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #d0d0d8 !important;
  font-size: 0.88rem !important;
}

.paycard__warn b {
  color: #fff;
  font-weight: 600;
}

.paycard__alert {
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 2px solid #fff;
  background: rgba(255, 255, 255, 0.03);
  color: #d0d0d8 !important;
  font-size: 0.88rem !important;
  margin-top: -6px;
}

.paycard__soon {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint) !important;
}

.paycard .btn {
  margin-top: auto;
}

/* --- style commun des encadres d'info --- */
.vbnote,
.card__list,
.card__steps,
.card__note,
.band__item {
  border: 1px solid var(--line-bright);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
}

/* --- note d'information (section vbucks) --- */
.vbnote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto 36px;
  padding: 18px 22px;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
  text-align: left;
}

.vbnote__ico {
  flex: none;
  font-size: 1.25rem;
  line-height: 1.45;
  filter: grayscale(1) brightness(1.6);
}

.vbnote p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #c9c9d2;
}

.vbnote b {
  color: #fff;
  font-weight: 600;
}

/* --- note dans une carte --- */
.card__note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #c9c9d2;
}

.card__note svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  filter: grayscale(1) brightness(1.6);
}

/* --- corps de la carte : pousse en bas pour que tout s'aligne --- */
.card__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  margin-top: auto;
}

.card__list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding: 15px 16px;
  border-radius: 12px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.card:hover .card__list {
  border-color: #55555f;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.card__list li {
  position: relative;
  padding-left: 22px;
  color: #d9d9e0;
  font-size: 0.87rem;
  line-height: 1.45;
  transition: color 0.3s var(--ease);
}

.card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.card:hover .card__list {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.045);
}

.card:hover .card__list li {
  color: #fff;
}

.card__delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 22px;
}

/* --- miniatures du compte (cliquables) --- */
.card__shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 20px;
}

.card__shot {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0c;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s var(--ease-out);
}

.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.card__shot:hover {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.95);
}

.card__shot:hover img {
  transform: scale(1.08);
}

.card__shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.card__shot:hover::after {
  opacity: 1;
}

/* ==========================================================================
   Visionneuse d'images
   ========================================================================== */

.viewer {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(1040px, calc(100vw - 28px));
  max-width: 1040px;
  height: fit-content;
  max-height: 90vh;
  padding: 0;
  border: 1px solid var(--line-bright);
  border-radius: 18px;
  background: #060608;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 1);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out),
    overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

.viewer[open] {
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  .viewer[open] {
    opacity: 0;
    transform: scale(0.97);
  }
}

.viewer::backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), overlay 0.3s allow-discrete,
    display 0.3s allow-discrete;
}

.viewer[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .viewer[open]::backdrop {
    opacity: 0;
  }
}

.viewer__stage {
  position: relative;
  background: #000;
  min-height: 0;
  max-height: 78vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.viewer__stage img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.viewer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}

.viewer__close:hover {
  background: #fff;
  color: #000;
  transform: rotate(90deg);
}

.viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.viewer__nav:hover {
  background: #fff;
  color: #000;
}

.viewer__nav svg {
  width: 18px;
  height: 18px;
}

.viewer__nav--prev {
  left: 14px;
}

.viewer__nav--next {
  right: 14px;
}

.viewer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --- note (pas un bouton) --- */
.card__note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: -2px 0 20px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-faint);
}

.card__note svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  opacity: 0.75;
}

.card__delivery b {
  color: var(--text);
  font-weight: 500;
}

.card__cta {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  font-size: 0.86rem;
  padding: 12px 16px;
  min-height: 44px;
}

/* ==========================================================================
   Tuiles de jeux
   ========================================================================== */

/* ==========================================================================
   Tuiles de jeux
   ========================================================================== */

.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.game {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--tile-bg, #0b0b0e);
  color: var(--text);
  font-family: var(--font-body);
  text-align: left;
  padding: 0;
  display: block;
  transition: transform 0.55s var(--ease-out), border-color 0.4s var(--ease),
    box-shadow 0.55s var(--ease-out);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.game:hover,
.game:focus-visible {
  transform: translateY(-7px);
  border-color: var(--line-bright);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.95);
  outline: none;
}

.game__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.9s var(--ease-out);
}

.game:hover .game__img {
  transform: scale(1.07);
}

.game__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 26%,
    rgba(0, 0, 0, 0.05) 52%,
    transparent 72%
  );
}

.game__info {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 76px;
}

.game__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.95);
}

.game__count {
  margin-top: 3px;
  font-size: 0.82rem;
  color: #b8b8c2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.game__count b {
  color: #fff;
  font-weight: 600;
}

/* --- image decoupee (PNG transparent) : le fond du site passe derriere --- */
.game--cutout {
  background:
    radial-gradient(85% 55% at 50% 30%, var(--tile-glow, #26262f) 0%, transparent 70%),
    linear-gradient(175deg, #0c0c10 0%, #050507 100%);
}

.game--cutout::before {
  content: '';
  position: absolute;
  inset: 0;
  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);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 0%, transparent 72%);
  opacity: 0.5;
  pointer-events: none;
}

.game--cutout .game__img {
  object-fit: contain;
  object-position: center 44%;
  transform: scale(1.32);
  transform-origin: center 55%;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.95));
}

.game--cutout:hover .game__img {
  transform: scale(1.4) translateY(-10px);
  filter: drop-shadow(0 32px 58px rgba(0, 0, 0, 1))
    drop-shadow(0 0 52px rgba(255, 255, 255, 0.12));
}

.game--cutout .game__scrim {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.4) 24%, transparent 50%);
}

/* --- image paysage : on garde le haut ou est le logo --- */
.game--wide .game__img {
  object-position: center 24%;
}

/* --- bouton rond fleche --- */
.game__arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.game__arrow svg {
  width: 19px;
  height: 19px;
  transition: transform 0.4s var(--ease-out);
}

.game:hover .game__arrow {
  transform: scale(1.1);
  box-shadow: 0 8px 26px -6px rgba(255, 255, 255, 0.5);
}

.game:hover .game__arrow svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Modale produits
   ========================================================================== */

.modal {
  width: min(660px, calc(100vw - 32px));
  max-height: min(84vh, 760px);
  padding: 0;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background: #08080a;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out),
    overlay 0.4s allow-discrete, display 0.4s allow-discrete;
}

.modal[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .modal[open] {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), overlay 0.4s allow-discrete,
    display 0.4s allow-discrete;
}

.modal[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .modal[open]::backdrop {
    opacity: 0;
  }
}

.modal__head {
  position: relative;
  padding: 30px 28px 24px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, var(--tile-bg, #141418) 0%, #08080a 62%);
}

.modal__emoji {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.8));
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.modal__sub {
  margin-top: 5px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-out), border-color 0.3s;
}

.modal__close:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: rotate(90deg);
}

.modal__body {
  padding: 22px 28px 28px;
  overflow-y: auto;
  max-height: calc(min(84vh, 760px) - 120px);
}

.modal__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.modal__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.modal__item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.modal__item-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.modal__item-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.modal__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.modal__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.modal__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 700;
}

.modal__delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: var(--text-faint);
}

.modal__delivery b {
  color: var(--text);
  font-weight: 500;
}

/* --- bouton discord de la nav : plus petit, logo noir & blanc --- */
.nav__discord {
  padding: 9px 17px;
  font-size: 0.87rem;
  gap: 8px;
}

.nav__discord-logo {
  width: 19px;
  height: 19px;
  flex: none;
  /* mask = le logo prend la couleur du texte (currentColor) */
  background: currentColor;
  -webkit-mask: url('img/discord.svg') no-repeat center / contain;
  mask: url('img/discord.svg') no-repeat center / contain;
  transition: transform 0.4s var(--ease-out);
}

.nav__discord:hover .nav__discord-logo {
  transform: scale(1.12) rotate(-6deg);
}

/* ==========================================================================
   Curseur stylise
   ========================================================================== */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
    margin 0.35s var(--ease-out), opacity 0.3s, background 0.35s var(--ease-out),
    border-color 0.35s;
  will-change: transform;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-hover {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ==========================================================================
   Page d'un jeu
   ========================================================================== */

.gamehead {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px clamp(20px, 5vw, 56px) 20px;
  animation: fadeUp 0.9s var(--ease-out) both;
}

.gamehead__body {
  animation: fadeUp 1s var(--ease-out) 0.1s both;
}

.backlink {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.88rem;
  color: var(--text-faint);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease-out);
}

.backlink:hover {
  color: #fff;
  transform: translateX(-4px);
}

.gamehead__emoji {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.9));
}

.gamehead__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 14px;
  text-wrap: balance;
}

.gamehead__sub {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  max-width: 560px;
}

/* ==========================================================================
   Bandeau garanties
   ========================================================================== */

.band {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.band__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(50px, 7vw, 80px) clamp(20px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px;
}

.band__item {
  padding: 22px 22px 24px;
  border-radius: 16px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease),
    transform 0.45s var(--ease-out);
}

.band__item:hover {
  border-color: #55555f;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform: translateY(-3px);
}

.band__item h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing: -0.02em;
}

.band__item p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.band__icon {
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: block;
  filter: grayscale(1) brightness(2.2);
  transition: transform 0.5s var(--ease-out);
}

.band__item:hover .band__icon {
  transform: translateY(-4px) scale(1.12);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  position: relative;
  z-index: 1;
  padding: 54px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.88rem;
}

.footer a {
  transition: color 0.3s var(--ease);
}

.footer a:hover {
  color: #fff;
}

/* ==========================================================================
   Révélation au scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: transform, opacity;
}

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

/* ==========================================================================
   Accessibilité : moins d'animations
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .cursor-glow {
    display: none;
  }
}
