/* ==========================================================================
   SLevelStudio Title Screen / Start Menu Styles
   ========================================================================== */

#title-screen {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

#launcher-hud {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
}

.title-container {
  max-width: 620px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 2.5rem 2rem;
  background: radial-gradient(circle at center, rgba(24, 30, 43, 0.75) 0%, rgba(10, 12, 16, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--hud-radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Corner bracket accents */
.title-container::before,
.title-container::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--accent-gold);
  pointer-events: none;
}

.title-container::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
}

.title-container::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
}

/* Studio Branding */
.studio-logo-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.studio-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.title-header {
  margin-bottom: 2rem;
}

.studio-name {
  font-family: var(--font-game);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 24px rgba(245, 158, 11, 0.2);
}

.studio-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 0.75rem auto;
}

.studio-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Start Menu Options */
.start-menu {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 320px;
  margin-bottom: 2rem;
}

.start-btn-primary {
  width: 100%;
  padding: 14px 20px;
  font-size: 1.05rem;
  background: linear-gradient(180deg, #2b3548 0%, #171f2d 100%);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 0 16px var(--accent-gold-glow), 0 4px 14px rgba(0, 0, 0, 0.5);
}

.start-btn-primary:hover {
  background: linear-gradient(180deg, #37445c 0%, #1f2a3d 100%);
  box-shadow: 0 0 24px var(--accent-gold-glow), 0 4px 18px rgba(0, 0, 0, 0.7);
}

.title-menu-btn {
  font-family: var(--font-game);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(17, 21, 30, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--hud-radius);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.title-menu-btn .menu-bracket {
  opacity: 0;
  color: var(--accent-gold);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.title-menu-btn:hover {
  color: #ffffff;
  border-color: var(--border-strong);
  background: var(--bg-surface-hover);
  transform: translateX(2px);
}

.title-menu-btn:hover .menu-bracket {
  opacity: 1;
}

/* Keyboard hint */
.start-keyboard-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.key-badge {
  display: inline-block;
  padding: 2px 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Title Footer */
.title-footer {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
