/* ============================================================
   Treasure Escape - Base Stylesheet
   Global styles, typography, reset, and modal overlay
   ============================================================ */

:root {
  --font-family: 'Montserrat', sans-serif;
  --bg-overlay: #f0f0f0;
  --text-dark: #333333;
  --text-muted: #85796b;
  --primary-btn: #87ceeb;
  --danger-btn: #ff6347;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-image: url('https://raw.githubusercontent.com/arpit456jain/Amazing-Js-Projects/master/Candy%20Crush/utils/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: var(--font-family);
  color: var(--text-muted);
  overflow-x: hidden;
}

/* Mode Selection Screen */
#modeSelection {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: var(--bg-overlay);
  font-family: var(--font-family);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

#modeSelection h2 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

#modeSelection button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: var(--primary-btn);
  border: none;
  border-radius: 5px;
  color: white;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

#modeSelection button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
