
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background-color: black;
}

.game-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 20vh;
  color: white;
  text-align: center;
  background: rgba(30, 30, 30, 0.4);
}

.headline-container {
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 1.4em;
}

.headline {
  font-size: 2.2em;
  font-weight: bold;
  text-shadow: 2px 2px 4px #000;
  transition: opacity 1.2s ease-in-out;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

.control-group {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: opacity 1s ease-in-out;
}

.control-group.show {
  display: flex;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80%;
  height: 24px;
  background: linear-gradient(to right, #ed3c0b, #c71744);
  border-radius: 12px;
  outline: none;
  margin-bottom: 0.8em;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  border: 3px solid #1e2a60;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 5px solid #1e2a60;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.slider::-moz-range-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 5px solid #1e2a60;
  cursor: pointer;
}

.labels {
  display: flex;
  justify-content: space-between;
  width: 80%;
  font-size: 1.2rem;
  margin-bottom: 2em;
  color: white;
  text-shadow: 1px 1px 2px #000;
}

.button {
  background: linear-gradient(to right, #ed3c0b, #c71744);
  color: white;
  font-size: 1.4em;
  padding: 0.6em 1.4em;
  border: 4px solid #1e2a60;
  border-radius: 0.7em;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.start-button {
  background: linear-gradient(to right, #ed3c0b, #c71744);
  color: white;
  font-size: 1.6em;
  font-weight: bold;
  padding: 1em 2em;
  border-radius: 0.7em;
  border: 4px solid #1e2a60;
  cursor: pointer;
  text-transform: uppercase;
}

.big-x {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: red;
  font-size: 10rem;
  font-weight: bold;
  text-shadow: 3px 3px 8px #000;
  z-index: 10;
}

/* Burger Menu */
.menu-toggle {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 20;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.menu-toggle div {
  width: 100%;
  height: 4px;
  background-color: white;
  margin: 5px 0;
}

.menu {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60vw;
  height: 100%;
  background-color: #111;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 2em;
  transition: left 0.3s ease;
  z-index: 15;
}

.menu.open {
  left: 0;
}

.menu a {
  color: white;
  font-size: 1.4em;
  margin-bottom: 1em;
  text-decoration: none;
  
  
  .feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.feedback-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 80%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.feedback-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.8em;
  color: #333;
  cursor: pointer;
  z-index: 10000;
}

}
