:root {
  --bg: #0f0f11;
  --text: #eaeaea;
  --muted: #9a9a9a;
  --accent: #c9a24d;
  --card: #17171a;
  --border: #1f1f23;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

nav a {
  margin-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

/* Hero / accueil */
.hero {
  max-width: 1100px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
}

.search {
  margin-top: 2rem;
  max-width: 450px;
}

.search input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  border: none;
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
}

/* Main content */
main {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.weekly h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  background: var(--card);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.card img {
  width: 100%;
  border-radius: 4px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.read {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  background: #0c0c0e;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  font-size: 0.9rem;
}

footer h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

footer a:hover {
  color: var(--text);
}

.footer-bottom {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
/* Formulaire avancé */
form label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
}

form select, form input, form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-top: 0.3rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  padding: 0.7rem 1.5rem;
  margin-top: 1rem;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover {
  background: #b38f42;
}

#formMsg {
  font-size: 0.9rem;
  color: var(--muted);
}


@media (max-width: 700px) {
  .card {
    grid-template-columns: 1fr;
  }
  nav {
    display: none;
  }
}
/* Bouton hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}
/* ---------- Desktop / Mobile switch ---------- */
.nav-desktop {
  display: flex;
  gap: 1.4rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

/* ---------- Menu mobile ---------- */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #0b0b0d; /* PLUS FONCÉ */
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile a {
  font-size: 1.1rem;
}

.nav-mobile .secondary {
  opacity: 0.7;
  font-size: 0.95rem;
}

.mobile-search {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  background: #151518;
  color: var(--text);
  margin-bottom: 10px;
}

/* Séparateur */
.nav-divider {
  height: 1px;
  background: #1f1f23;
  margin: 15px 0;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 999;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }
}
/* Mobile */
@media (max-width: 700px) {

  .burger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--bg);
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.1rem;
  }

  .mobile-search {
    margin-top: 2rem;
  }
}
/* Scroll to top progress */
#scrollTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#scrollTop svg {
  position: absolute;
  transform: rotate(-90deg);
}

#scrollTop circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.1s linear;
}

