﻿/* ====== Godber font for logo ====== */
@font-face {
  font-family: 'Godber';
  src: url('fonts/Godber.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ====== Variables ====== */
:root {
  --bg-dark: #0a0a0f;
  --bg-surface: #141418;
  --bg-surface-elevated: #1c1c24;
  --bg-card: #181820;

  --primary: #6d5dfc;
  --primary-hover: #5b4de0;
  --primary-glow: rgba(109, 93, 252, 0.3);
  --accent: #00d4ff;

  --text-primary: #eef0f6;
  --text-secondary: #8a8da0;
  --text-muted: #5c5f73;

  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 60px;
}

/* ====== Reset ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar { display: none; } /* Chrome/Safari/Edge */

/* Pas de sélection de texte sur le site */
* { user-select: none; -webkit-user-select: none; }
/* Sauf dans les champs de saisie */
input, textarea { user-select: text; -webkit-user-select: text; }

/* Masquer toutes les scrollbars (la barre de la page + autres éléments) */
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

.hidden { display: none !important; }

/* ====== HEADER ====== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 200;
  background: linear-gradient(to bottom, rgba(10,10,15,0.95), rgba(10,10,15,0));
  transition: background 0.4s ease;
}

#header.scrolled {
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-left { flex: 0 0 auto; }
.header-center { flex: 1; display: flex; justify-content: center; max-width: 500px; margin: 0 2rem; }
.header-right { flex: 0 0 auto; }

.logo {
  font-family: 'Godber', 'Outfit', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

/* ====== SEARCH ====== */
.search-container {
  position: relative;
  width: 100%;
}

.search-container .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

#searchInput {
  width: 100%;
  padding: 0.55rem 2.5rem 0.55rem 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-normal);
}

#searchInput:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

#searchInput::placeholder { color: var(--text-muted); }

.clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
}

.clear-btn:hover { color: var(--text-primary); }

/* Suggestions */
.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  gap: 0.8rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.suggestion-item:hover { background: var(--bg-surface-elevated); }
.suggestion-cover { width: 36px; height: 54px; object-fit: cover; border-radius: 4px; }
.suggestion-info { display: flex; flex-direction: column; }
.suggestion-title { font-weight: 600; font-size: 0.9rem; }
.suggestion-meta { font-size: 0.75rem; color: var(--text-secondary); }

/* Mon espace btn */
.my-space-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.45rem 1rem;
  border-radius: 30px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.my-space-btn:hover {
  border-color: var(--primary);
  background: var(--bg-surface-elevated);
}

/* ====== MAIN ====== */
#mainContent {
  margin-top: 0;
}

/* ====== HERO CAROUSEL ====== */
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
}

.hero-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.55);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-dark) 0%, transparent 50%),
              linear-gradient(to right, rgba(10,10,15,0.7) 0%, transparent 60%);
}

.hero-slide-content {
  position: absolute;
  bottom: 15%;
  left: 4%;
  max-width: 550px;
  z-index: 2;
}

.hero-slide-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-slide-logo {
  display: block;
  max-width: 340px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.6));
}

