:root {
  --bg-color: #050505;
  --green-code: #00ff41;
  --border-color: #222;
}

body {
  background-color: var(--bg-color);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  color: #a3a3a3;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

.terminal-box {
  box-shadow: 0 0 50px rgba(0, 0, 0, 1);
  border-radius: 12px;
  overflow: hidden;
}

.rgb-border-wrap {
  position: relative;
  width: 103px;
  height: 103px;
  background: #111;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}

.rgb-border-wrap::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(#00ff41, #00f2ff, #7000ff, #ff00c8, #ffbd2e, #00ff41);
  animation: rotateRGB 3s linear infinite;
}

.rgb-border-wrap::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  background: #0d0d0d;
  border-radius: 16px;
  z-index: 1;
}

.profile-img-inner {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 15.5px;
  position: relative;
  z-index: 2;
}

@keyframes rotateRGB {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.badge-pro {
  background: rgba(0, 255, 65, 0.1);
  color: var(--green-code);
  font-size: 10px;
  padding: 3px 6px;
  border: 1px solid var(--green-code);
  border-radius: 4px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  line-height: 1;
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.2);
}

.track-item {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-bottom: 1px solid #111;
  transition: 0.2s;
}

.track-item:hover {
  background: #161616;
}

.track-item.active {
  background: rgba(0, 255, 65, 0.05);
}

.track-item.active .track-title {
  color: var(--green-code);
}

.play-bar-wrapper {
  width: 100%;
  height: 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.play-bar-bg {
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.play-bar-fill {
  height: 4px;
  background: var(--green-code);
  border-radius: 2px;
  position: absolute;
  box-shadow: 0 0 10px var(--green-code);
  pointer-events: none;
}

.play-bar-thumb {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  right: -5px;
  top: -3px;
}

.audio-spectrum {
  display: flex;
  gap: 3px;
  height: 14px;
  align-items: flex-end;
  opacity: 0.3;
  transition: 0.3s;
}

.audio-spectrum.playing {
  opacity: 1;
}

.audio-spectrum .bar {
  width: 3px;
  background: var(--green-code);
  height: 3px;
  border-radius: 2px 2px 0 0;
}

.audio-spectrum.playing .bar {
  animation: animBar 0.4s ease-in-out infinite alternate;
}

.audio-spectrum .bar:nth-child(1) {
  animation-delay: 0.0s;
}

.audio-spectrum .bar:nth-child(2) {
  animation-delay: 0.2s;
}

.audio-spectrum .bar:nth-child(3) {
  animation-delay: 0.1s;
}

.audio-spectrum .bar:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes animBar {
  0% {
    height: 3px;
  }
  100% {
    height: 14px;
  }
}

.link-item {
  background: #111;
  border: 1px solid #222;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  transition: 0.3s;
}

.link-item:hover {
  border-color: var(--green-code);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#cli-input::placeholder {
  color: #222;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}

.skeleton-layer {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: #0d0d0d;
  transition: 0.8s;
}

.content-layer {
  opacity: 0;
  transition: 0.8s;
}

.hide-skeleton {
  opacity: 0 !important;
  pointer-events: none;
}

.show-content {
  opacity: 1 !important;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
  background-size: 200% 100%;
  animation: shim 1.5s infinite linear;
}

@keyframes shim {
  to {
    background-position: -200% 0;
  }
}
