﻿:root {
  --bg-1: #0a0f1f;
  --bg-2: #0d1228;
  --accent: #7af5ff;
  --accent-2: #ff2cfb;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.2);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  background: #050910 url('Image/background.jpg') center / cover fixed no-repeat;
  color: #e7faff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 44, 251, 0.18), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(122, 245, 255, 0.12), transparent 30%),
    radial-gradient(circle at 30% 80%, rgba(122, 117, 255, 0.18), transparent 35%),
    linear-gradient(135deg, rgba(10, 15, 31, 0.6) 0%, rgba(5, 9, 16, 0.8) 100%);
  z-index: 0;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: -20% -10%;
  background: conic-gradient(from 45deg, rgba(255, 44, 251, 0.18), rgba(122, 245, 255, 0.14), rgba(255, 44, 251, 0.18));
  filter: blur(90px);
  opacity: 0.6;
  z-index: 0;
  animation: spin 18s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.snow-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}
.snowflake {
  position: absolute;
  top: -10px;
  width: 14px;
  height: 14px;
  background: linear-gradient(white 0 0) no-repeat center/2px 14px,
              linear-gradient(white 0 0) no-repeat center/14px 2px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
  animation: fall linear infinite;
  opacity: 0.8;
}
.snowflake::before,
.snowflake::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(white 0 0) no-repeat center/2px 14px,
              linear-gradient(white 0 0) no-repeat center/14px 2px;
}
.snowflake::before { transform: rotate(60deg); }
.snowflake::after { transform: rotate(-60deg); }
@keyframes fall {
  to {
    transform: translate3d(var(--drift, 0px), 110vh, 0) rotate(360deg);
    opacity: 0.9;
  }
}


.container { position: relative; z-index: 1; max-width: 420px; width: 100%; }
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 45px rgba(122, 245, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122, 245, 255, 0.08), rgba(255, 44, 251, 0.08));
  opacity: 0.6;
  mix-blend-mode: screen;
}
.card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
}

.profile { position: relative; text-align: center; }
.avatar-frame {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}
.avatar-frame::before,
.avatar-frame::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.avatar-frame::before {
  inset: 0;
  background: conic-gradient(from 120deg, rgba(122, 245, 255, 0.95), rgba(255, 44, 251, 0.75), rgba(122, 245, 255, 0.95));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 10px rgba(122, 245, 255, 0.35)) drop-shadow(0 0 18px rgba(255, 44, 251, 0.25));
}
.avatar-frame::after {
  inset: 4px;
  border: 1px solid rgba(122, 245, 255, 0.22);
  box-shadow: inset 0 0 18px rgba(122, 245, 255, 0.12);
  opacity: 0.8;
}

.avatar {
  position: relative;
  width: 152px;
  height: 152px;
  margin: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: none;
  z-index: 1;
}
.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 0;
  box-shadow: 0 0 0 2px rgba(122, 245, 255, 0.25);
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(122, 245, 255, 0.55), 0 0 35px rgba(255, 44, 251, 0.35);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(122, 245, 255, 0.75), 0 0 55px rgba(255, 44, 251, 0.55);
  }
}

.name {
  font-family: 'Orbitron', 'Space Grotesk', 'Segoe UI', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  margin: 0 0 8px;
  color: #e7faff;
  text-shadow: 0 0 16px rgba(122, 245, 255, 0.6), 0 0 28px rgba(255, 44, 251, 0.4);
}
.tagline {
  margin: 6px auto 18px;
  color: #c7d6ff;
  font-size: 15px;
  line-height: 1.7;
  max-width: 320px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(122, 245, 255, 0.18);
  border-left: 2px solid rgba(122, 245, 255, 0.6);
  background: rgba(5, 9, 16, 0.35);
  box-shadow: inset 0 0 22px rgba(122, 245, 255, 0.08);
}
.tagline-line { display: block; }
.tagline-line + .tagline-line { margin-top: 6px; }
.badge {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(122, 245, 255, 0.4);
  color: #7af5ff;
  background: rgba(122, 245, 255, 0.08);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 0 18px rgba(122, 245, 255, 0.25);
}

.socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}
.socials a {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e7faff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}
.socials a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122, 245, 255, 0.2), rgba(255, 44, 251, 0.18));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.socials a img,
.socials a svg {
  width: 70%;
  height: 70%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(122, 245, 255, 0.35));
}
.socials a:hover {
  border-color: rgba(122, 245, 255, 0.8);
  box-shadow: 0 14px 45px rgba(122, 245, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #7af5ff;
}
.socials a:hover::before { opacity: 1; }

.listening {
  margin-top: 22px;
  padding: 14px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.listening-title {
  font-weight: 600;
  color: #e7faff;
  letter-spacing: 0.2px;
}
.listening-progress {
  display: grid;
  grid-template-columns: 72px 1fr 64px;
  align-items: center;
  gap: 12px;
}
.listening-elapsed,
.listening-status {
  color: #c7d6ff;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(122, 245, 255, 0.18);
  background: rgba(5, 9, 16, 0.35);
  box-shadow: inset 0 0 12px rgba(122, 245, 255, 0.08);
}
.listening-status { text-align: right; justify-self: end; }
.listening-elapsed { justify-self: start; }
.listening-bar {
  position: relative;
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: visible;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.listening-fill {
  position: absolute;
  inset: 0;
  width: 14.56%;
  background: linear-gradient(90deg, rgba(122, 245, 255, 0.6), rgba(255, 44, 251, 0.5));
  border-radius: 999px;
  transition: width 0.3s ease;
  box-shadow: 0 6px 18px rgba(122, 245, 255, 0.3);
}
.listening-dot {
  position: absolute;
  left: 100%;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #0a0f1f;
  border: 2px solid rgba(122, 245, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(122, 245, 255, 0.55), 0 0 0 6px rgba(122, 245, 255, 0.14);
  transform: translate(-50%, -50%);
}
.listening-controls {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
}
.listening-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e7faff;
  border-radius: 12px;
  padding: 10px 0;
  font-family: 'Orbitron', 'Space Grotesk', 'Segoe UI', sans-serif;
  font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.listening-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 245, 255, 0.7);
  box-shadow: 0 12px 30px rgba(122, 245, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
}
.listening-btn--accent {
  background: linear-gradient(135deg, rgba(122, 245, 255, 0.35), rgba(255, 44, 251, 0.3));
  color: #0f111a;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 32px rgba(255, 44, 251, 0.28);
}

.audio-control { margin-top: 24px; display: flex; justify-content: center; }
#audio-toggle {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(122, 245, 255, 0.2), rgba(255, 44, 251, 0.25));
  color: #e7faff;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#audio-toggle:hover { transform: translateY(-2px); box-shadow: 0 16px 45px rgba(122, 245, 255, 0.35); }
#audio-toggle.on { background: linear-gradient(135deg, rgba(122, 245, 255, 0.35), rgba(255, 44, 251, 0.35)); color: #0f111a; }

@media (max-width: 520px) {
  .card { padding: 26px 22px; }
  .name { font-size: 22px; }
  .tagline { font-size: 14px; padding: 10px 12px; }
  .socials { gap: 12px; }
  .socials a { width: 46px; height: 46px; }
  .listening-progress { grid-template-columns: 64px 1fr 58px; gap: 10px; }
  .listening-btn { padding: 9px 0; font-size: 14px; }
}
