.route-powered-by,
.route-contact-partner {
  --smp-black: #050008;
  --smp-purple-dark: #12001f;
  --smp-purple: #7b2cff;
  --smp-purple-glow: #b026ff;
  --smp-green: #39ff14;
  --smp-lava: #ff6a00;
  --smp-text: #d8d8d8;
  --smp-muted: #9ca3af;
  color: var(--smp-text);
  background:
    radial-gradient(circle at 18% 10%, rgba(123, 44, 255, 0.28), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(176, 38, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(255, 106, 0, 0.1), transparent 26%),
    linear-gradient(180deg, #050008 0%, #12001f 48%, #050008 100%);
}

.route-powered-by .site-header,
.route-powered-by .site-footer,
.route-contact-partner .site-header,
.route-contact-partner .site-footer {
  border-color: rgba(123, 44, 255, 0.5);
  background: rgba(5, 0, 8, 0.88);
  box-shadow:
    0 0 28px rgba(176, 38, 255, 0.14),
    0 8px 26px rgba(0, 0, 0, 0.42);
}

.route-powered-by .nav-link.active,
.route-contact-partner .nav-link.active {
  border-color: rgba(57, 255, 20, 0.55);
  background: rgba(123, 44, 255, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(176, 38, 255, 0.26),
    0 0 16px rgba(57, 255, 20, 0.14);
}

.route-powered-by .broadcast-item,
.route-contact-partner .broadcast-item {
  border-color: rgba(123, 44, 255, 0.32);
  background: rgba(18, 0, 31, 0.52);
}

.route-powered-by .kicker,
.route-contact-partner .kicker {
  color: var(--smp-green);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.36);
}

.route-powered-by .section,
.route-powered-by .status-card,
.route-contact-partner .section,
.route-contact-partner .status-card {
  border-color: rgba(123, 44, 255, 0.55);
  background:
    linear-gradient(180deg, rgba(18, 0, 31, 0.82), rgba(5, 0, 8, 0.86));
  box-shadow:
    inset 0 0 0 1px rgba(176, 38, 255, 0.08),
    0 12px 34px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(123, 44, 255, 0.12);
}

.route-powered-by .section h2,
.route-contact-partner .section h2 {
  color: #efe7ff;
  text-shadow: 0 0 18px rgba(176, 38, 255, 0.18);
}

.route-powered-by .section p,
.route-contact-partner .section p {
  color: var(--smp-muted);
}

.route-powered-by .btn-primary,
.route-contact-partner .btn-primary {
  background: linear-gradient(130deg, var(--smp-green), #9dff7f);
  border-color: var(--smp-green);
  color: #061300;
  box-shadow:
    0 0 26px rgba(57, 255, 20, 0.48),
    0 0 18px rgba(176, 38, 255, 0.18);
}

.route-powered-by .btn-primary:hover,
.route-contact-partner .btn-primary:hover {
  background: linear-gradient(130deg, #7cff55, #d3ffc6);
}

.route-powered-by .btn:not(.btn-primary),
.route-contact-partner .btn:not(.btn-primary) {
  border-color: rgba(176, 38, 255, 0.72);
  background: rgba(18, 0, 31, 0.58);
  color: #efe7ff;
  box-shadow: 0 0 24px rgba(176, 38, 255, 0.22);
}

.route-powered-by .btn:not(.btn-primary):hover,
.route-contact-partner .btn:not(.btn-primary):hover {
  border-color: var(--smp-green);
  background: rgba(123, 44, 255, 0.28);
}

.chaos-badge-row span {
  border-color: rgba(123, 44, 255, 0.6);
  background: rgba(18, 0, 31, 0.58);
  color: #efe7ff;
  box-shadow:
    inset 0 0 0 1px rgba(176, 38, 255, 0.1),
    0 0 18px rgba(57, 255, 20, 0.12),
    0 0 24px rgba(176, 38, 255, 0.16);
}

.chaos-partner-grid,
.chaos-project-grid {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.chaos-partner-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chaos-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chaos-partner-card,
.chaos-project-card,
.chaos-contact-card {
  border: 1px solid rgba(123, 44, 255, 0.55);
  border-radius: 18px;
  background: rgba(10, 0, 20, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(176, 38, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.28);
}

.chaos-partner-card,
.chaos-project-card {
  min-height: 190px;
  padding: 16px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.chaos-partner-card:hover,
.chaos-project-card:hover {
  transform: translateY(-3px);
  border-color: var(--smp-green);
  box-shadow:
    0 0 28px rgba(176, 38, 255, 0.32),
    0 0 18px rgba(57, 255, 20, 0.22),
    0 16px 38px rgba(0, 0, 0, 0.38);
}

.chaos-partner-card h3,
.chaos-project-title {
  margin: 0;
  color: #efe7ff;
  font-family: "Archivo", "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.chaos-partner-card p {
  margin: 10px 0 0;
  color: var(--smp-muted);
}

.chaos-project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
}

.chaos-project-head {
  display: grid;
  gap: 8px;
}

.chaos-project-card .small-note {
  color: var(--smp-green);
}

.chaos-download-stat {
  display: flex;
  align-items: center;
  min-height: 30px;
}

.chaos-download-stat img {
  display: block;
  max-width: 100%;
  height: 28px;
}

.chaos-download-fallback {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(123, 44, 255, 0.58);
  border-radius: 999px;
  background: rgba(18, 0, 31, 0.58);
  color: #efe7ff;
  padding: 6px 10px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow:
    inset 0 0 0 1px rgba(176, 38, 255, 0.1),
    0 0 18px rgba(57, 255, 20, 0.1),
    0 0 22px rgba(176, 38, 255, 0.14);
}

.chaos-project-link-label {
  color: var(--smp-green);
  font-size: 0.93rem;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
}

.chaos-placement-list {
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chaos-partner-cta .smp-join-overlay p {
  max-width: 44rem;
}

.chaos-contact-redirect {
  margin-top: 16px;
  min-height: min(620px, calc(100vh - 260px));
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 54px);
  border-color: rgba(176, 38, 255, 0.58);
  background:
    radial-gradient(circle at 28% 28%, rgba(176, 38, 255, 0.22), transparent 30%),
    radial-gradient(circle at 86% 76%, rgba(57, 255, 20, 0.1), transparent 26%),
    linear-gradient(135deg, #050008, #12001f);
  box-shadow:
    0 0 0 1px rgba(123, 44, 255, 0.22),
    0 0 54px rgba(176, 38, 255, 0.18),
    0 28px 80px rgba(0, 0, 0, 0.58),
    inset 0 0 72px rgba(123, 44, 255, 0.16);
}

.chaos-contact-card {
  width: min(620px, 100%);
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
  backdrop-filter: blur(10px);
}

.chaos-contact-card h1 {
  margin: 0;
  color: #efe7ff;
  font-family: "Archivo", "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 0 20px rgba(176, 38, 255, 0.5),
    0 0 42px rgba(123, 44, 255, 0.28);
}

.chaos-contact-card p {
  margin: 12px 0 0;
  color: var(--smp-muted);
}

.chaos-contact-card a {
  color: var(--smp-green);
  font-weight: 700;
  text-decoration-color: rgba(57, 255, 20, 0.5);
}

.route-contact-partner .site-header,
.route-contact-partner .site-footer,
.route-contact-partner .mobile-cta {
  display: none;
}

.route-contact-partner .page-shell {
  min-height: 100vh;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  display: grid;
  align-items: center;
}

.route-contact-partner main {
  width: 100%;
}

@media (max-width: 1024px) {
  .chaos-partner-grid,
  .chaos-project-grid,
  .chaos-placement-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .chaos-partner-grid,
  .chaos-project-grid,
  .chaos-placement-list {
    grid-template-columns: 1fr;
  }

  .chaos-partner-card,
  .chaos-project-card {
    min-height: 0;
  }
}
