/* ─── JERSEYS HERO ───────────────────────────── */
.jerseys-hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.jerseys-hero img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(124,58,237,.5));
  transition: filter .3s ease, transform .3s ease;
  border-radius: 12px;
}

.jerseys-hero img:hover {
  filter: drop-shadow(0 12px 50px rgba(124,58,237,.8));
  transform: translateY(-4px);
}

/* =============================================
   NEXIUM ESPORT — Feuille de style principale
   ============================================= */

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

body {
  background: #f8f7ff;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  min-height: 100vh;
}

.site { min-height: 100vh; }

/* ─── HEADER ─────────────────────────────── */
.hdr {
  background: #fff;
  border-bottom: 1px solid #e8e4f5;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 12px;
}

.hdr-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ─── TICKER ─────────────────────────────── */
.hdr-ticker {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hdr-ticker-inner {
  position: absolute;
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 8s ease-in-out infinite alternate;
}

.hdr-ticker-inner span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #7c3aed;
  text-transform: uppercase;
}

@keyframes ticker {
  0%   { left: 0%;    transform: translateX(0); }
  100% { left: 100%;  transform: translateX(-100%); }
}

/* ─── HEADER RIGHT ───────────────────────── */
.hdr-right {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* ─── BUTTONS ────────────────────────────── */
.bsec {
  background: #fff;
  border: 1.5px solid #d1c4f5;
  color: #7c3aed;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Barlow', sans-serif;
}
.bsec:hover { background: #f3effe; }

.bprim {
  background: #7c3aed;
  border: none;
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Barlow', sans-serif;
}
.bprim:hover { background: #6d28d9; }

/* ─── HAMBURGER ──────────────────────────── */
.hamburger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: background .2s;
}
.hamburger:hover { background: rgba(124,58,237,.1); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
}

/* ─── SIDE MENU ──────────────────────────── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
}
.overlay.open { display: block; }

.sidemenu {
  position: fixed;
  left: -320px;
  top: 0;
  bottom: 0;
  width: 300px;
  background: #0f0a1e;
  z-index: 300;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: left .3s ease;
  border-right: 1px solid rgba(124,58,237,.3);
}
.sidemenu.open { left: 0; }

.sidemenu-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #6b7280;
  padding: 4px 8px;
  transition: all .2s;
}
.close-btn:hover { color: #fff; }

.sidenav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.sidenav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
}
.sidenav a:hover { background: rgba(124,58,237,.15); color: #a78bfa; }
.sidenav a.on { background: rgba(124,58,237,.2); color: #a78bfa; }

.sidemenu-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 1rem;
  border-top: 1px solid rgba(124,58,237,.2);
}

/* ─── PAGES ──────────────────────────────── */
.pg { display: none; }
.pg.on { display: block; }
.hid { display: none !important; }

/* ─── HERO ───────────────────────────────── */
.hero {
  position: relative;
  background: #06040f;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 50%, rgba(124,58,237,.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 20%, rgba(79,70,229,.2) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(167,139,250,.12) 0%, transparent 50%);
  z-index: 0;
}

.hero::after {
  content: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(109,28,217,.12);
  left: -150px;
  top: -150px;
  filter: blur(80px);
  z-index: 0;
  animation: glow 6s ease-in-out infinite alternate;
}

.hero-glow2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(167,139,250,.08);
  right: -80px;
  bottom: -80px;
  filter: blur(60px);
  z-index: 0;
  animation: glow 8s ease-in-out infinite alternate-reverse;
}

@keyframes glow {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(30px, 20px); }
}

/* ─── PARTICLES ──────────────────────────── */
.pts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.pt {
  position: absolute;
  border-radius: 50%;
  background: #7c3aed;
  animation: flt linear infinite;
}

