.chrono-page {
  padding: 3rem;
  text-align: center;
  margin: 3rem auto;
}

.chrono-title {
  color: #ff7e24;
  font-family: 'OctoberCrow', cursive;
  font-size: 3rem;
  text-shadow: 0 0 10px #ff7e24;
  font-weight: lighter;
}

.chrono-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
}

#chrono-logo {
  width: 100px;
  height: 100px;
  cursor: pointer;
  margin-right: -40px;
  z-index: 2;
  transition: transform 0.5s linear;
}

#chrono-logo.spin {
  animation: spin 1s linear infinite;
}

#chrono-box {
  background-color: #090013;
  border: 1px solid #1ccd5b;
  border-radius: 8px;
  padding: 1rem 2rem;
  min-width: 260px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

#chrono {
  font-size: 4rem;
  font-family: 'OctoberCrow', cursive;
  display: flex;
  gap: 0.2rem;
}

.chrono-digit,
.chrono-separator {
  color: #dbdbdb;
  transition: color 0.3s ease;
}

.highlight {
  color: #ff7e24 !important;
  text-shadow: 0 0 10px #ff7e24;
}

/* ----------------------------- */
/* BLOC GAUCHE (FONCTIONNEMENT) */
/* ----------------------------- */

.difficulte-card.chrono-info {
  background-color: #110024;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #ff7e24, #090013) 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin: 3rem auto;
  max-width: 550px;
  position: relative;
}

.chrono-info h2 {
  color: #ff7e24;
  font-size: 2rem;
  font-family: 'LazyDog', cursive;
  text-shadow: 0 0 10px #ff7e24;
  margin-bottom: 1rem;
  font-weight: lighter;
}

.difficulty-section {
  text-align: center;
  padding-left: 0.5rem;
}

.difficulty-section p,
.difficulty-section li {
  color: #dbdbdb;
  font-size: 1rem;
  margin: 0.2rem 0;
  text-align: left;
}

.difficulty-section h3 {
  font-weight: lighter;
  margin: 0.5rem 0 0.2rem;
  font-size: 1.2rem;
  color: #ff7e24;
}

.difficulty-section strong {
  color: #ff7e24;
  font-weight: lighter;
}

/* ------------------------------ */
/* MISE EN PAGE EN DEUX COLONNES */
/* ------------------------------ */

.chrono-section-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1100px;
}

.chrono-info,
.chrono-download {
  flex: 1 1 450px;
}

/* ---------------------------- */
/* BLOC DROIT (TeLeCHARGEMENT) */
/* ---------------------------- */

.chrono-download {
  background-color: #110024;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #ff7e24, #090013) 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

.chrono-download h2 {
  color: #ff7e24;
  font-size: 2rem;
  font-family: 'LazyDog', cursive;
  text-shadow: 0 0 10px #ff7e24;
  margin-bottom: 1rem;
  font-weight: lighter;
}

.chrono-download p {
  color: #dbdbdb;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: left;
}

.download-button {
  display: inline-block;
  background-color: #ff7e24;
  color: #090013;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.download-button:hover {
  background-color: #149c44;
}

/* ------------------- */
/* PARTICULES ET FOND  */
/* ------------------- */

.chrono-bg {
  position: fixed;
  inset: 0;
  background: url('/assets/images/FONDECRAN1.webp') no-repeat center center;
  background-size: cover;
  z-index: -1;
  animation: fantomeFloat 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fantomeFloat {
  0%, 100% { transform: scale(1); background-position: 50% 50%; }
  50%      { transform: scale(1.05); background-position: 48% 52%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.particle-wrapper,
.chrono-particles {
  position: absolute;
  top: -40px;
  left: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  pointer-events: none;
  z-index: 0;
}

.particles-floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  background-color: #ff7e24;
  border-radius: 50%;
  opacity: 0.5;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  from { transform: translate(0, 0) scale(var(--scale)); }
  to   { transform: translate(var(--x), var(--y)) scale(var(--scale)); }
}




.download-stats {
  margin-top: 0.6rem;
  color: #dbdbdb;
  font-size: 1.2rem;
  text-align: center;
}

.download-stats #download-count {
  color: #ff7e24;
  font-weight: 600;
}
