.album-page {
  min-height: 100vh;
}

.album-page main.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.action-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .action-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
  background: var(--button-bg);
  transform: translateX(-5px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  z-index: 10;
}

.action-btn.success {
  border-color: #28a745 !important;
  color: #28a745 !important;
}

.action-btn.error {
  border-color: #dc3545 !important;
  color: #dc3545 !important;
}

/* Tooltip */
.action-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-tooltip.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.album-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}

/* Floating Action Panel */
.action-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tracklist {
  margin-top: 0px;
}

.cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--card-border);
}

.meta,
.tracklist,
.platforms,
.album-navigation {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
}

.tracklist,
.platforms {
  margin-bottom: 50px;
}

.album-page h1 {
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.2;
}

.album-page h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

.album-page p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag {
  border: 1px solid var(--card-border);
  background: rgba(0, 255, 136, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .85rem;
  color: var(--text-main);
}

.tracklist ol {
  margin: 0;
  padding-left: 0;
  counter-reset: album-track;
}

.tracklist li {
  margin-bottom: 0;
  padding: 8px 0;
  color: var(--text-main);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: start;
  text-align: left;
}

.tracklist li::before {
  counter-increment: album-track;
  content: counter(album-track) '.';
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  width: 34px;
  text-align: left;
  align-self: center;
}

.tracklist li>a:not(.youtube-link) {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  grid-column: 2;
}

.tracklist li>a:not(.youtube-link):hover {
  color: var(--text-main);
}

.links {
  display: inline-flex;
  gap: 8px;
  margin-left: 0;
  grid-column: 3;
  align-self: center;
  justify-self: end;
}

.youtube-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
}

.youtube-link:hover {
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.youtube-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.platform-grid {
  gap: 20px;
}

.platform-link {
  padding: 14px 16px;
  font-weight: 600;
}

.platform-icon {
  width: 24px;
  height: 24px;
}

.navigation-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  background: transparent;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.back-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.back-button:hover {
  color: #000;
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
}

.back-button:hover::before {
  width: 100%;
}

.back-button i {
  transition: transform 0.3s ease;
}

.back-button:hover i {
  transform: translateX(-3px);
}

@media (max-width: 760px) {
  .album-page main.container {
    padding: 92px 16px 48px;
  }

  .album-header {
    grid-template-columns: 1fr;
  }
}