.hero-slide-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.hero-slide-meta .star { color: #fbbf24; }

.hero-slide-synopsis {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-actions {
  display: flex;
  gap: 0.8rem;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 20px var(--primary-glow);
  transform: translateY(-2px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* Hero controls */
.hero-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 5;
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.hero-arrow:hover { background: rgba(255,255,255,0.15); }

.hero-dots {
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ====== CATEGORY ROW ====== */
.category-row {
  padding: 1.8rem 0 0.5rem;
}

.category-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  margin-bottom: 0.8rem;
}

.category-row-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.category-row-nav {
  display: flex;
  gap: 0.4rem;
}

.row-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.8rem;
}

.row-arrow:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.row-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Scrollable row */
.row-scroll-wrapper {
  position: relative;
  overflow-x: clip;
}

.row-scroll {
  display: flex;
  gap: 12px;
  padding: 0 4% 10px;
  padding-top: 18px;
  margin-top: -18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll.grabbing { cursor: grabbing; scroll-behavior: auto; }

/* Row card */
.row-card {
  flex: 0 0 180px;
  aspect-ratio: 2/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.35s ease;
}

.row-card:hover {
  transform: translateY(-8px) scale(1.04);
  z-index: 10;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.row-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.row-card:hover img { transform: scale(1.08); }

.row-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.7rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.row-card:hover .row-card-overlay { opacity: 1; }

.row-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.row-card-meta {
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.row-card-meta .star { color: #fbbf24; }

/* Saga card (wider) */
.saga-card {
  flex: 0 0 280px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.35s ease;
}

.saga-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.saga-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.saga-card:hover img { transform: scale(1.06); filter: brightness(0.65); }

.saga-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.saga-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.saga-card-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ====== SEARCH RESULTS ====== */
.search-results {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: var(--bg-dark);
  overflow-y: auto;
  overflow-x: hidden;
}

.search-results.hidden { display: none; }

/* reuses .fdp-header and .fdp-back-btn from the film detail page */

.search-results-body {
  padding: 1.5rem 4% 4rem;
}

.search-results-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.search-results-grid .row-card {
  flex: none;
  width: 100%;
}

@media (max-width: 768px) {
  .search-results-body { padding: 1.2rem 1rem 3rem; }
  .search-results-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ====== MODAL ====== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  width: 92%;
  max-width: 880px;
  max-height: 90vh;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.modal-body { display: flex; width: 100%; min-height: 0; }

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.close-btn:hover { background: rgba(255,255,255,0.15); transform: scale(1.08); }

.modal-visual { flex: 0 0 340px; position: relative; }
.modal-cover { width: 100%; height: 100%; object-fit: cover; }

.modal-info {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
}

.modal-header h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.modal-meta-row {
  display: flex;
  gap: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.modal-genres { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }

.genre-tag {
  background: var(--bg-surface-elevated);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

.modal-synopsis {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(238,240,246,0.85);
  margin-bottom: 1.5rem;
}

.modal-detail-group { margin-bottom: 0.8rem; font-size: 0.9rem; }
.modal-detail-label { color: var(--primary); font-weight: 600; margin-right: 0.4rem; }

.modal-actions { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }

.play-button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.play-button:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 25px var(--primary-glow); }

.save-button {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.save-button:hover { background: rgba(255,255,255,0.15); }
.save-button.saved { color: var(--primary); border-color: var(--primary); }

/* ====== PLAYER ====== */
.player-content {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: #000;
  display: flex;
  flex-direction: column;
  z-index: 600;
}

.player-wrapper {
  flex: 1;
  width: 100%;
  position: relative;
  min-height: 0;
}

.player-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.player-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-wrapper .hidden { display: none !important; }

.servers-container {
  padding: 0.8rem 1rem;
  background: var(--bg-dark);
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  border-top: 1px solid var(--border);
}

.server-btn {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.85rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.server-btn.active { background: var(--primary); border-color: var(--primary); }
.server-btn:hover:not(.active) { background: var(--border-hover); }

#closePlayer {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: auto;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  width: auto;
  height: auto;
}

#closePlayer:hover { background: rgba(255,255,255,0.1); }

.fullscreen-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}
.fullscreen-btn:hover { background: rgba(255,255,255,0.1); }

/* ====== SAGA MODAL ====== */
.saga-modal-content {
  position: relative;
  width: 92%;
  max-width: 700px;
  max-height: 85vh;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow-y: auto;
  padding: 2rem;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  z-index: 1;
}

.saga-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.saga-films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

.saga-film-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.saga-film-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

.saga-film-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

.saga-film-card-title {
  padding: 0.4rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  line-height: 1.2;
}

/* ====== MY SPACE PANEL ====== */
.my-space-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.my-space-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  animation: fadeIn 0.25s ease;
}

.my-space-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.my-space-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.my-space-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.my-space-header .close-btn {
  position: static;
  width: 34px;
  height: 34px;
}

.my-space-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.empty-space {
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.9rem;
}

.space-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.space-item:hover { background: var(--bg-surface-elevated); }

.space-item img {
  width: 48px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}

.space-item-info { flex: 1; min-width: 0; }
.space-item-title { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.space-item-meta { font-size: 0.75rem; color: var(--text-secondary); }

.space-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  transition: color var(--transition-fast);
}

.space-item-remove:hover { color: #ef4444; }

/* ====== LOADER ====== */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50vh;
  gap: 0.8rem;
  color: var(--text-secondary);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 0.9s ease-in-out infinite;
}

/* Placeholder for series */
.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  margin: 0 4%;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ====== ADBLOCK BANNER ====== */
.adblock-banner {
  position: absolute;
  top: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;                              
  width: calc(100% - 2rem);
  max-width: 640px;
  animation: slideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;                       
}

.adblock-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(20, 14, 40, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(109, 93, 252, 0.4);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.adblock-banner-inner .adblock-icon {
  color: #fbbf24;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.adblock-banner-inner .adblock-text {
  flex: 1;
  line-height: 1.5;
}

.adblock-banner-inner .adblock-text strong {
  color: #fbbf24;
}

.adblock-install-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding: 0.3rem 0.7rem;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background var(--transition-fast);
}

.adblock-install-link:hover {
  background: var(--primary-hover);
}

.adblock-dismiss {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.adblock-dismiss:hover { color: var(--text-primary); }

@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ====== SERIES MODAL ====== */
.series-modal-content {
  position: relative;
  width: 92%;
  max-width: 860px;
  max-height: 88vh;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  z-index: 1;
}

#seriesBody {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.series-banner {
  position: relative;
  height: 210px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-card);
}

.series-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.series-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-surface) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
}

.series-banner-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.2rem 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.series-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin: 0;
}

.series-seasons-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(238,240,246,0.7);
  letter-spacing: 0.03em;
}

.seasons-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  scrollbar-width: none;
}
.seasons-tabs::-webkit-scrollbar { display: none; }

.season-tab {
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.season-tab:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
}

.season-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 3px 12px var(--primary-glow);
}

.episodes-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.5rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.episodes-list::-webkit-scrollbar { width: 4px; }
.episodes-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.episode-item {
  display: flex;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--border);
}

