body {
    font-family: 'Comic Sans MS', sans-serif;
    background-color: rgb(249, 246, 203);
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .overlay-content h2 {
    font-size: 2.5rem;
    color: #4f8df7;
    margin-bottom: 1rem;
  }
  
  .overlay-content p {
    font-size: 1.5rem;
  }
  
  .overlay-content .small {
    font-size: 1rem;
    color: #666;
    margin-top: 2rem;
  }

  h1 {
    font-size: 3.5rem;
    margin-bottom: 5rem;
    color: #4f8df7;
  }
  
  .game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  img {
    width: 350px;
    height: 350px;
    object-fit: contain;
    border: 6px solid #ff69b4;
    border-radius: 16px;
    margin-bottom: 3rem;
    margin-top: -30px;
  }

  #game-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #intro-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  #typedWord {
    font-size: 3rem;
    font-weight: bold;
    color: #4f8df7;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background-color: rgba(79, 141, 247, 0.07);
    width: 400px;
    min-height: 3.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  #answer {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
    border: none;
    outline: none;
  }
  
  #feedback {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2rem;
    text-align: center;
  }

  #progress {
    font-size: 1.5rem;
    color: #4f8df7;
    font-weight: bold;
    margin-bottom: 3rem;
  }

  #start-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    background-color: #4f8df7;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  }
  
  #start-btn:hover {
    background-color: #357ae8;
  }