.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
   --bs-gutter-x: 0 !important;
}

svg {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   z-index: -1;
   pointer-events: none;
}

@keyframes rotate {
   0% {
      transform: rotate(0deg);
   }
   100% {
      transform: rotate(360deg);
   }
}

.out-top {
   animation: rotate 40s linear infinite;
   transform-origin: 13px 25px;
}

.in-top {
   animation: rotate 30s linear infinite;
   transform-origin: 13px 25px;
}

.out-bottom {
   animation: rotate 50s linear infinite;
   transform-origin: 84px 93px;
}

.in-bottom {
   animation: rotate 35s linear infinite;
   transform-origin: 84px 93px;
}

body {
   background-color: #111;
}

#center-h1 {
   text-align: center;
   color: white;
   font-size: 2rem;
   margin: 1.5rem 0;
}

.tracks-list {
   display: flex;
   flex-direction: column;
   gap: 3.5rem;
   max-width: 800px;
   margin: 2rem auto;
   padding: 0 2.5rem;
}

.track-row {
   margin: 0 1.5rem;
   display: flex;
   align-items: center;
   justify-content: flex-start;
   gap: 0;
   width: 100%;
   position: relative;
}

.track-row.right {
   flex-direction: row-reverse;
}

.track-badge-line {
   display: flex;
   align-items: center;
   min-width: 90px;
   max-width: 90px;
   flex-shrink: 0;
   position: relative;
   height: 100%;
   justify-content: flex-start;
}

.track-row.right .track-badge-line {
   justify-content: flex-end;
}

.track-badge {
   display: flex;
   align-items: center;
   justify-content: center;
   background: #b5179e;
   color: #fff;
   font-weight: bold;
   font-size: 1.2rem;
   width: 2.3rem;
   height: 2.3rem;
   border-radius: 50%;
   border: 3px solid #fff;
   z-index: 2;
   box-shadow: 0 2px 8px rgba(181, 23, 158, 0.15);
}

.track-line {
   display: block;
   height: 4px;
   background: linear-gradient(90deg, #b5179e 0%, #7209b7 100%);
   flex: 1;
   margin-left: 0.5rem;
   margin-right: 0.5rem;
   border-radius: 2px;
}

.track-row.right .track-line {
   margin-left: 0;
   margin-right: 0.5rem;
   background: linear-gradient(270deg, #b5179e 0%, #7209b7 100%);
}

.track-row.left .track-line {
   margin-right: 0;
   margin-left: 0.5rem;
   background: linear-gradient(90deg, #b5179e 0%, #7209b7 100%);
}

.track-card {
   background: #181818;
   border-radius: 16px;
   color: #fff;
   padding: 2rem 2rem;
   border-left: 6px solid #b5179e;
   box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
   min-width: 0;
   flex: 1;
   transition: background 0.2s, box-shadow 0.2s;
   display: flex;
   flex-direction: column;
   justify-content: center;
}

.track-row.right .track-card {
   border-left: none;
   border-right: 6px solid #b5179e;
}

.track-info {
   text-align: left;
}

.track-title {
   color: #f72585;
   font-size: 1.3rem;
   margin-bottom: 0.5rem;
   word-break: break-word;
}

.track-artist,
.track-album,
.track-playcount,
.track-listeners {
   color: #fff;
   margin: 0.2rem 0;
   font-size: 1rem;
   word-break: break-word;
}

.track-link {
   margin-top: 1rem;
   background: #b5179e;
   border: none;
   color: #fff;
   border-radius: 8px;
   padding: 0.5rem 1.2rem;
   text-decoration: none;
   font-weight: bold;
   transition: background 0.2s;
   display: inline-block;
}

.track-link:hover {
   background: #7209b7;
   color: #fff;
}

.stats-toggle-buttons {
   display: flex;
   justify-content: center;
   gap: 1.5rem;
   margin: 2rem 0 2.5rem 0;
}

.toggle-btn {
   background: #181818;
   color: #fff;
   border: 2px solid #b5179e;
   border-radius: 8px;
   padding: 0.7rem 2.2rem;
   font-size: 1.1rem;
   font-weight: bold;
   cursor: pointer;
   transition: background 0.2s, color 0.2s, border 0.2s;
}

.toggle-btn.active,
.toggle-btn:hover {
   background: #b5179e;
   color: #fff;
   border-color: #f72585;
}
.artist-card {
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: space-between;
   gap: 1.5rem;
}

.artist-card .track-info {
   flex: 1;
   text-align: left;
}
.fade-in-card {
   opacity: 0;
   transform: translateY(40px) scale(0.98);
   transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
      transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-card.appear {
   opacity: 1;
   transform: translateY(0) scale(1);
}

.artist-image {
   width: 72px;
   height: 72px;
   border-radius: 50%;
   object-fit: cover;
   border: 2px solid #b5179e;
   background: #222;
   margin-left: 1rem;
}

@media (max-width: 600px) {
   .artist-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.7rem;
   }
   .artist-image {
      margin-left: 0;
      margin-top: 0.5rem;
      align-self: flex-end;
   }
}

/* Responsive styles */
@media (max-width: 900px) {
   .tracks-list {
      max-width: 98vw;
      padding: 0 2vw;
   }
   .track-card {
      padding: 1.5rem 1rem;
   }
   .track-badge-line {
      min-width: 60px;
      max-width: 60px;
   }
   .track-badge {
      width: 1.7rem;
      height: 1.7rem;
      font-size: 1rem;
   }
}

@media (max-width: 600px) {
   .tracks-list {
      gap: 1.7rem;
      padding: 0 0.5rem;
   }
   .track-row {
      margin: 0 0.2rem;
   }
   .track-row,
   .track-row.right {
      flex-direction: column !important;
      align-items: stretch;
   }
   .track-badge-line {
      flex-direction: row;
      justify-content: flex-start !important;
      margin-bottom: 0.5rem;
      min-width: 0;
      max-width: none;
   }
   .track-card,
   .track-row.right .track-card {
      border-left: 6px solid #b5179e;
      border-right: none;
      padding: 1.2rem 0.5rem;
   }
   .track-badge {
      margin-bottom: 0;
      margin-right: 0.5rem;
   }
   .track-line {
      margin: 0;
      height: 3px;
   }
}
