/* Music Page Specific Styles */

.music-page {
    background-image: url('backgrounds/static/music.jpg');
    background-size: auto;
    background-repeat: repeat;
}

.music-page header::after {
    background: linear-gradient(90deg, #330066, #9933FF, #330066);
}

.music-page .site-title h1 {
    color: #9933FF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.music-page .tagline {
    color: #CC99FF;
}

.music-page .main-window {
    background-color: #1a1a2e;
    border: solid 2px #330066;
    box-shadow: 1px 1px 0 #5533AA, -1px -1px 0 #000;
}

.music-page .main-window .window-header {
    background: linear-gradient(90deg, #1a0033, #660099);
    color: #CC99FF;
}

.music-page .main-window .window-body {
    color: #DDDDDD;
}

.music-page .main-window h2,
.music-page .main-window h3 {
    color: #9933FF;
}

.music-page .main-window ul {
    color: #CCCCCC;
}

.music-page .aside-window {
    background-color: #1a1a2e;
    border: solid 2px #330066;
    box-shadow: 1px 1px 0 #5533AA, -1px -1px 0 #000;
    width: 200px;
    position: fixed;
    right: calc(50% - 730px);
    top: 50px;
bottom: 80px;
max-height: calc(100vh - 80px);
    z-index: 998;
}

.music-page .aside-window .window-header {
    background: linear-gradient(90deg, #1a0033, #660099);
    color: #CC99FF;
}

.music-page .aside-window .window-body .stats-section .h3{
    color: #CC99FF !important;
}

.music-page .aside-window .window-body {
  color: #DDDDDD;
  overflow-y: auto;
  flex: 1;
}

/* Aside window scrollbar styles */
.music-page .aside-window .window-body::-webkit-scrollbar {
  width: 12px;
}

.music-page .aside-window .window-body::-webkit-scrollbar-track {
  background: #2d2d44;
}

.music-page .aside-window .window-body::-webkit-scrollbar-thumb {
  background: #9933FF;
  border-radius: 6px;
}

.music-page .aside-window .window-body::-webkit-scrollbar-thumb:hover {
  background: #CC99FF;
}

.songs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.song-item {
    background-color: #2d2d44;
    padding: 8px;
    border-left: 3px solid #9933FF;
    font-size: 0.9em;
}

.song-item p {
    margin: 5px 0;
}

/* Footer styles */
footer a {
    color: #9933FF;
    text-decoration: underline;
    font-weight: bold;
}

footer a:hover {
    color: #CC99FF;
    text-shadow: 0 0 5px #9933FF;
}


/* Styles for stats section (top album, artists, songs) */
/* Top Album Styles */
.album-info {
  text-align: center;
}

.album-name {
  font-size: 0.85em;
  margin: 3px 0;
  color: #AAA;
  font-weight: bold;
}

.album-artist {
  font-size: 0.8em;
  margin: 0;
  color: #999;
}

/* Top Artists Styles */
.top-artist-item {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #444;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.artist-thumbnail {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.artist-name {
  font-size: 0.85em;
  margin: 0;
  color: #AAA;
  font-weight: bold;
}

.artist-playcount {
  font-size: 0.75em;
  margin: 2px 0 0 0;
  color: #777;
}

/* Top Tracks Styles */
.top-track-item {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #444;
}

.top-track-name {
  font-size: 0.8em;
  margin: 0;
  color: #AAA;
  font-weight: bold;
}

.top-track-artist {
  font-size: 0.75em;
  margin: 2px 0 0 0;
  color: #777;
}

.track-album-art {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  margin-right: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.top-track-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Styles for the recently played songs section */
.recent-track {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #444;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.track-name {
  font-size: 0.85em;
  margin: 0;
  color: #AAA;
  font-weight: bold;
}

.track-artist {
  font-size: 0.75em;
  margin: 2px 0 0 0;
  color: #777;
}

footer {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Courier New', monospace;
  font-size: 1.4em;
  font-weight: bold;
  padding: 12px 28px;
  border: 3px solid #330066;
  border-radius: 12px;
  background-color: rgba(51, 0, 102, 0.3);
  color: #FFF;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-button-icon {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.back-button:hover {
  transform: scale(1.08);
  border-color: #9933FF;
}

.back-button:active {
  transform: scale(0.95);
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 20px auto;
}

/** Aside Icons **/
.window-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.side-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-shrink: 0;
    z-index: 999;
    left: calc(50% - 600px);
    max-height: calc(100vh - 10px);
}

.nav-item {
    text-align: center;
}

.nav-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.nav-item a:hover {
    transform: scale(1.2);
}

.nav-icon {
    width: 90px;
    height: 90px;
    display: block;
}

.nav-item p {
    font-family: 'Comic Sans MS', cursive;
    font-size: 18px;
    margin: 0;
    color: #AAA;
    font-weight: bold;
}

.main-window {
    flex: 1;
}

.aside-window {
    flex-shrink: 0;
}

html {
    scroll-behavior: smooth;
}