﻿:root {
  --bg-1: #040d2a;
  --bg-2: #07153d;
  --line: rgba(127, 188, 255, 0.2);
  --text: #e9f3ff;
  --muted: #93b3db;
  --card: rgba(12, 36, 86, 0.45);
  --card-strong: rgba(14, 43, 103, 0.62);
  --stroke: rgba(170, 216, 255, 0.24);
  --accent: #69d2ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 55% 45%, rgba(16, 173, 255, 0.28), transparent 62%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  overflow: hidden;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(86, 143, 230, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 143, 230, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.85;
}

.city-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 52%, rgba(45, 203, 255, 0.48) 0%, rgba(45, 203, 255, 0) 34%),
    radial-gradient(circle at 20% 90%, rgba(47, 112, 255, 0.36) 0%, rgba(47, 112, 255, 0) 24%),
    radial-gradient(circle at 80% 88%, rgba(47, 112, 255, 0.34) 0%, rgba(47, 112, 255, 0) 24%);
}

.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.card {
  position: relative;
  width: min(440px, 95vw);
  border-radius: 32px;
  border: 1px solid rgba(170, 216, 255, 0.28);
  background: rgba(8, 25, 66, 0.18);
  backdrop-filter: blur(14px);
  box-shadow:
    0 20px 56px rgba(0, 5, 20, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 20px 20px 18px;
  text-align: center;
}

.card-noise {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.12;
}

.card-top {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.8rem;
  color: #c6e5ff;
  opacity: 0.9;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
  margin-top: 10px;
}

h1 {
  margin: 12px 0 0;
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.follow-btn {
  margin-top: 10px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #f3f9ff;
  padding: 0 18px;
  font-weight: 700;
}

.subtitle {
  margin: 12px 0 0;
  color: #d4e8ff;
  font-weight: 700;
}

.divider {
  margin: 14px 0;
  border-top: 1px solid rgba(190, 225, 255, 0.3);
}

.location {
  margin: 0;
  color: var(--muted);
}

.socials {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #f4fbff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.32), inset 0 0 10px rgba(255, 255, 255, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.socials a:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5), inset 0 0 12px rgba(255, 255, 255, 0.2);
}

.socials a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.glass-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(183, 223, 255, 0.25);
  border-radius: 16px;
  background: var(--card-strong);
  padding: 10px;
  text-align: left;
}

.mini-ava {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.glass-row strong {
  display: block;
}

.glass-row p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.join {
  text-decoration: none;
  color: #dbf2ff;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.player {
  margin-top: 14px;
  padding: 10px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(185, 223, 255, 0.25);
  background: linear-gradient(180deg, rgba(8, 26, 65, 0.72), rgba(7, 24, 58, 0.6));
}

.player-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-line strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: #eaf6ff;
}

.player-bottom {
  margin-top: 4px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 8px;
  align-items: center;
}

.player-bottom span {
  color: #c9e0fa;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.seek {
  width: 100%;
  margin: 0 4px;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.seek::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f8fdff;
  border: 1px solid rgba(8, 37, 87, 0.9);
  box-shadow: 0 0 10px rgba(236, 248, 255, 0.9);
  cursor: pointer;
}

.seek::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f8fdff;
  border: 1px solid rgba(8, 37, 87, 0.9);
  box-shadow: 0 0 10px rgba(236, 248, 255, 0.9);
  cursor: pointer;
}

.icon-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #eff8ff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(236, 248, 255, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 520px) {
  body {
    overflow-y: auto;
  }

  .wrap {
    min-height: 100dvh;
    padding: 12px;
  }

  .card {
    border-radius: 24px;
    padding: 14px;
  }

  .glass-row {
    grid-template-columns: 48px 1fr;
  }

  .join {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 6px;
  }

  .player-bottom {
    grid-template-columns: auto 1fr auto auto auto;
    gap: 6px;
  }

  .player-bottom .icon-btn {
    width: 26px;
    height: 26px;
  }
}


