/* GnèGnè Radar v0.10.1 — Home FC27 Tools */
.home-fc27-tools {
  margin: 18px 0 20px;
}

.home-fc27-tools-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
}

.home-fc27-tools-head-copy {
  max-width: 680px;
}

.home-fc27-tools-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #d9ff2f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-fc27-tools-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d9ff2f;
  box-shadow: 0 0 14px rgba(217,255,47,.72);
}

.home-fc27-tools h2 {
  margin: 0;
  color: #f7f8fb;
  font-size: clamp(24px, 3vw, 38px);
  line-height: .98;
  letter-spacing: -.035em;
}

.home-fc27-tools-head p {
  margin: 8px 0 0;
  color: #8d99aa;
  font-size: 13px;
  line-height: 1.55;
}

.home-fc27-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-fc27-tool {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 210px;
  padding: 19px 20px;
  overflow: hidden;
  border: 1px solid #24303d;
  border-radius: 15px;
  background:
    radial-gradient(circle at 88% 18%, rgba(217,255,47,.10), transparent 32%),
    linear-gradient(145deg, #0e141c 0%, #0b1017 100%);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}

.home-fc27-tool::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .8;
}

.home-fc27-tool-db {
  border-color: rgba(217,255,47,.36);
}

.home-fc27-tool-db::before {
  background: linear-gradient(120deg, rgba(217,255,47,.055), transparent 48%);
}

.home-fc27-tool-builder {
  border-color: rgba(126,92,255,.38);
  background:
    radial-gradient(circle at 88% 18%, rgba(126,92,255,.17), transparent 33%),
    linear-gradient(145deg, #10131d 0%, #0b1017 100%);
}

.home-fc27-tool-builder::before {
  background: linear-gradient(120deg, rgba(126,92,255,.075), transparent 48%);
}

.home-fc27-tool-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  max-width: 76%;
}

.home-fc27-tool-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 23px;
  padding: 0 9px;
  margin-bottom: 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(5,8,12,.46);
  color: #c8d2df;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-fc27-tool-db .home-fc27-tool-label {
  border-color: rgba(217,255,47,.28);
  color: #d9ff2f;
}

.home-fc27-tool-builder .home-fc27-tool-label {
  border-color: rgba(147,120,255,.32);
  color: #a991ff;
}

.home-fc27-tool h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.home-fc27-tool p {
  margin: 9px 0 14px;
  color: #9ba7b7;
  font-size: 12px;
  line-height: 1.55;
}

.home-fc27-tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 12px;
}

.home-fc27-tool-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 7px;
  background: rgba(4,7,11,.42);
  color: #c7d0dc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-fc27-tool-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 11px;
  border-radius: 7px;
  background: #d9ff2f;
  color: #071007;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-fc27-tool-db:hover {
  border-color: rgba(217,255,47,.66);
  transform: translateY(-1px);
}

.home-fc27-tool-db:hover .home-fc27-tool-cta {
  transform: translateX(2px);
  box-shadow: 0 0 20px rgba(217,255,47,.14);
}

.home-fc27-tool-builder .home-fc27-tool-cta {
  border: 1px solid rgba(169,145,255,.36);
  background: rgba(126,92,255,.12);
  color: #c3b4ff;
}

.home-fc27-tool-visual {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 116px;
  height: 116px;
  z-index: 1;
  opacity: .94;
  pointer-events: none;
}

.home-fc27-tool-visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-fc27-tool-db .home-fc27-tool-visual {
  color: #d9ff2f;
}

.home-fc27-tool-builder .home-fc27-tool-visual {
  color: #9d84ff;
}

.home-fc27-tool-status {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 5px 7px;
  border: 1px solid rgba(157,132,255,.34);
  border-radius: 999px;
  background: rgba(8,9,15,.78);
  color: #bbaaff;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .home-fc27-tools-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-fc27-tools-grid {
    grid-template-columns: 1fr;
  }

  .home-fc27-tool {
    min-height: 205px;
  }

  .home-fc27-tool-content {
    max-width: 78%;
  }

  .home-fc27-tool-visual {
    width: 98px;
    height: 98px;
    right: 10px;
  }
}

@media (max-width: 470px) {
  .home-fc27-tool {
    padding: 17px;
  }

  .home-fc27-tool-content {
    max-width: 100%;
  }

  .home-fc27-tool-visual {
    opacity: .16;
    width: 132px;
    height: 132px;
    top: 38px;
    right: -12px;
  }

  .home-fc27-tool p {
    max-width: 86%;
  }

  .home-fc27-tool-status {
    top: 12px;
    right: 12px;
  }
}
