/* =============================================
   DARKSTREAM — Feuille de style principale
   ============================================= */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0d0d0d;
  --bg-card: #111111;
  --bg-card-hover: #1c1c1c;
  --bg-modal: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #555555;
  --accent: #c8c8c8;
  --accent-bright: #ffffff;
  --gradient-silver: linear-gradient(135deg, #c0c0c0 0%, #ffffff 50%, #a0a0a0 100%);
  --nav-height: 70px;
  --nav-bg: rgba(0, 0, 0, 0.97);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* =============================================
   NAVIGATION
   ============================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: linear-gradient(180deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: center;
  padding: 0 4%;
  z-index: 100;
  transition: background 0.3s ease;
  gap: 32px;
}

.navbar.scrolled {
  background: var(--nav-bg);
}

.navbar-logo {
  flex-shrink: 0;
}

.navbar-logo img {
  height: 36px;
  object-fit: contain;
}

.navbar-logo .logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--gradient-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.navbar-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text-primary);
}

.navbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  gap: 8px;
  transition: var(--transition);
  width: 200px;
}

.search-bar:focus-within {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
  width: 260px;
}

.search-bar input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 13px;
  width: 100%;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 10px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-selector:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}

.lang-selector .flag {
  font-size: 18px;
  line-height: 1;
}

.lang-selector span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* Add content button */
.btn-add-content {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 14px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-add-content:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--border-hover);
}

.btn-add-content svg {
  width: 16px;
  height: 16px;
}

/* User avatar */
.user-avatar {
  position: relative;
  cursor: pointer;
}

.user-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  object-fit: cover;
  transition: var(--transition);
}

.user-avatar:hover img {
  border-color: var(--accent);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.user-avatar:hover .user-dropdown {
  display: block;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 13px;
  transition: var(--transition);
}

.user-dropdown-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.user-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.95) 100%
  ),
  linear-gradient(
    to right,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0) 100%
  );
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #050505 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4%;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-meta .year { color: var(--accent); font-weight: 600; }
.hero-meta .duration { }
.hero-meta .genre {
  background: rgba(255,255,255,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-play {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-play:hover {
  background: rgba(255,255,255,0.85);
  transform: scale(1.03);
}

.btn-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.btn-info:hover {
  background: rgba(255,255,255,0.25);
}

/* =============================================
   CONTENT ROWS
   ============================================= */

.content-section {
  padding: 0 4%;
  margin-bottom: 40px;
}

.content-section:first-of-type {
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.section-see-all {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.section-see-all:hover {
  color: var(--text-primary);
}

/* Row avec scroll horizontal */
.content-row {
  position: relative;
}

.content-row-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.content-row-track::-webkit-scrollbar { display: none; }

.row-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: var(--transition);
  border: none;
  color: white;
}

.content-row:hover .row-arrow { opacity: 1; }
.row-arrow.left { left: -40px; }
.row-arrow.right { right: -40px; }

/* =============================================
   CONTENT CARDS
   ============================================= */

.content-card {
  flex-shrink: 0;
  width: 180px;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  transition: transform 0.3s ease, z-index 0s;
}

.content-card:hover {
  transform: scale(1.08);
  z-index: 10;
}

.card-poster {
  width: 100%;
  aspect-ratio: 2/3;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-poster-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  padding: 10px;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0) 50%
  );
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}

.content-card:hover .card-overlay {
  opacity: 1;
}

.card-play-btn {
  width: 36px;
  height: 36px;
  background: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: var(--transition);
}

.card-play-btn:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.card-play-btn svg {
  color: #000;
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.card-info {
  padding: 8px 4px 0;
}

.card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.card-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
}

.card-type-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  text-transform: uppercase;
}

.card-new-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #c0c0c0, #fff);
  color: #000;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =============================================
   MODALS
   ============================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-modal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 480px;
  box-shadow: var(--shadow);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-logo {
  text-align: center;
  margin-bottom: 28px;
}

.modal-logo .logo-text {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  background: var(--gradient-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.modal-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
}

/* =============================================
   FORMS
   ============================================= */

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.form-input:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Key input spécial */
.key-input-wrapper {
  display: flex;
  gap: 10px;
}

.key-input-wrapper .form-input {
  letter-spacing: 3px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  width: 100%;
}

.btn-primary:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border: 1px solid var(--border);
  width: 100%;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--border-hover);
}

