body.fun-site {
  background:
    linear-gradient(135deg, rgba(229, 34, 45, 0.05) 0, transparent 28%),
    var(--bg);
}

.fun-site .brand-logo {
  border: 1px solid #5f2024;
}

.fun-site nav a {
  position: relative;
}

.fun-site nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  transition: right 140ms ease;
}

.fun-site nav a:hover::after,
.fun-site nav a[aria-current="page"]::after {
  right: 0;
}

.fun-site .button {
  box-shadow: 4px 4px 0 #681017;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.fun-site .button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #681017;
}

.fun-site .button.secondary {
  box-shadow: 4px 4px 0 #1d1d1d;
}

.fun-site .hero {
  position: relative;
}

.fun-site .hero-copy code,
.fun-site .page-copy code {
  color: #fff;
  background: #1a1112;
  border: 1px solid #3a1c1f;
  padding: 2px 6px;
}

.chat-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid #3f4148;
  border-radius: 10px;
  background: #111216;
  box-shadow: 16px 16px 0 #15090a;
  transform: rotate(0.7deg);
}

.chat-header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 15px;
  border-bottom: 1px solid #292b31;
  background: #18191e;
}

.chat-channel {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
}

.chat-hash {
  color: #7d8089;
  font-size: 20px;
  font-weight: 500;
}

.chat-body {
  display: grid;
  gap: 18px;
  padding: 20px 18px 24px;
}

.chat-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2b2d33;
  color: #d8d9dd;
  font-size: 12px;
  font-weight: 900;
}

.chat-avatar.bot {
  overflow: hidden;
  background: #070707;
  border: 1px solid #4b2225;
}

.chat-avatar.bot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-name {
  margin-bottom: 4px;
  color: #f2f3f5;
  font-size: 13px;
  font-weight: 800;
}

.bot-tag {
  margin-left: 6px;
  padding: 2px 4px;
  border-radius: 3px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 900;
  vertical-align: 1px;
}

.chat-text {
  color: #c8c9ce;
  font-size: 14px;
  line-height: 1.5;
}

.chat-command {
  color: #fff;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.chat-command b,
.chat-text strong {
  color: #ff5963;
}

.voice-strip {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-top: 1px solid #292b31;
  background: #101813;
  color: #a8b9ae;
  font-size: 12px;
  font-weight: 750;
}

.voice-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.voice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57f287;
  box-shadow: 0 0 0 3px rgba(87, 242, 135, 0.11);
}

.fun-site .band-item {
  transition: background 120ms ease, transform 120ms ease;
}

.fun-site .band-item:hover {
  background: #100b0c;
  transform: translateY(-3px);
}

.fun-site .band-item code {
  color: #ff5963;
}

.fun-site .source-row {
  transition: background 120ms ease;
}

.fun-site .source-row:hover {
  background: #0d090a;
}

.fun-site .source-row:hover .source-name {
  color: #ff5963;
}

.fun-site .command-demo {
  box-shadow: 7px 7px 0 #151515;
}

.fun-site .command-row code {
  color: #ff5963;
}

.fun-site .flow-step.active {
  background: #1d0d0f;
}

.fun-site .flow-step:nth-child(odd) {
  transform: translateY(-2px);
}

.fun-site .cta {
  position: relative;
}

.fun-site .cta::before {
  content: "G94";
  position: absolute;
  right: 0;
  top: 5px;
  color: rgba(229, 34, 45, 0.08);
  font-size: clamp(70px, 11vw, 150px);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.fun-site .cta > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .chat-preview {
    width: min(100%, 560px);
    transform: none;
  }
}

@media (max-width: 650px) {
  .chat-preview {
    box-shadow: 8px 8px 0 #15090a;
  }

  .chat-body {
    padding: 16px 14px 20px;
  }

  .voice-strip {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 10px 14px;
  }
}
