:root {
  --links-bg: #d9eef9;
  --links-steel: #182a45;
  --links-text: #243442;
  --links-muted: rgba(36, 52, 66, 0.72);
  --links-pink: #ff0044;
  --links-pink-glow: rgba(255, 0, 68, 0.28);
  --links-profile: 88px;
}

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

html,
body {
  height: 100%;
}

html {
  background-color: var(--links-bg);
}

body.links {
  min-height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.6), transparent 40%),
    var(--links-bg);
  color: var(--links-text);
}

.links-page {
  min-height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0 48px;
}

.links-card {
  width: min(424px, calc(100% - 32px));
  padding: 14px 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 50px rgba(24, 42, 69, 0.12);
  backdrop-filter: blur(8px);
}

.links-hero {
  position: relative;
  margin: 0 0 calc(var(--links-profile) / 2 + 14px);
}

.links-hero-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(24, 42, 69, 0.12);
}

.links-hero-profile {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--links-profile);
  height: var(--links-profile);
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 42, 69, 0.18);
}

.links-sections {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.links-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links-section-title {
  margin: 0;
  color: var(--links-steel);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links-item {
  --item-bg: var(--links-pink);
  --item-hover: var(--item-bg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px;
  color: var(--links-steel);
  text-decoration: none;
  border: 1px solid rgba(24, 42, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 14px rgba(24, 42, 69, 0.05);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.links-item--spotify { --item-bg: #1db954; }
.links-item--deezer { --item-bg: #a238ff; }
.links-item--apple { --item-bg: #fa243c; }
.links-item--amazon { --item-bg: #25d1da; }
.links-item--youtube-music,
.links-item--youtube { --item-bg: #ff0000; }
.links-item--tiktok { --item-bg: #010101; --item-hover: #111111; }
.links-item--facebook { --item-bg: #1877f2; }
.links-item--instagram {
  --item-bg: linear-gradient(45deg, #f58529, #dd2a7b 40%, #8134af 70%, #515bd4);
  --item-hover: #e1306c;
}
.links-item--kidifun { --item-bg: #ff0044; --item-hover: #ff0044; }
.links-item--kofi { --item-bg: #ff5e5b; }
.links-item--qobuz { --item-bg: #000000; --item-hover: #222222; }
.links-item--ultimate-guitar { --item-bg: #ffc12d; --item-hover: #e5a800; }

.links-song {
  margin: 0 0 18px;
}

.links-hero-cover-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(24, 42, 69, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

.links-hero-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.links-song-title {
  margin: 14px 0 0;
  color: var(--links-steel);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
}

.links-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--item-bg);
}

.links-item-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.links-item > span:not(.links-item-icon) {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  padding-right: 34px;
}

.links-item:hover,
.links-item:focus-visible {
  color: var(--item-hover);
  border-color: var(--item-hover);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 18px color-mix(in srgb, var(--item-hover) 28%, transparent);
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 420px) {
  :root {
    --links-profile: 76px;
  }

  .links-page {
    padding: 20px 0 36px;
  }

  .links-item {
    min-height: 54px;
    padding: 9px 14px;
  }

  .links-item-icon {
    width: 30px;
    height: 30px;
  }

  .links-item-icon img {
    width: 16px;
    height: 16px;
  }

  .links-item > span:not(.links-item-icon) {
    padding-right: 30px;
    font-size: 0.9rem;
  }
}
