:root {
  --bg: #070707;
  --red: #ff2028;
  --text: #f5f5f5;
  --muted: #a6a6a6;
  --border: transparent !important;
  --card: rgba(18, 18, 18, 0.78);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 720px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%,
      rgba(255, 32, 40, 0.17),
      transparent 35rem),
    linear-gradient(150deg, #4c0c11 0%, #150607 22%, #070707 52%, #030303 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  z-index: 0;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: rgba(7, 7, 7, 0.76);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 12px rgba(128, 128, 128, 0.14);
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.nav-brand:hover .nav-logo {
  box-shadow: 0 0 16px rgba(255, 32, 40, 0.3);
  transform: translateY(-1px);
}

.site-nav nav {
  display: flex;
  gap: 6px;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.logo-wrap {
  width: min(100px, 52vw);
  aspect-ratio: 1;
  margin: 0 auto 26px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 30px rgba(128, 128, 128, 0.14),
    var(--shadow);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.logo-wrap:hover {
  box-shadow:
    0 0 0 1px rgba(255, 32, 40, 0.38),
    0 0 36px rgba(255, 32, 40, 0.3),
    var(--shadow);
  transform: translateY(-2px);
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  text-align: center;
  margin-bottom: 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 8vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.tagline {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.5vw, 1.08rem);
  line-height: 1.65;
}

.links-section,
.affiliates,
.projects {
  scroll-margin-top: 92px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.social-links {
  display: grid;
  gap: 12px;
}

.social-button,
.project-placeholder {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.social-button:hover,
.project-placeholder:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 32, 40, 0.55);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 0 25px rgba(255, 32, 40, 0.12);
  background: rgba(24, 24, 24, 0.88);
}

.social-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.social-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.youtube .social-icon {
  color: #ff0000;
}

.tiktok .social-icon {
  color: #25f4ee;
  filter: drop-shadow(1px 0 #fe2c55);
}

.twitch .social-icon {
  color: #9146ff;
}

.discord .social-icon {
  color: #5865f2;
}

.reddit .social-icon {
  color: #ff4500;
}

.github .social-icon {
  color: #f0f0f0;
}

.social-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.social-text strong {
  font-size: 1rem;
  line-height: 1.1;
}

.social-text small {
  color: var(--muted);
  font-size: 0.83rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow {
  margin-left: auto;
  color: #858585;
  font-size: 1.1rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.social-button:hover .arrow,
.project-placeholder:hover .arrow {
  color: var(--red);
  transform: translate(2px, -2px);
}

.more-button {
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(14, 14, 14, 0.66);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.more-button:hover {
  color: var(--text);
  border-color: rgba(255, 32, 40, 0.45);
  background: rgba(20, 20, 20, 0.86);
}

.more-chevron {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.more-button[aria-expanded="true"] .more-chevron {
  transform: rotate(180deg);
}

.more-links {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.more-links[hidden] {
  display: none;
}

.more-links.is-open {
  animation: reveal 0.25s ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.projects,
.affiliates {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 18px 0 88px;
}

.project-placeholder {
  min-height: 86px;
}

.project-placeholder span:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.project-placeholder small {
  color: var(--muted);
}

.disclosure {
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.affiliate .social-icon {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--red);
}

footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 22px 0 30px;
  border-top: 1px solid var(--border);
  color: #727272;
  text-align: center;
  font-size: 0.82rem;
}

.cursor-glow {
  position: fixed;
  z-index: 100;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(100, 17, 21, 0.85);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    width 0.15s ease,
    height 0.15s ease;
  box-shadow:
    0 0 14px rgba(100, 17, 21, 0.38),
    inset 0 0 8px rgba(100, 17, 21, 0.15);
}

@media (pointer: fine) {
  body:hover .cursor-glow {
    opacity: 1;
  }
}

.mobile-break {
  display: none;
}

@media (max-width: 600px) {
  .site-nav {
    height: 60px;
    padding: 0 15px;
  }

  .nav-brand {
    font-size: 0.9rem;
  }

  .nav-logo {
    width: 31px;
    height: 31px;
  }

  .site-nav nav {
    gap: 2px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.83rem;
  }

  .hero {
    width: min(calc(100% - 24px), var(--max));
    padding: 42px 0 60px;
  }

  .logo-wrap {
    width: min(170px, 55vw);
    border-radius: 24px;
    margin-bottom: 23px;
  }

  .hero-copy {
    margin-bottom: 34px;
  }

  .mobile-break {
    display: block;
  }

  .social-button {
    min-height: 72px;
    padding: 13px 15px;
    border-radius: 16px;
  }

  .social-icon {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
  }

  .social-icon svg {
    width: 27px;
    height: 27px;
  }

  .projects,
  .affiliates {
    width: min(calc(100% - 24px), var(--max));
    padding-bottom: 64px;
  }

  footer {
    width: min(calc(100% - 24px), var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-glow {
    display: none;
  }
}