/* Main Menu styles. Buttons, card and typography are shared from style.css */

.menu-bg{
  position:fixed; inset:0;
  background:linear-gradient(180deg, var(--sky-dawn) 0%, var(--sky-dusk) 58%, var(--night-indigo) 100%);
  overflow:hidden;
}
.menu-bg::before, .menu-bg::after{
  content:''; position:absolute; border-radius:50%;
}
.menu-bg::before{ width:340px; height:340px; top:-70px; left:-100px; background:#fff; opacity:0.14; filter:blur(60px); }
.menu-bg::after{ width:280px; height:280px; bottom:-60px; right:-70px; background:var(--night-indigo); opacity:0.55; filter:blur(80px); }

.menu-content{
  position:relative; z-index:1;
  min-height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:32px 20px;
  text-align:center;
}

.balloon-icon{
  width:64px; height:auto;
  margin-bottom:12px;
  animation:menuBob 3.2s ease-in-out infinite;
  filter:drop-shadow(0 10px 14px rgba(0,0,0,0.28));
}
@keyframes menuBob{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-10px); }
}

.menu-content .subtitle{ max-width:300px; }

.menu-stack{
  display:flex; flex-direction:column; gap:14px;
  width:100%; max-width:280px;
  margin-top:6px;
}
.menu-stack .btn{ width:100%; }
.menu-stack .btn-quit{ margin-top:8px; }

.menu-credit{
  position:relative; z-index:1;
  margin-top:28px;
  font-size:12px;
  color:rgba(253,246,233,0.45);
}

@media (max-width:420px){
  .menu-content{ padding:24px 18px; }
}

@media (max-height:600px){
  .balloon-icon{ width:48px; margin-bottom:6px; }
  .menu-content .subtitle{ margin-bottom:14px; }
  .menu-stack{ gap:10px; }
  .menu-credit{ margin-top:14px; }
}

@media (prefers-reduced-motion: reduce){
  .balloon-icon{ animation:none; }
}
