* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: #050510;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: white;
  position: relative;
}

/* Glow arrière */

.background-glow {
  position: absolute;

  width: 700px;
  height: 700px;

  background: rgba(124, 58, 237, 0.18);

  border-radius: 50%;

  filter: blur(140px);

  pointer-events: none;
}

/* Container */

.auth-container {
  width: 100%;

  display: flex;

  justify-content: center;

  padding: 20px;

  z-index: 2;

  position: relative;
}

/* Card */

.auth-card {
  width: 100%;
  max-width: 430px;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(20px);

  border-radius: 32px;

  padding: 45px;

  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.5);

  position: relative;
  z-index: 3;
}

/* Titre */

.auth-card h1 {
  font-size: 42px;

  margin-bottom: 10px;

  font-weight: 700;
}

/* Sous titre */

.subtitle {
  color: #9ca3af;

  margin-bottom: 35px;

  font-size: 15px;

  line-height: 1.5;
}

/* Inputs */

.input-group {
  margin-bottom: 22px;
}

.input-group label {
  display: block;

  margin-bottom: 10px;

  color: #d1d5db;

  font-size: 14px;
}

.input-group input {
  width: 100%;

  padding: 16px 18px;

  border-radius: 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.04);

  color: white;

  font-size: 15px;

  outline: none;

  transition: 0.25s ease;
}

.input-group input::placeholder {
  color: #6b7280;
}

.input-group input:focus {
  border-color: #8b5cf6;

  background: rgba(255, 255, 255, 0.06);
}

/* Bouton */

button {
  width: 100%;

  padding: 16px;

  border: none;

  border-radius: 18px;

  background: linear-gradient(
    135deg,
    #8b5cf6,
    #7c3aed
  );

  color: white;

  font-size: 15px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.25s ease;

  margin-top: 10px;
}

button:hover {
  transform: translateY(-2px);

  opacity: 0.92;
}

/* Texte bas */

.bottom-text {
  margin-top: 28px;

  text-align: center;

  color: #9ca3af;

  font-size: 14px;
}

.bottom-text a {
  color: #a78bfa;

  text-decoration: none;

  font-weight: 600;
}

.bottom-text a:hover {
  color: white;
}

/* Messages d'erreur */

.error-message {
  width: 100%;

  background: rgba(255, 70, 70, 0.08);

  border: 1px solid rgba(255, 70, 70, 0.2);

  color: #fca5a5;

  padding: 14px 16px;

  border-radius: 16px;

  margin-bottom: 22px;

  font-size: 14px;

  text-align: center;

  backdrop-filter: blur(10px);
}

/* Forgot password */

.forgot-password {
  text-align: right;
  margin-bottom: 18px;
}

.forgot-password a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 13px;
  transition: 0.2s;
}

.forgot-password a:hover {
  color: #a78bfa;
}

.success-message {
  width: 100%;

  background: rgba(52, 211, 153, 0.08);

  border: 1px solid rgba(52, 211, 153, 0.2);

  color: #6ee7b7;

  padding: 14px 16px;

  border-radius: 16px;

  margin-bottom: 22px;

  font-size: 14px;

  text-align: center;

  backdrop-filter: blur(10px);
}

/* DASHBOARD */

.dashboard-body {
  min-height: 100vh;
}

/* Bouton logout */

.logout-button {
  position: absolute;

  top: 30px;
  left: 30px;

  padding: 16px 24px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 18px;

  color: white;

  text-decoration: none;

  font-weight: 600;

  backdrop-filter: blur(12px);

  transition: 0.25s ease;

  z-index: 20;
}

.logout-button:hover {
  background: rgba(255, 255, 255, 0.08);

  transform: translateY(-2px);
}

/* Container */

.dashboard-container {
  width: 100%;

  min-height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;

  position: relative;

  z-index: 5;

  padding: 40px;
}

/* Content */

.dashboard-content {
  text-align: center;
}

/* Titre */

.dashboard-content h1 {
  font-size: 72px;

  margin-bottom: 18px;

  font-weight: 700;
}

/* Texte */

.dashboard-content p {
  color: #9ca3af;

  font-size: 20px;

  margin-bottom: 60px;
}

/* GO button */

.go-button {
  width: 240px;

  height: 240px;

  display: flex;

  justify-content: center;

  align-items: center;

  margin: auto;

  border-radius: 50%;

  background: linear-gradient(
    135deg,
    #8b5cf6,
    #7c3aed
  );

  color: white;

  text-decoration: none;

  font-size: 72px;

  font-weight: 700;

  box-shadow:
    0 0 80px rgba(139, 92, 246, 0.45);

  transition: 0.3s ease;
}

.go-button:hover {
  transform: scale(1.06);

  box-shadow:
    0 0 120px rgba(139, 92, 246, 0.7);
}

/* APP */

.app-body {
  min-height: 100vh;
}

/* TOPBAR */

