/* Hide when needed */
#startScreen.is-hidden {
  display: none !important;
}

/* Full-screen overlay */
#startScreen {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #000; /* BLACK SCREEN */
}

/* Content container */
.startScreen__content {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 390px;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;

  text-align: center;
}

/* BIGGER DRANKHUNT logo */
.startScreen__logo {
  width: 340px;        /* bigger */
  max-width: 92vw;     /* fits phones */
  height: auto;
  image-rendering: pixelated;
  pointer-events: none;
}

/* Start button */
#startButton {
  font-size: 36px;
  color: red;
  letter-spacing: 1px;
  user-select: none;
  transition: 0.25s ease;
}

#startButton:hover {
  letter-spacing: 6px;
  color: rgb(0, 215, 253);
  cursor: pointer;
}

/* Mode selector */
#modeSelect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.selection {
  font-size: 26px;
  color: yellow;
  min-width: 140px;
  user-select: none;
}

.arrow {
  font-size: 38px;
  color: blue;
  transition: 0.2s ease;
  user-select: none;
}

.arrow:hover {
  color: red;
  cursor: pointer;
}

/* Footer */
#startScreenFooter {
  position: absolute;
  bottom: 12px;
  width: 100%;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

// ---- make StartScreen available globally (required by index onclick + app) ----
window.StartScreen = StartScreen;
