* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.hidden {
  display: none !important;
}

.sale-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.sale-banner.visible {
  opacity: 1;
  visibility: visible;
}

.sale-banner p {
  margin: 0;
}

.sale-banner #countdown {
  font-weight: 700;
  color: #ffeb3b;
  text-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  top: 0;
  height: 100vh;
}

.overlay.exiting {
  animation: overlayExit 1s forwards cubic-bezier(0.9, 0, 0.1, 1);
}

@keyframes overlayExit {
  0% {
    clip-path: inset(0 0 0 0);
  }
  25% {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
  }
  100% {
    clip-path: inset(50% 50% 50% 50%);
    transform: scale(0);
  }
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s;
}

.overlay.exiting .background-video {
  transform: scale(1.25);
  filter: blur(10px) brightness(2);
}

.glitch-effect .background-video {
  transform: scale(1.02);
  filter: brightness(1.5);
}

.glitch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(50, 50, 50, 0.2), rgba(0, 0, 0, 0.8));
  mix-blend-mode: color-dodge;
  opacity: 0.3;
  transition: opacity 1s;
}

.glitch-effect .glitch-overlay {
  opacity: 0.7;
}

.overlay.exiting .glitch-overlay {
  opacity: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 1));
}

.scanlines {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgogIDxkZWZzPgogICAgPHBhdHRlcm4KICAgICAgICBpZD0icGF0dGVybiIKICAgICAgICBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIgogICAgICAgIHdpZHRoPSIxIgogICAgICAgIGhlaWdodD0iMiIKICAgICAgICBwYXR0ZXJuVHJhbnNmb3JtPSJyb3RhdGUoOTApIgogICAgICAgPgogICAgICAgIDxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiMwMDAiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPgogICAgPC9wYXR0ZXJuPgogIDwvZGVmcz4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiAvPgo8L3N2Zz4=");
  opacity: 0.3;
  transition: opacity 1s;
}

.overlay.exiting .scanlines {
  opacity: 0;
}

.dark-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: background-color 1s;
}

.overlay.exiting .dark-overlay {
  background-color: rgba(0, 0, 0, 0);
}

.overlay-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 1s;
}

.overlay.exiting .overlay-content {
  transform: scale(1.5);
  opacity: 0;
}

