/* ============================================================
   Style principal - Site Kaisha007
   Design cosmique glassmorphism
   ============================================================ */

/* Import polices */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Fond cosmique animé ---- */
.animated-bg {
  background: linear-gradient(180deg,
    #0d0612 0%, #1a0a1f 15%, #2d1b3d 30%,
    #4a2c5a 50%, #6b3a6b 70%, #8b4a7a 85%, #a55a8a 100%
  );
  min-height: 100vh;
  position: relative;
}

.animated-bg::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 200%; height: 200%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, white, transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(255,200,220,0.9), transparent),
    radial-gradient(1px 1px at 230px 80px, white, transparent),
    radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 350px 200px, white, transparent),
    radial-gradient(2px 2px at 420px 50px, rgba(255,180,200,0.8), transparent),
    radial-gradient(1px 1px at 500px 180px, white, transparent),
    radial-gradient(2px 2px at 580px 90px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 650px 140px, white, transparent),
    radial-gradient(2px 2px at 720px 60px, rgba(255,200,220,0.8), transparent),
    radial-gradient(1px 1px at 800px 200px, white, transparent),
    radial-gradient(2px 2px at 880px 100px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 950px 160px, white, transparent),
    radial-gradient(3px 3px at 100px 300px, rgba(255,220,240,1), transparent),
    radial-gradient(2px 2px at 200px 350px, white, transparent),
    radial-gradient(1px 1px at 400px 280px, rgba(255,255,255,0.9), transparent),
    radial-gradient(2px 2px at 600px 320px, rgba(255,200,220,0.8), transparent),
    radial-gradient(1px 1px at 750px 290px, white, transparent);
  background-repeat: repeat;
  background-size: 1000px 400px;
  animation: twinkle 4s ease-in-out infinite, starsMove 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.animated-bg::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 10% 90%, rgba(255,150,180,0.25) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(180,130,200,0.25) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,200,220,0.15) 0%, transparent 50%),
    radial-gradient(circle at 30% 20%, rgba(200,150,255,0.15) 0%, transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(255,180,200,0.2) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  25% { opacity: 0.8; }
  50% { opacity: 1; }
  75% { opacity: 0.7; }
}
@keyframes starsMove {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-50%) translateY(-25%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  25% { transform: translateY(-30px) translateX(20px) scale(1.02); }
  50% { transform: translateY(0) translateX(40px) scale(1); }
  75% { transform: translateY(30px) translateX(20px) scale(0.98); }
}

/* ---- Particules ---- */
.particles-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
  25% { transform: translateY(-60px) translateX(30px) scale(1.3); opacity: 1; }
  50% { transform: translateY(-30px) translateX(-20px) scale(0.7); opacity: 0.8; }
  75% { transform: translateY(40px) translateX(40px) scale(1.1); opacity: 0.9; }
}

/* ---- Glassmorphism ---- */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.1);
}

/* ---- Blocs ---- */
.bloc-soft {
  border-radius: 24px;
  padding: 1.5rem;
}

/* ---- Titre stylisé ---- */
.title-fancy {
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, #ffd9e0 0%, #ffffff 25%, #e6c8d4 50%, #ffffff 75%, #ffd9e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 200, 220, 0.5);
  letter-spacing: 0.1em;
}

/* ---- Boutons ---- */
.btn-gradient {
  background: linear-gradient(135deg, rgba(180,130,180,0.8) 0%, rgba(200,150,180,0.9) 50%, rgba(180,130,180,0.8) 100%);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(180,130,180,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  text-align: center;
}
.btn-gradient:hover {
  box-shadow: 0 6px 30px rgba(200,150,200,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.btn-live {
  background: #ef4444;
  border: none;
  border-radius: 9999px;
  color: white;
  font-weight: 700;
  padding: 0.75rem 2rem;
  display: inline-block;
  animation: pulseLive 2s infinite;
}
@keyframes pulseLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
}

/* ---- Inputs de formulaire ---- */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { border-color: rgba(167,139,250,0.8); }
.form-label {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-group { margin-bottom: 1.5rem; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem 1rem 0;
}
@media (min-width: 1024px) { .navbar { padding: 1rem 2rem 0; } }
@media (min-width: 1280px) { .navbar { padding: 1rem 3rem 0; } }
@media (min-width: 1536px) { .navbar { padding: 1rem 4rem 0; } }
.navbar-inner {
  border-radius: 24px;
  overflow: visible;
}
.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  gap: 1rem;
}
@media (min-width: 1024px) { .navbar-content { padding: 1rem 2rem; } }
.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .navbar-logo { font-size: 1.875rem; } }
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) { .navbar-menu { gap: 1.5rem; } }
.nav-link {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  color: rgba(255,255,255,0.8);
  transition: all 0.2s;
  font-size: 1.125rem;
  white-space: nowrap;
}
@media (min-width: 1024px) { .nav-link { padding: 0.75rem 1.5rem; font-size: 1.25rem; } }
.nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-link.active {
  color: white;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}