.topbar {
  position: fixed;

  top: 20px;
  left: 50%;

  transform: translateX(-50%);

  width: calc(100% - 40px);

  max-width: 1700px;

  height: 90px;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(20px);

  border-radius: 28px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 28px;

  z-index: 100;
}

/* LEFT */

.nav-left {
  display: flex;

  align-items: center;

  gap: 45px;
}

/* Logout */

.logout-nav {
  padding: 14px 22px;

  border-radius: 18px;

  background: rgba(255, 70, 70, 0.12);

  border: 1px solid rgba(255, 70, 70, 0.15);

  color: #fca5a5;

  text-decoration: none;

  font-weight: 600;

  transition: 0.25s ease;
}

.logout-nav:hover {
  transform: translateY(-2px);

  background: rgba(255, 70, 70, 0.2);
}

/* Links */

.nav-link {
  color: #d1d5db;

  text-decoration: none;

  font-size: 20px;

  font-weight: 600;

  transition: 0.25s ease;

  position: relative;
}

.nav-link:hover {
  color: white;
}

.active-link {
  color: white;
}

/* PROFILE */

.profile-wrapper {
  position: relative;
}

.profile-button {
  background: none;

  border: none;

  cursor: pointer;
}

/* Avatar */

.profile-avatar {
  width: 58px;
  height: 58px;

  border-radius: 50%;

  background: linear-gradient(
    135deg,
    #8b5cf6,
    #7c3aed
  );

  display: flex;

  justify-content: center;

  align-items: center;

  color: white;

  font-size: 24px;

  font-weight: 700;

  box-shadow:
    0 0 40px rgba(139, 92, 246, 0.35);
}

/* MENU */

.profile-menu {
  position: absolute;

  top: 85px;
  right: 0;

  width: 300px;

  background: rgba(15, 15, 30, 0.96);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 26px;

  padding: 24px;

  backdrop-filter: blur(25px);

  opacity: 0;

  visibility: hidden;

  transform: translateY(10px);

  transition: 0.25s ease;

  z-index: 999;
}

.show-menu {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

/* Profile info */

.profile-info {
  text-align: center;
}

.profile-big-avatar {
  width: 85px;
  height: 85px;

  border-radius: 50%;

  background: linear-gradient(
    135deg,
    #8b5cf6,
    #7c3aed
  );

  display: flex;

  justify-content: center;

  align-items: center;

  margin: auto;

  margin-bottom: 18px;

  font-size: 36px;

  font-weight: 700;
}

.profile-info h3 {
  font-size: 24px;

  margin-bottom: 6px;
}

.profile-info p {
  color: #9ca3af;

  font-size: 14px;
}

/* Divider */

.profile-divider {
  width: 100%;

  height: 1px;

  background: rgba(255, 255, 255, 0.08);

  margin: 22px 0;
}

/* Items */

.profile-item {
  width: 100%;

  display: block;

  padding: 14px 18px;

  border-radius: 16px;

  color: white;

  text-decoration: none;

  transition: 0.25s ease;

  margin-bottom: 8px;
}

.profile-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.logout-item {
  color: #fca5a5;
}

/* MAIN */

.app-container {
  width: 100%;

  padding-top: 150px;

  padding-left: 40px;

  padding-right: 40px;
}

/* ACTUS */

.actus-card {
  width: 100%;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 36px;

  padding: 40px;

  backdrop-filter: blur(20px);
}

.actus-card h1 {
  font-size: 56px;

  margin-bottom: 40px;
}

/* EMPTY */

.empty-card {
  width: 100%;

  height: 240px;

  border-radius: 28px;

  border: 2px dashed rgba(255,255,255,0.08);

  display: flex;

  justify-content: center;

  align-items: center;

  color: #9ca3af;

  font-size: 22px;
}

/* TOP CARDS */

.top-cards {
  width: 100%;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 30px;

  margin-bottom: 30px;
}

/* CARD */

.highlight-card {
  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 32px;

  padding: 30px;

  backdrop-filter: blur(20px);

  min-height: 260px;
}

/* HEADER */

.card-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 30px;
}

.card-header h2 {
  font-size: 30px;
}

/* BADGE */

.premium-badge {
  padding: 10px 16px;

  border-radius: 14px;

  background: rgba(139, 92, 246, 0.18);

  border: 1px solid rgba(139, 92, 246, 0.25);

  color: #c4b5fd;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1px;
}

/* CONTENT */

.highlight-content {
  width: 100%;
}

/* MINI CARD */

.mini-user-card {
  width: 100%;

  height: 120px;

  border-radius: 22px;

  border: 2px dashed rgba(255,255,255,0.08);

  display: flex;

  justify-content: center;

  align-items: center;

  color: #9ca3af;

  font-size: 18px;
}

/* ACTUS */

.actus-card {
  width: 100%;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 36px;

  padding: 40px;

  backdrop-filter: blur(20px);

  min-height: 380px;
}

.actus-card h1 {
  font-size: 48px;

  margin-bottom: 30px;
}