/* Menu View Styles */

.menu-view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: var(--bg-color);
}

.app-title {
  font-size: 32px;
  margin-bottom: 40px;
  z-index: 1;
  color: var(--accent-color);
  font-weight: 300;
  text-shadow: 0 0 10px rgba(98, 0, 238, 0.3);
}

.mode-selector {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 300px;
}

.mode-btn {
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s;
  text-align: left;
  position: relative;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.mode-btn > .mode-btn-tip {
  font-size: 12px;
  color: #777;
  position: absolute;
  right: 20px;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.17s ease-out;
}

/* hide tip if parent is hovered */
.mode-btn:hover > .mode-btn-tip {
  opacity: 0;
  transform: translateX(5px) scaleY(0.2);
}

.mode-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mode-btn:active {
  transform: translateY(0);
}

.mode-btn::after {
  content: "→";
  position: absolute;
  right: 20px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.mode-btn:hover::after {
  opacity: 1;
  transform: translateX(5px);
}

.mode-btn.active {
  background-color: var(--accent-color);
  color: white;
}

.mode-btn-icon {
  margin-right: 12px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#version-number {
  font-size: 12px;
  color: #777;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.settings-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--accent-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  font-size: 1.2em;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s ease-out;
}

.settings-btn:hover {
  background-color: white;
  box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.3);
  transform: translate(0, -3px);
}

/* Premium Banner */
.premium-banner {
  background: linear-gradient(to right, rgba(108, 99, 255, 0.1), rgba(108, 99, 255, 0.2));
  border-radius: 8px;
  padding: 10px 15px;
  margin: 15px auto;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--accent-color);
  position: absolute;
  bottom: 20px;
}

.premium-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.premium-icon {
  font-size: 18px;
  margin-right: 8px;
  color: goldenrod;
}

.premium-text {
  flex-grow: 1;
  font-size: 14px;
  color: #333;
}

.btn-sm {
  padding: 4px 10px;
  font-size: 13px;
}

.premium-close-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 12px;
  color: var(--accent-color);
  background: white;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  transition: all 0.2s;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.4);
}

.premium-close-btn:hover {
  background: var(--accent-color);
  color: white;
}

.premium-banner.hidden {
  animation: slide-out 0.3s forwards;
}

@keyframes slide-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
  }
}