.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.home-featured-column {
  display: grid;
  gap: 0.85rem;
}

.home-featured-column__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(169, 193, 255, 0.2);
  background: rgba(79, 123, 255, 0.16);
  color: #dbe8ff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-featured-list {
  display: grid;
  gap: 0.85rem;
}

.home-featured-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  min-height: 168px;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(190, 211, 255, 0.18);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(44, 78, 162, 0.14)
  );
  color: #eff6ff;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(4, 10, 24, 0.18);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.home-featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 185, 255, 0.8);
  box-shadow: 0 22px 40px rgba(19, 44, 112, 0.22);
}

.home-featured-card__image {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.home-featured-card__content {
  min-width: 0;
}

.home-featured-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.45rem;
}

.home-featured-card__label,
.home-featured-card__views,
.home-featured-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 0.68rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.home-featured-card__label {
  background: rgba(255, 255, 255, 0.16);
  color: #eff6ff;
}

.home-featured-card__action {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow:
    0 10px 18px rgba(5, 12, 30, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-featured-card__views {
  background: rgba(255, 207, 70, 0.16);
  color: #ffe59a;
}

.home-featured-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  line-height: 1.22;
}

.home-featured-card p {
  margin: 0.4rem 0 0;
  color: #c9d8f6;
  font-size: 1.05rem;
  line-height: 1.55;
}

.home-featured-card--strategy {
  background: linear-gradient(
    145deg,
    rgba(255, 165, 96, 0.28),
    rgba(183, 83, 38, 0.48) 42%,
    rgba(74, 30, 19, 0.82)
  );
}

.home-featured-card--casual {
  background: linear-gradient(
    145deg,
    rgba(81, 224, 146, 0.24),
    rgba(25, 117, 84, 0.46) 42%,
    rgba(11, 55, 42, 0.84)
  );
}

.home-featured-card--classic {
  background: linear-gradient(
    145deg,
    rgba(117, 182, 255, 0.24),
    rgba(41, 91, 188, 0.46) 42%,
    rgba(14, 39, 97, 0.84)
  );
}

.home-featured-card--puzzle {
  background: linear-gradient(
    145deg,
    rgba(176, 121, 255, 0.26),
    rgba(99, 54, 176, 0.48) 42%,
    rgba(40, 23, 88, 0.84)
  );
}

.home-featured-card--audio {
  background: linear-gradient(
    145deg,
    rgba(64, 111, 255, 0.34),
    rgba(91, 60, 211, 0.58) 42%,
    rgba(40, 29, 114, 0.9)
  );
}

.home-featured-card--video {
  background: linear-gradient(
    145deg,
    rgba(255, 126, 92, 0.34),
    rgba(207, 70, 92, 0.58) 42%,
    rgba(98, 24, 49, 0.9)
  );
}

.home-featured-card--unit {
  background: linear-gradient(
    145deg,
    rgba(74, 219, 171, 0.3),
    rgba(24, 129, 118, 0.56) 42%,
    rgba(9, 61, 57, 0.88)
  );
}

.home-featured-card--image {
  background: linear-gradient(
    145deg,
    rgba(111, 207, 255, 0.28),
    rgba(109, 79, 214, 0.56) 42%,
    rgba(40, 28, 104, 0.88)
  );
}

.home-featured-card--strategy .home-featured-card__action {
  background: linear-gradient(
    135deg,
    rgba(255, 173, 102, 0.95),
    rgba(210, 106, 51, 0.95)
  );
  color: #2a0f05;
}

.home-featured-card--casual .home-featured-card__action {
  background: linear-gradient(
    135deg,
    rgba(89, 229, 154, 0.95),
    rgba(38, 155, 114, 0.95)
  );
  color: #07231a;
}

.home-featured-card--classic .home-featured-card__action {
  background: linear-gradient(135deg, #3d79ff, #2452c7);
}

.home-featured-card--puzzle .home-featured-card__action {
  background: linear-gradient(135deg, #bf89ff, #7a4fe0);
}

.home-featured-card--audio .home-featured-card__label,
.home-featured-card--audio .home-featured-card__action {
  background: rgba(128, 173, 215, 0.26);
  border-color: rgba(128, 173, 215, 0.42);
}

.home-featured-card--video .home-featured-card__label,
.home-featured-card--video .home-featured-card__action {
  background: rgba(10, 189, 160, 0.22);
  border-color: rgba(10, 189, 160, 0.4);
}

.home-featured-card--unit .home-featured-card__label,
.home-featured-card--unit .home-featured-card__action {
  background: rgba(212, 220, 169, 0.22);
  border-color: rgba(212, 220, 169, 0.42);
}

.home-featured-card--image .home-featured-card__label,
.home-featured-card--image .home-featured-card__action {
  background: rgba(191, 157, 122, 0.24);
  border-color: rgba(191, 157, 122, 0.44);
}

.home-featured-card[href*="/tools/"] .home-featured-card__action {
  color: #ffffff;
}

.site-footer-home__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 980px) {
  .home-featured-card {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 150px;
  }

  .home-featured-card__image {
    width: 108px;
    height: 108px;
  }
}

@media (max-width: 860px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer-home__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .home-featured-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 0.8rem;
    min-height: 126px;
  }

  .home-featured-card__image {
    width: 86px;
    height: 86px;
    border-radius: 18px;
  }

  .home-featured-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .home-featured-card__action,
  .home-featured-card__label {
    min-height: 28px;
    padding: 0 0.58rem;
    font-size: 0.86rem;
  }

  .home-featured-card h3 {
    font-size: 1.35rem;
  }

  .home-featured-card p {
    font-size: 0.95rem;
  }
}