#scrollTop span {
  position: relative;
  color: var(--text);
  font-size: 1.1rem;
}
/* Pop-up maintenance */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: var(--card);
  color: var(--text);
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.popup-content h2 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.popup-content p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.popup-content button {
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.popup-content button:hover {
  background: #b38f42;
}

/* ================= POP-UP GLOBAL ================= */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup[hidden] {
  display: none;
}
.popup.hidden {
  display: none;
}
.popup-content {
  position: relative;
  background: var(--card);
  color: var(--text);
  padding: 2rem;
  border-radius: 10px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  animation: popupFade 0.25s ease;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-content h2 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.popup-content p {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Bouton principal */
.popup-content button {
  padding: 0.7rem 1.6rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.popup-content button:hover {
  background: #b38f42;
  transform: translateY(-1px);
}

/* Bouton fermeture (croix) */
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.popup-close:hover {
  color: var(--text);
}
.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.profile-icon:hover {
  transform: scale(1.05);
  opacity: 0.85;
}
/* Bandeau avis disponible */
.avis-banner {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(
    90deg,
    rgba(201,162,77,0.15),
    rgba(201,162,77,0.05)
  );
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.avis-banner span {
  color: var(--text);
}

.avis-banner a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.avis-banner a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .avis-banner {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
}
/* ================= VIDEO YOUTUBE ================= */

.trailer-section {
  margin-top: 3rem;
}

.trailer-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#loadMoreBtn {
  display: block;
  margin: 2.5rem auto 0;
  padding: 0.8rem 1.8rem;
  background: var(--card);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

#loadMoreBtn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-1px);
}

#loadMoreBtn:active {
  transform: translateY(0);
}.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.85rem;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.fav-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.fav-btn:hover {
  transform: scale(1.08);
  border-color: var(--accent);
}

.heart {
  width: 20px;
  height: 20px;
  fill: transparent;
  stroke: var(--muted);
  stroke-width: 2;
  transition: 0.3s ease;
}

/* Actif */
.fav-btn.active .heart {
  fill: var(--accent);
  stroke: var(--accent);
  animation: popHeart 0.35s ease;
}

/* Glow subtil */
.fav-btn.active {
  box-shadow: 0 0 12px rgba(201,162,77,0.5);
}

/* Animation */
@keyframes popHeart {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* IMPORTANT : rendre .card relative */
.card {
  position: relative;
}
.favorites-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.favorites-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.favorites-container::-webkit-scrollbar {
  height: 6px;
}

.favorites-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.favorite-card {
  min-width: 220px;
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
  flex-shrink: 0;
  position: relative;
  transition: 0.25s ease;
}

.favorite-card:hover {
  transform: translateY(-4px);
}

.favorite-card img {
  width: 220px;
  height: 330px;
 border-radius: 6px;
  margin-bottom: 0.8rem;
}

.favorite-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.remove-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: var(--accent);
  font-weight: bold;
}

/* Bouton supprimer tout */

.clear-btn {
  margin-top: 2rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.clear-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.fav-btn.active::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: particle 0.4s ease forwards;
}

@keyframes particle {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1;}
  50% { transform: translate(-150%, -150%) scale(1.2); opacity: 0.8;}
  100% { transform: translate(-200%, -200%) scale(0); opacity: 0;}
}
.view-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  background: rgba(201,162,77,0.2);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.view-btn:hover {
  background: var(--accent);
  color: var(--bg);
  transform: scale(1.05);
}
.history-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.history-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.history-container::-webkit-scrollbar {
  height: 6px;
}

.history-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.history-card {
  min-width: 220px;
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
  flex-shrink: 0;
  position: relative;
  transition: 0.25s ease;
}

.history-card:hover {
  transform: translateY(-4px);
}

.history-card img {
  width: 220px;
  height: 330px;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.history-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.remove-history {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: var(--accent);
  font-weight: bold;
}

/* Bouton supprimer tout */
.clear-btn {
  margin-top: 2rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.clear-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.favorites-wrapper,
.history-wrapper {
  position: relative;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(23,23,26,0.8);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  opacity: 0; /* invisible par défaut */
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  pointer-events: auto;
}

.scroll-arrow svg {
  stroke: var(--accent);
  transition: stroke 0.2s, transform 0.2s;
}

.scroll-arrow:hover {
  background: rgba(201,162,77,0.25);
  transform: translateY(-50%) scale(1.1);
}

.scroll-arrow.left { left: 4px; }
.scroll-arrow.right { right: 4px; }

/* Affichage seulement si scroll possible */
.scroll-arrow.show { opacity: 0.8; }
.scroll-arrow.show:hover { opacity: 1; }

/* Conteneurs scrollables */
.favorites-container,
.history-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

/* Scrollbar discrète */
.favorites-container::-webkit-scrollbar,
.history-container::-webkit-scrollbar {
  height: 6px;
}

.favorites-container::-webkit-scrollbar-thumb,
.history-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.public-stats {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: 0.2s;
}

.stat-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.stat-icon {
  width: 16px;
  height: 16px;
  fill: var(--muted);
  transition: 0.2s;
}

.stat-item:hover .stat-icon {
  fill: var(--accent);
}


.rating-stars {
  display: flex;
  gap: 4px;
  font-size: 1.5rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.rating-stars .star {
  color: #ccc;
  transition: color 0.2s;
}

.rating-stars .star:hover,
.rating-stars .star:hover ~ .star {
  color: gold;
}

/* ================= RANKING PREMIUM ================= */

.ranking-section {
  margin-top: 3rem;
}

.ranking-controls {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.ranking-title {
  font-size: 1.8rem;
}

.ranking-title span {
  color: var(--accent);
}

.ranking-filters {
  display: flex;
  gap: 0.8rem;
}

.ranking-select {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.ranking-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.ranking-table th,
.ranking-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.ranking-table th {
  color: var(--muted);
  text-align: left;
  font-weight: 500;
}

.ranking-table tr {
  transition: background 0.2s, transform 0.2s;
}

.ranking-table tr:hover {
  background: rgba(255,255,255,0.03);
}

/* TOP 3 */

.top-1 {
  background: rgba(201,162,77,0.18);
  box-shadow: inset 4px 0 0 var(--accent);
}

.top-2 {
  background: rgba(201,162,77,0.1);
}

.top-3 {
  background: rgba(201,162,77,0.05);
}

/* Animation montée */

.row-up {
  animation: rise 0.4s ease;
}

@keyframes rise {
  from { transform: translateY(6px); }
  to { transform: translateY(0); }
}

/* Evolution */

.delta {
  font-weight: 600;
}

.delta.up {
  color: #4caf50;
}

.delta.down {
  color: #f44336;
}

.delta.same {
  color: var(--muted);
}

.hot-badge {
  background: rgba(255,69,0,0.15);
  color: #ff784e;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-left: 6px;
}

/* Totaux */

.ranking-totals {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.ranking-total-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 768px) {
  .ranking-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}

.tracking-section { margin-top: 3rem; }
.tracking-section h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.tracking-section form { margin-bottom: 2rem; }
.tracking-section form label { font-weight: 500; margin-top: 1rem; display: block; }
.tracking-section form select,
.tracking-section form input,
.tracking-section form textarea,
.tracking-section form button {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-top: 0.3rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
}
.tracking-section form button {
  margin-top: 1rem;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
}
.tracking-section form button:hover { background: #b38f42; }

.tracking-wrapper { display: flex; flex-direction: column; gap: 1rem; }
.tracking-controls { display: flex; gap: 1rem; margin-bottom: 1rem; }
.tracking-controls button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.tracking-controls button:hover { background: #1f1f23; }

.tracking-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--card);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.tracking-card img { width: 60px; height: 90px; object-fit: cover; border-radius: 4px; }
.tracking-card h3 { font-size: 1.1rem; margin: 0; flex: 1; }
.tracking-card .status { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.tracking-card button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1.2rem; }
.tracking-card button:hover { color: var(--text); }

/* Suggestions Footer */
.footer-suggestions {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.suggestions-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.suggestions-wrapper::-webkit-scrollbar {
  height: 6px;
}

.suggestions-wrapper::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.suggestion-card {
  min-width: 220px;
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.suggestion-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.suggestion-card img {
  width: 220px;
  height: 330px;
 border-radius: 6px;
  margin-bottom: 0.8rem;
}

.suggestion-card span {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 0.4rem;
}

.suggestion-card .read {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
}

.suggestion-card button {
  padding: 0.5rem 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.suggestion-card button.interested {
  background: var(--accent);
  color: var(--bg);
}

.suggestion-card button.interested:hover {
  background: #b38f42;
  transform: translateY(-1px);
}

.suggestion-card button.not-interested {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.suggestion-card button.not-interested:hover {
  background: var(--text);
  color: var(--bg);
}

@media (max-width: 700px) {
  .suggestions-wrapper {
    gap: 1rem;
  }

  .suggestion-card {
    min-width: 160px;
  }
}

/* Pop-up consentement */
#consentPopup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#consentPopup .popup-content {
  background: var(--card);
  color: var(--text);
  padding: 2rem;
  border-radius: 10px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: popupFade 0.25s ease;
}

#consentPopup .popup-content h2 {
  margin-bottom: 1rem;
  color: var(--accent);
}

#consentPopup .popup-content a {
  color: var(--accent);
  text-decoration: underline;
}

#consentPopup .popup-content button {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#consentPopup #acceptBtn { background: var(--accent); color: var(--bg); }
#consentPopup #acceptBtn:hover { background: #b38f42; }
#consentPopup #declineBtn { background: var(--border); color: var(--text); }
#consentPopup #declineBtn:hover { background: #1f1f23; }

@keyframes popupFade {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.legal-section {
  background: var(--card);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 1rem;
  line-height: 1.6;
  color: var(--text);
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.legal-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.8rem;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
}

#results {
  margin-top: 10px;
}

#results div:hover {
  background: #1f1f24;
}