.home-hormicoint {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 20px 22px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(115deg, #172477 0%, #263da7 68%, #304cc0 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg, 22px);
  box-shadow: 0 14px 34px rgba(29, 44, 140, 0.2);
}

.home-hormicoint::after {
  content: "";
  position: absolute;
  top: -70px;
  right: 12%;
  width: 190px;
  height: 190px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.home-hormicoint__identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.home-hormicoint__coin {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 9px 22px rgba(4, 10, 49, 0.24);
}

.home-hormicoint__coin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-hormicoint__value {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.home-hormicoint__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.78;
}

.home-hormicoint__identity strong {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1;
  white-space: nowrap;
}

.home-hormicoint__date {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  white-space: nowrap;
}

.home-hormicoint__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  color: #1d2c8c;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-hormicoint__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(4, 10, 49, 0.22);
}

.home-hormicoint__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.68);
  outline-offset: 3px;
}

.home-hormicoint.is-error {
  background: linear-gradient(115deg, #39415f, #56617f);
}

@media (max-width: 720px) {
  .home-hormicoint {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    padding: 18px;
  }

  .home-hormicoint__identity {
    align-items: center;
    gap: 10px;
  }

  .home-hormicoint__coin {
    width: 54px;
    height: 54px;
  }

  .home-hormicoint__value {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .home-hormicoint__identity strong {
    font-size: clamp(1.75rem, 9vw, 2.2rem);
  }

  .home-hormicoint__date {
    grid-column: 1 / -1;
    grid-row: 2;
    white-space: normal;
  }

  .home-hormicoint__button {
    grid-column: 2;
    grid-row: 1;
    padding: 0 16px;
  }
}

@media (max-width: 390px) {
  .home-hormicoint {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hormicoint__button {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
  }
}
