.panel,
.profile-card,
.music-card {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(145deg, rgba(18, 18, 18, 0.88), rgba(5, 5, 5, 0.76));

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;

  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.72),
    inset 0 0 28px rgba(255, 255, 255, 0.025);

  backdrop-filter: blur(18px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.panel::before,
.profile-card::before,
.music-card::before {
  content: "";
  position: absolute;
  inset: -1px;

  opacity: 0;
  pointer-events: none;

  background:
    radial-gradient(
  160px circle at var(--x, 50%) var(--y, 50%),
  rgba(255, 255, 255, 0.055),
  transparent 70%
);

  transition: opacity 0.35s ease;
}

.panel:hover,
.profile-card:hover,
.music-card:hover {
  border-color: rgba(255, 255, 255, 0.18);

  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(255, 255, 255, 0.06),
    inset 0 0 34px rgba(255, 255, 255, 0.035);
}

.panel:hover::before,
.profile-card:hover::before,
.music-card:hover::before {
  opacity: 1;
}

.panel {
  height: 620px;
  padding: 24px;
}

.profile-card {
  width: min(430px, 100%);
  margin: 0 auto 22px;
  padding: 30px 24px 26px;
  text-align: center;
}

.circle-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.035),
    0 0 22px rgba(255, 255, 255, 0.035);
}

.circle-icon img {
  width: 18px;
  height: 18px;

  display: block;

  opacity: 0.88;

  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.473));
}

.music-card {
  width: min(430px, 100%);
  min-height: 170px;
  margin: 0 auto;
  padding: 16px;

  display: flex;
  align-items: flex-start;
  gap: 14px;

  text-align: left;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 22px;
}

.circle-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);

  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.035),
    0 0 22px rgba(255, 255, 255, 0.035);
}

.panel-title h2,
.panel h3,
.panel h4,
.music-header h3,
.music-header p,

.panel-title h2 {
  font-size: 17px;
  font-weight: 700;
}

.panel h3 {
  margin-bottom: 14px;

  font-size: 17px;
  font-weight: 700;
}

.panel h4 {
  margin: 18px 0 10px;

  font-size: 13px;
  font-weight: 700;
}

.panel p,
.panel span {
  font-size: 13px;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.62);
}

.divider {
  width: 100%;
  height: 1px;

  margin: 18px 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      transparent
    );
}

.skill-list {
  margin-bottom: 28px;
}


.skill-list span {
  padding: 7px 12px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.055);

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.skill-list span:hover {
  color: #ffffff;

  transform: scale(1.08);

  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);

  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.08);
}

.avatar-wrap {
  position: relative;

  width: 132px;
  height: 132px;

  margin: 0 auto;
}

.avatar-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;

  width: 92px;
  height: 92px;

  overflow: hidden;

  border-radius: 50%;

  transform: translate(-50%, -58%);
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-decor {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;

  width: 132px;
  height: 132px;

  pointer-events: none;

  transform: translate(-50%, -50%);
}

.profile-card h1 {
  margin: 16px 0 5px;

  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.4px;

  background:
    linear-gradient(
      90deg,
      #ffffff,
      #b7b7b7,
      #ffffff
    );

  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;

  animation: textGradient 4s ease infinite;
}


.langs img {
  width: 30px;
  height: 30px;

  opacity: 0.86;

  transition:
    opacity 0.25s ease,
    filter 0.25s ease;
}

.langs img:hover {
  opacity: 1;

  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.22));
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}


.socials a {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px;

  background: rgba(255, 255, 255, 0.055);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.socials a:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);

  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.08);
}

.socials img {
  width: 18px;
  height: 18px;

  opacity: 0.8;

  transition:
    opacity 0.25s ease,
    filter 0.25s ease;
}

.socials a:hover img {
  opacity: 1;

  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
}

.langs {
  margin: 18px 0 10px;
}

.socials {
  margin-top: 6px;
}

.music-cover img {
  width: 62px;
  height: 62px;

  object-fit: cover;

  border-radius: 13px;

  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.38);
}

.music-main {
  flex: 1;
  min-width: 0;

  padding-bottom: 42px;
}

.music-header {
  display: grid;
  gap: 3px;
}

