:root {
  --main-font: 'Ubuntu', sans-serif;
  --primary-bg: #f9f9f9;
  --card-bg: rgba(255, 255, 255, 0.1);
  --accent-color: #2196F3;
  --text-primary: #000;
  --text-secondary: #666;
  --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 20px;
  --transition: all 0.3s ease;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('Ubuntu.ttf') format('truetype');
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--main-font);
  height: 100vh;
  margin: 0;
  overflow: hidden;
  background-color: var(--primary-bg);
  transition: background-color 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu {
  width: 97%;
  background-color: var(--card-bg);
  padding: 15px;
  transition: var(--transition);
  position: fixed;
  border-radius: var(--border-radius);
  margin: 20px;
  box-shadow: var(--shadow-heavy);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://bing.img.run/rand_1366x768.php');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: -1;
  border-radius: var(--border-radius);
}

.menu-item {
  font-family: var(--main-font);
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  border-radius: var(--border-radius);
  padding: 15px;
  margin: 5px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  backdrop-filter: blur(5px);
}

.menu-item:hover {
  background-color: #bbb;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.menu-item.selected {
  transform: translateY(5px) scale(1.05);
  background-color: var(--card-bg);
  font-weight: bold;
  padding-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.content {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  position: fixed;
  overflow: hidden;
  transition: background-color 0.8s ease;
  width: 100%;
  height: calc(100% - 100px);
  bottom: 0;
}

.content-item {
  display: none;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.content-item.active {
  display: flex;
  flex-direction: column;
}

.content-item iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.audio-control-container {
  display: flex;
  align-items: center;
  margin-top: 10px;
  position: relative;
}

.audio-control {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.audio-control::before {
  content: "▶";
  color: var(--text-primary);
  font-size: 30px;
}

.audio-control.playing::before { content: "❚❚"; }
.audio-control.paused::before { content: "▶"; }

.playback-status {
  color: white;
  font-size: 18px;
  text-align: left;
  position: absolute;
  left: 50%;
  white-space: nowrap;
  opacity: 0;
  width: auto;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  border-radius: var(--border-radius);
  transition: transform 1s ease, opacity 1s ease;
}

.playback-status.show {
  opacity: 0.5;
  transform: translateY(0);
}

.lyric-text {
  text-align: left;
  font-size: 16px;
  color: #000;
  white-space: nowrap;
  max-height: 25px;
  overflow: hidden;
}

.image-container {
  float: left;
  margin: 10px;
  padding: 10px;
  border: none;
  max-width: 40%;
}

.title-image {
  width: 100px;
  height: auto;
  display: block;
}

.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  border-radius: 40%;
  text-align: center;
  line-height: 43px;
  font-size: 20px;
  z-index: 9999;
  box-shadow: var(--shadow-light);
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .menu { width: auto; }
  .menu.active { transform: translateX(-100%); }
  .title-image, .audio-control { display: none; }
  .content { height: 100%; }
}