:root {
  /*
    Accent colors:
    Change these to tune the neon hypno palette.
  */
  --bg: #050814;
  --bg-mid: #08142d;
  --card: rgba(9, 17, 34, 0.92);
  --card-strong: rgba(18, 22, 49, 0.96);
  --text: #f6f4ff;
  --muted: #cfd5ef;
  --purple: #a46dff;
  --pink: #ff69c7;
  --blue: #4e8cff;
  --cyan: #3ff2ff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 26px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(164, 109, 255, 0.26) 0%, rgba(8, 20, 45, 0.72) 32%, var(--bg) 72%),
    linear-gradient(180deg, #070b1c 0%, #03050d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: #050814;
  background: var(--cyan);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.background-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/*
  Background animation:
  Subtle slow hypnotic rings. Increase animation duration or remove animation for less motion.
*/
.hypno-ring {
  position: absolute;
  width: 34rem;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.24;
  background:
    repeating-radial-gradient(
      circle,
      rgba(63, 242, 255, 0.05) 0 10px,
      rgba(164, 109, 255, 0.16) 11px 17px,
      rgba(255, 105, 199, 0.12) 18px 22px,
      transparent 23px 38px
    );
  animation: slow-spin 58s linear infinite;
}

.hypno-ring-one {
  top: 2rem;
  right: -14rem;
}

.hypno-ring-two {
  bottom: 4rem;
  left: -16rem;
  width: 28rem;
  animation-duration: 74s;
  animation-direction: reverse;
}

.fox-ear {
  position: absolute;
  width: 10rem;
  height: 10rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 105, 199, 0.22), rgba(63, 242, 255, 0.06));
  filter: drop-shadow(0 0 28px rgba(255, 105, 199, 0.22));
  animation: float-soft 8s ease-in-out infinite;
}

.fox-ear-left {
  left: 5vw;
  top: 9rem;
  transform: rotate(-18deg);
}

.fox-ear-right {
  right: 7vw;
  bottom: 14rem;
  transform: rotate(20deg);
  animation-delay: -3s;
}

.hero {
  position: relative;
  padding: 2.65rem 1.25rem 2.4rem;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(4, 10, 28, 0.88), rgba(28, 12, 57, 0.64)),
    radial-gradient(circle at 50% 12%, rgba(255, 105, 199, 0.18), transparent 24rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 50% 42%, rgba(63, 242, 255, 0.06) 0 9px, transparent 10px 25px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.avatar-frame {
  width: 6.35rem;
  aspect-ratio: 1;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 32%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: conic-gradient(from 30deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--pink));
  box-shadow: 0 0 34px rgba(255, 105, 199, 0.26), 0 0 42px rgba(63, 242, 255, 0.14);
  overflow: hidden;
}

/*
  Profile image:
  Swap assets/profile.jpg with another local image path when needed.
*/
.profile-image,
.profile-placeholder {
  width: calc(100% - 0.55rem);
  height: calc(100% - 0.55rem);
  object-fit: cover;
  border-radius: 30%;
}

.profile-placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-radial-gradient(circle, rgba(63, 242, 255, 0.16) 0 8px, rgba(255, 105, 199, 0.14) 9px 14px, transparent 15px 25px),
    linear-gradient(135deg, var(--purple), var(--pink));
}

.placeholder-face {
  display: grid;
  place-items: center;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.46);
  font-size: 2rem;
  font-weight: 900;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #aebcff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4.35vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(164, 109, 255, 0.65), 0 0 42px rgba(255, 105, 199, 0.3);
}

h2 {
  margin-bottom: 0.85rem;
  color: #c7a7ff;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: lowercase;
}

h3 {
  margin-bottom: 0.6rem;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  color: #e4e8ff;
  font-size: 1.05rem;
}

.hero-note {
  margin-top: 0.85rem;
  color: var(--cyan);
  font-weight: 800;
}

.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}

