.socials,
body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card,
body {
  position: relative;
}

.track-artist,
.track-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.local-time,
.time {
  font-variant-numeric: tabular-nums;
}

* {
  user-select: none;
  -webkit-user-drag: none;
}

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 50% 40%, #0d1117 0, #05070a 50%, #010203 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  perspective: 1500px;
  overflow: hidden;
}

.badge,
.socials,
.tag {
  align-items: center;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, .015) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
  z-index: 1;
}

.card {
  width: min(680px, 92vw);
  min-height: 320px;
  background-color: rgba(10, 12, 16, .82);
  border-radius: 18px;
  overflow: visible;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .9), 0 0 30px rgba(255, 255, 255, .02), inset 0 1px 1px rgba(255, 255, 255, .1);
  padding: 36px 40px 32px;
  box-sizing: border-box;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 2.5s cubic-bezier(.1, .8, .2, 1), box-shadow .5s;
}

.badge,
.socials a,
.tag {
  background: rgba(255, 255, 255, .03);
}

.card:hover {
  border-color: rgba(255, 255, 255, .15);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .95), 0 0 35px rgba(255, 255, 255, .05), inset 0 1px 2px rgba(255, 255, 255, .15);
}

.local-time {
  position: absolute;
  top: -7rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 255, 255, .2);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  margin-top: 12px;
}

.avatar-wrapper::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: url('/static/img/main.jpg') center/cover no-repeat;
  border-radius: 50%;
  z-index: -1;
  filter: blur(100px) brightness(1.15) contrast(1.2);
  opacity: .9;
  pointer-events: none;
  transition: opacity .4s, filter .4s;
}

.avatar-wrapper:hover::before {
  opacity: 1;
  filter: blur(120px) brightness(1.3) contrast(1.25);
}

.avatar-wrapper img {
  width: 105px;
  height: 105px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .9);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.avatar-wrapper:hover img {
  transform: scale(1.03);
}

.sdvg img {
  width: 105px;
  height: 105px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .9);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.sdvg:hover img {
  transform: scale(1.03);
}

.status-thought-bubble {
  position: absolute;
  top: 150px;
  left: 125px;
  opacity: 0;
  transform: scale(.3);
  transform-origin: left top;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), opacity .25s ease-out;
  z-index: 20;
}

.avatar-wrapper:hover .status-thought-bubble {
  opacity: 1;
  transform: scale(1);
}

.status-thought-bubble .bubble-text,
.status-thought-bubble .dot-1,
.status-thought-bubble .dot-2 {
  background-color: rgba(8, 10, 15, .95);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .8), 0 0 12px rgba(255, 255, 255, .05);
  box-sizing: border-box;
}

.status-thought-bubble .dot-1 {
  position: absolute;
  top: -38px;
  left: -22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-thought-bubble .dot-2 {
  position: absolute;
  top: -24px;
  left: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.status-thought-bubble .bubble-text {
  position: absolute;
  top: -12px;
  left: 12px;
  color: #f3f4f6;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 22px;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 255, 255, .5);
}

.socials {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  z-index: 10;
}

.bio-tags,
.socials a,
.tags-container,
.track-info {
  display: flex;
}

.socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 20px;
  transition: .3s;
}

.socials a:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, .1);
  color: #fff;
}

.nickname {
  margin: 18px 0 6px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .8px;
  text-shadow: 0 0 16px rgba(255, 255, 255, .4);
}

.bio-text,
.user-bio {
  color: #a1a1aa;
  font-size: 14px;
  margin: 6px 0 14px;
  line-height: 1.5;
  max-width: 340px;
}

.bio-tags,
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 500;
  transition: .25s;
  cursor: default;
}

.badge:hover,
.tag:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
  transform: translateY(-2px);
}

.music {
  position: absolute;
  top: 20px;
  left: 165px;
  width: 320px;
  max-width: calc(100% - 200px);
  background-color: rgba(8, 11, 16, .78);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .65);
  padding: 16px 18px;
  box-sizing: border-box;
  color: #fff;
  z-index: 5;
}

.track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cover-placeholder,
.details {
  display: flex;
}

.cover-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, .4);
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.progress-bar-bg,
.progress-bar-fill {
  border-radius: 4px;
  position: relative;
}

.cover-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.track-title {
  font-weight: 700;
  font-size: 14px;
  color: #f3f4f6;
  overflow: hidden;
}

.time,
.track-artist {
  color: rgba(255, 255, 255, .45);
}

.track-artist {
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
}

.timeline-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.time {
  font-size: 11px;
  font-weight: 500;
  min-width: 28px;
}

.progress-bar-bg {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}

.controls,
.playback-controls {
  display: flex;
  align-items: center;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, .55);
  transition: width .1s linear;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, .8);
  opacity: 0;
  transition: opacity .25s;
}

.progress-bar-bg:hover .progress-bar-fill::after {
  opacity: 1;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.playback-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.control-btn,
.volume-container {
  display: flex;
  align-items: center;
}

.control-btn {
  background: transparent;
  border: none;
  color: #a1a1aa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  transition: color .25s, transform .25s, background-color .25s;
}

.play-btn,
.volume-popover {
  border: 1px solid rgba(255, 255, 255, .12);
}

.control-btn i {
  font-size: 15px;
  line-height: 1;
}

.control-btn:hover {
  color: #fff;
  transform: scale(1.08);
}

.play-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .06);
}

.play-btn:hover {
  background: rgba(255, 255, 255, .15);
  box-shadow: 0 0 12px rgba(255, 255, 255, .2);
}

.play-btn i {
  font-size: 17px;
  margin-left: 1px;
}

.play-btn .fa-pause {
  margin-left: 0;
}

.volume-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.volume-popover {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 110px;
  background: #0d1117;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .8);
  z-index: 50;
  pointer-events: none;
}

#volume-slider {
  appearance: none;
  width: 80px;
  height: 4px;
  background: #27272a;
  border-radius: 2px;
  outline: 0;
  transform: rotate(-90deg);
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, .6);
  cursor: pointer;
}

#volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, .6);
  cursor: pointer;
  border: none;
}

.volume-popover.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.about-me {
  margin-top: 18px;
  width: 100%;
  position: relative;
  z-index: 6;
}
@media (max-width: 720px) {
  .card {
    width: 94vw;
    padding: 28px 20px 24px;
  }
  .music {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    left: auto;
    top: auto;
  }
  .local-time {
    top: -3.8rem;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }
  .socials {
    top: 16px;
    right: 16px;
  }
  .socials a {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
}

#enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050208;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: "Courier New", monospace;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#enter-screen.hidden {
    opacity: 0;
    visibility: hidden;
}