* {
    box-sizing: border-box;
  }

body {
  margin: 0;
  padding: 20px; /* ✅ Add padding */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff; /* Brighter background */
  color: #333; /* Dark text color */
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box; /* ✅ Makes padding behave correctly */
}
  
  .background-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(15, 1fr);
    z-index: 1;
    pointer-events: none;
  }
  
  .background-grid div {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    color: rgba(87, 189, 145, 0.3); /* Increased opacity for better visibility */
    letter-spacing: 2px;
  }
  /* Container */
  .overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    background-color: rgba(87, 189, 145, 0.1); /* Updated to match theme */
    backdrop-filter: blur(4px);
    padding: 30px 20px;        /* ✅ Reduced padding for mobile */
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 100%;               /* ✅ Full width inside body padding */
    max-width: 400px;          /* ✅ Limit max size */
    margin: 0 auto;            /* ✅ Center horizontally */
    box-sizing: border-box;    /* ✅ Important for padding to work */
  }
  
  /* Typography */
  .title {
    background-color: #57BD91; /* Updated to match theme */
    color: white;
    padding: 20px;
    border-radius: 12px;
    font-size: 32px;
    margin-bottom: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .subtitle {
    color: #57BD91; /* Updated to match theme */
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }
  
  /* Buttons */
  .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #57BD91; /* Updated to match theme */
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  }
  
  .btn:hover {
    background-color: #45a678; /* Updated to match theme */
    transform: scale(1.05);
  }
  
  /* Grid Letter Sizes */
  .background-grid div {
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  /* Responsive Media Query */
  @media (min-width: 768px) {
    .overlay {
      padding: 40px 60px;
      max-width: 500px;
    }
  
    .title {
      font-size: 40px;
    }
  
    .subtitle {
      font-size: 20px;
    }
  
    .btn {
      font-size: 20px;
      padding: 16px;
    }
  
    .background-grid div {
      font-size: 24px;
    }
  }

  
