/* RESET & VARIABLES */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root{
  --bg:#0a0d0f;
  --panel:#0f1418;
  --text:#e7f1ec;
  --muted:#93a39b;
  --accent:#00ff78;
  --accent-2:#00cc60;
  --outline:rgba(0,255,120,.35);
}
html,body{height:100%}
body{
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  text-align: center;
}

/* INTRO SPLASH */
#intro{
  position: fixed; inset: 0;
  display: flex; justify-content: center; align-items: center;
  background: radial-gradient(1000px 700px at 50% -10%, rgba(0,255,120,.12), transparent 60%), var(--bg);
  z-index: 9999;
  transition: opacity 1.2s ease;
}
#intro.fade-out{ opacity:0; }
.hidden{ display:none; }

.logo-container{ position: relative; text-align:center; }
.main-logo{
  width: 200px; height: auto;
  animation: pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(0,255,120,.45));
}

/* Icônes autour du logo */
.icon {
  position: absolute;
  width: 120px;   /* ← redimensionnement */
  height: auto;
  animation: float 6s ease-in-out infinite;
}
.icon img {
  width: 100%;    /* ← force l’image à prendre 100% du parent */
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0,255,120,.6));
}

/* Positions spécifiques */
/* Icônes autour du logo (positions relatives en %) */
.icon-gaming { 
  top: -85%;    /* avant -180px */
  left: -55%;   /* avant -180px */
}
.icon-letsplay { 
  top: -85%; 
  right: -55%; 
}
.icon-event { 
  bottom: -115%; /* avant -180px */
  left: 60%; 
  transform: translateX(-50%);
}

