/* ===== MAIN MENU ===== */

.menu {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  position: relative;
  /* Painted scene background. Covers the viewport, scales for any aspect ratio. */
  background:
    linear-gradient(180deg, rgba(8, 18, 22, 0.15) 0%, rgba(8, 18, 22, 0.55) 100%),
    url('../../title_bg.png') center top / cover no-repeat;
}

/* Hide the body's radial gradient under the menu - the painted bg owns this screen */
.menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center top, transparent 30%, rgba(8, 18, 22, 0.4) 100%);
  pointer-events: none;
  z-index: 0;
}

.menu > * {
  position: relative;
  z-index: 1;
}

.menu__title {
  font-family: var(--f-display);
  font-size: clamp(2.6em, 8vw, 4.4em);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold-bright);
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 200, 100, 0.15);
  margin: 0 0 8px;
  line-height: 1;
  background: linear-gradient(180deg, #f3d999 0%, #c4ad75 60%, #8d6e3b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.menu__subtitle {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin: 0 0 56px;
}

.menu__crest {
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.menu__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}

.menu__nav .btn {
  width: 100%;
  padding: 16px 24px;
}

.menu__footer {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.4;
  color: var(--c-text);
}

/* Tiny chess-piece decorations around the title */
.menu__pieces {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 12px 0 0;
  opacity: 0.7;
}
.menu__pieces span {
  font-size: 28px;
  color: var(--c-gold-deep);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
