﻿.view {
  animation: fadeIn 0.3s ease;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  margin-bottom: 32px;
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200, 150, 62, 0.05), transparent);
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg-primary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 30px;
}

.hero-logo {
  max-width: 280px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.hero-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

.album-header {
  display: flex;
  gap: 32px;
  padding: 32px;
  background: linear-gradient(to bottom, rgba(200, 150, 62, 0.3), var(--bg-primary));
  align-items: flex-end;
  animation: fadeIn 0.4s ease;
}

.album-header-thumbnail {
  width: 232px;
  height: 232px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.album-header-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.album-header-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.album-header-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
}

.album-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.album-header-artist {
  font-weight: 600;
  color: var(--text-primary);
}

.album-header-dot {
  color: var(--text-dim);
}

.playlist-header {
  display: flex;
  gap: 32px;
  padding: 32px;
  background: linear-gradient(to bottom, rgba(200, 150, 62, 0.4), var(--bg-primary));
  align-items: flex-end;
  animation: fadeIn 0.4s ease;
}

.playlist-gradient {
  width: 232px;
  height: 232px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-gold), #4a2c17);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.playlist-gradient .icon {
  width: 80px;
  height: 80px;
  color: white;
}

.playlist-header-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playlist-header-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.playlist-header-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
}

.playlist-header-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

.playlist-header-count {
  font-size: 14px;
  color: var(--text-secondary);
}


.view-album-detail .track-list-header,
.view-album-detail .track-row {
  grid-template-columns: 50px 1fr 120px 60px;
}


.radio-hero {
  padding: 56px 32px 48px;
  background: radial-gradient(circle at 50% 20%, rgba(200, 150, 62, 0.28), transparent 70%),
              linear-gradient(135deg, rgba(200, 150, 62, 0.2), rgba(74, 44, 23, 0.4), var(--bg-primary));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(200, 150, 62, 0.25);
  box-shadow: inset 0 -30px 40px -20px rgba(200, 150, 62, 0.12);
}

.radio-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.6);
  box-shadow: 0 0 16px rgba(231, 76, 60, 0.35);
  color: #ff5e57;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5e57;
  animation: pulseGlow 1.5s infinite;
}

.radio-logo-wrap {
  max-width: 320px;
  width: 100%;
}

.radio-logo {
  width: 100%;
  filter: drop-shadow(0 0 25px rgba(200, 150, 62, 0.45));
  animation: pulseGlow 3s ease-in-out infinite;
}

.radio-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  margin-top: -4px;
  text-shadow: 0 0 25px rgba(200, 150, 62, 0.35);
}

.radio-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 500px;
}

.radio-controls-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 150, 62, 0.35);
  border-radius: 16px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(200, 150, 62, 0.2), inset 0 0 20px rgba(200, 150, 62, 0.05);
  margin-top: 8px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.radio-controls-card:hover {
  border-color: rgba(200, 150, 62, 0.6);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7), 0 0 35px rgba(200, 150, 62, 0.3), inset 0 0 25px rgba(200, 150, 62, 0.08);
}

.radio-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 220, 130, 0.6);
  box-shadow: 0 4px 20px rgba(200, 150, 62, 0.5);
}

.radio-play-btn:hover {
  transform: scale(1.06);
  background: var(--gold-gradient-hover);
  box-shadow: 0 0 30px rgba(200, 150, 62, 0.8), 0 0 50px rgba(200, 150, 62, 0.35);
}

.radio-play-btn.playing {
  background: linear-gradient(135deg, #ff6b6b, #e74c3c, #962d22);
  border-color: rgba(255, 130, 130, 0.7);
  box-shadow: 0 0 25px rgba(231, 76, 60, 0.6);
  color: #fff;
}

.radio-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.radio-bar {
  width: 4px;
  background: linear-gradient(to top, #8B5E3C, #C8963E, #FFE194);
  border-radius: 2px;
  height: 6px;
  transition: height 0.2s ease;
  box-shadow: 0 0 8px rgba(200, 150, 62, 0.6);
}

.radio-visualizer.active .radio-bar {
  animation: visualizerAnim 1.2s ease-in-out infinite alternate;
}
.radio-visualizer.active .radio-bar:nth-child(1) { animation-delay: 0.1s; }
.radio-visualizer.active .radio-bar:nth-child(2) { animation-delay: 0.4s; }
.radio-visualizer.active .radio-bar:nth-child(3) { animation-delay: 0.2s; }
.radio-visualizer.active .radio-bar:nth-child(4) { animation-delay: 0.6s; }
.radio-visualizer.active .radio-bar:nth-child(5) { animation-delay: 0.3s; }

@keyframes visualizerAnim {
  0% { height: 6px; }
  100% { height: 28px; }
}

.radio-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 720px;
  width: 100%;
  margin-top: 12px;
}

.radio-meta-item {
  background: linear-gradient(135deg, rgba(200, 150, 62, 0.06), rgba(26, 26, 26, 0.7));
  border: 1px solid rgba(200, 150, 62, 0.22);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 0 10px rgba(200, 150, 62, 0.04);
  transition: all var(--transition-fast);
}

.radio-meta-item:hover {
  border-color: rgba(200, 150, 62, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(200, 150, 62, 0.25);
}

.radio-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  margin-bottom: 4px;
  font-weight: 600;
}

.radio-meta-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}


.view-browse {
  animation: fadeIn 0.3s ease;
}

.browse-header {
  padding: 32px 32px 20px;
  background: linear-gradient(to bottom, rgba(200, 150, 62, 0.2), transparent);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.browse-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-box-wrap {
  position: relative;
  max-width: 680px;
  width: 100%;
  margin-top: 8px;
}

.search-box-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.search-box-wrap:focus-within .search-box-icon {
  color: var(--accent-gold);
}

.browse-search-input {
  width: 100%;
  height: 52px;
  padding: 0 56px 0 48px;
  background-color: var(--bg-card);
  border: 1px solid rgba(200, 150, 62, 0.3);
  border-radius: 26px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-family);
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.browse-search-input:focus {
  background-color: var(--bg-card-hover);
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px rgba(200, 150, 62, 0.35), inset 0 0 10px rgba(200, 150, 62, 0.08);
}

.browse-search-input::placeholder {
  color: var(--text-dim);
}

.search-clear-btn {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  transition: all var(--transition-fast);
}

.search-clear-btn:hover {
  background: rgba(200, 150, 62, 0.35);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.search-kbd-hint {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  font-size: 11px;
  font-family: monospace;
  pointer-events: none;
  line-height: 1.4;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
  margin-top: 4px;
}

.search-chip {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 150, 62, 0.22);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.search-chip:hover {
  background: rgba(200, 150, 62, 0.15);
  color: var(--text-primary);
  border-color: rgba(200, 150, 62, 0.45);
  transform: translateY(-1px);
}

.search-chip.active {
  background: var(--gold-gradient);
  border-color: rgba(255, 220, 130, 0.6);
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(200, 150, 62, 0.35);
}

.browse-results-wrap {
  padding: 0 32px 32px;
}

.browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200, 150, 62, 0.15);
}

.browse-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

