@font-face {
  font-family: "Clash Display";
  src: url("clash-display/Fonts/WEB/fonts/ClashDisplay-Variable.woff2") format("woff2"),
       url("clash-display/Fonts/WEB/fonts/ClashDisplay-Variable.woff") format("woff"),
       url("clash-display/Fonts/WEB/fonts/ClashDisplay-Variable.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

:root {
  --red: #d9263e;
  --blue: #000000;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--blue);
}

body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px 0;
  color: var(--red);
  font-family: "Clash Display", Arial, sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("Assets/background.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(8px) brightness(.5);
  pointer-events: none;
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

.profile {
  width: min(1400px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  margin: 0 auto;
}

.profile-card {
  width: 100%;
}

.profile-card .links {
  grid-template-columns: repeat(5, 1fr);
}

.bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 22px;
}

@keyframes marquee-ltr {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.persevere-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.persevere-line {
  font-family: "Clash Display", Arial, sans-serif;
  font-size: 3.6rem;
  font-weight: 400;
  color: rgba(217, 38, 62, .1);
  text-transform: uppercase;
  letter-spacing: .24em;
  line-height: 1.3;
  white-space: nowrap;
  filter: blur(.6px);
}

.persevere-line span {
  display: inline-block;
  will-change: transform;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, .06) 2px,
    rgba(0, 0, 0, .06) 4px
  );
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 997;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, .4) 100%);
}

.profile-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  border: 2px solid var(--red);
  background: var(--blue);
  box-shadow:
    8px 8px 0 rgba(217, 38, 62, .2),
    inset 0 0 42px rgba(217, 38, 62, .08);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 200px;
}

.bio-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  border: 2px solid var(--red);
  background: var(--blue);
  box-shadow:
    8px 8px 0 rgba(217, 38, 62, .2),
    inset 0 0 42px rgba(217, 38, 62, .08);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.music-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  border: 2px solid var(--red);
  background: var(--blue);
  box-shadow:
    8px 8px 0 rgba(217, 38, 62, .2),
    inset 0 0 42px rgba(217, 38, 62, .08);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 560px;
}

.window {
  position: relative;
  z-index: 1;
  min-width: 0;
  border: 2px solid var(--red);
  background: var(--blue);
  box-shadow:
    8px 8px 0 rgba(217, 38, 62, .2),
    inset 0 0 42px rgba(217, 38, 62, .08);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(217, 38, 62, .48);
  background: linear-gradient(90deg, rgba(217, 38, 62, .08), transparent);
}

.window-title {
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}

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

.window-btn {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 38, 62, .62);
  background: rgba(217, 38, 62, .08);
  color: var(--red);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
}

.window-btn:hover {
  background: rgba(217, 38, 62, .2);
  box-shadow: 0 0 8px rgba(217, 38, 62, .24);
}

.window-content {
  padding: 12px;
  overflow-y: auto;
}

.fullscreen-mode {
  position: fixed;
  inset: 24px;
  z-index: 999;
  min-height: calc(100svh - 48px);
}

.profile-card::before,
.music-card::before,
.bio-card::before {
  display: none;
}

.profile-card::after,
.music-card::after,
.bio-card::after {
  display: none;
}

.profile-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: start;
}

.identity {
  align-self: start;
  position: relative;
  z-index: 1;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}

.label,
.handle,
.status-box span {
  margin: 0;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  line-height: 1.1;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
}

h1 {
  max-width: none;
  margin: 0 0 4px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: .015em;
  line-height: .86;
  overflow-wrap: normal;
  white-space: normal;
}

h1::selection,
h2::selection,
a::selection,
p::selection,
span::selection,
strong::selection {
  background: var(--red);
  color: var(--blue);
}

.handle {
  max-width: 520px;
}

.scrap {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0;
  padding: .28rem 0 .2rem;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.status-box {
  position: relative;
  z-index: 1;
  width: auto;
  min-width: 0;
  margin: 0;
  border-left: 10px solid var(--red);
  padding: 8px 0 8px 14px;
}

.status-box strong {
  display: block;
  margin-top: 4px;
  font-weight: 300;
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  line-height: .85;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.link {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  padding: .6rem .8rem .5rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  transition: opacity .2s ease, transform .2s ease;
}

.link:hover {
  opacity: .72;
  transform: translateY(-2px);
}

.link-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.primary {
  background: var(--red);
  color: var(--blue);
}

.bio-section {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.bio-box {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.bio-text {
  margin: 0;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bio-link {
  display: inline-block;
  border: 1px solid rgba(217, 38, 62, .62);
  padding: .6rem .8rem;
  font-size: .86rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: opacity .2s ease, transform .2s ease;
  width: fit-content;
}

.bio-link:hover {
  opacity: .72;
  transform: translateY(-2px);
}

.releases {
  position: relative;
  z-index: 1;
  align-self: stretch;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.releases h2 {
  font-size: clamp(1.4rem, 3vw, 2.6rem);
}

.release-list {
  display: grid;
  gap: 8px;
  align-content: start;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 4px;
}

.release {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(217, 38, 62, .62);
  padding: .6rem .7rem .5rem;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: opacity .2s ease, transform .2s ease;
  background: rgba(217, 38, 62, .045);
}

.cover {
  width: 52px;
  aspect-ratio: 1;
  display: block;
  border: 1px solid rgba(217, 38, 62, .72);
  background:
    linear-gradient(135deg, rgba(217, 38, 62, .22), transparent 52%),
    var(--blue);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 14px rgba(217, 38, 62, .18);
  flex-shrink: 0;
}

.cover.has-art {
  filter: saturate(.9) contrast(1.08);
}

.release-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.release-artists {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  opacity: .6;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release:hover {
  opacity: .72;
  transform: translateX(3px);
}

.release time {
  font: inherit;
}

.music-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 560px;
}

.music-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  letter-spacing: .12em;
  line-height: .85;
  text-shadow: 0 0 18px rgba(217, 38, 62, .28);
}

.side-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: .72;
}

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--blue);
  border-top: 2px solid var(--red);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(217, 38, 62, .2);
}

.taskbar-btn {
  padding: 8px 14px;
  border: 1px solid rgba(217, 38, 62, .62);
  background: rgba(217, 38, 62, .12);
  color: var(--red);
  font-family: "Clash Display", Arial, sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.taskbar-btn:hover {
  background: rgba(217, 38, 62, .24);
  box-shadow: 0 0 8px rgba(217, 38, 62, .32);
}

@media (max-width: 1180px) {
  body {
    place-items: start center;
    padding-bottom: 60px;
  }

  .profile {
    width: min(920px, calc(100% - 32px));
  }

  .bottom-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  h1 {
    font-size: clamp(4.8rem, 6.7vw, 7.2rem);
  }
}

@media (max-width: 780px) {
  body {
    place-items: start center;
    padding: 14px 0;
  }

  .profile {
    filter: none;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 7.5rem);
    white-space: normal;
  }

  .links,
  .profile-card .links {
    grid-template-columns: 1fr;
  }

  .side-note {
    display: none;
  }

}
