/* Overall Game Container */
.game-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* background: linear-gradient(135deg, #1f1c2c, #928dab); Background gradient */
    overflow: hidden;
  }
  
  /* Background Wrapper */
  .game-background {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 15px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 90%;
    width: 100%;
  }
  
  /* Form Container (Glass Effect) */
  .form-container {
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
  }
  
  /* Input Fields */
  .input-glow {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: none; /* Reduced glow */
    transition: box-shadow 0.3s ease;
  }
  
  .input-glow:focus {
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5); /* Subtle glow */
    border-color: rgba(0, 255, 255, 0.7);
    outline: none;
  }
  
  /* Start Button */
.btn-game {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(145deg, #007bff, #0056b3);
  border: none;
  padding: 12px 20px; /* Increased padding for better visibility */
  border-radius: 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Softened shadow */
}

/* On Hover */
.btn-game:hover {
  background: linear-gradient(145deg, #0056b3, #004494);
  transform: translateY(-3px); /* Subtle hover animation */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

/* On Active (Click) */
.btn-game:active {
  transform: translateY(1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

  
  /* Grid Button (Treasure Hunt Squares) */
  .btn-game-grid {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    background-color: #2c3e50;
    width: 70px;
    height: 70px;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Reduced shadow */
  }
  
  .btn-game-grid:hover {
    transform: scale(1.05); /* Subtle hover effect */
    background-color: #34495e; /* Slightly darker on hover */
  }
  
  .btn-game-grid:active {
    transform: scale(0.98);
  }
  
  /* Button Colors for States (Treasure, Miss) */
  .btn-success {
    background-color: #28a745;
    color: #fff;
  }
  
  .btn-danger {
    background-color: #dc3545;
    color: #fff;
  }
  
  /* Adjusted Result Text */
  .result-text {
    color: #f1f1f1;
    font-size: 1.4rem;
    font-family: 'Arial', sans-serif; /* More readable font */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow */
    margin-top: 15px;
  }
  
  /* Glowing Border for Background */
  .game-background::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    z-index: -1;
  }
  