.episode-item:last-child { border-bottom: none; }

.episode-item:hover {
  background: rgba(255,255,255,0.05);
}

.episode-thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 155px;
  height: 87px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}

.episode-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.episode-thumb-play {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 1.3rem;
  color: #fff;
}

.episode-item:hover .episode-thumb-play { opacity: 1; }

.episode-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.1rem;
}

.episode-number-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.episode-number {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(109, 93, 252, 0.15);
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  flex-shrink: 0;
}

.episode-title-text {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-primary);
}

.episode-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: auto;
  flex-shrink: 0;
}

.episode-synopsis {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.no-episodes {
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.9rem;
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  #header { padding: 0 1rem; }
  .header-center { margin: 0 0.5rem; }

  .hero { height: 55vh; min-height: 300px; }
  .hero-slide-title { font-size: 1.6rem; }
  .hero-slide-synopsis { display: none; }
  .hero-slide-content { bottom: 20%; left: 5%; max-width: 80%; }

  .row-card { flex: 0 0 130px; }
  .saga-card { flex: 0 0 220px; height: 130px; }

  .category-row-header { padding: 0 1rem; }
  .row-scroll { padding: 0 1rem; gap: 8px; }

  .modal { align-items: flex-end; }
  .modal-content {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
  }
  .modal-body { flex-direction: column; overflow-y: auto; flex: 1; min-height: 0; }
  .modal-visual { flex: none; height: 220px; overflow: hidden; }
  .modal-cover { object-position: center 20%; }
  .modal-info { padding: 1.2rem 1.2rem 2rem; overflow-y: visible; }
  .modal-header h2 { font-size: 1.4rem; }
  .modal-actions { flex-direction: column; gap: 0.6rem; }
  .play-button, .save-button { width: 100%; justify-content: center; }

  .series-modal-content { width: 100%; max-height: 100vh; border-radius: 0; }
  .series-banner { height: 160px; }
  .series-title { font-size: 1.3rem; }
  .seasons-tabs { padding: 0.6rem 1rem; }
  .episodes-list { padding: 0.5rem 1rem 1rem; }
  .episode-thumb-wrap { width: 110px; height: 62px; }
  .episode-duration { display: none; }

  .my-space-content { width: 100%; max-width: 100vw; }

  .my-space-btn span { display: none; }
}

/* ── Myspace : sections & historique ─────────────────────────────────────── */
.myspace-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  padding: 0.8rem 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.myspace-section-title:first-child { padding-top: 0.2rem; }

.continue-item { position: relative; }

.space-item-play-icon {
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.continue-item:hover .space-item-play-icon { color: var(--primary); }

/* ── Modal avertissement sécurité ─────────────────────────────────────────── */
.security-warning-content {
  position: relative;
  z-index: 1001;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.4rem 2rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
  animation: modalIn 0.2s ease;
}

.security-warning-icon {
  font-size: 2.8rem;
  color: #fb923c;
  margin-bottom: 1rem;
}

.security-warning-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.security-warning-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.security-warning-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.security-btn-proceed {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.security-btn-proceed:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.security-btn-cancel {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.security-btn-cancel:hover { opacity: 0.85; }

/* Responsive logo hero */
@media (max-width: 600px) {
  .hero-slide-logo { max-width: 220px; max-height: 80px; }
}

/* ====== PERSON LINKS (actor / director clickable) ====== */
.person-link {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: inherit;
}
.person-link:hover { color: var(--primary); }

.person-list { line-height: 1.8; }

/* ====== SHARED DETAIL PAGE LAYOUT (Film & Série) ====== */

/* Blurred ambient background — background-image set via inline style */
.fdp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.12) blur(30px);
  transform: scale(1.08);
  pointer-events: none;
  z-index: 0;
}

.fdp-body, .sdp-body { position: relative; }

/* Two-column: left = cover, right = info */
.fdp-layout, .sdp-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  padding: 2.5rem 5% 2.5rem;
}

.fdp-left {
  width: 30%;
  flex-shrink: 0;
  min-width: 160px;
  max-width: 320px;
}

.fdp-left-sticky {
  position: sticky;
  top: 70px;
}

.fdp-cover-large {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 72px rgba(0,0,0,0.85);
  display: block;
}

.fdp-right, .sdp-right {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* ── Film detail page ─────────────────────────────── */
.film-detail-page {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: var(--bg-dark);
  overflow-y: auto;
  overflow-x: hidden;
}

.film-detail-page.hidden { display: none; }

.fdp-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1.2rem 5%;
  background: linear-gradient(to bottom, rgba(10,10,15,0.88) 60%, transparent);
  pointer-events: none;
}

.fdp-back-btn {
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition-fast);
}