/* Bouton Entrer (plus espacé du logo) */
.btn-enter {
  position: absolute;
  bottom: -30%;   /* avant -100px → plus bas en % */
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 36px; /* un peu plus grand */
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: linear-gradient(180deg,#0d1417,#0b1114);
  color: var(--text);
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(0,255,120,.1), 0 12px 34px rgba(0,0,0,.55);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-enter:hover {
  transform: translateX(-50%) translateY(-3px);
  border-color: rgba(0,255,120,.8);
  box-shadow: 0 0 0 6px rgba(0,255,120,.12), 0 18px 40px rgba(0,0,0,.6);
}

.btn-enter:hover{
  transform: translateX(-50%) translateY(-3px);
  border-color: rgba(0,255,120,.8);
  box-shadow: 0 0 0 6px rgba(0,255,120,.12), 0 18px 40px rgba(0,0,0,.6);
}
.btn-enter:focus{ outline:none; box-shadow:0 0 0 3px rgba(0,255,120,.4); }

/* CONTENT SECTIONS */
.section{ padding: 60px 20px 40px; }
h2{
  margin: 0 0 20px;
  font-size: 1.9rem; font-weight: 800; letter-spacing: .5px;
}

/* Twitch */
#live{ padding: 60px 20px 40px; }
.twitch-embed{ display:flex; justify-content:center; margin-top:16px; }
.twitch-embed iframe{
  border:0; border-radius:10px;
  box-shadow:0 12px 36px rgba(0,0,0,.55), 0 0 26px rgba(0,255,120,.1);
}

/* Vidéos */
#videos{ padding: 60px 20px 40px; }
.video-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
.video-card{
  width:360px; background:var(--panel);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px; padding:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.5), 0 0 24px rgba(0,255,120,.08);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.video-card:hover{ transform:translateY(-4px); border-color:rgba(0,255,120,.35); }
.video-card iframe{ width:100%; height:200px; border:0; border-radius:8px; }

/* Communauté */
#community{ padding:60px 20px 40px; }
.community-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.community-links a{
  display:inline-block; padding:10px 20px; border-radius:999px;
  text-decoration:none; color:var(--accent);
  border:1px solid var(--outline);
  background:linear-gradient(180deg,#0d1417,#0b1114);
  transition:.25s;
}
.community-links a:hover{ background:var(--accent); color:#0a0d0f; }

/* Footer */
footer{
  margin-top:40px;
  padding:20px;
  font-size:14px;
  opacity:.95;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
}
footer .socials{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:10px;
}
footer .socials a svg{
  width:28px; height:28px;
  fill:var(--accent);
  transition: transform .2s ease, fill .25s ease;
}
footer .socials a:hover svg{
  transform: translateY(-3px) scale(1.15);
  fill:#fff;
}

/* ANIMATIONS */
@keyframes pulse{
  0%{ transform:scale(1); filter:drop-shadow(0 0 8px rgba(0,255,120,.4)); }
  100%{ transform:scale(1.05); filter:drop-shadow(0 0 28px rgba(0,255,120,.65)); }
}
@keyframes float{
  0%,100%{ transform:translate(0,0); }
  25%{ transform:translate(6px,-8px); }
  50%{ transform:translate(-5px,5px); }
  75%{ transform:translate(4px,6px); }
}

/* RESPONSIVE */
@media(max-width:920px){
  .icon{ width:100px; }
  .icon-gaming{ top:-150px; left:-140px; }
  .icon-letsplay{ top:-150px; right:-140px; }
  .icon-event{ bottom:-150px; }
}
@media(max-width:560px){
  .main-logo{ width:160px; }
  .icon{ width:84px; }
  .icon-gaming{ top:-120px; left:-110px; }
  .icon-letsplay{ top:-120px; right:-110px; }
  .icon-event{ bottom:-120px; }
  .btn-enter{ bottom:-80px; }
}

/* Liens externes */
.external-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
  margin-bottom:20px;
}
.btn-link{
  display:inline-block;
  padding:12px 28px;
  border-radius:999px;
  font-weight:600;
  letter-spacing:.4px;
  text-decoration:none;
  color:var(--accent);
  border:1px solid var(--outline);
  background:linear-gradient(180deg,#0d1417,#0b1114);
  transition: all .25s ease;
}
.btn-link:hover{
  background:var(--accent);
  color:#0a0d0f;
  transform:translateY(-2px);
  box-shadow:0 0 12px rgba(0,255,120,.4);
}

.cat-links{
  margin-bottom:20px; /* espace entre catégories et sites */
}

footer{
  margin-top:40px;
  padding:20px;
  font-size:14px;
  opacity:.95;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
}

.socials{
  display:flex;
  justify-content:center;
  gap:18px;
  margin-bottom:10px;
}

.social-icon{
  font-size:22px;
  color:var(--accent);
  transition:.3s ease;
}

.social-icon:hover{
  color:#fff;
  text-shadow:0 0 10px var(--accent);
}

/* Drawer */
.drawer-toggle{
  position:fixed; left:16px; top:16px;
  z-index:100;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--outline);
  background:linear-gradient(180deg,#0d1417,#0b1114);
  color:var(--text); cursor:pointer;
  box-shadow:0 0 0 3px rgba(0,255,120,.08), 0 10px 30px rgba(0,0,0,.5);
}
.drawer{ position:fixed; left:-280px; top:0; width:260px; height:100%; z-index:110;
  background:#0f1418; border-right:1px solid rgba(0,255,120,.15);
  transition:left .25s ease; }
.drawer.open{ left:0; }
.drawer-header{ display:flex; justify-content:space-between; align-items:center; padding:14px; }
.drawer-links{ display:flex; flex-direction:column; padding:10px; gap:8px; }
.drawer-links a{ padding:10px; border-radius:8px; text-decoration:none; color:var(--text);
  background:linear-gradient(180deg,#0d1417,#0b1114); border:1px solid rgba(255,255,255,.08); }
.drawer-links a:hover{ border-color:rgba(0,255,120,.4); }
.drawer-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.3); z-index:105; opacity:0; transition:.2s; }
.drawer-backdrop.show{ opacity:1; }

/* Vidéo grid */
.video-grid{ display:flex; flex-wrap:wrap; gap:20px; justify-content:center; }
.video-card{ width:360px; background:var(--panel); border-radius:12px; padding:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.5), 0 0 24px rgba(0,255,120,.08); }
.video-card iframe{ width:100%; height:200px; border:0; border-radius:8px; }

/* Footer */
footer{ margin-top:40px; padding:20px; border-top:1px solid rgba(255,255,255,.08); text-align:center; }
.socials{ display:flex; justify-content:center; gap:18px; margin-bottom:10px; }
.social-icon{ font-size:22px; color:var(--accent); transition:.3s; }
.social-icon:hover{ color:#fff; text-shadow:0 0 10px var(--accent); }

.drawer {
  position:fixed; left:-280px; top:0; width:260px; height:100%;
  background:#0f1418; border-right:1px solid rgba(0,255,120,.15);
  transition:left .25s ease; z-index:110;
  display:flex; flex-direction:column;
}

.drawer-header { padding:14px; display:flex; justify-content:space-between; align-items:center; }

.drawer-links {
  flex:1;
  overflow-y:auto;
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(0,255,120,.4) rgba(0,0,0,.2);
}
.drawer-links::-webkit-scrollbar { width:6px; }
.drawer-links::-webkit-scrollbar-thumb { background:rgba(0,255,120,.4); border-radius:3px; }

.drawer-links a {
  padding:10px;
  border-radius:8px;
  text-decoration:none;
  color:var(--text);
  background:linear-gradient(180deg,#0d1417,#0b1114);
  border:1px solid rgba(255,255,255,.08);
  transition:.2s;
}
.drawer-links a:hover {
  border-color:rgba(0,255,120,.4);
}

.drawer-scroll-btn {
  background:none;
  border:none;
  color:var(--accent);
  font-size:18px;
  padding:6px;
  cursor:pointer;
  transition:.2s;
}
.drawer-scroll-btn:hover {
  color:#fff;
  text-shadow:0 0 8px var(--accent);
}

/* ===== FOND ANIMÉ BATTEUR DE COEUR ===== */
body {
  background: #0a0d0f;
  color: var(--text, #fff);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content:"";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,255,120,.18) 0%, rgba(0,255,120,.05) 25%, transparent 60%);
  animation: heartbeat 6s ease-in-out infinite; /* ← durée augmentée */
  z-index: -1;
  pointer-events: none;
}

@keyframes heartbeat {
  0%   { transform: scale(1);   opacity: .6; }
  20%  { transform: scale(1.1); opacity: .9; }
  40%  { transform: scale(1);   opacity: .6; }
  60%  { transform: scale(1.1); opacity: .9; }
  100% { transform: scale(1);   opacity: .6; }
}

.section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: .5px;
}

.section-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(0,255,120,.6));
}

/* Centrer les titres de section */
.section h2 {
  display: flex;
  align-items: center;
  justify-content: center;   /* <-- centrage horizontal */
  gap: 10px;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-align: center;
  margin-bottom: 20px;
}

/* Icônes des titres */
.section-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 12px rgba(0,255,120,.6));
}

/* Centrer le bouton "Voir plus" */
.btn-more {
  display: block;
  margin: 20px auto 0 auto;  /* <-- centrage auto */
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: linear-gradient(180deg,#0d1417,#0b1114);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

/* ===== LIVE status & viewers ===== */
.live-status{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin: 6px 0 14px;
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 74px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .3px;
  border: 1px solid var(--outline);
  background: linear-gradient(180deg,#0d1417,#0b1114);
  box-shadow: 0 0 0 3px rgba(0,255,120,.08);
  text-transform: uppercase;
  font-size: 12px;
}
.badge.online{
  color:#0a0d0f;
  background: var(--accent);
  border-color: rgba(0,255,120,.8);
  text-shadow: none;
  box-shadow: 0 0 12px rgba(0,255,120,.35);
}
.badge.offline{
  color: var(--muted);
  opacity: .8;
}

.counter{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg,#0d1417,#0b1114);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(0,255,120,.06);
  font-size: 13px;
}
.counter b{ font-weight: 800; }

.live-status{
  display:flex; justify-content:center; align-items:center;
  gap:10px; margin:6px 0 14px;
}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:74px; padding:6px 12px; border-radius:999px;
  font-weight:800; letter-spacing:.3px; font-size:12px;
  border:1px solid var(--outline);
  background:linear-gradient(180deg,#0d1417,#0b1114);
  box-shadow:0 0 0 3px rgba(0,255,120,.08);
  text-transform:uppercase;
}
.badge.online{ color:#0a0d0f; background:var(--accent); border-color:rgba(0,255,120,.8); box-shadow:0 0 12px rgba(0,255,120,.35);}
.badge.offline{ color:var(--muted); opacity:.85; }
.counter{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px; border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,#0d1417,#0b1114);
  font-weight:700; font-size:13px;
  box-shadow:0 0 0 3px rgba(0,255,120,.06);
}

/* === LIVE STATUS BADGES === */
.live-status{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:10px 0 20px;
  flex-wrap:wrap;
}

.badge{
  display:inline-block;
  padding:6px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:14px;
  letter-spacing:.4px;
  text-transform:uppercase;
  border:1px solid var(--outline);
  background:linear-gradient(180deg,#0d1417,#0b1114);
  color:var(--muted);
  transition:.25s;
}
.badge.online{
  color:#0a0d0f;
  background:var(--accent);
  border-color:var(--accent-2);
  box-shadow:0 0 12px rgba(0,255,120,.5);
}
.badge.offline{
  opacity:.65;
}

.counter{
  font-size:14px;
  padding:6px 14px;
  border-radius:999px;
  background:linear-gradient(180deg,#0d1417,#0b1114);
  border:1px solid var(--outline);
  color:var(--accent);
  font-weight:600;
  letter-spacing:.3px;
  box-shadow:0 0 0 3px rgba(0,255,120,.08), 0 10px 20px rgba(0,0,0,.35);
}

/* petit effet hover sur les compteurs */
.counter:hover{
  background:var(--accent);
  color:#0a0d0f;
  transform:translateY(-2px);
  transition:.2s;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* espace entre l’icône et le texte */
  padding: 12px 24px;
}

.btn-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 8px rgba(0,255,120,.6));
}
.cat-desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  margin: -10px auto 20px;
  max-width: 720px;
  line-height: 1.5;
}
.section-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
  filter: drop-shadow(0 0 10px rgba(0,255,120,.6));
}
.section-icon{ width:32px; height:32px; object-fit:contain; margin-right:8px; vertical-align:middle; filter:drop-shadow(0 0 10px rgba(0,255,120,.6)); }
.btn-link{ display:inline-flex; align-items:center; gap:8px; }
.btn-icon{ width:24px; height:24px; filter:drop-shadow(0 0 8px rgba(0,255,120,.6)); }

/* Drawer items avec logo */
.drawer-links a{ display:flex; align-items:center; gap:8px; padding:8px 12px; border-radius:6px; color:var(--text); text-decoration:none; transition:background .2s; }
.drawer-links a:hover{ background:rgba(0,255,120,.08); }
.menu-icon{ width:22px; height:22px; object-fit:contain; filter:drop-shadow(0 0 6px rgba(0,255,120,.6)); }

/* Skeleton (si pas déjà) */
.skeleton{ background:linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.12), rgba(255,255,255,.06)); background-size:200% 100%; animation:ske 1.2s linear infinite; }
@keyframes ske{ 0%{background-position:200% 0} 100%{background-position:-200% 0} }

