 /* Reset */
  * {
    margin: 0; padding: 0; box-sizing: border-box;
  }
  body, html {
    height: 100%;
    background: #000;
    color: #eee;
    font-family: 'Creepster', cursive, monospace;
    overflow: hidden;
  }

  

  /* Frase de advertencia modal */
  #warningModal {
    position: fixed;
    top: 0; left: 0; right:0; bottom: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 100;
    font-size: 1.3rem;
    line-height: 1.4;
  }
  #warningModal button {
    margin-top: 20px;
    background: #660000;
    border: none;
    color: #eee;
    padding: 10px 25px;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: inherit;
    border-radius: 4px;
    transition: background 0.3s ease;
  }
  #warningModal button:hover {
    background: #990000;
  }

  /* Fondo humo animado */
  #background {
    position: fixed;
    top:0; left:0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #110000 0%, #000 90%);
    overflow: hidden;
    z-index: 0;
  }
  .smoke {
    position: absolute;
    top: 110%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    filter: blur(20px);
    animation: smokeUp 30s linear infinite;
    mix-blend-mode: screen;
  }
  .smoke:nth-child(1) {
    left: 10%;
    animation-duration: 40s;
    animation-delay: 0s;
  }
  .smoke:nth-child(2) {
    left: 50%;
    animation-duration: 35s;
    animation-delay: 10s;
  }
  .smoke:nth-child(3) {
    left: 80%;
    animation-duration: 45s;
    animation-delay: 5s;
  }
  @keyframes smokeUp {
    0% { top: 110%; opacity: 0; }
    20% { opacity: 0.2; }
    100% { top: -100%; opacity: 0; }
  }

  /* Glitch effect */
  @keyframes glitchAnim {
    0% {
      clip-path: inset(10% 0 80% 0);
      transform: translate(-2px, -2px);
    }
    20% {
      clip-path: inset(50% 0 40% 0);
      transform: translate(2px, 2px);
    }
    40% {
      clip-path: inset(30% 0 60% 0);
      transform: translate(-2px, 2px);
    }
    60% {
      clip-path: inset(40% 0 50% 0);
      transform: translate(2px, -2px);
    }
    80% {
      clip-path: inset(10% 0 80% 0);
      transform: translate(-2px, -2px);
    }
    100% {
      clip-path: inset(50% 0 40% 0);
      transform: translate(0,0);
    }
  }

  .glitch {
    animation: glitchAnim 0.3s linear 2;
  }

  /* Container */
  #container {
    position: relative;
    height: 100vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    text-align: center;
  }

  h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #cc0000;
    text-shadow:
      0 0 5px #cc0000,
      0 0 10px #ff0000;
  }

  label {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
    letter-spacing: 0.1em;
    user-select: none;
  }

  input[type="text"] {
    font-size: 1.8rem;
    padding: 10px 15px;
    border: 2px solid #cc0000;
    border-radius: 6px;
    width: 300px;
    max-width: 90vw;
    background: #100000;
    color: #eee;
    outline: none;
    caret-color: #ff0000;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    transition: border-color 0.3s ease;
  }
  input[type="text"]:focus {
    border-color: #ff3333;
  }

  #hint {
    margin-top: 15px;
    font-size: 1rem;
    color: #880000aa;
    height: 1.2em;
  }