@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&family=Geist:wght@400;500;600;700&family=Instrument+Serif&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: #000;
  color: #fff;
  font-family: "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.025);
}

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

::selection {
  background: rgba(255, 255, 255, 0.15);
}

.bg-layer {
  position: fixed;
  inset: 0;
  height: 100lvh;
  width: 100%;
  pointer-events: none;
  z-index: -10;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(50, 80, 50, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 100% 100% at 50% 50%, #0a0c0a 0%, #020202 100%);
  box-shadow:
    inset 0 0 140px rgba(0, 0, 0, 0.85),
    inset 0 0 40px rgba(60, 100, 60, 0.06);
}

.bg-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.18) 3px,
    rgba(0, 0, 0, 0.18) 4px
  );
  opacity: 0.45;
  animation: scanline-drift 8s linear infinite;
}

@keyframes scanline-drift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(4px);
  }
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.65) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.9;
}

.nav {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 0.125rem;
  padding: 0.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(24px);
  box-shadow:
    0 20px 40px -20px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 640px) {
  .nav {
    bottom: auto;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    border-radius: 0.5rem;
  }
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav a.active {
  color: #fff;
}

.nav svg {
  width: 16px;
  height: 16px;
}

main {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 1rem 1rem 5rem;
}

@media (min-width: 640px) {
  main {
    padding: 6rem;
  }
}

.container {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.eyebrow-line {
  width: 1rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.eyebrow-text {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.lead strong,
.lead a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.lead a:hover {
  color: #fff;
}

.commission-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-family: inherit;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.commission-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.pulse-dot {
  position: relative;
  width: 0.375rem;
  height: 0.375rem;
  flex-shrink: 0;
}

.pulse-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.pulse-dot::after {
  content: "";
  position: relative;
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-wrap {
  position: relative;
  width: 100%;
}

.hero-content {
  max-width: 60%;
}

.hero-avatar-wrap {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  width: 72%;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 640px) {
  .hero-avatar-wrap {
    width: 45%;
  }
}

.hero-avatar-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.hero-avatar {
  width: 100%;
  height: auto;
  opacity: 0.9;
  display: block;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.banner p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

h2.section-title {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.card {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.card-image {
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.03);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-body h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card-body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.track-list li {
  margin: 0 -0.5rem;
}

.track-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: inherit;
  transition: background 0.2s;
}

.track-list a .track-info {
  min-width: 0;
  flex: 1;
}

.track-list a:hover {
  background: rgba(255, 255, 255, 0.03);
}

a.setup-item {
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

a.setup-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.track-num {
  width: 1.25rem;
  text-align: right;
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.track-title {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.track-artist {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.glass-icon {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 6px 18px rgba(0, 0, 0, 0.35);
}

.glass-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 42%,
    transparent 100%
  );
  pointer-events: none;
}

.glass-icon img {
  position: relative;
  z-index: 1;
  width: 1.125rem;
  height: 1.125rem;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.glass-icon svg {
  position: relative;
  z-index: 1;
  width: 1.125rem;
  height: 1.125rem;
  color: rgba(255, 255, 255, 0.68);
  opacity: 1;
  filter: none;
}

.glass-icon--art {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  padding: 0;
}

.glass-icon--art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: grayscale(1) contrast(0.95) brightness(0.78);
}

.glass-icon--lg {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
}

.glass-icon--lg img,
.glass-icon--lg svg {
  width: 1.25rem;
  height: 1.25rem;
}

.setup-item,
.contact-card,
.biolink-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.setup-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.dock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

@media (max-width: 480px) {
  .dock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.dock-item span:last-child {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
}

.tag-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.625rem 0.375rem 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.tag-icon .glass-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4375rem;
}

.tag-icon .glass-icon img {
  width: 0.875rem;
  height: 0.875rem;
}

.tag-icon .glass-icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.setup-name,
.contact-name {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.setup-sub,
.contact-sub {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.setup-cat {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: capitalize;
  flex-shrink: 0;
}

.biolink-card {
  transition: border-color 0.2s, background 0.2s;
}

.biolink-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.contact-card {
  flex-direction: column;
  align-items: stretch;
  border-radius: 0.75rem;
  padding: 1rem;
}

.contact-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: min(85dvh, 720px);
  overflow-y: auto;
  padding: 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    145deg,
    rgba(14, 14, 16, 0.96) 0%,
    rgba(8, 8, 10, 0.98) 100%
  );
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.modal-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.modal-close svg {
  width: 14px;
  height: 14px;
}

.modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-discord {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.875rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.modal-discord .btn {
  margin-left: auto;
  flex-shrink: 0;
}

.modal-faq-title {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.faq-item {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 0.875rem 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.faq-item p a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item p a:hover {
  color: #fff;
}