.music-header h3 {
  font-size: 15px;
  font-weight: 800;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-header p {
  font-size: 11px;

  color: rgba(255, 255, 255, 0.56);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-message {
  display: inline-block;

  margin: 8px 0 10px;
  padding: 4px 9px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.045);

  font-size: 10px;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.music-message.hidden {
  opacity: 0;
  transform: translateY(-4px);
}

.waveform {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0 12px;
}

.waveform span {
  width: 4px;
  height: 28px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.25));
  opacity: 0.45;
  transform: scaleY(0.25);
  transform-origin: center;
  transition: opacity 0.08s linear, transform 0.08s linear;
}

.music-card.is-playing .waveform span {
  opacity: 0.95;
}

.waveform span:nth-child(1) { animation-delay: 0s; }
.waveform span:nth-child(2) { animation-delay: 0.12s; }
.waveform span:nth-child(3) { animation-delay: 0.24s; }
.waveform span:nth-child(4) { animation-delay: 0.36s; }
.waveform span:nth-child(5) { animation-delay: 0.48s; }
.waveform span:nth-child(6) { animation-delay: 0.6s; }
.waveform span:nth-child(7) { animation-delay: 0.72s; }
.waveform span:nth-child(8) { animation-delay: 0.84s; }
.waveform span:nth-child(9) { animation-delay: 0.96s; }
.waveform span:nth-child(10) { animation-delay: 1.08s; }
.waveform span:nth-child(11) { animation-delay: 1.2s; }
.waveform span:nth-child(12) { animation-delay: 1.32s; }
.waveform span:nth-child(13) { animation-delay: 1.44s; }
.waveform span:nth-child(14) { animation-delay: 1.56s; }
.waveform span:nth-child(15) { animation-delay: 1.68s; }

.timeline-row {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;

  gap: 8px;

  font-size: 10px;
  color: rgba(255, 255, 255, 0.56);
}

.timeline {
  position: relative;

  width: 100%;
  height: 5px;

  overflow: hidden;

  padding: 0;
  border: 0;
  border-radius: 999px;

  cursor: pointer;
  background: rgba(255, 255, 255, 0.11);
}

#progress {
  position: absolute;
  left: 0;
  top: 0;

  width: 0%;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.46)
    );

  transition: width 0.12s linear;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 22px;

  margin-top: 14px;
}

.control-btn,
.play-btn,
.volume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border: 0;

  cursor: pointer;
}

.control-btn,
.play-btn {
  border-radius: 50%;

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.control-btn {
  width: 38px;
  height: 38px;

  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.play-btn {
  width: 46px;
  height: 46px;

  color: #111111;
  background: rgba(255, 255, 255, 0.92);

  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.35);
}

.control-btn:hover,
.play-btn:hover {
  transform: scale(1.08);
}

.control-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.play-btn:hover {
  background: #ffffff;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(255, 255, 255, 0.13);
}

.control-btn svg,
.play-btn svg,
.volume-btn svg {
  display: block;

  width: 100%;
  height: 100%;

  fill: currentColor;
}

.control-btn svg {
  width: 21px;
  height: 21px;
}

.play-btn svg {
  width: 20px;
  height: 20px;
}

.music-volume {
  position: absolute;
  left: 14px;
  bottom: 12px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;

  overflow: hidden;

  border-radius: 999px;

  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.07);

  backdrop-filter: blur(12px);

  transition:
    width 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.music-volume:hover,
.music-volume:focus-within {
  width: 140px;

  background: rgba(0, 0, 0, 0.66);
  border-color: rgba(255, 255, 255, 0.14);
}

.volume-btn {
  width: 38px;
  height: 38px;

  min-width: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.volume-btn svg {
  width: 17px;
  height: 17px;

  display: block;

  color: #ffffff;

  opacity: 0.82;
}

.volume-slider {
  width: 74px;
  height: 4px;

  opacity: 0;

  margin-left: 2px;

  appearance: none;
  -webkit-appearance: none;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.35);

  transition: opacity 0.25s ease;
}

.music-volume:hover .volume-slider,
.music-volume:focus-within .volume-slider {
  opacity: 1;
}

.music-volume:hover .volume-slider,
.music-volume:focus-within .volume-slider {
  opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
  width: 10px;
  height: 10px;

  appearance: none;
  -webkit-appearance: none;

  border-radius: 50%;

  background: #ffffff;
}

.volume-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;

  border: 0;
  border-radius: 50%;

  background: #ffffff;
}

.discord-box {
  margin-top: 10px;
}

.dc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
}

.dc-left {
  display: flex;
  align-items: center;

  min-width: 0;

  gap: 12px;
}