@keyframes flt {
  0%   { transform: translateY(100%) scale(0); opacity: 0; }
  10%  { opacity: .35; }
  90%  { opacity: .08; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* ─── HERO JERSEYS ───────────────────────── */
.hero-jersey {
  position: absolute;
  bottom: 0;
  z-index: 1;
  opacity: .2;
  pointer-events: none;
}
.hero-jersey img { height: 480px; width: auto; object-fit: contain; }
.hero-jersey-left  { left: -40px;  transform: rotate(-8deg); }
.hero-jersey-right { right: -40px; transform: rotate(8deg); }

/* ─── HERO INNER ─────────────────────────── */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.45);
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.ldot {
  width: 6px;
  height: 6px;
  background: #c4b5fd;
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .15; }
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 68px;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: #a78bfa; display: block; }

.hero p {
  font-size: 15px;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 400px;
}

.hero-btns { display: flex; gap: 12px; }

.bh {
  background: #7c3aed;
  color: #fff;
  border: none;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
  transition: all .2s;
}
.bh:hover { background: #6d28d9; transform: translateY(-2px); }

.bho {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Barlow', sans-serif;
  transition: all .2s;
}
.bho:hover { border-color: rgba(124,58,237,.6); color: #c4b5fd; }


/* ─── JERSEY SHOWCASE ────────────────────────── */
.jersey-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, #0f0a1e 0%, #1a0a2e 50%, #0f0a1e 100%);
  border-radius: 14px;
  padding: 1rem .5rem .5rem;
  margin-bottom: 12px;
  border: 1px solid rgba(124,58,237,.25);
  position: relative;
  overflow: hidden;
}

.jersey-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124,58,237,.15) 0%, transparent 70%);
  pointer-events: none;
}

.jersey-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
  z-index: 1;
  transition: transform .25s ease;
}

.jersey-item:hover { transform: translateY(-4px) scale(1.03); }

.jersey-item img {
  width: 100%;
  max-width: 130px;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(124,58,237,.4));
}

.jersey-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 4px;
}

.jersey-divider {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(124,58,237,.4), transparent);
  flex-shrink: 0;
}

/* ─── STATS PANEL ────────────────────────── */
.spanel {
  background: rgba(255,255,255,.97);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid #e8e4f5;
}