.card {
  min-height: 160px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, rgba(255, 105, 199, 0.4), rgba(63, 242, 255, 0.26), rgba(164, 109, 255, 0.32)) border-box;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card p,
.card ol {
  color: var(--muted);
}

.datapad-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(63, 242, 255, 0.12), transparent 12rem),
    linear-gradient(180deg, rgba(12, 24, 52, 0.94), rgba(9, 17, 34, 0.94));
}

.datapad-list {
  display: grid;
  gap: 0.7rem;
}

.datapad-list div {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.datapad-list div:last-child {
  border-bottom: 0;
}

.datapad-list dt {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.datapad-list dd {
  color: var(--muted);
}

.profile-card {
  background: linear-gradient(180deg, rgba(41, 20, 78, 0.94), rgba(9, 17, 34, 0.94));
}

.links-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.link-stack {
  display: grid;
  gap: 0.75rem;
}

.link-stack a,
.mini-grid a,
.mini-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: #f8f5ff;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.link-stack a::after,
.mini-grid a::after {
  content: "open";
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-grid span {
  justify-content: flex-start;
}

.link-stack a:hover,
.link-stack a:focus-visible,
.mini-grid a:hover,
.mini-grid a:focus-visible,
.button:hover,
.button:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(63, 242, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 26px rgba(63, 242, 255, 0.16);
}

.projects-card,
.mission-card,
.feature-pair,
.arsenal-card,
.stream-card {
  grid-column: 1 / -1;
}

.projects-card {
  background: linear-gradient(180deg, rgba(63, 20, 98, 0.92), rgba(9, 17, 34, 0.96));
}

.mission-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 105, 199, 0.12), transparent 15rem),
    linear-gradient(180deg, rgba(31, 24, 66, 0.95), rgba(9, 17, 34, 0.96));
}

.art-card-header {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.art-card-header p {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.presence-card,
.music-card {
  display: grid;
  align-content: center;
  min-height: 25rem;
}

.presence-card {
  background:
    radial-gradient(circle at 24% 30%, rgba(63, 242, 255, 0.1), transparent 13rem),
    linear-gradient(180deg, rgba(8, 14, 34, 0.96), rgba(5, 10, 26, 0.96));
}

.presence-widget {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(63, 242, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(12, 202, 201, 0.82), rgba(0, 134, 167, 0.74)),
    radial-gradient(circle at 92% 10%, rgba(255, 105, 199, 0.35), transparent 7rem);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), 0 0 32px rgba(63, 242, 255, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.presence-widget .button {
  justify-self: start;
}

.discord-json-status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(5, 8, 20, 0.42);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

.presence-widget-live {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 105, 199, 0.28), transparent 8rem),
    linear-gradient(135deg, rgba(12, 202, 201, 0.7), rgba(21, 23, 76, 0.9));
}

.discord-user-frame,
.discord-server-frame {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: rgba(5, 8, 20, 0.72);
}

.discord-user-frame {
  max-width: 340px;
  height: 72px;
}

.discord-widget-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(5, 8, 20, 0.72);
}

.discord-server-frame {
  height: 500px;
}

.presence-widget:hover,
.presence-widget:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.32), 0 0 34px rgba(63, 242, 255, 0.24);
}

.presence-top,
.activity-row,
.music-hero,
.music-controls,
.track-list li {
  display: flex;
  align-items: center;
}

.presence-top {
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.presence-top img,
.music-hero img {
  width: 4rem;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
}

.presence-top strong,
.activity-row strong,
.music-hero strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.1;
}

.presence-top span,
.activity-row span,
.music-hero span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.status-dot {
  width: 1rem;
  aspect-ratio: 1;
  margin-left: auto;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #55ff8c;
  box-shadow: 0 0 18px rgba(85, 255, 140, 0.62);
}

.activity-row {
  gap: 1rem;
}