.fdp-back-btn:hover { background: rgba(255,255,255,0.18); }

.fdp-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.fdp-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.fdp-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.fdp-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.fdp-synopsis {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(238,240,246,0.85);
  margin-bottom: 1.2rem;
}

.fdp-detail-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.fdp-detail-label {
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
}

.fdp-related {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 4rem;
}

/* ── Serie detail page ────────────────────────────── */
.serie-detail-page {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: var(--bg-dark);
  overflow-y: auto;
  overflow-x: hidden;
}

.serie-detail-page.hidden { display: none; }

.sdp-right-info { margin-bottom: 1.5rem; }

.sdp-synopsis {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(238,240,246,0.82);
  margin-bottom: 1.5rem;
}

.sdp-right .seasons-tabs {
  padding: 0;
  margin: 0;
  border-bottom: none;
}

.sdp-episodes-section {
  position: relative;
  z-index: 1;
  padding: 0 5% 4rem;
  border-top: 1px solid var(--border);
}

.sdp-episodes-section .episodes-list {
  padding: 0;
  max-height: none;
}

/* ── Responsive (mobile) ──────────────────────────── */
@media (max-width: 768px) {
  .fdp-layout, .sdp-layout {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 1rem 1.5rem;
  }
  .fdp-left {
    width: auto;
    max-width: 150px;
    margin: 0 auto;
  }
  .fdp-left-sticky { position: static; }
  .fdp-title { font-size: 1.55rem; }
  .fdp-meta { font-size: 0.82rem; gap: 0.6rem; }
  .fdp-actions { flex-direction: column; gap: 0.5rem; }
  .fdp-actions .play-button,
  .fdp-actions .save-button { width: 100%; justify-content: center; }
  .sdp-episodes-section { padding: 0 1rem 3rem; }
}

/* ====== SEARCH FOCUS PANEL ====== */
.search-focus-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: var(--bg-dark);
  overflow-y: auto;
  padding: 1.5rem 4% 3rem;
}

.search-focus-panel.hidden { display: none; }

.sfp-section { margin-bottom: 2rem; }

.sfp-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sfp-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.sfp-filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.sfp-filter-btn:hover { background: var(--bg-surface-elevated); color: var(--text-primary); }
.sfp-filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.sfp-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.sfp-tag-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}

.sfp-tag-btn:hover { background: var(--bg-surface-elevated); color: var(--text-primary); }

.sfp-recent-list { display: flex; flex-direction: column; gap: 0.15rem; }

.sfp-recent-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.sfp-recent-item:hover { background: var(--bg-surface); }

.sfp-recent-icon {
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.sfp-recent-text { flex: 1; font-size: 0.9rem; color: var(--text-primary); }

.sfp-recent-del {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 7px;
  font-size: 0.78rem;
  border-radius: 4px;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.sfp-recent-del:hover { color: #ef4444; }

@media (max-width: 768px) {
  #searchInput { font-size: 1rem; }
  .search-focus-panel { padding: 1.2rem 1rem 3rem; }
}

/* ====== DISCORD BANNER ====== */
.discord-banner {
  margin: 2rem 4%;
  border-radius: var(--radius-xl);
  background: url('https://image.tmdb.org/t/p/original/ujGkN3a8COVz8cg6TVpTM35ntMr.jpg') center calc(50% - 50px)/cover no-repeat;
  overflow: hidden;
  position: relative;
}

.discord-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

.discord-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 1.8rem;
  position: relative;
  z-index: 1;
}

.discord-banner-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
  min-width: 0;
}

.discord-banner-icon {
  font-size: 2.6rem;
  color: #fff;
  opacity: 0.95;
  flex-shrink: 0;
  line-height: 1;
}

.discord-banner-text {
  min-width: 0;
}

.discord-banner-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-banner-name {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-banner-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.discord-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.discord-stat .dot-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23a55a;
  flex-shrink: 0;
}

.discord-stat .dot-members {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.discord-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: #5865F2;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 16px rgba(88,101,242,0.35);
}

.discord-join-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88,101,242,0.5);
}

@media (max-width: 600px) {
  .discord-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.2rem;
  }
  .discord-join-btn { width: 100%; justify-content: center; }
  .discord-banner-title { font-size: 1rem; white-space: normal; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

