#menu-screen {
  background: #0A0813;
  overflow: hidden;
}

.menu-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
}

.menu-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px 40px 60px;
  gap: 20px;
  z-index: 3;
}

.menu-logo {
  text-align: left;
  margin-bottom: 10px;
}

.logo-line {
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #6F2DA8, #9B4DDA, #F4A900, transparent);
  border-radius: 2px;
  margin: 8px 0;
}

.logo-line-top { width: 60%; }
.logo-line-bottom { width: 80%; }

.logo-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px 0;
}

.logo-guardian {
  font-family: 'Luckiest Guy', 'Bungee', cursive;
  font-size: clamp(32px, 6vw, 64px);
  color: #F4A900;
  text-shadow: 3px 3px 0 #4C1D78, 6px 6px 0 rgba(0,0,0,0.5), 0 0 30px rgba(244,169,0,0.3);
  letter-spacing: 3px;
  line-height: 1;
}

.logo-de {
  font-family: 'Bungee', cursive;
  font-size: clamp(14px, 2.5vw, 28px);
  color: #D8D1E4;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  letter-spacing: 8px;
  padding-left: 4px;
}

.logo-inclusion {
  font-family: 'Luckiest Guy', 'Bungee', cursive;
  font-size: clamp(28px, 5vw, 54px);
  color: #9B4DDA;
  text-shadow: 3px 3px 0 #4C1D78, 6px 6px 0 rgba(0,0,0,0.5), 0 0 30px rgba(155,77,218,0.3);
  letter-spacing: 2px;
  line-height: 1;
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: linear-gradient(145deg, #2A1E3C, #1B1428);
  border: 2px solid #6F2DA8;
  border-radius: 14px;
  color: #FFFFFF;
  font-family: 'Fredoka', 'Baloo 2', sans-serif;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(155,77,218,0.1), transparent);
  transition: left 0.5s ease;
}

.menu-btn:hover::before {
  left: 100%;
}

.menu-btn:hover {
  transform: translateX(8px) scale(1.02);
  border-color: #9B4DDA;
  box-shadow: 0 6px 20px rgba(111,45,168,0.4), 0 0 30px rgba(155,77,218,0.2);
  background: linear-gradient(145deg, #3A1E5C, #2A1E3C);
}

.menu-btn:active {
  transform: translateX(4px) scale(0.98);
}

.menu-btn .btn-icon {
  font-size: clamp(16px, 2vw, 22px);
  width: 30px;
  text-align: center;
  color: #9B4DDA;
}

.menu-btn-play {
  background: linear-gradient(145deg, #C87A00, #E86A17) !important;
  border-color: #F4A900 !important;
  box-shadow: 0 4px 15px rgba(232,106,23,0.4) !important;
}

.menu-btn-play .btn-icon { color: #FFFFFF; }
.menu-btn-play .btn-text { color: #FFFFFF; }

.menu-btn-play:hover {
  background: linear-gradient(145deg, #E86A17, #F4A900) !important;
  border-color: #FFC928 !important;
  box-shadow: 0 6px 25px rgba(232,106,23,0.6) !important;
  transform: translateX(8px) scale(1.05);
}

.menu-btn-quit {
  border-color: #4B4358;
  opacity: 0.7;
}

.menu-btn-quit:hover {
  opacity: 1;
  border-color: #FF344D;
  box-shadow: 0 0 20px rgba(255,52,77,0.2);
}

.menu-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-dragon-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-dragon {
  width: clamp(200px, 35vw, 450px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(155,77,218,0.3));
  animation: float-dragon 3s ease-in-out infinite;
}

@keyframes float-dragon {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

.menu-torches {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.torch {
  width: 20px;
  height: 60px;
  background: linear-gradient(to top, #3C2112, #8E592F);
  border-radius: 4px;
  position: relative;
}

.torch::after {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
  background: radial-gradient(ellipse at center, #FFC928, #E86A17, transparent);
  border-radius: 50%;
  animation: flame 1.5s ease-in-out infinite alternate;
  filter: blur(2px);
}

@keyframes flame {
  0% { transform: translateX(-50%) scale(1) rotate(-5deg); }
  100% { transform: translateX(-50%) scale(1.2, 1.4) rotate(5deg); }
}