.dc-avatar-wrapper {
  position: relative;

  width: 52px;
  height: 52px;

  flex-shrink: 0;
}

.dc-avatar {
  width: 52px;
  height: 52px;

  object-fit: cover;

  border-radius: 50%;
}

.dc-status {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 15px;
  height: 15px;
}

.dc-text {
  min-width: 0;
}

.dc-name {
  font-size: 14px;
  font-weight: 800;
}

.dc-activity-text,
.dc-sub {
  max-width: 185px;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-activity-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.63);
}

.dc-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.dc-big-icon {
  width: 54px;
  height: 54px;

  object-fit: cover;

  border-radius: 14px;
}

.experience-list {
  display: grid;
  gap: 17px;

  padding-left: 14px;

  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.experience-list div {
  display: grid;
  gap: 3px;
}

.experience-list strong {
  font-size: 14px;
}

.experience-list span {
  font-size: 12px;
}

@keyframes textGradient {
  from {
    background-position: 0% center;
  }

  to {
    background-position: 200% center;
  }
}

@keyframes waveIdle {
  0%,
  100% {
    height: 8px;
    opacity: 0.45;
  }

  35% {
    height: 26px;
    opacity: 1;
  }

  70% {
    height: 14px;
    opacity: 0.72;
  }
}

@media (max-width: 1050px) {
  .panel {
    height: auto;
  }
}

@media (max-width: 768px) {
  .panel,
  .profile-card,
  .music-card {
    width: 100%;
    border-radius: 20px;
  }

  .panel {
    padding: 20px;
  }

  .profile-card {
    padding: 26px 20px 24px;
  }

  .music-card {
    padding: 15px;
  }

  .langs {
    flex-wrap: wrap;
  }

  .dc-row {
    align-items: flex-start;
  }

  .dc-big-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .music-card {
    flex-direction: column;
    gap: 12px;
  }

  .music-cover,
  .music-cover img {
    width: 100%;
  }

  .music-cover img {
    height: 126px;
  }

  .music-main {
    width: 100%;
    padding-bottom: 0;
  }

  .music-volume {
    position: relative;
    left: 0;
    bottom: 0;

    margin-top: 6px;
  }
}

@media (max-width: 1050px) {
  .panel,
  .profile-card,
  .music-card {
    width: 100%;
  }

  .panel {
    height: auto;
    min-height: unset;
  }
}

@media (max-width: 520px) {
  .panel,
  .profile-card,
  .music-card {
    border-radius: 18px;
  }

  .panel {
    padding: 18px;
  }

  .profile-card {
    padding: 24px 18px 22px;
  }

  .avatar-wrap {
    width: 118px;
    height: 118px;
  }

  .avatar-mask {
    width: 82px;
    height: 82px;
  }

  .avatar-decor {
    width: 118px;
    height: 118px;
  }

  .profile-card h1 {
    font-size: 26px;
  }

  .langs {
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 14px;
  }

  .langs img {
    width: 28px;
    height: 28px;
  }

  .socials {
    flex-wrap: wrap;
    gap: 9px;
  }

  .socials a {
    width: 36px;
    height: 36px;
  }

  .music-card {
    min-height: unset;
    padding: 14px;
    gap: 12px;
  }

  .music-cover img {
    width: 56px;
    height: 56px;
  }

  .music-main {
    padding-bottom: 42px;
  }

  .waveform {
    gap: 3px;
  }

  .waveform span {
    width: 3px;
  }

  .player-controls {
    gap: 18px;
  }

  .control-btn {
    width: 36px;
    height: 36px;
  }

  .play-btn {
    width: 43px;
    height: 43px;
  }

  .dc-row {
    align-items: flex-start;
    gap: 12px;
  }

  .dc-big-icon {
    width: 44px;
    height: 44px;
  }

  .dc-activity-text,
  .dc-sub {
    max-width: 180px;
  }
}

@media (max-width: 390px) {
  .music-card {
    flex-direction: column;
  }

  .music-cover,
  .music-cover img {
    width: 100%;
  }

  .music-cover img {
    height: 118px;
  }

  .music-main {
    width: 100%;
    padding-bottom: 0;
  }

  .music-volume {
    position: relative;
    left: 0;
    bottom: 0;

    margin-top: 6px;
  }

  .timeline-row {
    grid-template-columns: 30px 1fr 32px;
  }

  .dc-big-icon {
    display: none;
  }

  .dc-activity-text,
  .dc-sub {
    max-width: 220px;
  }
}


.about-card .skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}