.overlay-title {
  color: white;
  font-size: 1.875rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.relative {
  position: relative;
}

.title-bg {
  position: absolute;
  inset: -0.125rem;
}

.glitch-effect .title-bg {
  animation: pulse 2s infinite;
  background-color: rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.title-text {
  position: relative;
}

.overlay-subtitle {
  color: #9ca3af;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.main-content {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.page-glitch {
  animation: pageGlitch 0.3s ease-in-out;
}

@keyframes pageGlitch {
  0% {
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
  10% {
    transform: translate(-2px, 2px);
    filter: hue-rotate(90deg);
  }
  20% {
    transform: translate(-1px, -1px);
    filter: hue-rotate(180deg);
  }
  30% {
    transform: translate(1px, 2px);
    filter: hue-rotate(270deg);
  }
  40% {
    transform: translate(1px, -1px);
    filter: hue-rotate(360deg);
  }
  50% {
    transform: translate(-1px, 2px);
    filter: hue-rotate(90deg) brightness(1.2);
  }
  60% {
    transform: translate(-1px, 1px);
    filter: hue-rotate(180deg) contrast(1.2);
  }
  70% {
    transform: translate(0px, 1px);
    filter: hue-rotate(270deg) saturate(1.5);
  }
  80% {
    transform: translate(1px, 0px);
    filter: hue-rotate(360deg);
  }
  90% {
    transform: translate(1px, 2px);
    filter: hue-rotate(45deg);
  }
  100% {
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
}

.glitch-effect {
  animation: pulse 0.2s;
}

.bio-container {
  position: relative;
  z-index: 20;
  max-width: 28rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.profile-section {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-image {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(to bottom right, black, rgba(50, 50, 50, 0.3));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
}

.profile-image-hover {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

.profile-image:hover .profile-image-hover {
  opacity: 1;
}

.skull-icon {
  color: rgba(255, 255, 255, 0.9);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.profile-bio {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.tab-navigation {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-buttons {
  display: flex;
  gap: 0.25rem;
}

.tab-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.tab-button:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
  background: linear-gradient(to right, black, rgba(50, 50, 50, 0.5));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tab-content {
  margin-bottom: 2rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.social-link {
  display: block;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.social-link:hover {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.social-link-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon-container {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to bottom right, black, rgba(50, 50, 50, 0.3));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.social-info {
  flex: 1;
}

.social-title-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.social-title {
  font-weight: 500;
  color: white;
}

.social-badge {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.social-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.external-icon {
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.social-link:hover .external-icon {
  color: rgba(255, 255, 255, 0.8);
}

.music-player-button {
  width: 100%;
  background: linear-gradient(to right, black, rgba(50, 50, 50, 0.5));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: white;
  font-weight: 500;
  margin-top: 1rem;
  transition: all 0.2s;
}

.music-player-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.reviews-section {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.section-title {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 120px;
}

.reviews-slider {
  display: flex;
  position: absolute;
  transition: transform 0.5s ease-in-out;
}

.review {
  width: 100%;
  flex-shrink: 0;
  padding: 0 1rem;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.star-icon {
  width: 1rem;
  height: 1rem;
  color: white;
  fill: currentColor;
}

.review-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.review-author {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1rem;
}

.review-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.2s;
}

.review-dot.active {
  background-color: white;
}

.course-plans {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .course-plans {
    flex-wrap: nowrap;
  }
}

.plan {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.plan:nth-child(2) {
  transform: scale(1.05);
  z-index: 2;
}

.plan.popular {
  border-color: white;
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: black;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.plan-name {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.plan-price-container {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.plan-original-price {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  margin-bottom: 0.125rem;
}

.plan-features {
  margin-bottom: 1.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.check-icon {
  width: 1rem;
  height: 1rem;
  color: white;
  flex-shrink: 0;
}

.feature-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.plan-button {
  width: 100%;
  padding: 0.625rem 0;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.plan-button.primary {
  background-color: white;
  color: black;
}

.plan-button.primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.plan-button.secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.course-features {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .features-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guarantee-section {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem;
}

.guarantee-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guarantee-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-title {
  color: white;
  font-weight: 500;
}

.guarantee-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.music-player-tab {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  transition: right 0.3s;
  z-index: 50;
}

.music-player-tab.open {
  right: 24rem;
}

.toggle-music-player {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 0;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  padding: 1rem;
  transition: background-color 0.2s;
}

.toggle-music-player:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.toggle-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.music-icon {
  color: rgba(255, 255, 255, 0.8);
}

.toggle-music-player:hover .music-icon {
  color: white;
}

.playing-indicator {
  width: 0.25rem;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  overflow: hidden;
}

.playing-bar {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  animation: pulse 2s infinite;
  height: 100%;
}

.chevron-icon {
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s;
}

.music-player-tab.open .chevron-icon {
  transform: rotate(180deg);
}

.music-player-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 24rem;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 40;
}

.music-player-sidebar.open {
  transform: translateX(0);
}

.player-content {
  padding: 1.5rem;
  height: 100%;
  overflow-y: auto;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.player-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.player-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

.close-button {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.close-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.close-button svg {
  stroke: white;
}

.track-info {
  margin-bottom: 2rem;
}

.album-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(to bottom right, black, rgba(50, 50, 50, 0.3));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.album-art-hover {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

.album-art:hover .album-art-hover {
  opacity: 1;
}

.album-art .placeholder-icon {
  color: rgba(255, 255, 255, 0.4);
  width: 4rem;
  height: 4rem;
}

.track-details {
  text-align: center;
}

.song-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-name {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.timer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: monospace;
}

.progress-container {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 0.25rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  appearance: none;
  cursor: pointer;
}

.progress-bar::-webkit-slider-thumb {
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.progress-bar::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.progress-bar::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.progress-bar::-moz-range-thumb:hover {
  transform: scale(1.25);
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.control-button {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s;
}

.control-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.control-button svg {
  stroke: white;
}

.play-button {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(to right, black, rgba(50, 50, 50, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
}

.play-button:hover {
  background: linear-gradient(to right, rgba(50, 50, 50, 0.7), black);
}

.play-button svg {
  stroke: white;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.volume-button {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.volume-slider {
  flex-grow: 1;
  height: 0.25rem;
}

.volume-slider::-webkit-slider-thumb {
  width: 0.75rem;
  height: 0.75rem;
}

.volume-slider::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
}

.album-tracks {
  margin-bottom: 1.5rem;
}

.tracks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tracks-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.tracks-count {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tracks-list {
  height: 10rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.tracks-list::-webkit-scrollbar {
  width: 0.25rem;
}

.tracks-list::-webkit-scrollbar-track {
  background: transparent;
}

.tracks-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
}

.tracks-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

.track-button {
  width: 100%;
  text-align: left;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  border: 1px solid;
  backdrop-filter: blur(4px);
  margin-bottom: 0.5rem;
}

.track-button.active {
  background: linear-gradient(to right, black, rgba(50, 50, 50, 0.5));
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.track-button:not(.active) {
  border-color: rgba(255, 255, 255, 0.1);
}

.track-button:not(.active):hover {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(0, 0, 0, 0.3);
}

.track-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.track-indicator {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
}

.track-button.active .track-indicator {
  background-color: white;
}

.track-button:not(.active) .track-indicator {
  background-color: rgba(255, 255, 255, 0.4);
}

.track-button:not(.active):hover .track-indicator {
  background-color: rgba(255, 255, 255, 0.7);
}

.track-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.albums-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.albums-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.albums-count {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.albums-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.album-button {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid;
  backdrop-filter: blur(4px);
}

.album-button.active {
  background: linear-gradient(to right, black, rgba(50, 50, 50, 0.5));
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.album-button:not(.active) {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.album-button:not(.active):hover {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(0, 0, 0, 0.3);
}

@keyframes slideLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-slide-left {
  animation: slideLeft 15s linear infinite;
}

.spotify-popup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  top: 0;
  height: 100vh;
}

.spotify-popup.visible {
  opacity: 1;
  visibility: visible;
}

.spotify-popup-content {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 20rem;
  text-align: center;
  position: relative;
  animation: fadeInPop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.spotify-popup.hidden .spotify-popup-content {
  animation: fadeOutPop 0.3s forwards;
}

@keyframes fadeInPop {
  0% {
    transform: scale(0.7) translateY(20px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOutPop {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.7);
    opacity: 0;
  }
}

.spotify-popup-close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.2s;
}

.spotify-popup-close-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.spotify-popup-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.spotify-popup-message {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.spotify-redirect-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #1db954;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s, transform 0.2s;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.spotify-redirect-button:hover {
  background-color: #1ed760;
  transform: translateY(-2px);
}

.spotify-redirect-button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.failed-page-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.failed-page-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 20vh;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 28rem;
}

.failed-icon {
  color: #ff4d4d;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
}

.failed-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.failed-message {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 400px;
}

.failed-button {
  background-color: #ff4d4d;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.failed-button:hover {
  background-color: #e60000;
}

.success-page-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-page-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 20vh;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 28rem;
  text-align: center;
}

.success-icon {
  color: #1db954;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
}

.success-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 400px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.success-button {
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
  width: 100%;
}

.success-button.primary {
  background-color: #1db954;
  color: white;
}

.success-button.primary:hover {
  background-color: #1ed760;
}

.success-button.secondary {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.success-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}