* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  font-family: 'Inter', 'Helvetica Neue', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 1.2rem;
  width: 100%;
  background: var(--bg);
}

.page-bg {
  position: fixed;
  inset: -80px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(80px);
  transform: scale(1.2);
  z-index: 0;
  pointer-events: none;
}

.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-veil);
}

body.theme-dark {
  --bg: #0b0b0b;
  --card: #0f0f0f;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7);
  --text: #f0f0f0;
  --text-strong: #f5f5f5;
  --muted: #aaaaaa;
  --muted-2: #777777;
  --faint: #5a5a5a;
  --line: #2a2a2a;
  --line-soft: #262626;
  --line-footer: #202020;
  --social: #ffffff;
  --social-opacity: 0.8;
  --btn-bg: #111111;
  --btn-border: #262626;
  --btn-hover-bg: #1e1e1e;
  --btn-hover-border: #3d3d3d;
  --btn-hover-text: #ffffff;
  --btn-active-bg: #0c0c0c;
  --btn-active-border: #333;
  --btn-shadow: 0 4px 12px rgba(255, 255, 255, 0.03);
  --modal-close: #ffffff;
  --bg-veil: rgba(0, 0, 0, 0.28);
}

body.theme-light {
  --bg: #f5f5f5;
  --card: #ffffff;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --text: #1a1a1a;
  --text-strong: #1a1a1a;
  --muted: #666666;
  --muted-2: #888888;
  --faint: #999999;
  --line: #e0e0e0;
  --line-soft: #e0e0e0;
  --line-footer: #e0e0e0;
  --social: #333333;
  --social-opacity: 0.7;
  --btn-bg: #f9f9f9;
  --btn-border: #e0e0e0;
  --btn-hover-bg: #f0f0f0;
  --btn-hover-border: #cccccc;
  --btn-hover-text: #000000;
  --btn-active-bg: #e8e8e8;
  --btn-active-border: #bbbbbb;
  --btn-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --modal-close: #333333;
  --bg-veil: rgba(255, 255, 255, 0.4);
}

#app {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  min-width: 0;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 2px;
  padding: 0 0 2.5rem 0;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95) contrast(1.05);
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.artist-name {
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  padding: 0 0.5rem;
}

.tagline {
  font-size: 0.9rem;
  font-weight: 350;
  color: var(--muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  white-space: pre-line;
  padding-bottom: 1.2rem;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.social-section {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0 1.8rem 1.5rem;
  width: 80%;
  max-width: 100%;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.social-icon {
  color: var(--social);
  font-size: 1.4rem;
  transition: all 0.2s ease;
  opacity: var(--social-opacity);
  text-decoration: none;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.releases-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 1.8rem;
  margin-bottom: 2rem;
}

.releases-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.release-scrolls {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.release-scroll {
  background: none;
  border: none;
  color: var(--muted-2);
  cursor: pointer;
  padding: 0.1rem 0.25rem;
  font-size: 0.85rem;
  line-height: 1;
}

.release-scroll:hover {
  color: var(--text);
}

.releases-title {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0;
  text-align: left;
}

.releases-slider {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.releases-slider::-webkit-scrollbar {
  display: none;
}

.release-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
}

.release-card:hover {
  transform: translateY(-3px);
}

.release-cover {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line-soft);
  margin-bottom: 0.5rem;
}

.release-info {
  text-align: center;
}

.release-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-date {
  font-size: 0.7rem;
  color: var(--faint);
  letter-spacing: 0.5px;
}

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 1.8rem;
  gap: 0.9rem;
}

.link-item {
  width: 100%;
  min-width: 0;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  padding: 1rem 1.2rem;
  border-radius: 2px;
  transition: all 0.2s ease;
  width: 100%;
  min-width: 0;
  position: relative;
}

.link-btn i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.link-btn .btn-text {
  flex: 1;
  text-align: center;
  margin-right: 1.8rem;
}

.link-btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  color: var(--btn-hover-text);
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow);
}

.link-btn:active {
  transform: translateY(0);
  background: var(--btn-active-bg);
  border-color: var(--btn-active-border);
}

.empty-links {
  color: var(--faint);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-note {
  margin-top: 2.8rem;
  font-size: 0.7rem;
  color: var(--faint);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  border-top: 1px solid var(--line-footer);
  padding-top: 1.4rem;
  width: 80%;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
  overflow: hidden;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  border-radius: 2px;
  padding: 1rem 1rem 1.15rem;
  max-width: 680px;
  width: min(680px, 100%);
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  border: 1px solid var(--line-soft);
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-cover-wrap {
  flex: 0 0 auto;
  align-self: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.modal-cover {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line-soft);
  display: block;
}

.modal-details {
  flex: 0 0 auto;
  width: 100%;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.modal-date {
  font-size: 0.8rem;
  color: var(--faint);
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
}

.modal-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.modal-links .link-btn {
  padding: 0.75rem 1rem;
}

.modal-empty {
  color: var(--faint);
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .releases-head {
    justify-content: center;
  }

  .releases-title {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0.8rem;
  }

  .releases-section,
  .links {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .artist-name {
    font-size: 1.9rem;
  }

  .release-card {
    flex: 0 0 120px;
  }

  .release-cover {
    width: 120px;
    height: 120px;
  }

  .modal {
    padding: 0.8rem;
  }
}

@media (min-width: 768px) {
  .release-scrolls {
    display: flex;
  }
}
