*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --a1: #0f1f17;
  --a2: rgba(230, 245, 235, 0.12);
  --a3: #f4faf7;
  --a4: #b7d1c3;
}

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  color: var(--a3);
  background: var(--a1);
  cursor: none;
}

#bg {
  position: fixed;
  inset: 0;
  background: center / cover no-repeat url('assets/wallpaper.gif');
  z-index: -1;
  overflow: hidden;
}

#bg::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: inherit;
  filter: blur(14px) saturate(1.05);
  transform: scale(1.05);
}

#bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    55% 55% at 50% 35%,
    rgba(200, 255, 220, 0.10) 0%,
    rgba(10, 30, 20, 0.55) 55%,
    rgba(5, 15, 10, 0.85) 100%
  );
}

.wrap {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px 16px;
}

.card {
  width: min(720px, 92vw);
  padding: 48px 28px 32px;
  text-align: center;
  border-radius: 18px;

  background: linear-gradient(
                145deg,
                rgba(18, 38, 28, 0.88),
                rgba(40, 75, 58, 0.75)
              );

  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);

  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  animation: fadeUp 0.35s ease both;
}

.pfp_wrap {
  width: 110px;
  height: 110px;
  margin: -80px auto 10px;
  animation: popIn 0.4s ease 0.1s both;
}

.pfp {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;

  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.name {
  font-size: 42px;
  margin: 12px 0 6px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.name span {
  transition: text-shadow 0.15s ease;
}

.name:hover span {
  text-shadow: 0 0 18px rgba(120, 200, 160, 0.35);
}

.sub_title {
  max-width: 64ch;
  margin: 8px auto;

  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}


.info_row {
  margin: 10px auto 6px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(120, 200, 160, 0.12);
  border: 1px solid rgba(120, 200, 160, 0.18);
  color: var(--a3);
  font-size: 0.92rem;
}

.chip_label {
  opacity: 0.75;
}

.chip_value {
  font-weight: 700;
}

.links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;

  color: var(--a3);
  background: rgba(120, 200, 160, 0.1);
  border: 1px solid rgba(120, 200, 160, 0.18);
  border-radius: 12px;

  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(120, 200, 160, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.text_btn {
  width: auto;
  height: 40px;
  padding: 0 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.now_playing {
  margin: 14px auto 0;
  width: min(520px, 92%);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  background: rgba(120, 200, 160, 0.12);
  border: 1px solid rgba(120, 200, 160, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
}

.np_left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.np_icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.np_icon svg {
  display: block;
}

.np_meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  min-width: 0;
}

.np_title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np_artist {
  font-size: 0.9rem;
  opacity: 0.75;
}

.np_btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;

  background: none;
  border: none;
  padding: 0;

  color: var(--a3);
  cursor: pointer;
}

.np_btn:hover {
  opacity: 0.85;
}

.np_btn svg {
  display: block;
}

.cursor_dot {
  position: fixed;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
}

.cursor_dot {
  width: 6px;
  height: 6px;
  background: var(--a3);
  border-radius: 50%;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }
  .cursor_ring,
  .cursor_dot {
    display: none;
  }
}

@media (max-width: 520px) {
  .card {
    padding: 56px 18px 24px;
    width: 94vw;
  }

  .name {
    font-size: 32px;
  }

  .pfp_wrap {
    width: 92px;
    height: 92px;
    margin: -68px auto 8px;
  }

  .btn {
    width: 48px;
    height: 48px;
  }

  .sub_title {
    font-size: 0.95rem;
  }

  .chip {
    font-size: 0.85rem;
    padding: 5px 8px;
  }

  .text_btn {
    height: 36px;
    padding: 0 12px;
    font-size: 0.85rem;
  }
}
