    @font-face {
      font-family: 'Minecraftia';
      src: url('/assets/Minecraftia.ttf') format('truetype');
    }

        #music-controls {
      position: fixed;
      bottom: 10px;
      left: 10px;
      background: rgba(0, 0, 0, 0.6);
      padding: 10px;
      border-radius: 8px;
      color: white;
      font-family: sans-serif;
      display: flex;
      flex-direction: column;
      gap: 5px;
      z-index: 999;
    }

    #toggle-gallery-btn {
      animation: glow 2s infinite alternate;
    }

    #music-buttons {
      display: flex;
      gap: 5px;
      flex-wrap: wrap;
    }

    #volume {
      width: 100%;
    }

    .btn {
      background: #333;
      border: none;
      color: white;
      padding: 5px 8px;
      border-radius: 4px;
      cursor: pointer;
    }

    .btn:hover {
      background: #555;
    }

    #autoplay-warning {
      color: yellow;
      font-size: 0.9em;
      display: none;
    }

    .tutorial-img {
      display: block;
      max-width: 100%;
      height: auto;
      margin: 20px auto;
      border-radius: 8px;
      box-shadow: 0 0 10px #0006;
    }
    
    a {
      color: #f9d553;
    } 

    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: 'Minecraftia', sans-serif;
      background: radial-gradient(ellipse at center, #1e1e1e 0%, #111 100%);
      color: #fff;
      overflow: auto; /* 🔧 Cambiado de hidden a auto */
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
    

    .container {
      text-align: center;
      animation: fadeIn 2s ease-out;
      z-index: 1;
      padding: 20px;
      max-width: 800px;
      max-height: 90vh;         /* 👈 Limita la altura visible */
      overflow-y: auto;         /* 👈 Activa scroll si se necesita */
    }
.container-tutorial-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  background: none;
}

.container-tutorial {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #444;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;         /* 👈 Limita la altura visible */
  overflow-y: auto;         /* 👈 Activa scroll si se necesita */
  animation: fadeIn 1s ease-out;
  line-height: 1.6;
  box-sizing: border-box;
}
    .container h1 {
      font-size: 28px;
      color: #f9d553;
      margin-bottom: 30px;
      transition: transform 0.3s ease;
    }

    .container h1:hover {
      transform: scale(1.01);
    }

    .container button {
      font-family: 'Minecraftia', sans-serif;
      padding: 0px;
      max-height: 60px;
      width: 160px;
      max-width: 160px;
      height: 60px;
      font-size: 16px;
      background-color: #f9d553;
      color: #111;
      border: none;
      border-radius: 0;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .container button:hover {
      background-color: #ffe780;
      transform: scale(1.03);
    }

    .container-tutorial button {
      font-family: 'Minecraftia', sans-serif;
      padding: 0px;
      max-height: 60px;
      height: 60px;
      font-size: 16px;
      background-color: #f9d553;
      color: #111;
      border: none;
      border-radius: 0;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .container-tutorial button:hover {
      background-color: #ffe780;
      transform: scale(1.03);
    }

    #particles {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      background: url('https://img.icons8.com/material-two-tone/24/minecraft-grass-cube.png') repeat;
      opacity: 0.6;
      animation: scroll 60s linear infinite;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes scroll {
      0% { background-position: 0 0; }
      100% { background-position: 1000px 1000px; }
    }
    
    #logo {
  width: 100%;
  padding-top: 100px;
  max-width: 900px;
  height: 200px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px #f9d553);
  transition: transform 1s ease, filter 1s ease;
  animation: floaty 8s ease-in-out infinite; /* 👈 efecto flotante lento */
}

@keyframes floaty {
  0%   { transform: translateY(0);    filter: drop-shadow(0 0 20px #f9d553aa); }
  50%  { transform: translateY(-17px); filter: drop-shadow(0 0 35px #f9d553cc); }
  100% { transform: translateY(0);    filter: drop-shadow(0 0 20px #f9d553aa); }
}

    
    .container #logo:hover {
      transform: scale(1.05);
      filter: drop-shadow(0 0 25px #f9d553);
    }
    
    .countdown {
      font-size: 24px;
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
      padding: 10px 20px;
      border-radius: 10px;
      border: 1px solid #555;
      display: inline-block;
      animation: glow 2s infinite alternate;
    }

    @keyframes glow {
      from {
        box-shadow: 0 0 5px #f9d553;
      }
      to {
        box-shadow: 0 0 10px #f9d553, 0 0 15px #fff2b3;
      }
    }

    .gallery-img {
      width: 300px;
      height: auto;
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.2s ease;
      justify-self: center;
    }
  
    .gallery-img:hover {
      transform: scale(1.03);
    }

    
