@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Noto Sans KR", -apple-system, sans-serif;
  background: #000000;
  color: #f0f0f8;
  overflow: hidden;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

input {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #22222c;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444455;
}

.app {
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: 80px 1fr 80px;
  grid-template-areas: "header  header" "sidebar main" "player  player";
  height: 100vh;
  overflow: hidden;
  background: #0a0a0f;
}

.header {
  grid-area: header;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.9);
  z-index: 100;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(24, 24, 31, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  cursor: pointer;
  user-select: none;
}

.header__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.header__logo-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 11px solid white;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 2px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.header__logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, rgba(139, 92, 246, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__logo-text span {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.5;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.5);
}

.header__search {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
}

.header__search-wrapper {
  display: flex;
  align-items: center;
  background: rgba(34, 34, 44, 0.8);
  border-radius: 999px;
  padding: 0 18px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.12s cubic-bezier(0.4, 0, 0.2, 1), background 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__search-wrapper:focus-within {
  background: #22222c;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.header__search-icon {
  font-size: 18px;
  color: #9090a8;
  margin-right: 10px;
}

.header__search-input {
  flex: 1;
  background: none;
  border: none;
  color: #f0f0f8;
  font-size: 14px;
  outline: none;
}

.header__search-input::placeholder {
  color: #555568;
}

.header__search-clear {
  font-size: 18px;
  color: #9090a8;
  cursor: pointer;
  display: none;
  padding: 2px;
  border-radius: 50%;
  transition: color 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__search-clear:hover {
  color: #f0f0f8;
}

.header__search-clear.visible {
  display: block;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 200px;
  justify-content: flex-end;
}

.header__action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9090a8;
  font-size: 20px;
  transition: background 0.12s cubic-bezier(0.4, 0, 0.2, 1), color 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__action-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f0f8;
}

.header__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid rgba(139, 92, 246, 0.4);
  transition: box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__avatar:hover {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.sidebar {
  grid-area: sidebar;
  background: rgba(0, 0, 0, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px 8px;
  overflow-y: auto;
}

.sidebar__section-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #555568;
  padding: 8px 12px 6px;
  margin-top: 8px;
}

.sidebar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #9090a8;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 2px;
  position: relative;
}

.sidebar__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f0f8;
}

.sidebar__item.active {
  background: rgba(139, 92, 246, 0.15);
  color: #f0f0f8;
  font-weight: 500;
}

.sidebar__item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: #8b5cf6;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.sidebar__item-icon {
  font-size: 20px;
}

.sidebar__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 10px 12px;
}

.sidebar__playlist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 13px;
  color: #9090a8;
}

.sidebar__playlist-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f0f8;
}

.sidebar__playlist-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.sidebar__playlist-info {
  overflow: hidden;
}

.sidebar__playlist-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar__playlist-meta {
  font-size: 11px;
  color: #555568;
}

.main-content {
  grid-area: main;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 36px 40px;
  scroll-behavior: smooth;
  background: #0a0a0f;
}

.section {
  margin-bottom: 48px;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.section__more {
  font-size: 12px;
  color: #9090a8;
  padding: 6px 14px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  transition: background 0.12s cubic-bezier(0.4, 0, 0.2, 1), color 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section__more:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f0f8;
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card {
  flex-shrink: 0;
  width: 175px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.25);
}

.card__thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #1c1c26;
}

.card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card__thumb-overlay {
  opacity: 1;
}

.card__play-btn {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.75);
  transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
}

.card:hover .card__play-btn {
  transform: scale(1);
}