.activity-icon {
  width: 4.8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 3px solid #061222;
  border-radius: 16px;
  background: #f6f4ff;
  color: #061222;
  font-weight: 950;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.music-card {
  background:
    radial-gradient(circle at 75% 12%, rgba(255, 105, 199, 0.14), transparent 13rem),
    linear-gradient(180deg, rgba(8, 14, 34, 0.96), rgba(5, 10, 26, 0.96));
}

.music-player {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid rgba(164, 109, 255, 0.28);
  border-radius: 24px;
  background: #2326b7;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 34px rgba(164, 109, 255, 0.18);
}

.music-hero {
  position: relative;
  gap: 1.1rem;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(63, 242, 255, 0.18), transparent 9rem),
    linear-gradient(135deg, #3146e7, #2224b5);
}

.music-hero img {
  width: 6.25rem;
}

.music-hero strong {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.music-hero a {
  display: inline-flex;
  margin-top: 0.55rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-weight: 900;
}

.spotify-mark {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  color: #2330c8;
  font-size: 0.72rem;
  font-weight: 950;
}

.music-controls {
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: #2730d1;
}

.music-controls span {
  width: 1.1rem;
  height: 1.1rem;
  border-left: 0.35rem solid #ffffff;
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
}

.music-controls div {
  height: 0.38rem;
  flex: 1;
  border-radius: 999px;
  background: rgba(6, 18, 34, 0.62);
}

.music-controls button {
  width: 3.4rem;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #2530c8;
  font-size: 0;
}

.music-controls button::before {
  content: "";
  display: block;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 0.9rem solid #2530c8;
  border-top: 0.6rem solid transparent;
  border-bottom: 0.6rem solid transparent;
}

.track-list {
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1.2rem 1.1rem;
  list-style: none;
  background: #1e209f;
}

.track-list li {
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.track-list span {
  font-weight: 800;
}

.track-list strong {
  color: #ffffff;
}

.recently-played-link {
  display: block;
  padding: 1rem;
  background: #161616;
}

.recently-played-card {
  width: 100%;
  max-width: 500px;
  min-height: 8rem;
  margin: 0 auto;
  border-radius: 14px;
  background: #202020;
}

.arsenal-card {
  background:
    radial-gradient(circle at 80% 0%, rgba(63, 242, 255, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(8, 14, 34, 0.96), rgba(9, 17, 34, 0.96));
}

.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tool-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #f8f5ff;
  font-weight: 800;
}

.stream-card {
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(0, 155, 180, 0.14), rgba(9, 17, 34, 0.96));
}

.responsive-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(164, 109, 255, 0.18) 0 10px, rgba(63, 242, 255, 0.12) 11px 18px, transparent 19px 32px),
    #050511;
}

.responsive-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  border-color: rgba(255, 105, 199, 0.5);
  background: linear-gradient(135deg, rgba(255, 105, 199, 0.9), rgba(164, 109, 255, 0.86));
}

.social-footer {
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 17, 34, 0.88);
  text-align: center;
}

.social-footer p {
  margin-bottom: 1.25rem;
  color: #aebcff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-footer .footer-brand {
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--cyan);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto;
  align-items: center;
}

.social-links a {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-links img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: invert(1);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float-soft {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -0.55rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.35rem 1rem;
  }

  .avatar-frame {
    width: 6rem;
  }

  .page-wrapper {
    padding: 1.25rem 0.85rem 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .link-stack a,
  .mini-grid a,
  .mini-grid span {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .button,
  .button-row {
    width: 100%;
  }

  .social-links {
    gap: 0.65rem;
  }

  .social-links a {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .presence-card,
  .music-card {
    min-height: auto;
  }

  .presence-widget,
  .music-hero,
  .music-controls {
    padding: 1rem;
  }

  .discord-server-frame {
    height: 430px;
  }

  .music-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .music-hero img {
    width: 5.25rem;
  }

  .spotify-mark {
    right: 1rem;
    top: 1rem;
  }
}

@media (max-width: 820px) {
  .feature-pair {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
