/* ========================================
   CANDIDLINKS - Spotify Style (Red Theme)
   ======================================== */

:root {
  /* Brand Red (Spotify Green ?��? */
  --brand-red: #F60000;
  --brand-red-hover: #cc0000;
  --brand-red-light: rgba(246, 0, 0, 0.1);

  /* Spotify Dark Backgrounds */
  --bg-black: #000000;
  --bg-base: #121212;
  --bg-elevated: #1a1a1a;
  --bg-card: #181818;
  --bg-card-hover: #282828;
  --bg-highlight: rgba(255, 255, 255, 0.1);

  /* Text Colors (Spotify Style) */
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-tertiary: #6a6a6a;
  --text-muted: #535353;

  /* UI Colors */
  --success: #1db954;
  --danger: #F60000;
  --warning: #ffa500;
  --info: #509bf5;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.07);

  /* Shadows (Darker for dark theme) */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.6);

  /* Spacing (Spotify ?��??? */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", monospace;

  /* Border Radius (Spotify ?��??? */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 500px;

  /* Transitions (Smooth) */
  --transition-fast: 150ms cubic-bezier(0.3, 0, 0, 1);
  --transition-base: 200ms cubic-bezier(0.3, 0, 0, 1);
  --transition-slow: 300ms cubic-bezier(0.3, 0, 0, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ========================================
   ?�더 (Spotify Style)
   ======================================== */

.header {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--transition-base);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
}

.logo-image {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-icon {
  font-size: 28px;
}

.search-container {
  max-width: 400px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  outline: none;
  transition: all var(--transition-base);
  background: var(--bg-card);
  color: var(--text-primary);
}

.search-input:focus {
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 2px var(--border-subtle);
}

.search-input::placeholder {
  color: var(--text-tertiary);
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 14px;
  opacity: 0.7;
}

.search-icon:hover {
  color: var(--text-primary);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.report-button {
  padding: 8px 16px;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.report-button:hover {
  color: var(--text-primary);
  background: var(--bg-highlight);
  transform: scale(1.04);
}


/* ========================================
   ?�어�??�션 (Spotify Style with Red)
   ======================================== */

.hero-section {
  background: linear-gradient(180deg, #1a1a1a 0%, var(--bg-base) 100%);
  position: relative;
  color: white;
  padding: var(--spacing-2xl) var(--spacing-lg);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(246, 0, 0, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--spacing-2xl);
  align-items: center;
  min-height: 400px;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  flex-shrink: 0;
  flex-basis: 500px;
  max-width: 500px;
}

.hero-caption {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  word-break: keep-all;
  white-space: normal;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
}

.hero-search {
  position: relative;
}

.hero-search-input {
  width: 100%;
  padding: 16px 56px 16px 20px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  outline: none;
  box-shadow: var(--shadow-lg);
}

.hero-search-button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 20px;
  background: var(--brand-red);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-base);
}

.hero-search-button:hover {
  background: var(--brand-red-hover);
}

.hero-right {
  position: relative;
  min-width: 0;
  flex: 1;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel-track {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 280px;
  min-width: 280px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.carousel-item:hover {
  transform: scale(1.02);
}

.carousel-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.carousel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.carousel-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.carousel-artist {
  font-size: 14px;
  opacity: 0.9;
}

.view-all-button {
  margin-top: var(--spacing-lg);
  padding: 12px 32px;
  background: var(--brand-red);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-base);
}

.view-all-button:hover {
  background: var(--brand-red-hover);
  transform: scale(1.04);
}

/* ========================================
   ?�션 블록
   ======================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  max-width: 1400px;
  margin: var(--spacing-2xl) auto;
  padding: 0 var(--spacing-lg);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.section-title i {
  font-size: 24px;
  color: var(--brand-red);
}

.section-badge {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--brand-red);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-left: var(--spacing-sm);
}

.view-all-section-button {
  padding: 8px 16px;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-all-section-button:hover {
  background: var(--bg-highlight);
  color: var(--text-primary);
  transform: scale(1.04);
}

.view-toggle {
  display: flex;
  gap: var(--spacing-sm);
}

.toggle-button {
  padding: 8px 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.toggle-button.active {
  background: var(--brand-red);
  color: white;
  border-color: var(--brand-red);
}

.toggle-button:hover:not(.active) {
  background: var(--bg-card);
}

.limited-grid {
  max-height: none;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: minmax(360px, auto);
  grid-template-rows: repeat(2, minmax(360px, auto));
}

/* ========================================
   ??�� 리스??(TOP 100)
   ======================================== */

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.ranking-item {
  background: transparent;
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.ranking-item:hover {
  background: var(--bg-card-hover);
}

.ranking-number {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  min-width: 32px;
  text-align: right;
}

.ranking-item:nth-child(1) .ranking-number,
.ranking-item:nth-child(2) .ranking-number,
.ranking-item:nth-child(3) .ranking-number {
  color: var(--brand-red);
  font-weight: 700;
}

.ranking-cover {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-elevated);
}

.ranking-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ranking-title {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}

.ranking-artist {
  font-size: 13px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-left: auto;
  flex-shrink: 0;
}

.ranking-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.ranking-stat-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.ranking-stat-icon.view {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>');
}

.ranking-stat-icon.like {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23dc3545" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>');
}

.ranking-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.ranking-change.up {
  color: var(--danger);
}

.ranking-change.down {
  color: var(--brand-red);
}

.ranking-change.new {
  color: var(--success);
  background: rgba(40, 167, 69, 0.1);
}

/* ========================================
   ?�범 카드 (그리??
   ======================================== */

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.album-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: var(--spacing-md);
}

.album-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.album-card:hover .album-thumbnail {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.album-card:hover .quick-actions {
  opacity: 1;
  pointer-events: auto;
}

.album-thumbnail-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  margin-bottom: var(--spacing-md);
}

.album-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: box-shadow var(--transition-base);
}

.album-skeleton {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--bg-elevated) 0%,
    var(--bg-card) 50%,
    var(--bg-elevated) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Skeleton UI Components */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-elevated) 0%,
    var(--bg-card) 50%,
    var(--bg-elevated) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-ranking-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.skeleton-ranking-number {
  width: 60px;
  height: 40px;
}