.card__play-icon {
  width: 0;
  height: 0;
  border-left: 14px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.card__title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.card__subtitle {
  font-size: 12px;
  color: #9090a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card--wide {
  width: 210px;
}

.card--wide .card__thumb-wrapper {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.card--round .card__thumb-wrapper {
  border-radius: 50%;
}

.card--round .card__title,
.card--round .card__subtitle {
  text-align: center;
}

.track-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.track-item__index {
  width: 24px;
  text-align: center;
  font-size: 13px;
  color: #555568;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.track-item__thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.track-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-item__thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-item:hover .track-item__thumb-overlay {
  opacity: 1;
}

.track-item__play-icon {
  width: 0;
  height: 0;
  border-left: 10px solid white;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 2px;
}

.track-item__info {
  flex: 1;
  min-width: 0;
}

.track-item__title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-item__artist {
  font-size: 12px;
  color: #9090a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.track-item__duration {
  font-size: 12px;
  color: #555568;
  flex-shrink: 0;
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
}

.track-item__actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-item:hover .track-item__actions {
  opacity: 1;
}

.track-item__action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #9090a8;
  transition: background 0.12s cubic-bezier(0.4, 0, 0.2, 1), color 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-item__action-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f0f8;
}

.track-item.is-playing .track-item__index {
  display: none;
}

.track-item.is-playing .track-item__visualizer {
  display: flex;
}

.track-item.is-playing .track-item__title {
  color: #8b5cf6;
}

.track-item__visualizer {
  display: none;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visualizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}

.visualizer-bars span {
  width: 3px;
  background: linear-gradient(to top, #8b5cf6, #ec4899);
  border-radius: 2px;
  animation: viz 0.7s ease-in-out infinite alternate;
}

.visualizer-bars span:nth-child(1) {
  animation-delay: 0s;
}

.visualizer-bars span:nth-child(2) {
  animation-delay: 0.12s;
}

.visualizer-bars span:nth-child(3) {
  animation-delay: 0.25s;
}

.visualizer-bars span:nth-child(4) {
  animation-delay: 0.37s;
}

.visualizer-bars--paused span {
  animation-play-state: paused;
}

@keyframes viz {
  0% {
    height: 15%;
    opacity: 0.6;
  }
  100% {
    height: 100%;
    opacity: 1;
  }
}

.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.genre-chip {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.genre-chip:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.genre-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.genre-chip:hover::before {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 48px;
  height: 360px;
  cursor: pointer;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) saturate(1.2);
  transform: scale(1.05);
  transition: transform 6s ease, filter 0.4s ease;
}

.hero:hover .hero__bg {
  transform: scale(1.1);
  filter: brightness(0.5) saturate(1.3);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%), linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero__content {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  z-index: 2;
}

.hero__title {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero__desc {
  font-size: 14px;
  color: #9090a8;
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 12px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn--primary {
  background: white;
  color: #111118;
}

.hero__btn--primary:hover {
  background: #e8e8f0;
  transform: scale(1.04);
}

.hero__btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.04);
}

.hero__btn .cinema-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: #000000;
  display: flex;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__btn .cinema-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.hero__btn .cinema-overlay__bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: blur(80px) brightness(0.15) saturate(2);
  transition: background-image 0.8s ease;
}

.hero__btn .cinema-overlay__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.9) 100%);
}

.hero__btn .cinema-overlay__close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #9090a8;
  font-size: 22px;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.hero__btn .cinema-overlay__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #f0f0f8;
}

.hero__btn .cinema-overlay__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 80px;
  padding: 80px 80px 120px;
}

.hero__btn .cinema-overlay__art-wrap {
  flex-shrink: 0;
  position: relative;
}

.hero__btn .cinema-overlay__art {
  width: 320px;
  height: 320px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 0 80px rgba(139, 92, 246, 0.2);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__btn .cinema-overlay__art-placeholder {
  width: 320px;
  height: 320px;
  border-radius: 28px;
  background: linear-gradient(135deg, #22222c, #18181f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
}

.hero__btn .cinema-overlay__vinyl {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.5;
  animation: vinyl-spin 6s linear infinite;
  animation-play-state: paused;
  background: radial-gradient(circle at center, #111 20%, #222 25%, #111 30%, transparent 35%, rgba(139, 92, 246, 0.1) 45%, transparent 50%, rgba(139, 92, 246, 0.05) 60%, transparent 70%);
}

.hero__btn .cinema-overlay__vinyl.spinning {
  animation-play-state: running;
}

.hero__btn .cinema-overlay__info {
  flex: 1;
  min-width: 0;
  max-width: 480px;
}

.hero__btn .cinema-overlay__genre-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #8b5cf6;
  margin-bottom: 14px;
}

.hero__btn .cinema-overlay__title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__btn .cinema-overlay__artist {
  font-size: 20px;
  color: #9090a8;
  margin-bottom: 36px;
}

.hero__btn .cinema-overlay__progress-wrap {
  margin-bottom: 8px;
}

.hero__btn .cinema-overlay__progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: height 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .cinema-overlay__progress-bar:hover {
  height: 8px;
}

.hero__btn .cinema-overlay__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 3px;
  position: relative;
  transition: width 0.25s linear;
}

.hero__btn .cinema-overlay__progress-dot {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
}

.hero__btn .cinema-overlay__progress-bar:hover .hero__btn .cinema-overlay__progress-dot {
  transform: translateY(-50%) scale(1);
}

.hero__btn .cinema-overlay__times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #555568;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  font-weight: 500;
}