.sgrid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.sbox {
  background: #f8f7ff;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  border: 1px solid #ede9fe;
  transition: all .2s;
}
.sbox:hover { border-color: #c4b5fd; background: #f3effe; }

.snum {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #7c3aed;
  display: block;
  line-height: 1;
}

.slbl {
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 3px;
}

.gtags { display: flex; flex-direction: column; gap: 8px; }

.gtag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f7ff;
  border: 1px solid #e8e4f5;
  border-radius: 8px;
  padding: .6rem 1rem;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  transition: all .2s;
}
.gtag:hover { border-color: #c4b5fd; color: #7c3aed; }

.gd { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.g1 { background: #10b981; }
.g2 { background: #ef4444; }
.g3 { background: #f59e0b; }

/* ─── WAVE ───────────────────────────────── */
.wave { display: block; background: #06040f; line-height: 0; }
.wave svg { display: block; width: 100%; }

/* ─── SECTIONS ───────────────────────────── */
.sec {
  padding: 3.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.sec-lbl {
  font-size: 10px;
  color: #7c3aed;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .4rem;
}

.sec-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 2rem;
}
.sec-title span { color: #7c3aed; }

/* ─── NEWS ───────────────────────────────── */
.ngrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.ncard {
  background: #fff;
  border: 1px solid #e8e4f5;
  border-radius: 14px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all .22s;
  position: relative;
  overflow: hidden;
}
.ncard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #7c3aed;
  transform: scaleX(0);
  transition: transform .2s;
  transform-origin: left;
}
.ncard:hover { border-color: #c4b5fd; transform: translateY(-3px); }
.ncard:hover::after { transform: scaleX(1); }

.ntag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: .8rem;
}
.t1 { background: #f3effe; color: #7c3aed; }
.t2 { background: #ecfdf5; color: #059669; }
.t3 { background: #fffbeb; color: #d97706; }

.ntitle { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: .4rem; line-height: 1.4; }
.ndesc  { font-size: 12px; color: #6b7280; line-height: 1.6; }
.ndate  { font-size: 10px; color: #c4b5fd; margin-top: .8rem; font-weight: 700; letter-spacing: 1px; }

/* ─── ROSTER ─────────────────────────────── */
.tabs { display: flex; gap: 6px; margin-bottom: 2rem; flex-wrap: wrap; }

.tab {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  color: #6b7280;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Barlow', sans-serif;
}
.tab.on { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.tab:hover:not(.on) { border-color: #c4b5fd; color: #7c3aed; }

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.pcard {
  background: #1a1a2e;
  border: 1px solid rgba(124,58,237,.2);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all .25s ease;
  position: relative;
}

.pcard:hover {
  border-color: #7c3aed;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124,58,237,.3);
}

.pcard:hover .pphoto img,
.pcard:hover .pphoto-placeholder {
  transform: scale(1.04);
}

.pphoto-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #0f0a1e;
  position: relative;
}

.pphoto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .3s ease;
}

.pphoto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(124,58,237,.4);
  background: linear-gradient(135deg, #0f0a1e, #1a0a2e);
  transition: transform .3s ease;
}

.pinfo {
  padding: .75rem 1rem .9rem;
  border-top: 2px solid #7c3aed;
  background: #1a1a2e;
}

.prole {
  font-size: 9px;
  color: #7c3aed;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 3px;
}

.pname {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
}

.prealname {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
  font-weight: 400;
}

/* ─── BOUTIQUE ───────────────────────────── */
.sgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.scard {
  background: #fff;
  border: 1px solid #e8e4f5;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all .22s;
}
.scard:hover { border-color: #c4b5fd; transform: translateY(-3px); }

.simg {
  height: 110px;
  background: #f3effe;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e8e4f5;
}

.sbody { padding: 1rem; }
.sname { font-size: 13px; font-weight: 700; color: #1a1a2e; margin-bottom: 3px; }
.sdesc { font-size: 11px; color: #6b7280; margin-bottom: .8rem; }
.sfoot { display: flex; align-items: center; justify-content: space-between; }

.sprice {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #7c3aed;
}

.bbuy {
  background: #f3effe;
  color: #7c3aed;
  border: 1px solid #d1c4f5;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
}
.bbuy:hover { background: #7c3aed; color: #fff; border-color: #7c3aed; }

/* ─── FOOTER ─────────────────────────────── */
.foot {
  background: #06040f;
  border-top: 1px solid rgba(124,58,237,.3);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2rem;
}
.foot span { color: #7c3aed; font-weight: 700; }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .hdr-ticker { display: none; }
  .hdr { padding: 0 1rem; }
  .hero-jersey { display: none; }
}

/* Boutique - images produits */
.scard {
  border-radius: 14px;
  overflow: hidden;
}
.simg-big {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #0d0d1a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.simg-big img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.3s ease;
  padding: 16px;
}
.scard:hover .simg-big img {
  transform: scale(1.04);
}

/* Footer collé en bas */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pg {
  flex: 1;
}
.foot {
  margin-top: auto;
}
.sec {
  min-height: 400px;
}

/* Roster - vraies photos joueurs */
.pphoto-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px 12px 0 0;
}
.pphoto-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #0d0d1a;
}
.pcard {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.10);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.18);
}
.pinfo {
  padding: 1rem 1.2rem 1.2rem;
}
.pname {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.prole {
  font-size: 11px;
  font-weight: 700;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

/* Fix couleur texte joueurs */
.pinfo .pname {
  color: #ffffff !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pinfo .prole {
  color: #7c3aed !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

/* Game tabs */
.game-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.game-tab {
  padding: 10px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid #e8e4f5;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  transition: all .2s;
}
.game-tab.on {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}
.sub-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

/* Avatar joueur sans photo */
.pavatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #7c3aed;
  background: #1a1a2e;
  letter-spacing: 2px;
}

/* Lien Twitch */
.ptwitch {
  display: inline-block;
  margin-top: 8px;
  background: #9147ff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .2s;
}
.ptwitch:hover { background: #7c3aed; }

/* Avatar joueur stylise */
.pavatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
  position: relative;
  overflow: hidden;
}
.pavatar svg {
  width: 60%;
  height: 60%;
  opacity: 0.9;
}

/* Game tabs styling */
.game-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.game-tab {
  padding: 10px 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid #c4b5fd;
  border-radius: 8px;
  background: #fff;
  color: #7c3aed;
  cursor: pointer;
  transition: all .2s;
}
.game-tab.on {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}
.game-tab:hover:not(.on) {
  background: #f3effe;
}
.sub-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

/* Recrutement */
.rcard{background:#fff;border:1px solid #e8e4f5;border-radius:14px;padding:1.5rem;margin-bottom:1.2rem;}
.rcard-title{font-family:'Barlow Condensed',sans-serif;font-size:16px;font-weight:900;color:#7c3aed;text-transform:uppercase;letter-spacing:1px;margin-bottom:1.2rem;}
.rgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.rfield{display:flex;flex-direction:column;gap:5px;}
.rfield.rfull{grid-column:1/-1;}
.rfield label{font-size:11px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;}
.rfield input,.rfield select,.rfield textarea{padding:9px 12px;border:1.5px solid #e5e7eb;border-radius:7px;font-size:13px;font-family:'Barlow',sans-serif;outline:none;transition:border-color .2s;background:#fff;color:#1a1a2e;}
.rfield input:focus,.rfield select:focus,.rfield textarea:focus{border-color:#7c3aed;}
.rfield textarea{resize:vertical;min-height:80px;}
.rchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;}
.rchip{padding:7px 16px;border-radius:20px;border:1.5px solid #e5e7eb;background:#fff;color:#6b7280;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s;font-family:'Barlow',sans-serif;}
.rchip:hover{border-color:#7c3aed;color:#7c3aed;}
.rchip.on{background:#7c3aed;border-color:#7c3aed;color:#fff;}
.rdays{display:flex;gap:8px;flex-wrap:wrap;}
.rday{width:46px;height:46px;border-radius:8px;border:1.5px solid #e5e7eb;background:#fff;color:#6b7280;font-size:12px;font-weight:700;cursor:pointer;transition:all .2s;font-family:'Barlow',sans-serif;}
.rday:hover{border-color:#7c3aed;color:#7c3aed;}
.rday.on{background:#7c3aed;border-color:#7c3aed;color:#fff;}

/* TikTok block */
.hero-right-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.tiktok-block {
  width: 100%;
  max-width: 320px;
}
.tiktok-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.8;
}
.tiktok-card {
  display: block;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}
.tiktok-card:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.tiktok-preview {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.tiktok-play {
  width: 60px;
  height: 60px;
  background: #fe2c55;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}
.tiktok-text {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  opacity: 0.9;
}

/* TikTok grand à gauche */
.hero-tiktok-left {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}
.tiktok-big-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  transition: all .3s;
  cursor: pointer;
}
.tiktok-big-btn:hover {
  background: rgba(254,44,85,0.15);
  border-color: #fe2c55;
  transform: scale(1.05);
}
.tiktok-big-btn span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: .85;
}

/* ── Events / Tournois ── */
.tournoi-card {
  background: #fff;
  border: 1px solid #e8e4f5;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.tournoi-header {
  background: linear-gradient(135deg, #1a1a2e, #2d1b69);
  padding: 2rem;
  color: #fff;
}
.tournoi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,.3);
  border: 1px solid rgba(124,58,237,.5);
  color: #a78bfa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.tournoi-badge.gold {
  background: rgba(245,158,11,.2);
  border-color: rgba(245,158,11,.4);
  color: #fbbf24;
}
.tournoi-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: .5rem;
}
.tournoi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}
.tournoi-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tournoi-meta-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tournoi-meta-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.tournoi-body {
  padding: 2rem;
}
.classement-table {
  width: 100%;
  border-collapse: collapse;
}
.classement-table th {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #e8e4f5;
}
.classement-table td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid #f3f4f6;
}
.classement-table tr:first-child td { font-weight: 700; }
.rank-1 { color: #f59e0b; font-weight: 900; }
.rank-2 { color: #9ca3af; font-weight: 700; }
.rank-3 { color: #b45309; font-weight: 700; }
.mp-badge {
  display: inline-block;
  background: #fef3c7;
  color: #d97706;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  border: 1px solid #fde68a;
}
.no-tournoi {
  text-align: center;
  padding: 4rem 2rem;
  color: #9ca3af;
}
.no-tournoi h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #1a1a2e;
  margin: 1rem 0 .5rem;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE MOBILE — Nexium Esport
   ═══════════════════════════════════════════════ */

/* ─── TABLETTE (max 1024px) ─────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 { font-size: 58px; }
  .hero p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .jerseys-hero { display: none; }
  .hero-badge { margin: 0 auto 1.5rem; }
  .sgrid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ─── MOBILE (max 768px) ────────────────────── */
@media (max-width: 768px) {

  /* Header */
  .hdr { padding: 0 .8rem; height: 60px; }
  .hdr-ticker { display: none; }
  .hdr-right { display: none; }
  .logo img { height: 38px; }

  /* Hero */
  .hero {
    padding: 3rem 1.2rem 2.5rem;
    min-height: auto;
    text-align: center;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero h1 {
    font-size: 46px;
    line-height: 1;
  }
  .hero p { font-size: 14px; max-width: 100%; }
  .hero-badge { margin: 0 auto 1.2rem; }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .bh, .bho {
    width: 100%;
    padding: 14px;
    font-size: 14px;
    text-align: center;
  }
  .jerseys-hero { display: none; }

  /* Sections */
  .sec {
    padding: 2rem 1rem;
    min-height: auto;
  }
  .sec-title { font-size: 26px; margin-bottom: 1.2rem; }

  /* News */
  .ngrid { grid-template-columns: 1fr; gap: 10px; }
  .ncard { padding: 1.2rem; }

  /* Roster tabs */
  .game-tabs { flex-wrap: wrap; gap: 8px; }
  .game-tab { padding: 8px 18px; font-size: 13px; flex: 1; text-align: center; }
  .sub-tabs { flex-wrap: wrap; gap: 8px; }
  .tab { padding: 7px 14px; font-size: 11px; flex: 1; text-align: center; }

  /* Roster grid */
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pphoto-wrap { height: 220px; }
  .pname { font-size: 16px; }
  .pinfo { padding: .7rem .8rem .9rem; }

  /* Boutique */
  .sgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .simg-big { height: 180px; }
  .sname { font-size: 12px; }
  .sbody { padding: .8rem; }

  /* Recrutement */
  .rgrid { grid-template-columns: 1fr; }
  .rfield.rfull { grid-column: 1; }
  .rcard { padding: 1.2rem; }
  .rdays { gap: 6px; }
  .rday { width: 40px; height: 40px; font-size: 11px; }
  .rchips { gap: 6px; }
  .rchip { padding: 6px 12px; font-size: 12px; }

  /* Tournoi / Events */
  .tournoi-header { padding: 1.2rem; }
  .tournoi-title { font-size: 24px; }
  .tournoi-meta { gap: .8rem; }
  .tournoi-body { padding: 1rem; }
  .classement-table th,
  .classement-table td { padding: 8px 6px; font-size: 12px; }

  /* Footer */
  .foot { padding: 1.2rem 1rem; font-size: 11px; }
}

/* ─── TRÈS PETIT MOBILE (max 400px) ─────────── */
@media (max-width: 400px) {
  .hero h1 { font-size: 36px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sgrid { grid-template-columns: 1fr; }
  .pphoto-wrap { height: 180px; }
  .game-tab { font-size: 11px; padding: 7px 10px; }
  .simg-big { height: 160px; }
}

/* ═══════════════════════════════════════════════
   CORRECTIONS MOBILE — v2
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Header — Se connecter + Panel à droite, petits */
  .hdr-right {
    display: flex !important;
    gap: 6px;
  }
  .hdr-right .bsec,
  .hdr-right .bprim {
    padding: 6px 10px;
    font-size: 10px;
    letter-spacing: 0;
  }

  /* Hero — boutons plus compacts en ligne */
  .hero-btns {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }
  .bh, .bho {
    width: auto !important;
    padding: 10px 16px;
    font-size: 12px;
  }

  /* Maillots centrés et visibles */
  .jerseys-hero {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
  }
  .jerseys-hero img {
    max-width: 280px;
    width: 80%;
  }
}

/* ── Fix header mobile : boutons poussés à droite ── */
@media (max-width: 768px) {
  .hdr {
    justify-content: space-between;
  }
  .hdr-left {
    flex: 0 0 auto;
  }
  .hdr-ticker {
    display: none !important;
  }
  .hdr-right {
    display: flex !important;
    margin-left: auto;
    gap: 6px;
    flex: 0 0 auto;
  }
}