.skeleton-ranking-cover {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.skeleton-ranking-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-ranking-title {
  height: 20px;
  width: 60%;
}

.skeleton-ranking-artist {
  height: 16px;
  width: 40%;
}

.skeleton-ranking-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.skeleton-ranking-platforms {
  height: 16px;
  width: 80px;
}

.skeleton-ranking-date {
  height: 14px;
  width: 100px;
}

.skeleton-album-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.skeleton-album-cover {
  width: 100%;
  aspect-ratio: 1;
}

.skeleton-album-info {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-album-title {
  height: 18px;
  width: 80%;
}

.skeleton-album-artist {
  height: 16px;
  width: 60%;
}

.skeleton-album-date {
  height: 14px;
  width: 40%;
}

.quick-actions {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.quick-action-button {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: all var(--transition-base);
  color: var(--bg-base);
}

.quick-action-button:hover {
  background: var(--brand-red);
  color: white;
  transform: scale(1.05);
}

.album-info {
  text-decoration: none;
  color: inherit;
  display: block;
}

.album-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  color: var(--text-primary);
  text-decoration: none;
}

.album-artist {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.album-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

.meta-chip {
  font-size: 12px;
  padding: 4px 8px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.album-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
  font-size: 13px;
  color: var(--text-secondary);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.stat-icon.view {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>');
}

.stat-icon.like {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23dc3545" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>');
}

.stat-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}


/* ========================================
   ?�범 카드 (리스??
   ======================================== */

.album-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.album-list .album-card {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.album-list .album-thumbnail-container {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.album-list .album-info {
  flex: 1;
}

/* ========================================
   ?�터
   ======================================== */

.footer {
  background: var(--bg-black);
  color: var(--text-secondary);
  padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-lg);
  margin-top: var(--spacing-2xl);
  border-top: 1px solid var(--border-light);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-links li {
  font-size: 13px;
}

.footer-bottom {
  max-width: 1400px;
  margin: var(--spacing-xl) auto 0;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ========================================
   반응??
   ======================================== */

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }

  .hero-left {
    text-align: center;
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }

  .hero-right {
    width: 100%;
  }

  .hero-search {
    max-width: 100%;
  }

  .album-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }

  .header-right {
    order: 3;
    flex: 1 0 100%;
    flex-direction: column-reverse;
    gap: var(--spacing-sm);
  }

  .search-container {
    width: 100%;
    max-width: 100%;
  }

  .report-button {
    align-self: flex-start;
  }

  .hero-title {
    font-size: 32px;
  }

  .album-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--spacing-md);
  }

  .section {
    padding: 0 var(--spacing-md);
  }
}

/* ========================================
   ?�범 ?�세 ?�이지
   ======================================== */

.album-detail-page {
  background: var(--bg-card);
  min-height: 100vh;
  padding-top: 80px;
}

.album-header {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.album-cover-large {
  width: 240px;
  height: 240px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.album-info {
  flex: 1;
  min-width: 0;
}

.album-title-large {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  line-height: 1.2;
}

.artist-name-large {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.release-date {
  font-size: 16px;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: 6px;
}

.release-date::before {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  color: var(--brand-red);
}

.action-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.share-button {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
}

.share-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.share-button:active {
  transform: translateY(0);
}

.copy-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--success);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.copy-notification::before {
  content: "??;
  font-size: 18px;
  font-weight: bold;
}

.copy-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.platforms-section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}


.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.platform-card {
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-base);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
}

.platform-card.found {
  background: var(--bg-card);
  cursor: pointer;
}

.platform-card.found:hover {
  background: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.platform-card.found:hover .play-button {
  background: var(--brand-red);
  transform: scale(1.1);
}

.platform-card.not-found {
  background: var(--bg-card);
  opacity: 0.4;
  cursor: not-allowed;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.platform-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.platform-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.play-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--brand-red);
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  padding-left: 3px;
}

.platform-link {
  text-decoration: none;
  color: var(--brand-red);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all var(--transition-base);
}

.platform-link:hover {
  color: var(--brand-red-hover);
  gap: var(--spacing-sm);
}

.not-found-text {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
}

/* 공유 모달 */
.share-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.share-modal-overlay.active {
  display: flex;
}

.share-modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.share-modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.share-modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-base);
}

