@font-face {
  font-family: "Social Icons";
  src: url("../webfonts/fa-brands-400.woff2") format("woff2");
  font-display: block;
}

:root {
  color-scheme: dark;
  --background: #100b18;
  --panel: #191025;
  --ink: #f8f1ff;
  --muted: #c7b8d5;
  --accent: #d7a7ff;
  --line: #53376b;
  --mono: "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  isolation: isolate;
  font: 1rem/1.5 "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.masthead { min-height: 80px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand, nav, .eyebrow, .track-heading a, .copy { font: 0.75rem/1.4 var(--mono); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: bold; font-size: 0.9rem; }
.brand span { width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
nav { display: flex; gap: clamp(18px, 4vw, 48px); color: var(--muted); }
nav a:hover, .track-heading a:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 6vw, 88px) 45px; }
.intro { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.eyebrow { color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(6rem, 13vw, 12rem); font-weight: 850; letter-spacing: -0.072em; line-height: 0.91; margin: 8px 0 38px -0.055em; }
h1 span { color: var(--accent); }
.track-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; padding: 13px 0 10px; border-top: 1px solid var(--line); }
.track-heading a { color: var(--muted); }
iframe { display: block; width: 100%; border: 0; border-radius: 12px; background: var(--panel); }
.profiles { border-top: 1px solid var(--line); padding-top: 20px; }
.profiles ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.profile { display: flex; align-items: center; gap: 9px; min-height: 72px; padding: 10px; background: var(--panel); border: 1px solid var(--line); }
a.profile:hover, .profile:focus-within { border-color: var(--accent); }
.profile strong, .profile small { display: block; }
.profile strong { font-size: 0.88rem; }
.profile small { color: var(--muted); font: 0.72rem/1.4 var(--mono); }
.icon, .moon { color: var(--accent); width: 24px; flex: none; text-align: center; font-size: 1.1rem; }
.icon { font-family: "Social Icons"; }
.moon { font-size: 1.45rem; }
.arrow, .copy { margin-left: auto; }
.arrow { color: var(--accent); }
.copy { border: 1px solid var(--line); background: transparent; padding: 4px; color: var(--muted); }
.copy:hover { color: var(--accent); border-color: var(--accent); }
.status { margin: 8px 0 16px; min-height: 1.5em; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 1150px) {
  .profiles ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 790px) {
  .shell { width: calc(100% - 40px); }
  .masthead { min-height: 64px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 38px 28px; }
  h1 { margin-bottom: 26px; }
}
@media (max-width: 620px) {
  .profiles ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 425px) {
  .profiles ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 340px) {
  .shell { width: calc(100% - 28px); }
}
body { min-height: 100vh; }


.discord-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
  border: 1px solid #79519a;
  background: radial-gradient(ellipse at top right, #4c236e99, transparent 75%), #140c2199;
}
.discord-card {
  width: min(100%, 390px);
  padding: clamp(20px, 4vw, 34px);
  background: var(--background);
  border: 1px solid var(--line);
}
.discord-profile { display: flex; align-items: center; gap: 18px; margin-block: 24px 18px; }
.discord-profile h2 { margin: 0; font-size: 2rem; line-height: 1.15; }
.discord-profile p, #discord-activity { margin: 4px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.discord-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  background: #5865f2;
  font-size: 1.85rem;
}
.presence { display: flex; gap: 9px; align-items: center; margin: 0; font: 0.8rem/1.4 var(--mono); }
.presence-dot { width: 9px; height: 9px; border-radius: 50%; background: #90939c; }
[data-presence="online"] .presence-dot { background: #3cce8b; }
[data-presence="idle"] .presence-dot { background: #e9c77b; }
[data-presence="dnd"] .presence-dot { background: #f1757a; }
.discord-card .copy { margin-top: 20px; padding: 7px 10px; }
@media (max-width: 790px) {
  .discord-panel { min-height: 0; }
}
[hidden] { display: none !important; }

body::before, body::after, .wallpaper {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}
body::before {
  inset: 0;
  background: url("wallpaper.webp") center / cover;
  z-index: -3;
}
.wallpaper {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
body::after {
  inset: 0;
  background: linear-gradient(90deg, #0b0713b8, #0b07135e 62%, #0b071355);
}
footer { padding-bottom: 20px; }
.motion-control {
  border: 1px solid var(--line);
  padding: 7px 10px;
  background: var(--panel);
  color: var(--muted);
  font: 0.75rem/1.4 var(--mono);
}

.server-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.server-address {
  margin: 5px 0 0;
  font: bold clamp(1.15rem, 3vw, 1.6rem)/1.2 var(--mono);
}
.server-card .copy { padding: 8px 12px; }
.server-card .status { flex-basis: 100%; margin: 0; min-height: 0; }
.server-card .status:empty { display: none; }