.hero__btn .cinema-overlay__controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.hero__btn .cinema-overlay__ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #9090a8;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .cinema-overlay__ctrl-btn:hover {
  color: #f0f0f8;
  transform: scale(1.1);
}

.hero__btn .cinema-overlay__ctrl-btn.active {
  color: #8b5cf6;
}

.hero__btn .cinema-overlay__ctrl-btn--sm {
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.hero__btn .cinema-overlay__ctrl-btn--md {
  width: 48px;
  height: 48px;
  font-size: 26px;
}

.hero__btn .cinema-overlay__ctrl-btn--lg {
  width: 64px;
  height: 64px;
  font-size: 32px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white !important;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.hero__btn .cinema-overlay__ctrl-btn--lg:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
}

.hero__btn .cinema-overlay__vol-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.hero__btn .cinema-overlay__vol-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
}

.hero__btn .cinema-overlay__vol-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 2px;
  transition: width 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .cinema-overlay__action-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.hero__btn .cinema-overlay__action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #9090a8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .cinema-overlay__action-btn:hover {
  color: #f0f0f8;
  background: rgba(255, 255, 255, 0.06);
}

.hero__btn .cinema-overlay__action-btn.liked {
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.3);
}

.hero__btn .cinema-overlay__action-btn span {
  font-size: 17px;
}

@keyframes vinyl-spin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.hero__btn .video-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__btn .video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.hero__btn .video-modal__content {
  position: relative;
  width: 88%;
  max-width: 900px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  background: #18181f;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__btn .video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .video-modal__close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.hero__btn .video-modal__player-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.hero__btn .video-modal__info {
  padding: 20px 24px;
}

.hero__btn .video-modal__info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero__btn .video-modal__info p {
  font-size: 12px;
  color: #9090a8;
}

.hero__btn .video-modal__actions {
  padding: 0 24px 20px;
  display: flex;
  gap: 10px;
}

.hero__btn .video-modal__actions .modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  background: #22222c;
  color: #f0f0f8;
}

.hero__btn .video-modal__actions .modal-btn:hover {
  background: #1c1c26;
}

.hero__btn .video-modal__actions .modal-btn.liked {
  color: #ec4899;
}

.hero__btn .yt-url-input {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  padding: 18px 22px;
  background: #18181f;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__btn .yt-url-input__field {
  flex: 1;
  padding: 10px 16px;
  border-radius: 14px;
  background: #22222c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f0f0f8;
  font-size: 14px;
  outline: none;
  transition: border-color 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .yt-url-input__field:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.hero__btn .yt-url-input__field::placeholder {
  color: #555568;
}

.hero__btn .yt-url-input__btn {
  padding: 10px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1), transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.hero__btn .yt-url-input__btn:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

.hero__btn .yt-url-input__icon {
  font-size: 18px;
}

.hero__btn .library-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}

.hero__btn .library-tab {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #9090a8;
  cursor: pointer;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .library-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f0f8;
}

