/* Styling for the landing overlay screen */
#landing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(10, 8, 7, 0.85);
  font-family: sans-serif;
  text-align: center;
  color: white;
  padding: 20px;
  transition: opacity 0.8s ease-in-out; /* Smooth fade out transition */
}

/* Card styled. */
.overlay-card {
  max-width: 450px;
  position: relative;
  background: rgba(26, 20, 16, 1); /* #1a1410 with opacity */
  border-radius: 4px;
  box-shadow: 0px 4px 16px 4px rgba(10, 8, 7, 1);
  padding: 40px 30px 30px 30px;
  overflow: hidden;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

#footer {
  font-size: 0.75rem;
}

.overlay-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#startButton {
  background-color: #1EA9B8;
  border: none;
  border-radius: 2px;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  flex-grow: 1;
}

#startButton:hover {
  background-color: #178894;
            transform: translateY(-1px);
  transform: scale(1.05);
  box-shadow: 0 6px 4px 4px rgba(255, 65, 108, 0.6);
}

#startButton:active {
  transform: scale(0.98);
}

.sound-btn {
    background-color: rgba(30, 169, 184, 0.15);
    border: 1px solid #1EA9B8;
    border-radius: 2px;
    color: #1EA9B8;
    padding: 12px 16px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sound-btn:hover {
    background: rgba(30, 169, 184, 0.3);
    color: #ffffff;
}