/* Accessibilité : amélioration du contraste pour les liens footer */
.footer-nav a {
  color: var(--neon-text-color, #00bfff);
  background: #181c24;
}
.footer-nav a:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
/* Responsive footer nav & popup */
@media (max-width: 700px) {
  .footer-nav ul {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .footer-nav a {
    font-size: 1.3rem;
    padding: 0.7rem 1rem;
    border-radius: 0.7rem;
  }
}

@media (max-width: 500px) {
  .en-construction-modal-content {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    min-width: 90vw;
    max-width: 98vw;
    font-size: 1.2rem;
  }
  .footer-copyright {
    font-size: 1.1rem;
  }
}
/* --- Popup En Construction --- */
.en-construction-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}
.en-construction-modal[style*="display: flex"] {
  display: flex !important;
}
.en-construction-modal-content {
  background: #181c24;
  color: #fff;
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 0 2rem var(--neon-text-color, #00bfff);
  text-align: center;
  min-width: 280px;
  max-width: 90vw;
  position: relative;
}
.en-construction-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--neon-text-color, #00bfff);
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  transition: color 0.2s;
}
.en-construction-close:hover, .en-construction-close:focus {
  color: #fff;
}
/* --- Footer Navigation Style --- */
.footer-nav {
  margin: 2rem auto 1rem auto;
  text-align: center;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}
.footer-nav li {
  display: inline-block;
}
.footer-nav a {
  color: var(--neon-text-color, #00bfff);
  text-decoration: none;
  font-size: 1.7rem;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.2rem;
  border-radius: 1.2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: rgba(0,191,255,0.12);
  color: #fff;
  box-shadow: 0 0 8px var(--neon-text-color, #00bfff);
  outline: none;
}
.footer-nav a span {
  position: relative;
  z-index: 2;
}
.footer-copyright {
  text-align: center;
  color: #aaa;
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}


.inProgress  {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
}

:root {
  /* Base font size */
  font-size: 10px;   
  
  /* Set neon color */
  --neon-text-color: #00bfff;
  --neon-border-color: #08f;
}

.inProgress {
  font-family: 'Exo 2', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;  
  background: #000;
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  margin:auto; 
  
}

.build {
  font-size: 3rem;
  font-weight: 200;
  font-style: italic;
  color: #fff;
  padding: 4rem 6rem 5.5rem;
  border: 0.4rem solid #fff;
  border-radius: 2rem;
  text-transform: uppercase;
  animation: flicker 1.5s infinite alternate;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: auto;
  text-align: center;
}

.build::-moz-selection {
  background-color: var(--neon-border-color);
  color: var(--neon-text-color);
}

.build::selection {
  background-color: var(--neon-border-color);
  color: var(--neon-text-color);
}

.build:focus {
  outline: none;
}

/* Animate neon flicker */
@keyframes flicker {
    
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
      
        text-shadow:
            -0.2rem -0.2rem 1rem #fff,
            0.2rem 0.2rem 1rem #fff,
            0 0 2rem var(--neon-text-color),
            0 0 4rem var(--neon-text-color),
            0 0 6rem var(--neon-text-color),
            0 0 8rem var(--neon-text-color),
            0 0 10rem var(--neon-text-color);
        
        box-shadow:
            0 0 .5rem #fff,
            inset 0 0 .5rem #fff,
            0 0 2rem var(--neon-border-color),
            inset 0 0 2rem var(--neon-border-color),
            0 0 4rem var(--neon-border-color),
            inset 0 0 4rem var(--neon-border-color);        
    }
    
    20%, 24%, 55% {        
        text-shadow: none;
        box-shadow: none;
    }    
}


/* Responsive design */
@media (max-width: 900px) {
  .build {
    font-size: 3rem;
    padding: 2rem 2rem 3rem;
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .inProgress {
    min-height: 60vh;
    padding: 0 2vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .build {
    font-size: 2.2rem;
    padding: 1.2rem 0.5rem 2rem;
    border-width: 0.2rem;
    border-radius: 1rem;
    word-break: break-word;
    max-width: 98vw;
    overflow-x: auto;
  }
}