.home-network-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(77, 255, 136, 0.50) !important;
  background:
    radial-gradient(circle at 74% 54%, rgba(77, 255, 136, 0.18), transparent 17rem),
    radial-gradient(circle at 18% 5%, rgba(77, 255, 136, 0.12), transparent 13rem),
    linear-gradient(180deg, rgba(0, 34, 14, 0.80), rgba(0, 0, 0, 0.48)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 3px);
  box-shadow:
    0 0 38px rgba(77, 255, 136, 0.12),
    inset 0 0 42px rgba(77, 255, 136, 0.055);
}

.home-network-card::before,
.home-network-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-network-card::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(77,255,136,.10), transparent 18%, transparent 82%, rgba(77,255,136,.06)),
    repeating-linear-gradient(90deg, rgba(77,255,136,.025) 0 1px, transparent 1px 36px);
  mix-blend-mode: screen;
  opacity: 0.74;
}

.home-network-card::after {
  right: -5rem;
  top: -6rem;
  z-index: 0;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(77, 255, 136, 0.15);
  border-radius: 50%;
  box-shadow: inset 0 0 32px rgba(77, 255, 136, 0.06), 0 0 42px rgba(77, 255, 136, 0.04);
}

.home-network-card .terminal-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.9rem;
  padding-inline: clamp(1rem, 1.8vw, 1.45rem);
  border-bottom: 1px solid rgba(77, 255, 136, 0.22);
  background:
    linear-gradient(90deg, rgba(77,255,136,.12), transparent 55%),
    rgba(0, 0, 0, 0.26);
}

.home-network-card .dot {
  display: none;
}

