/* Start screen */
#view-start {
  position: relative;
  overflow: hidden;
}

.start-screen, .result-screen, .ending-screen {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 0;
}

.start-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(255,170,51,0.45));
}

.start-screen h1 {
  font-size: clamp(36px, 7vh, 56px);
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--muted);
  font-size: clamp(14px, 2.4vh, 18px);
  margin-bottom: clamp(20px, 5vh, 40px);
  max-width: 520px;
}

.actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

#start-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.start-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,13,20,0.55) 0%, rgba(11,13,20,0.20) 40%, rgba(11,13,20,0.75) 100%);
  z-index: 1;
}

#view-start .start-screen {
  position: relative;
  z-index: 2;
}

@media (max-width: 480px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-height: 700px) {
  .start-screen {
    padding: 24px 16px;
  }
  .start-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }
  .subtitle {
    margin-bottom: 18px;
  }
}