.btn-discord {
  background: #5865F2;
  color: white;
  width: 100%;
  font-size: 15px;
  padding: 14px 20px;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord svg {
  width: 22px;
  height: 22px;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

.btn-danger {
  background: rgba(220, 38, 38, 0.15);
  color: #ef4444;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background: rgba(220, 38, 38, 0.25);
}

.btn-success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
  background: rgba(34, 197, 94, 0.25);
}

/* =============================================
   LOGIN PAGE
   ============================================= */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.02) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}

.login-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.01) 40px,
      rgba(255,255,255,0.01) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.01) 40px,
      rgba(255,255,255,0.01) 41px
    );
}

.login-box {
  position: relative;
  z-index: 1;
  background: rgba(10,10,10,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 0 60px rgba(255,255,255,0.03), var(--shadow);
  text-align: center;
}

.login-logo {
  margin-bottom: 32px;
}

.login-logo-text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 4px;
  background: var(--gradient-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  display: block;
}

.login-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.login-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-lang {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10;
}

/* =============================================
   ACTIVATION KEY MODAL
   ============================================= */

.activation-box {
  text-align: center;
}

.activation-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.activation-segments {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.activation-segment {
  width: 70px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.activation-segment:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
}

.activation-separator {
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 300;
  align-self: center;
}

.activation-error {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}

.activation-error.show { display: block; }

/* =============================================
   WATCH PAGE
   ============================================= */

.watch-page {
  min-height: 100vh;
  background: #000;
  padding-top: var(--nav-height);
}

.player-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 4%;
}

.player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.player-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.player-info {
  margin-top: 24px;
}

.player-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.player-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.player-meta .year { color: var(--accent); font-weight: 600; }

.player-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  max-width: 800px;
}

.player-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-back:hover {
  background: rgba(255,255,255,0.15);
}

/* =============================================
   CONTENT DETAIL MODAL
   ============================================= */

.content-modal {
  max-width: 900px;
  padding: 0;
  overflow: hidden;
}

.content-modal-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.content-modal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-modal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.9));
}

.content-modal-body {
  padding: 28px 32px 32px;
}

.content-modal-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.content-modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 16px;
}

.content-modal-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.content-modal-actions {
  display: flex;
  gap: 12px;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 48px 4%;
  margin-top: 60px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  background: var(--gradient-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--text-secondary); }

.footer-copy {
  color: var(--text-muted);
  font-size: 12px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .navbar { padding: 0 3%; gap: 16px; }
  .navbar-nav { display: none; }
  .search-bar { width: 160px; }
  .search-bar:focus-within { width: 160px; }
  .hero { height: 65vh; }
  .hero-title { font-size: 24px; }
  .hero-description { display: none; }
  .content-card { width: 130px; }
  .login-box { padding: 32px 24px; }
}

/* =============================================
   UTILITIES
   ============================================= */

.text-gradient {
  background: var(--gradient-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden { display: none !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-gerant { background: rgba(255,215,0,0.15); color: #ffd700; border: 1px solid rgba(255,215,0,0.3); }
.badge-admin  { background: rgba(192,192,192,0.15); color: #c0c0c0; border: 1px solid rgba(192,192,192,0.3); }
.badge-hosteur { background: rgba(100,149,237,0.15); color: #6495ed; border: 1px solid rgba(100,149,237,0.3); }
.badge-user   { background: rgba(255,255,255,0.05); color: #888; border: 1px solid rgba(255,255,255,0.1); }
.badge-vip    { background: rgba(255,165,0,0.15); color: #ffa500; border: 1px solid rgba(255,165,0,0.3); }
.badge-ban    { background: rgba(220,38,38,0.15); color: #ef4444; border: 1px solid rgba(220,38,38,0.3); }

/* Notification toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 280px;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
}

.toast.success { border-left: 3px solid #22c55e; }
.toast.error   { border-left: 3px solid #ef4444; }
.toast.info    { border-left: 3px solid #c0c0c0; }

.toast-msg { font-size: 13px; color: var(--text-secondary); flex: 1; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; transform: translateX(100%); }
}
