#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('img/background.png');
    background-size: cover;
    backdrop-filter: blur(48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: backgroundScale 10s infinite alternate ease-in-out;
}
  
  @keyframes backgroundScale {
    0% {
      background-size: 100% 100%;
    }
    100% {
      background-size: 120% 120%;
    }
  }
  
  
  #menu-title {
    margin-top: -80px;
  font-family: 'Quantico', sans-serif;
  font-size: 150px;
  font-weight: bold;
  color: #00ffe7;
  margin-bottom: 12px;
  letter-spacing: 4px;
  text-shadow: 0 2px 16px #00ffe7, 0 1px 0 #222;
  animation: textFlicker 0.7s infinite;
}

  @keyframes textFlicker {
    0%, 100% {
      text-shadow: 0 2px 16px #00ffe7, 0 1px 0 #222;
    }
    50% {
      text-shadow: 0 2px 8px #00ffe7, 0 1px 0 #222;
    }
  }
  
#menu-subtitle {
    margin-top: -20px;
  font-family: 'Quantico', sans-serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 36px;
  letter-spacing: 2px;
  text-shadow: 0 1px 8px #00ffe7, 0 1px 0 #222;
}
.credits-container {
  position: absolute;
  bottom: 32px;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.credits {
  font-family: 'Quantico', sans-serif;
  color: #a4fff6;
  font-size: 22px;
  margin: 0;
  /* text-shadow: 0 1px 8px #222; */
}
.subCredits {
  font-family: 'Quantico', sans-serif;
  color: #fff;
  font-size: 18px;
  margin: 0;
  letter-spacing: 1px;
  /* text-shadow: 0 1px 8px #222; */
}
.menu-btn {
  font-family: 'Quantico', sans-serif;
  font-weight: bold;
  font-size: 28px;
  padding: 18px 60px;
  margin: 18px 0;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #00ffe7 0%, #0077ff 100%);
  color: #222;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,255,231,0.2);
  transition: background 0.2s, transform 0.2s;
}
.menu-btn:hover {
  background: linear-gradient(90deg, #0077ff 0%, #00ffe7 100%);
  transform: scale(1.06);
  box-shadow: 0 1px 8px #77fff1, 0 1px 0 #ffffff;
}

.achievement-notification {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 80px;
  z-index: 9999;
  transition: bottom 01s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achievement-notification img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 231, 0.3));
}
.achievement-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 24px;
  background: rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 18px 32px 12px 32px;
  box-shadow: 0 2px 24px rgba(0,255,231,0.08);
  max-width: 520px;
}
.achievement-section-title {
  font-family: 'Quantico', sans-serif;
  color: #00ffe7;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px #00ffe7, 0 1px 0 #222;
}
#achievements-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: center;
  margin-top: 8px;
}
#achievements-modal {
  background: rgba(0,0,0,0.85);
  border-radius: 32px;
  padding: 56px 72px;
  box-shadow: 0 4px 48px #00ffe7;
  max-width: 900px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.achievement-list-modal {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
  justify-content: center;
  margin-top: 8px;
}
.achievement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 120px;
  margin-bottom: 16px;
}
.achievement-item img {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  background: #111;
  box-shadow: 0 2px 16px rgba(0,255,231,0.18);
  transition: filter 0.2s, opacity 0.2s;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}
.achievement-item .ach-label {
  color: #fff;
  font-size: 20px;
  margin-top: 8px;
  text-align: center;
  text-shadow: 0 1px 8px #00ffe7, 0 1px 0 #222;
  font-family: 'Quantico', sans-serif;
  letter-spacing: 1px;
  line-height: 1.1;
}
.achievement-item .ach-count {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  margin-top: 2px;
  text-shadow: 0 1px 8px #00ffe7, 0 1px 0 #222;
}