.home-network-card .terminal-bar::before {
  content: "REGIONAL INVESTIGATOR NETWORK";
  color: #b8ffc9;
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
  font-size: clamp(0.74rem, 0.98vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(77, 255, 136, 0.30);
}

.home-network-card .terminal-bar::after {
  content: "SYS: TEAM RECRUITMENT OPEN";
  justify-self: end;
  padding: 0.34rem 0.48rem;
  border: 1px solid rgba(255, 211, 106, 0.36);
  border-radius: 4px;
  color: #ffe681;
  background: rgba(0, 0, 0, 0.40);
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
  font-size: clamp(0.58rem, 0.72vw, 0.7rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(255, 211, 106, 0.10);
}

.home-network-body {
  position: relative;
  z-index: 2;
  min-height: clamp(29rem, 42vw, 37rem);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(14rem, 0.92fr);
  gap: clamp(0.75rem, 2vw, 1.35rem);
  align-items: center;
}

.home-network-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-network-title {
  margin: 0 0 0.72rem;
  max-width: none;
  white-space: nowrap;
  color: #b8ffc9;
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
  font-size: clamp(1.9rem, 3.05vw, 2.75rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow:
    0 0 16px rgba(77, 255, 136, 0.38),
    0 0 32px rgba(77, 255, 136, 0.15);
}

.home-network-subtitle {
  margin: 0 0 1.15rem;
  color: #77ffa1;
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(77, 255, 136, 0.25);
}

.home-network-copy p {
  max-width: 34ch;
  margin: 0 0 1rem;
  color: rgba(235, 255, 240, 0.84);
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
  font-size: clamp(0.82rem, 0.96vw, 1rem);
  font-weight: 800;
  line-height: 1.58;
  letter-spacing: -0.01em;
  text-shadow: 0 0 12px rgba(77, 255, 136, 0.12);
}

.home-network-button {
  position: relative;
  margin: 0.15rem 0 1rem;
  min-width: min(100%, 17.5rem);
  justify-content: center;
  color: #041008 !important;
  border-color: rgba(255, 232, 166, 0.58) !important;
  background:
    radial-gradient(circle at 18% 45%, rgba(255, 255, 255, 0.62), transparent 0.55rem),
    linear-gradient(180deg, #ffe681 0%, #76ff9f 44%, #1fd469 100%) !important;
  box-shadow:
    0 0 20px rgba(255, 211, 106, 0.18),
    0 0 36px rgba(77, 255, 136, 0.22),
    var(--shadow-strong) !important;
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  opacity: 1;
  cursor: default;
}

.home-network-button:hover,
.home-network-button:focus-visible {
  color: #001405 !important;
  background:
    radial-gradient(circle at 18% 45%, rgba(255, 255, 255, 0.72), transparent 0.55rem),
    linear-gradient(180deg, #fff0a8 0%, #8cffad 44%, #28e371 100%) !important;
}

.home-network-button[aria-disabled="true"] {
  pointer-events: none;
}

.home-network-role {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.12rem;
  color: #77ffa1;
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
}

.home-network-role-title {
  margin-bottom: 0.12rem;
  color: #77ffa1;
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(77, 255, 136, 0.22);
}

.home-network-role span:not(.home-network-role-title) {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(206, 255, 218, 0.90);
  font-size: clamp(0.78rem, 0.92vw, 0.96rem);
  font-weight: 800;
  line-height: 1.24;
  text-shadow: 0 0 12px rgba(77, 255, 136, 0.14);
}

.home-network-role span:not(.home-network-role-title)::before {
  content: "☑";
  position: absolute;
  left: 0;
  top: -0.1rem;
  color: #77ffa1;
  font-size: 1.05rem;
  text-shadow: 0 0 12px rgba(77, 255, 136, 0.30);
}

.home-network-visual {
  position: relative;
  z-index: 1;
  min-height: 25rem;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.home-network-map {
  width: min(100%, 20rem);
  max-height: 34rem;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(77, 255, 136, 0.45))
    drop-shadow(0 0 30px rgba(77, 255, 136, 0.18));
  opacity: 0.96;
}

.home-join-card h2 {
  line-height: 1.18 !important;
  padding-bottom: 0.2em !important;
  margin-bottom: 0.55rem !important;
  overflow: visible !important;
}

.home-tip-network-card {
  width: 100%;
}

.home-tip-network-card .terminal-bar::before {
  content: "TIP LINE SIGNAL NETWORK";
}

.home-tip-network-card .terminal-bar::after {
  content: "SYS: WITNESS INPUT OPEN";
}

.home-tip-network-body {
  min-height: clamp(29rem, 36vw, 35rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(26rem, 1.08fr);
  gap: clamp(1rem, 3vw, 2.4rem);
}

.home-tip-network-title,
.home-tip-network-card .home-network-title {
  max-width: 16ch;
  white-space: normal;
}

.home-tip-network-copy p {
  max-width: 44ch;
}

.home-tip-network-button {
  cursor: pointer;
}

.home-tip-network-visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: clamp(27rem, 34vw, 34rem);
  place-items: center;
  isolation: isolate;
}

.home-tip-network-visual::before {
  content: "";
  position: absolute;
  inset: 7% 2% 10% 9%;
  border: 1px solid rgba(77, 255, 136, 0.16);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(77, 255, 136, 0.17) 0 1px, transparent 1px 34px),
    conic-gradient(from 230deg, transparent 0 42%, rgba(77, 255, 136, 0.22), transparent 53% 100%);
  opacity: 0.70;
  pointer-events: none;
}

.home-tip-network-map {
  position: relative;
  z-index: 1;
  width: min(48%, 20rem);
  transform: translateX(-20%);
}

.home-tip-network-emoji {
  position: absolute !important;
  z-index: 2;
  right: clamp(0.3rem, 3vw, 2.2rem) !important;
  bottom: clamp(0.8rem, 3vw, 2.5rem) !important;
  width: clamp(11.5rem, 22vw, 18rem) !important;
  max-width: 42% !important;
  height: auto;
  margin: 0 !important;
  opacity: 0.86;
  filter:
    drop-shadow(0 0 14px rgba(77, 255, 136, 0.28))
    drop-shadow(0 0 38px rgba(255, 211, 106, 0.13));
}

.home-tip-network-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.home-tip-network-list .home-network-role-title {
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  .home-network-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-network-title {
    max-width: 18ch;
    white-space: normal;
  }

  .home-network-visual {
    min-height: 17rem;
  }

  .home-network-map {
    width: min(72%, 18rem);
  }

  .home-tip-network-body {
    grid-template-columns: 1fr;
  }

  .home-tip-network-visual {
    min-height: clamp(27rem, 58vw, 34rem);
  }

  .home-tip-network-map {
    width: min(46%, 18rem);
    transform: translateX(-20%);
  }

  .home-tip-network-emoji {
    max-width: 36% !important;
  }
}

@media (max-width: 760px) {
  .home-tip-network-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-network-card .terminal-bar {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    padding-block: 0.85rem;
  }

  .home-network-card .terminal-bar::after {
    justify-self: start;
  }

  .home-network-body {
    padding: 1rem;
    gap: 1.05rem;
    align-items: start;
  }

  .home-network-title {
    font-size: clamp(1.75rem, 10vw, 2.55rem);
  }

  .home-network-button {
    width: 100%;
  }

  .home-network-visual {
    min-height: clamp(24rem, 118vw, 31rem);
    align-self: auto;
    overflow: visible;
  }

  .home-network-map {
    width: auto;
    height: clamp(23rem, 112vw, 30rem);
    max-width: 100%;
    max-height: none;
  }

  .home-tip-network-visual {
    min-height: clamp(31rem, 134vw, 39rem);
    width: 100%;
    margin-top: 0.5rem;
  }

  .home-tip-network-visual::before {
    inset: 4% -10% 3%;
  }

  .home-tip-network-map {
    width: auto;
    height: clamp(22rem, 106vw, 31rem);
    max-width: 96%;
    transform: translate(-8%, -7%);
  }

  .home-tip-network-emoji {
    right: 50% !important;
    bottom: 0.5rem !important;
    width: min(72vw, 16rem) !important;
    max-width: none !important;
    transform: translateX(50%);
  }
}

@media (max-width: 420px) {
  .home-network-visual {
    min-height: clamp(22rem, 122vw, 28rem);
  }

  .home-network-map {
    height: clamp(21rem, 116vw, 27rem);
  }

  .home-tip-network-visual {
    min-height: clamp(29rem, 142vw, 36rem);
  }
}
