/* Reset di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Pagina a pieno schermo, sfondo nero */
  html,
  body {
    width: 100%;
    height: 100%;
    background: black;
    overflow: hidden; /* niente scrollbar */
  }
  
  /* Carichiamo il font da fonts/burn.ttf */
  @font-face {
    font-family: 'BurnFont';
    src: url('./fonts/burn.ttf') format('truetype');
  }
  
  /* Sfondo iniziale a tutto schermo (liberate.png) */
  .fullscreen-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Sullo sfondo */
  }
  
  /* Pulsante iniziale */
  .connect-btn {
    position: absolute;
    z-index: 1; /* sopra l’immagine di sfondo */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: black;
    color: white;
    text-transform: uppercase;
    font-family: 'BurnFont', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    
    border: 3px solid rgba(255, 255, 255, 0.6);
    padding: 1rem 2rem;
    cursor: pointer;
  }
  
  .connect-btn:hover {
    border-color: white;
  }
  
  /* Video e immagine finale a tutto schermo */
  .fullscreen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  /* Elementi nascosti */
  .hidden {
    display: none;
  }
  
  /* Contenitore globale del testo digitato (prima/seconda fase) */
  .instructions {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, 0);
    transition: transform 0.8s ease-in-out; /* per l'uscita verso l'alto */
    color: white;
    font-family: 'BurnFont', sans-serif;
    font-size: 2rem;
    line-height: 1.5;
    white-space: pre-wrap;
    text-align: center;
    z-index: 2; /* sopra video/immagini */
  }
  
  .instructions-line {
    position: absolute;
    width: 100%;
    padding: 0.3rem 0.6rem;
  }
  
  /* Pulsante "BURN" */
  .burn-btn {
    position: absolute;
    padding: 1rem 2rem;
    background: black;
    color: white;
    border: 2px solid white;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'BurnFont', sans-serif;
    text-transform: uppercase;
    transition: background 0.3s;
  }
  
  .burn-btn:hover {
    background: #333;
  }
  
  /* Pulsante COPY */
  .copy-btn {
    margin-left: 1rem;
    padding: 0.4rem 1rem;
    background: #222;
    color: white;
    border: 2px solid white;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'BurnFont', sans-serif;
    text-transform: uppercase;
    transition: background 0.3s;
  }
  
  .copy-btn:hover {
    background: #333;
  }
  
  .copy-label {
    margin-left: 0.8rem;
    font-size: 1rem;
    color: #ccc;
  }
  