/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body styling with a layered, animated background */
  body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  /* Animated overlay with a textured image and blur effect */
  .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/1600x900/?abstract,pattern') no-repeat center center/cover;
    opacity: 0.3;
    filter: blur(4px);
    z-index: -1;
  }
  
  /* Glass-morphism container for the game */
  .container {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    width: 400px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    animation: fadeIn 1.5s ease-out;
  }
  
  /* Fade-in animation for the container */
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  
  /* Decorative header styling */
  h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5em;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
  }
  
  /* Description styling */
  .description {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 30px;
  }
  
  /* Game area container */
  .game {
    margin-top: 20px;
  }
  
  /* Input area styling with smooth transitions */
  .input-area {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .input-area input[type="text"] {
    width: 70%;
    padding: 12px;
    font-size: 1em;
    border: none;
    border-radius: 25px 0 0 25px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
  }
  
  .input-area input[type="text"]:focus {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }
  
  .input-area button {
    padding: 12px 20px;
    border: none;
    border-radius: 0 25px 25px 0;
    background: linear-gradient(45deg, #ff6a00, #ee0979);
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .input-area button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  }
  
  /* Info section styling */
  .info p {
    font-size: 1.1em;
    color: #fff;
    margin: 10px 0;
  }
  
  .info span {
    font-weight: bold;
  }
  
  /* Message styling with contextual color cues */
  .message {
    margin-top: 20px;
    font-size: 1.3em;
    font-weight: bold;
    padding: 12px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .message.success {
    background: rgba(0, 128, 0, 0.6);
  }
  
  .message.error {
    background: rgba(255, 0, 0, 0.6);
  }
  
  /* Responsive design for smaller devices */
  @media (max-width: 500px) {
    .container {
      width: 90%;
      padding: 30px 20px;
    }
    h1 {
      font-size: 3em;
    }
  }

.button{
  padding: 12px 20px;
  border: none;
  border-radius: 25px 25px 25px 25px;
  background: linear-gradient(45deg, rgb(5, 230, 24), rgb(151, 141, 26));
  color: #fff;
  font-size: 1em;
  cursor: pointer;
}