/* Duke Music - Orange Premium Theme v3.0 */

:root {
  --primary-orange: #F97316;
  --orange-dark: #EA580C;
  --orange-light: #FB923C;
  --bg-dark: #0F0F1E;
  --bg-darker: #0B0B12;
  --bg-card: #1A1A2E;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B0;
  --border-color: #2A2A3E;
  --accent-green: #10B981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: var(--bg-darker);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--primary-orange);
  text-decoration: none;
}

/* HEADER */
header {
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-orange), var(--orange-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  color: white;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.logo-text strong {
  display: block;
  font-size: 14px;
}

.logo-text small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

.top-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.top-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
}

/* BUTTONS */
.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--orange-dark));
  color: white;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
  background: rgba(249, 115, 22, 0.1);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* MAIN CONTENT */
main {
  padding: 40px 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 200px;
}

.main-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-label {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid var(--primary-orange);
  color: var(--primary-orange);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  width: fit-content;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-primary);
}

.hero h1 .highlight {
  color: var(--primary-orange);
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.hero-image {
  position: relative;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.2);
}

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

/* STATS SECTION */
.content-section {
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.stat-card {
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.1);
}

.stat-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.2));
  border-radius: 8px;
}

.stat-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-change {
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 600;
}

.stat-change.negative {
  color: #EF4444;
}

/* GENRE CHIPS */
.genre-chips-header {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0;
  margin-bottom: 40px;
}

.genre-chips-header::-webkit-scrollbar {
  height: 4px;
}

.genre-chips-header::-webkit-scrollbar-track {
  background: transparent;
}

.genre-chips-header::-webkit-scrollbar-thumb {
  background: var(--primary-orange);
  border-radius: 2px;
}

.chip {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.chip:hover,
.chip.active {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: white;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

/* SECTION HEADER */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
}

.view-all {
  color: var(--primary-orange);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-all:hover {
  gap: 4px;
}

/* TRACK LIST */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.track-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.track-item:hover {
  background: rgba(26, 26, 46, 0.9);
  border-color: var(--primary-orange);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.track-rank {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-orange);
  min-width: 24px;
  text-align: center;
}

.track-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-info {
  flex: 1;
}

.track-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.track-artist {
  font-size: 12px;
  color: var(--text-secondary);
}

.track-genre {
  font-size: 11px;
  color: var(--primary-orange);
  font-weight: 600;
  text-transform: uppercase;
}

.track-stats {
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 80px;
  text-align: right;
}

.track-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange), var(--orange-dark));
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.track-play:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

/* ARTIST GRID */
.artists-grid,
.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.artist-item {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.artist-item:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.artist-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.artist-item:hover .artist-avatar {
  border-color: var(--primary-orange);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.artist-followers {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.follow-btn {
  width: 100%;
}

/* RELEASE CARDS */
.release-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.release-card:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.release-cover {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.1));
}

.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-info {
  padding: 12px;
}

.release-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.release-artist {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.release-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

.release-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* MUSIC PLAYER */
.music-player {
  position: fixed;
  bottom: 80px;
  left: 32px;
  right: 32px;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 50;
  box-shadow: 0 -4px 30px rgba(249, 115, 22, 0.1);
}

.player-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
}

.player-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-info {
  flex: 0 0 200px;
}

.player-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.player-artist {
  font-size: 12px;
  color: var(--text-secondary);
}

.player-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
}

.player-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}

.player-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.player-play {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-orange), var(--orange-dark));
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.player-play:hover {
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.player-time {
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 60px;
  text-align: right;
}

.progress-bar {
  height: 3px;
  background: var(--border-color);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 3px;
  background: var(--primary-orange);
  border-radius: 2px;
  width: 0%;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 30, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 12px 0;
  z-index: 40;
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px;
  transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary-orange);
}

/* FOOTER */
footer {
  background: rgba(15, 15, 30, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 40px 32px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    height: 400px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 12px 16px;
    flex-direction: column;
    gap: 12px;
  }

  .top-nav {
    gap: 16px;
    font-size: 12px;
  }

  main {
    padding: 24px 16px;
    padding-bottom: 180px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-image {
    height: 300px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .music-player {
    bottom: 70px;
    left: 16px;
    right: 16px;
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .player-info {
    flex: 0 0 100%;
  }

  .player-controls {
    flex: 1;
  }

  .mobile-nav {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .genre-chips-header {
    gap: 8px;
  }

  .chip {
    padding: 6px 12px;
    font-size: 12px;
  }

  .artists-grid,
  .releases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .music-player {
    bottom: 70px;
    left: 12px;
    right: 12px;
  }

  .player-controls {
    gap: 8px;
  }

  .player-btn,
  .player-play {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}
