/* ══════════════════════════════════════════════════════════
   MODAL AUTH (Google / Twitch)
══════════════════════════════════════════════════════════ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.auth-modal-box {
  position: relative;
  z-index: 10000;
  background: linear-gradient(180deg, #141a2a, #0f1423);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px 32px;
  width: min(420px, 92vw);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
  overflow: hidden;
}

.auth-modal-close {
  all: unset;
  position: absolute;
  top: 14px;
  right: 16px;
  color: #9aa3b2;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.15s;
  z-index: 1;
}
.auth-modal-close:hover {
  opacity: 1;
  color: #fff;
}
.auth-modal-close:focus,
.auth-modal-close:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.auth-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.auth-modal-subtitle {
  font-size: 14px;
  color: #9aa3b2;
  margin: 0 0 28px;
}

.auth-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
  cursor: pointer;
}
.auth-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.auth-btn-google { background: #fff; color: #1e1b4b; }
.auth-btn-twitch { background: #9146ff; color: #fff; }
.auth-btn-discord { background: #5865f2; color: #fff; border: none; }
.auth-btn-discord:hover { background: #4752c4; }

/* ── Bouton connexion header ── */
a.login-button-google {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1e1b4b;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.15s;
}
a.login-button-google:hover { opacity: 0.9; color: #1e1b4b; }

/* ── Bouton hero CTA ── */
a.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #081018;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
a.hero-cta:hover { opacity: 0.9; color: #081018; }

/* ══════════════════════════════════════════════════════════
   HEADER TABS (commun à toutes les pages)
══════════════════════════════════════════════════════════ */
.header-tabs {
  display: flex !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tab-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #e8eefc !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transition: border-color 0.15s, color 0.15s !important;
}

.tab-link:hover {
  border-color: rgba(124, 106, 255, 0.5) !important;
  color: #c4b5fd !important;
}

.tab-link.active {
  border-color: rgba(124, 106, 255, 0.5) !important;
  color: #c4b5fd !important;
}

@media (max-width: 800px) {
  .header-tabs {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    flex: 1 !important;
    justify-content: center !important;
  }
  .tab-link {
    font-size: 10px !important;
    padding: 4px 6px !important;
    white-space: nowrap !important;
  }
  .nav-right .stats-button {
    display: none !important;
  }
  .brand {
    flex: none !important;
  }
  .nav-right {
    flex: none !important;
    margin-left: auto !important;
  }
}




