/* Full height layout */
html, body {
    height: 100%;
    margin: 0;
    background-image: url("b.png"); 
    color: #0f0;
    font-family: monospace;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .container {
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
  }
  
  h1 {
    margin-bottom: 10px;
  }
  
  img {
    margin: 20px 0;
  }
  
  input {
    font-size: 2em;
    width: 100px;
    text-align: center;
    background: black;
    color: lime;
    border: 2px solid lime;
  }
  
  button {
    font-size: 1.5em;
    background: black;
    color: lime;
    border: 2px solid lime;
    padding: 10px;
    cursor: pointer;
    margin-left: 10px;
  }
  
  #loadingBar {
    height: 10px;
    background: lime;
    width: 100%;
    margin-top: 30px;
    transition: width 1s linear;
  }
  
  #lostPopup {
    display: none; /* анх харагдахгүй */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9); /* бүдэг фон */
    z-index: 9999;
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  
    animation: popupFade 0.5s ease;
  }
  
  #lostPopup .x {
    color: red;
    font-size: 5em;
    margin-bottom: 20px;
    animation: pulse 1s infinite;
  }
  
  #lostPopup p {
    color: #fff;
    font-size: 1.8em;
    text-shadow: 0 0 10px red;
  }
  
  @keyframes popupFade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  #lostPopup button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    background: black;
    color: red;
    border: 2px solid red;
    cursor: pointer;
  }
  