.hero__btn .library-tab.active {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.hero__btn .library-empty {
  text-align: center;
  padding: 80px 32px;
  color: #9090a8;
}

.hero__btn .library-empty__icon {
  font-size: 72px;
  margin-bottom: 20px;
  opacity: 0.2;
}

.hero__btn .library-empty__title {
  font-size: 22px;
  font-weight: 700;
  color: #f0f0f8;
  margin-bottom: 8px;
}

.hero__btn .library-empty__desc {
  font-size: 14px;
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero__btn .page-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.hero__btn .toast {
  position: fixed;
  bottom: calc(80px + 28px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(24, 24, 31, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.1) inset;
  color: #f0f0f8;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.25);
  white-space: nowrap;
}

.hero__btn .toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.hero__btn .context-menu {
  position: fixed;
  background: #22222c;
  border-radius: 14px;
  padding: 6px 0;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10000;
  display: none;
  animation: menu-in 0.15s ease;
}

.hero__btn .context-menu.active {
  display: block;
}

.hero__btn .context-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: #9090a8;
  cursor: pointer;
  transition: background 0.12s cubic-bezier(0.4, 0, 0.2, 1), color 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .context-menu__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f0f8;
}

.hero__btn .context-menu__item-icon {
  font-size: 18px;
}

.hero__btn .context-menu__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 4px 0;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero__btn .mood-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  padding: 16px;
}

.hero__btn .mood-label__title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero__btn .mood-label__desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 3px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__btn .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@media (max-width: 1100px) {
  .hero__btn .app {
    grid-template-columns: 72px 1fr;
  }
  .hero__btn .sidebar {
    padding: 12px 6px;
  }
  .hero__btn .sidebar__item span:not(.sidebar__item-icon) {
    display: none;
  }
  .hero__btn .sidebar__item {
    justify-content: center;
    padding: 12px;
  }
  .hero__btn .sidebar__section-label, .hero__btn .sidebar__playlist-item {
    display: none;
  }
  .hero__btn .sidebar__divider {
    margin: 6px;
  }
  .hero__btn .header__logo-text {
    display: none;
  }
  .hero__btn .track-list {
    grid-template-columns: 1fr;
  }
  .hero__btn .cinema-overlay__body {
    gap: 48px;
    padding: 60px;
  }
  .hero__btn .cinema-overlay__art {
    width: 260px;
    height: 260px;
  }
  .hero__btn .cinema-overlay__vinyl {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero__btn .app {
    grid-template-columns: 1fr;
    grid-template-rows: 80px 1fr auto 80px;
    grid-template-areas: "header" "main" "sidebar" "player";
  }
  .hero__btn .sidebar {
    display: flex;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4px 0;
    overflow: visible;
    justify-content: space-around;
  }
  .hero__btn .sidebar ul {
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  .hero__btn .sidebar__item {
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
    padding: 6px 12px;
  }
  .hero__btn .sidebar__item-icon {
    font-size: 20px;
  }
  .hero__btn .sidebar__section-label,
.hero__btn .sidebar__divider,
.hero__btn .sidebar__playlist-item {
    display: none;
  }
  .hero__btn .main-content {
    padding: 16px;
  }
  .hero__btn .hero {
    height: 240px;
  }
  .hero__btn .hero__title {
    font-size: 28px;
  }
  .hero__btn .card {
    width: 145px;
  }
  .hero__btn .cinema-overlay__body {
    flex-direction: column;
    padding: 60px 24px 80px;
    gap: 36px;
  }
  .hero__btn .cinema-overlay__art {
    width: 200px;
    height: 200px;
  }
  .hero__btn .cinema-overlay__title {
    font-size: 26px;
  }
  .hero__btn .cinema-overlay__artist {
    font-size: 16px;
  }
  .hero__btn .video-modal__content {
    width: 98%;
  }
}

.hero__btn .blackout-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: #000000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero__btn .blackout-overlay__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 24px;
  border-radius: 999px;
  transition: color 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .blackout-overlay__hint .material-icons-round {
  font-size: 20px;
}

.hero__btn .blackout-overlay:hover .hero__btn .blackout-overlay__hint {
  color: rgba(255, 255, 255, 0.35);
}

.hero__btn .login-wall {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
}

.hero__btn .login-wall__card {
  width: 100%;
  max-width: 380px;
  background: rgba(24, 24, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(139, 92, 246, 0.08);
  animation: card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__btn .login-wall__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  justify-content: center;
}

.hero__btn .login-wall__logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, rgba(139, 92, 246, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__btn .login-wall__logo-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #555568;
  margin-top: 2px;
}

.hero__btn .login-wall__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__btn .login-wall__input {
  width: 100%;
  padding: 12px 18px;
  background: rgba(34, 34, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #f0f0f8;
  font-size: 14px;
  font-family: "Inter", "Noto Sans KR", -apple-system, sans-serif;
  outline: none;
  transition: border-color 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .login-wall__input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.hero__btn .login-wall__input::placeholder {
  color: #555568;
}

.hero__btn .login-wall__msg {
  min-height: 20px;
  text-align: center;
  font-size: 12px;
}

.hero__btn .login-wall__btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1), transform 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  font-family: "Inter", "Noto Sans KR", -apple-system, sans-serif;
}

.hero__btn .login-wall__btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.hero__btn .login-wall__btn:active {
  transform: scale(0.98);
}

.hero__btn .login-wall__footer {
  text-align: center;
  font-size: 11px;
  color: #555568;
  margin-top: 20px;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero__btn .search-dropdown-wrap {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 500;
}

.hero__btn .search-dropdown {
  background: rgba(24, 24, 31, 0.97);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  padding: 16px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
}

.hero__btn .search-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.hero__btn .search-dropdown--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px;
  color: #555568;
  font-size: 13px;
}

.hero__btn .search-result-card {
  width: 100%;
  text-align: left;
  background: rgba(34, 34, 44, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.12s cubic-bezier(0.4, 0, 0.2, 1), transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  font-family: "Inter", "Noto Sans KR", -apple-system, sans-serif;
}

.hero__btn .search-result-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(139, 92, 246, 0.4);
}

.hero__btn .search-result-card__thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #1c1c26;
  overflow: hidden;
}

.hero__btn .search-result-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .search-result-card:hover .hero__btn .search-result-card__thumb {
  transform: scale(1.06);
}

.hero__btn .search-result-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .search-result-card:hover .hero__btn .search-result-card__overlay {
  opacity: 1;
}

.hero__btn .search-result-card__play {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.hero__btn .search-result-card__duration {
  position: absolute;
  bottom: 5px;
  right: 6px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}

.hero__btn .search-result-card__info {
  padding: 10px 12px;
}

.hero__btn .search-result-card__title {
  font-size: 12px;
  font-weight: 500;
  color: #f0f0f8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  margin-bottom: 4px;
  transition: color 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .search-result-card:hover .hero__btn .search-result-card__title {
  color: #d0bdfb;
}

.hero__btn .search-result-card__channel {
  font-size: 10px;
  color: #555568;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__btn .c-player {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  animation: player-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__btn .c-player__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.hero__btn .c-player__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__btn .c-player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
  background: rgba(24, 24, 31, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__btn .c-player__bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.hero__btn .c-player__platform-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__btn .c-player__platform-badge--youtube {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hero__btn .c-player__platform-badge--chzzk {
  background: rgba(139, 92, 246, 0.12);
  color: #d0bdfb;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.hero__btn .c-player__title {
  font-size: 13px;
  font-weight: 500;
  color: #f0f0f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__btn .c-player__bar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__btn .c-player__action-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 34, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #9090a8;
  cursor: pointer;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", "Noto Sans KR", -apple-system, sans-serif;
}

.hero__btn .c-player__action-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: #f0f0f8;
}

.hero__btn .c-player__action-btn--danger:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

@keyframes player-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__btn #main-player-section.hidden {
  display: none;
}

.hero__btn .howto-card {
  background: rgba(24, 24, 31, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px 20px;
  transition: border-color 0.12s cubic-bezier(0.4, 0, 0.2, 1), transform 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn .howto-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}

.hero__btn .howto-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #8b5cf6;
}

.hero__btn .howto-card__icon .material-icons-round {
  font-size: 22px;
}

.hero__btn .howto-card__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero__btn .howto-card__desc {
  font-size: 12px;
  color: #9090a8;
  line-height: 1.7;
}

.hero__btn .toast-container {
  position: fixed;
  bottom: calc(80px + 24px);
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.hero__btn .neon-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(34, 34, 44, 0.97);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #f0f0f8;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
}

.hero__btn .neon-toast--error {
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.hero__btn .neon-toast--error .material-icons-round {
  color: #f87171;
}

.hero__btn .neon-toast--info {
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.hero__btn .neon-toast--info .material-icons-round {
  color: #8b5cf6;
}

.hero__btn .neon-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.hero__btn .header__online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
100% {
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  }
  50% {
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.9);
  }
}

.hero__btn .recommendations {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__btn .header__search {
  position: relative;
}

.player {
  grid-area: player;
  background: rgba(14, 14, 20, 0.98);
  backdrop-filter: blur(30px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  height: 100%;
}

.player.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.player__left {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 25%;
  min-width: 180px;
  cursor: pointer;
}

.player__left:hover .player__left__thumb img {
  transform: scale(1.05);
}

.player__thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0c0c10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.player__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.player__info {
  min-width: 0;
}

.player__title {
  font-size: 14px;
  font-weight: 600;
  color: #f0f0f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__artist {
  font-size: 12px;
  color: #9090a8;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 50%;
  max-width: 680px;
}

.player__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.player__control-btn {
  background: transparent;
  border: none;
  color: #9090a8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.2s;
}

.player__control-btn .material-icons-round {
  font-size: 24px;
}

.player__control-btn:hover {
  color: #f0f0f8;
  background: rgba(255, 255, 255, 0.05);
}

.player__control-btn:active {
  transform: scale(0.95);
}

.player__control-btn--play {
  color: #000;
  background: #fff;
  width: 42px;
  height: 42px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.player__control-btn--play .material-icons-round {
  font-size: 28px;
}

.player__control-btn--play:hover {
  color: #000;
  background: #f0f0f0;
  transform: scale(1.05);
}

.player__progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.player__time {
  font-size: 11px;
  color: #555568;
  width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.player__timeline-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  height: 12px;
}

.player__timeline {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: height 0.1s;
}

.player__timeline:hover {
  height: 5px;
}

.player__timeline:hover::-webkit-slider-thumb {
  transform: scale(1.2);
}

.player__timeline::-webkit-slider-runnable-track {
  background: transparent;
}

.player__timeline::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: transform 0.1s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.player__timeline-progress {
  position: absolute;
  left: 0;
  top: calc(50% - 1.5px);
  height: 3px;
  background: #fff;
  border-radius: 2px 0 0 2px;
  width: 0;
  pointer-events: none;
  z-index: 1;
}

.player__timeline:hover ~ .player__timeline-progress {
  height: 5px;
  top: calc(50% - 2.5px);
}

.player__right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  width: 25%;
  min-width: 180px;
}

.player__volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100px;
  color: #9090a8;
}

.player__volume-container:hover {
  color: #f0f0f8;
}

.player__volume-slider {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.player__volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.full-player {
  position: fixed;
  left: 260px;
  right: 0;
  top: 80px;
  bottom: 80px;
  z-index: 800;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
}

.full-player.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.full-player__header {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 32px;
}

.full-player__close-btn {
  background: transparent;
  border: none;
  color: #9090a8;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.full-player__close-btn:hover {
  color: #f0f0f8;
  background: rgba(255, 255, 255, 0.05);
}

.full-player__body {
  flex: 1;
  display: flex;
  padding: 0 48px 40px 48px;
  gap: 48px;
  overflow: hidden;
}

.full-player__video-section {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 100%;
}

.full-player__video-container {
  width: 100%;
  height: 100%;
}

.full-player__video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.full-player__panel {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  background: #18181f;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  height: 100%;
  max-width: 520px;
}

.full-player__tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 16px;
  height: 56px;
  align-items: center;
  gap: 8px;
}

.full-player__tab-btn {
  background: transparent;
  border: none;
  color: #9090a8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s;
}

.full-player__tab-btn:hover {
  color: #f0f0f8;
}

.full-player__tab-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.full-player__tab-content {
  flex: 1;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  padding: 16px;
}

.full-player__tab-content.active {
  display: flex;
}

.queue-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9090a8;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 0 8px;
}

.queue-list__clear-btn {
  background: transparent;
  border: none;
  color: #f87171;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.queue-list__clear-btn:hover {
  text-decoration: underline;
}

.queue-list__items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.queue-list__empty {
  padding: 40px 0;
  text-align: center;
  color: #555568;
  font-size: 13px;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.queue-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.queue-item.active {
  background: rgba(139, 92, 246, 0.08);
}

.queue-item.active .queue-item__title {
  color: #8b5cf6;
  font-weight: 600;
}

.queue-item__thumb {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #000;
}

.queue-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.queue-item__play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  color: #fff;
}

.queue-item__play-overlay .material-icons-round {
  font-size: 18px;
}

.queue-item:hover .queue-item__play-overlay, .queue-item.active .queue-item__play-overlay {
  opacity: 1;
}

.queue-item__info {
  flex: 1;
  min-width: 0;
}

.queue-item__title {
  font-size: 13px;
  color: #f0f0f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-item__channel {
  font-size: 11px;
  color: #9090a8;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-item__duration {
  font-size: 11px;
  color: #555568;
  font-variant-numeric: tabular-nums;
}

.queue-item__remove {
  color: #555568;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.2s;
}

.queue-item__remove .material-icons-round {
  font-size: 18px;
}

.queue-item__remove:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-list__empty {
  padding: 40px 0;
  text-align: center;
  color: #555568;
  font-size: 13px;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.related-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.related-item__thumb {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.related-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item__info {
  flex: 1;
  min-width: 0;
}

.related-item__title {
  font-size: 13px;
  color: #f0f0f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-item__channel {
  font-size: 11px;
  color: #9090a8;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-item__duration {
  font-size: 11px;
  color: #555568;
  font-variant-numeric: tabular-nums;
}

.related-item__add {
  background: transparent;
  border: none;
  color: #9090a8;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.related-item__add .material-icons-round {
  font-size: 20px;
}

.related-item__add:hover {
  color: #f0f0f8;
  background: rgba(255, 255, 255, 0.05);
}

.lyrics-view {
  padding: 8px;
}

.lyrics-view h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.lyrics-view__placeholder {
  font-size: 13px;
  color: #9090a8;
  line-height: 1.6;
}

.search-page {
  padding: 16px 8px 40px 8px;
}

.search-page__header {
  margin-bottom: 24px;
}

.search-page__title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.search-page__filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.search-page__filters::-webkit-scrollbar {
  display: none;
}

.search-page__filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.search-page__filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-page__filter-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.search-results__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-track-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.search-track-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.search-track-item.is-playing {
  background: rgba(139, 92, 246, 0.04);
}

.search-track-item.is-playing .search-track-item__title {
  color: #8b5cf6;
  font-weight: 700;
}

.search-track-item.is-playing .search-track-item__index {
  display: none;
}

.search-track-item.is-playing .search-track-item__visualizer {
  display: flex;
}

.search-track-item__index {
  width: 24px;
  text-align: center;
  font-size: 13px;
  color: #555568;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.search-track-item__visualizer {
  width: 24px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  display: none;
}

.search-track-item__thumb {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #000;
}

.search-track-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-track-item__thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  color: #fff;
}

.search-track-item:hover .search-track-item__thumb-overlay {
  opacity: 1;
}

.search-track-item__info {
  flex: 1;
  min-width: 0;
}

.search-track-item__title {
  font-size: 14px;
  font-weight: 500;
  color: #f0f0f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-track-item__artist {
  font-size: 12px;
  color: #9090a8;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-track-item__duration {
  font-size: 13px;
  color: #555568;
  width: 48px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.search-track-item__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.15s;
}

.search-track-item:hover .search-track-item__actions {
  opacity: 1;
}

.search-track-item__action-btn {
  background: transparent;
  border: none;
  color: #9090a8;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.search-track-item__action-btn .material-icons-round {
  font-size: 20px;
}

.search-track-item__action-btn:hover {
  color: #f0f0f8;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .full-player {
    left: 0;
  }
  .full-player__body {
    flex-direction: column;
    padding: 0 20px 20px 20px;
    gap: 20px;
  }
  .full-player__panel {
    max-width: 100%;
  }
}