.share-modal-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.share-modal-body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.share-option {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.share-option-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.share-link-container {
  display: flex;
  gap: var(--spacing-sm);
}

.share-url-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-mono);
  background: var(--bg-card);
  color: var(--text-primary);
}

.share-url-input:focus {
  outline: none;
  border-color: var(--brand-red);
}

.copy-link-btn {
  padding: 12px 24px;
  background: var(--brand-red);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.copy-link-btn:hover {
  background: var(--brand-red-hover);
}

.qr-code-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  min-height: 200px;
}

.qr-code-image {
  max-width: 200px;
  height: auto;
}

.qr-loading, .qr-error {
  color: var(--text-tertiary);
  text-align: center;
}

/* 모바??반응??*/
@media (max-width: 768px) {
  .album-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg);
  }

  .album-cover-large {
    width: 180px;
    height: 180px;
  }

  .album-title-large {
    font-size: 28px;
  }

  .artist-name-large {
    font-size: 18px;
  }

  .action-buttons {
    justify-content: center;
    width: 100%;
  }

  .share-button {
    flex: 1;
    justify-content: center;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .platforms-section {
    padding: var(--spacing-lg);
  }

  .copy-notification {
    bottom: 20px;
    right: 20px;
    left: 20px;
    text-align: center;
    justify-content: center;
  }

  .share-modal-content {
    padding: var(--spacing-lg);
  }

  .share-link-container {
    flex-direction: column;
  }

  .copy-link-btn {
    width: 100%;
  }
}

/* ========================================
   조회??�?좋아???��???
   ======================================== */

.album-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 14px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.stat-icon {
  font-size: 16px;
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 14px;
  color: var(--text-secondary);
}

.like-button:hover {
  background: var(--bg-card);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.like-button.liked {
  background: rgba(255, 59, 92, 0.1);
  border-color: #ff3b5c;
  color: #ff3b5c;
}

.like-button.liked .like-icon {
  animation: likeAnimation 0.3s ease;
}

@keyframes likeAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.like-icon {
  font-size: 16px;
}

.like-count {
  font-weight: 600;
}

/* ?�범 카드???�계 ?�시 */
.album-card .album-stats {
  padding: 0 var(--spacing-md);
  padding-bottom: var(--spacing-sm);
}

.album-card .like-button {
  margin-left: auto;
}

/* ??�� ?�이?�에 ?�계 ?�시 */
.ranking-item .album-stats {
  margin-top: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.ranking-item .stat-item,
.ranking-item .like-button {
  font-size: 13px;
}

/* ========================================
   Scrollbar (Spotify Style)
   ======================================== */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 6px;
  border: 2px solid var(--bg-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-card-hover) var(--bg-base);
}



