@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");

:root {
  --purple: #34206f;
  --ink: #17151c;
  --paper: #f8f7f2;
  --muted: #77717f;
  --link: #5436a8;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--purple);
  color: var(--ink);
  font-family: "VT323", monospace;
  font-size: 20px;
  line-height: 1.25;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover, a:focus-visible { color: #111; }

.desktop {
  min-height: 100vh;
  padding: 76px 24px 48px;
  position: relative;
}

.menu-bar {
  align-items: center;
  background: #0e0c11;
  border-bottom: 2px solid #000;
  color: #fff;
  display: flex;
  font-size: 18px;
  gap: 28px;
  height: 32px;
  left: 0;
  padding: 0 16px;
  position: absolute;
  right: 0;
  top: 0;
}

.menu-right { align-items: center; display: flex; gap: 14px; margin-left: auto; }

.topbar-player {
  align-items: center;
  color: #bfb8c7;
  display: flex;
  gap: 10px;
  height: 30px;
  text-decoration: none;
}

.topbar-player:hover, .topbar-player:focus-visible { color: #fff; }
.topbar-track { font-size: 14px; letter-spacing: 0.06em; white-space: nowrap; }
.topbar-cava { align-items: center; display: flex; gap: 2px; height: 18px; width: 108px; }

.topbar-cava i {
  background: linear-gradient(to top, #7252d1, #c1a7ff);
  box-shadow: 0 0 3px rgb(157 117 255 / 45%);
  display: block;
  flex: 1 1 0;
  min-height: 2px;
  transition: height 80ms linear;
}

.menu-status-icon { height: 16px; position: relative; width: 16px; }

.menu-status-icon i {
  background: #b99aff;
  height: 10px;
  left: 8px;
  position: absolute;
  top: 1px;
  width: 2px;
}

.menu-status-icon i::before {
  background: #b99aff;
  border-radius: 50%;
  bottom: -2px;
  content: "";
  height: 5px;
  position: absolute;
  right: 0;
  width: 7px;
}

.menu-status-icon i::after {
  border-right: 2px solid #b99aff;
  border-top: 2px solid #b99aff;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  top: 0;
  transform: skewY(24deg);
  width: 5px;
}

.profile-window {
  background: var(--paper);
  border: 2px solid #000;
  box-shadow: 8px 8px 0 rgb(0 0 0 / 22%);
  margin: 0 auto;
  max-width: 680px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.window-title {
  align-items: center;
  background: #15131a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.03em;
  min-height: 34px;
  padding: 4px 8px 4px 14px;
}

.window-controls { display: flex; gap: 6px; }

.window-controls i {
  border: 1px solid #fff;
  display: block;
  height: 15px;
  position: relative;
  width: 15px;
}

.window-controls i:first-child::after {
  background: #fff;
  bottom: 3px;
  content: "";
  height: 1px;
  left: 3px;
  position: absolute;
  width: 7px;
}

.window-controls i:last-child::before, .window-controls i:last-child::after {
  background: #fff;
  content: "";
  height: 1px;
  left: 2px;
  position: absolute;
  top: 6px;
  width: 9px;
}

.window-controls i:last-child::before { transform: rotate(45deg); }
.window-controls i:last-child::after { transform: rotate(-45deg); }
.profile-content { padding: 44px 48px 32px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: 36px; font-weight: 400; line-height: 1; margin-bottom: 22px; }

h2 {
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

p { margin-bottom: 12px; }
section { margin-top: 36px; }
footer { border-top: 1px solid #c9c5cb; margin-top: 36px; padding-top: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 600px) {
  body { font-size: 19px; }
  .desktop { padding: 52px 12px 24px; }
  .menu-bar { gap: 16px; padding: 0 10px; }
  .menu-bar > span:not(.menu-status-icon) { display: none; }
  .topbar-track { display: none; }
  .topbar-cava { width: 92px; }
  .profile-content { padding: 32px 24px 26px; }
  h1 { font-size: 32px; }
  section { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar-cava i { transition: none; }
}
