/* Adaptation du CSS du lecteur issu de model.html */
.reader-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5vw 1.2rem 2.5vw;
  background: rgba(15, 17, 22, 0.95);
  transition: background 0.3s, backdrop-filter 0.3s;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e6eef8;
  backdrop-filter: blur(10px);
}
.reader-header.header-scrolled {
  background: rgba(15, 17, 22, 0.2);
  backdrop-filter: blur(16px);
}
.header-left {
  flex: 1;
  text-align: left;
  font-size: 1.1rem;
  color: #e6eef8;
  font-family: 'Orbitron', Arial, sans-serif;
}
.close-btn {
  width: 19.61px;
  height: 32px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.close-btn:hover {
  color: #00bfff;
}
.reader-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5vw 0 3vw 0;
}
.scan-img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 5px auto;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.13);
  background: #0b1220;
}
.premium-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.08), rgba(155, 107, 255, 0.08));
  border-radius: 12px;
  margin: 2rem 0;
}
.premium-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #00a8ff, #0085cc);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}
.premium-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 168, 255, 0.3);
}
.loading {
  color: #98a0b3;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 3rem;
}
.reader-bottom-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.reader-promo {
  color: #fff;
  text-align: center;
  font-size: 1.08rem;
  margin-bottom: 1.1rem;
}
.reader-bottom {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 1.5rem 0;
}
.reader-back-btn {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(120, 170, 255, 0.25);
  color: #a9c7ff;
  background: rgba(80, 140, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.reader-back-btn:hover, .reader-back-btn:focus {
  color: #fff;
  background: rgba(80, 140, 255, 0.18);
  border-color: rgba(150, 190, 255, 0.6);
}
@media (max-width: 900px) {
  .reader-content {
    max-width: 98vw;
    padding: 2vw 0 3vw 0;
  }
  .reader-header {
    font-size: 1rem;
    padding: 0.7rem 1rem 0.7rem 1rem;
  }
  .scan-img {
    border-radius: 6px;
  }
  .premium-cta {
    padding: 1.5rem 0.5rem;
  }
}

  .reader-promo {
    font-size: 0.97rem;
  }
  .premium-btn {
    font-size: 0.97rem;
    padding: 0.5rem 1.2rem;
  }