.nav-link-muted { color: rgba(255,255,255,0.6); }
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-btn { padding: 0.5rem 1.5rem; font-size: 1rem; }
@media (min-width: 1024px) { .nav-btn { padding: 0.75rem 2rem; font-size: 1.125rem; } }

/* Burger */
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.navbar-burger:hover { background: rgba(255,255,255,0.1); }
.navbar-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}
.navbar-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-burger.open span:nth-child(2) { opacity: 0; }
.navbar-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu mobile */
.navbar-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.5rem;
}
.navbar-mobile.open { display: flex; }
.nav-mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  color: rgba(255,255,255,0.8);
  transition: background 0.2s;
}
.nav-mobile-link:hover, .nav-mobile-link.active {
  background: rgba(255,255,255,0.15);
  color: white;
}
.nav-mobile-btn { width: 100%; margin-top: 0.5rem; padding: 0.75rem 1rem; }

/* ---- Main Content ---- */
.main-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 2rem;
  min-height: 100vh;
  flex: 1;
}

/* ---- Bulle reseaux mobile ---- */
.social-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.social-fab-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(20, 8, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.social-fab-btn,
.social-fab-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.social-fab-btn {
  background: linear-gradient(145deg, #f4b0c6, #b478c6);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.22s ease;
}

.social-fab-open .social-fab-btn {
  transform: rotate(45deg);
}

.social-fab-link {
  color: rgba(255,255,255,0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 8px 18px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-fab-discord,
.social-fab-instagram,
.social-fab-tiktok,
.social-fab-youtube,
.social-fab-twitch {
  background: rgba(255, 255, 255, 0.12) !important;
}

.social-fab-link svg {
  width: 1.05rem;
  height: 1.05rem;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35));
}

.social-fab-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.social-fab-instagram svg { stroke: currentColor; }
.page-container {
  max-width: 2200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  position: relative;
  z-index: 10;
  font-size: 1rem;
}
@media (min-width: 768px)  { .page-container { padding: 3rem 4rem; } }
@media (min-width: 1024px) { .page-container { padding: 3rem 6rem; } }
@media (min-width: 1280px) { .page-container { padding: 3rem 8rem; } }

/* ---- FOOTER ---- */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-link { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.2s; }
.footer-link:hover { color: white; }

/* Icônes sociales footer */
.footer-social { transition: transform 0.2s, color 0.2s; }
.footer-social:hover { transform: scale(1.1); }
.footer-social-twitch { color: #a78bfa; }
.footer-social-twitch:hover { color: #c4b5fd; }
.footer-social-instagram { color: #f472b6; }
.footer-social-instagram:hover { color: #f9a8d4; }
.footer-social-tiktok { color: rgba(255,255,255,0.8); }
.footer-social-tiktok:hover { color: white; }
.footer-social-youtube { color: #ef4444; }
.footer-social-youtube:hover { color: #f87171; }
.footer-social-discord { color: #5865F2; }
.footer-social-discord:hover { color: #7289DA; }

/* ---- PWA INSTALLER STYLES MOVED TO assets/css/pwa-installer.css ---- */

/* ---- COMPOSANTS COMMUNS ---- */

/* Hero */
.hero { text-align: center; margin-bottom: 4rem; }
.hero-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.3);
  margin: 0 auto 1.5rem;
  position: relative;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-avatar-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}
.live-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd9e0 0%, #ffffff 25%, #e6c8d4 50%, #ffffff 75%, #ffd9e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px)  { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 8rem; } }
.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

/* Status indicator */
.status-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-live { background: #ef4444; animation: pulseDot 1.5s infinite; }
.status-offline { background: #6b7280; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Grid cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  border-radius: 24px;
  padding: 1.5rem;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
}
.card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.card-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.card-title { font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.card-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* Sections titres */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}
.section-subtitle {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

/* Alerts */
.alert { padding: 1rem 1.5rem; border-radius: 12px; margin-bottom: 1rem; }
.alert-success { background: rgba(34,197,94,0.2); border: 1px solid rgba(34,197,94,0.4); color: #86efac; }
.alert-error { background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.4); color: #fca5a5; }
.alert-info { background: rgba(59,130,246,0.2); border: 1px solid rgba(59,130,246,0.4); color: #93c5fd; }

/* Loader */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- LIVE PAGE ---- */
.stream-embed { width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: rgba(0,0,0,0.4); }
.stream-embed iframe { width: 100%; height: 100%; border: none; }
.chat-embed { width: 100%; min-height: 500px; border-radius: 16px; overflow: hidden; }
.chat-embed iframe { width: 100%; height: 500px; border: none; }
.stat-box { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 1rem; text-align: center; }
.stat-label { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: white; margin-top: 0.25rem; }

/* Clips grid */
.clips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.clip-card { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); position: relative; }
.clip-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.clip-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1rem 0.75rem 0.75rem;
}
.clip-title { font-size: 0.85rem; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-views { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* ---- SOCIAL / RESEAUX ---- */
.social-card { display: flex; flex-direction: column; }
.social-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.social-card-title { font-size: 1.2rem; font-weight: 700; color: #d4a5d4; }
.social-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}
.badge-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.badge-tiktok { background: linear-gradient(135deg, #ff0050, #7b2fff); }
.badge-youtube { background: linear-gradient(135deg, #ff0000, #ff5500); }

/* ---- PARTENARIATS ---- */
.partner-card {
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
  aspect-ratio: 1;
  justify-content: center;
}
.partner-card:hover { transform: translateY(-5px) scale(1.03); border-color: rgba(255,255,255,0.3); }
.partner-card.past { opacity: 0.6; }
.partner-logo { max-height: 100px; max-width: 100%; object-fit: contain; margin-bottom: 0.75rem; }
.partner-name { font-weight: 700; color: white; font-size: 0.95rem; }
.partner-desc { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

/* ---- ADMIN ---- */
.admin-layout { display: flex; min-height: 100vh; }
:root {
  --admin-sidebar-width: 290px;
  --admin-top-offset: 108px;
}
.admin-sidebar {
  width: var(--admin-sidebar-width);
  min-height: calc(100vh - var(--admin-top-offset)) !important;
  background: linear-gradient(180deg, rgba(14,8,22,0.94) 0%, rgba(28,16,40,0.84) 100%);
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 1rem 1rem;
  position: fixed;
  top: var(--admin-top-offset) !important;
  left: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.admin-sidebar-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: white;
  padding: 0.65rem 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.45rem;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.82rem;
  border-radius: 12px;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,0.1);
  color: white;
}
.admin-sidebar-footer {
  margin-top: auto !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.9rem;
}
.admin-content { margin-left: var(--admin-sidebar-width); padding: 2rem; flex: 1; min-width: 0; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: rgba(255,255,255,0.1);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}
.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.03); }
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green { background: rgba(34,197,94,0.2); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.badge-red { background: rgba(239,68,68,0.2); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.badge-yellow { background: rgba(234,179,8,0.2); color: #fde047; border: 1px solid rgba(234,179,8,0.3); }
.badge-gray { background: rgba(107,114,128,0.2); color: #d1d5db; border: 1px solid rgba(107,114,128,0.3); }
.btn-sm {
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
}
.btn-sm:hover { background: rgba(255,255,255,0.2); }
.btn-danger { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.4); color: #fca5a5; }
.btn-danger:hover { background: rgba(239,68,68,0.35); }
.btn-success { background: rgba(34,197,94,0.2); border-color: rgba(34,197,94,0.4); color: #86efac; }
.btn-success:hover { background: rgba(34,197,94,0.35); }

/* Connexion */
.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 0.75rem;
}
.oauth-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.oauth-google { background: rgba(255,255,255,0.15); }
.oauth-discord { background: rgba(88,101,242,0.5); border-color: rgba(88,101,242,0.6); }
.oauth-twitch { background: rgba(145,70,255,0.5); border-color: rgba(145,70,255,0.6); }

/* Séparateur */
.separator {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.4);
  margin: 1.5rem 0;
  font-size: 0.85rem;
}
.separator::before, .separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,200,220,0.4), transparent);
}

/* ---- Glow hover ---- */
.glow-hover { transition: all 0.3s ease; }
.glow-hover:hover {
  box-shadow: 0 0 30px rgba(255,150,200,0.4), 0 0 60px rgba(180,130,200,0.2);
  transform: translateY(-2px);
}

/* ---- Shadow pastel ---- */
.shadow-pastel { box-shadow: 0 8px 32px rgba(200,162,200,0.3); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; padding: 1.5rem 1.1rem; }
}

@media (max-width: 768px) {
  .navbar-menu, .navbar-actions { display: none; }
  .navbar-burger { display: flex; }
  .main-content {
    padding-top: 5.5rem;
    padding-bottom: 5.75rem;
  }
  .page-container {
    padding: 1.5rem 0.9rem !important;
    font-size: 0.98rem;
  }

  body[data-page='partenariats'] .partnership-hero-title { font-size: 2rem !important; }
  body[data-page='partenariats'] .partnership-highlight { padding: 1.1rem !important; }
  body[data-page='partenariats'] .partnership-future-grid {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }
  body[data-page='partenariats'] .partnership-action-row > * {
    width: 100%;
    justify-content: center;
  }

  body[data-page='live'] .live-status-card {
    min-width: 0 !important;
    max-width: none !important;
    width: 100%;
  }
  body[data-page='live'] .live-watch-btn {
    width: 100%;
    min-width: 0 !important;
    padding: 1rem 1.25rem !important;
    font-size: 1.05rem !important;
  }
  body[data-page='live'] .chat-embed,
  body[data-page='live'] .chat-embed iframe {
    min-height: 360px;
    height: 360px;
  }

  body[data-page='reseaux'] .social-top-row {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  body[data-page='reseaux'] iframe {
    height: 420px !important;
  }

  body[data-page='setup'] .setup-shell {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 2rem !important;
  }
  body[data-page='setup'] .setup-shell h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  body[data-page='setup'] .setup-shell .sticky { position: static !important; }
  body[data-page='setup'] .setup-shell #item-list { max-height: none !important; }

  .admin-content { padding: 1.25rem .9rem; }

  .admin-table th,
  .admin-table td {
    padding: .58rem .55rem;
    font-size: .82rem;
  }

}

@media (max-width: 480px) {
  .navbar { padding: 0.75rem 0.75rem 0 !important; }
  .hero-title { font-size: 2.5rem; }
  .glass.mx-4 { margin-left: 0.75rem; margin-right: 0.75rem; }
  #navMobile a { font-size: 1rem !important; }
  .clips-grid { grid-template-columns: repeat(2, 1fr); }

  body[data-page='partenariats'] .partnership-hero-title { font-size: 1.75rem !important; }
  body[data-page='partenariats'] .partnership-highlight { padding: 0.95rem !important; }

  body[data-page='live'] .chat-embed,
  body[data-page='live'] .chat-embed iframe {
    min-height: 320px;
    height: 320px;
  }

  body[data-page='reseaux'] iframe {
    height: 360px !important;
  }

}

/* ---- ANIMATIONS ---- */
.fade-in { animation: fadeIn 0.6s ease-out both; }
.fade-in-up { animation: fadeInUp 0.6s ease-out both; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll bar custom */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(167,139,250,0.6), rgba(219,39,119,0.6));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(167,139,250,0.8), rgba(219,39,119,0.8)); }
