/* GTA MANUCHO V93 — Menú principal (antes de la cinemática y el tutorial). */

#gta-main-menu {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  font-family: 'Arial Black', Arial, sans-serif;
  color: #fff;
  background: #05070c;
  overflow: hidden;
  user-select: none;
}
#gta-main-menu.gta-menu-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.gta-menu-bg {
  position: absolute;
  inset: 0;
  background-image: url('./docs/media/Portada.png');
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) brightness(.9);
  transform: scale(1.04);
  animation: gta-menu-drift 26s ease-in-out infinite alternate;
}
@keyframes gta-menu-drift {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.1) translateX(-1.6%); }
}
.gta-menu-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 6, 12, .96) 0%, rgba(4, 6, 12, .88) 34%, rgba(4, 6, 12, .35) 62%, rgba(4, 6, 12, .18) 100%),
    linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
}
.gta-menu-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px);
}
.gta-menu-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 6vh 6vw;
  min-width: min(560px, 92vw);
}
.gta-menu-kicker {
  font-size: 13px;
  letter-spacing: .5em;
  color: #7fe7ff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}
.gta-menu-title {
  font-size: clamp(46px, 7vw, 92px);
  line-height: .92;
  font-style: italic;
  letter-spacing: .04em;
  text-shadow: 4px 4px 0 #000, 0 0 34px rgba(255, 0, 204, .4);
}
.gta-menu-title em {
  font-style: italic;
  background: linear-gradient(92deg, #ff00cc, #ff8a00 55%, #ffd23f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gta-menu-sub {
  font-size: 13px;
  letter-spacing: .28em;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 2px 6px #000;
}
.gta-menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.gta-menu-item {
  appearance: none;
  border: 0;
  background: transparent;
  color: #e9eef5;
  text-align: left;
  font: 900 clamp(20px, 2.6vw, 30px)/1.15 'Arial Black', Arial, sans-serif;
  letter-spacing: .06em;
  padding: 10px 18px 10px 44px;
  position: relative;
  cursor: pointer;
  text-shadow: 2px 2px 0 #000;
  transition: transform .12s ease, color .12s ease;
}
.gta-menu-item small {
  display: block;
  font: 700 11px/1.3 Arial, sans-serif;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .55);
  margin-top: 3px;
  text-transform: uppercase;
}
.gta-menu-item.gta-selected {
  color: #ffd23f;
  transform: translateX(10px);
}
.gta-menu-item.gta-selected::before {
  content: '►';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-58%);
  color: #ff00cc;
  font-size: .8em;
  text-shadow: 0 0 12px rgba(255, 0, 204, .9), 2px 2px 0 #000;
  animation: gta-menu-blink 1s steps(2) infinite;
}
@keyframes gta-menu-blink { 50% { opacity: .35; } }
.gta-menu-item:disabled {
  color: rgba(255, 255, 255, .28);
  cursor: default;
}
.gta-menu-item:disabled small { color: rgba(255, 255, 255, .2); }
.gta-menu-note {
  font: 700 11px/1.5 Arial, sans-serif;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
  max-width: 460px;
}
.gta-menu-foot {
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 3.4vh;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font: 800 11px/1.4 Arial, sans-serif;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .62);
  text-shadow: 0 2px 5px #000;
  flex-wrap: wrap;
}
.gta-menu-foot b { color: #7fe7ff; }
.gta-menu-version {
  position: absolute;
  top: 3.2vh;
  right: 3.4vw;
  z-index: 2;
  font: 900 12px Arial, sans-serif;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .7);
  border: 2px solid rgba(255, 0, 204, .55);
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(6, 4, 12, .55);
  text-shadow: 0 2px 5px #000;
}
.gta-menu-bye {
  position: relative;
  z-index: 2;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.gta-menu-bye h2 {
  font-size: clamp(30px, 5vw, 56px);
  font-style: italic;
  letter-spacing: .05em;
  text-shadow: 3px 3px 0 #000;
}
.gta-menu-bye p {
  font: 700 14px/1.6 Arial, sans-serif;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .75);
}
@media (max-width: 720px) {
  .gta-menu-panel { padding: 8vh 7vw; min-width: 0; width: 100%; }
  .gta-menu-foot { justify-content: center; text-align: center; }
}
