:root {
  --card: rgba(12, 12, 12, 0.72);
  --text: #f1f1f1;
  --muted: #b7b7b7;
  --accent: #f0d6df;
  --accent-2: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #04030a;
  overflow-x: hidden;
}

.bg-media {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url("./assets/bg.gif");
  background-size: cover;
  background-position: center;
  filter: grayscale(1) saturate(0.35) brightness(0.42);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 223, 232, 0.08), transparent 35%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(to bottom, rgba(4, 4, 4, 0.25), rgba(4, 4, 4, 0.88));
}

.side-art {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 23vw, 360px);
  max-height: 72vh;
  object-fit: contain;
  z-index: -1;
  opacity: 0.76;
  filter: grayscale(1) contrast(1.05);
  pointer-events: none;
  user-select: none;
}

.side-art-left {
  left: 5vw;
  width: clamp(380px, 40vw, 620px);
}

.side-art-right {
  right: 8vw;
  width: clamp(250px, 26vw, 410px);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 430px);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 255, 255, 0.08);
}

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

h1 {
  margin: 16px 0 8px;
  font-size: 2.05rem;
  line-height: 1.2;
}

.bio {
  margin: 0 auto 20px;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.links {
  display: grid;
  gap: 10px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 214, 223, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 12px 15px;
  font-weight: 700;
  font-size: 1.02rem;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.link-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent-2);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.12);
}

.link-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.music-player {
  margin-top: 10px;
}

.support {
  margin-top: 18px;
}

.support-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.support-arrow {
  margin: 2px 0 8px;
  font-size: 1.35rem;
  color: var(--accent);
}

.like-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 214, 223, 0.12));
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.like-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.12);
}

.like-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.like-heart {
  font-size: 1.1rem;
}

.like-count {
  margin: 8px 0 0;
  color: var(--muted);
}

.view-count {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}

.view-icon {
  width: 1.1rem;
  height: 1.1rem;
}

@media (max-width: 480px) {
  .card {
    padding: 22px;
  }

  h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 1100px) {
  .side-art {
    display: none;
  }
}
