/* Reset de base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, sans-serif;
  background: linear-gradient(135deg, #f0f0f0, #dcdcdc);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Container principal */
.cinema-screen {
  max-width: 720px; /* plus large que login */
  width: 100%;
  text-align: left;
}

/* Carte RGPD */
.rgpd-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  margin: 20px 0;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.6);
  overflow: hidden;
  animation: fadeSlideUp 0.9s ease-out forwards;
}

/* Effet de flash lumineux */
.rgpd-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 70%
  );
  transform: rotate(25deg);
  animation: flashMove 4s infinite;
}

/* Animation du flash */
@keyframes flashMove {
  0%   { transform: translateX(-100%) rotate(25deg); }
  50%  { transform: translateX(100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

/* Animation d’apparition */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Titres et textes */
.rgpd-card h1 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  text-align: center;
  background: linear-gradient(90deg, #4a90e2, #357ab8, #4a90e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.rgpd-card h2 {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.rgpd-card p,
.rgpd-card li {
  line-height: 1.6;
  font-size: 0.95rem;
  color: #444;
}

.rgpd-card ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

/* Liens */
.rgpd-card a {
  color: #4a90e2;
  text-decoration: underline;
  font-weight: 500;
}
.rgpd-card a:hover {
  color: #6bb3ff;
}

/* Bouton retour */
.btn-back {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #4a90e2, #357ab8);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-back:hover {
  background: linear-gradient(135deg, #357ab8, #2a5f8a);
  transform: translateY(-2px);
}

/* ✅ Responsive */
@media (max-width: 600px) {
  .rgpd-card {
    padding: 18px;
  }
  .rgpd-card h1 {
    font-size: 1.3rem;
  }
  .rgpd-card h2 {
    font-size: 1rem;
  }
  .rgpd-card p,
  .rgpd-card li {
    font-size: 0.9rem;
  }
}