.crypto-quotes-section {
  background: linear-gradient(180deg, #f7f8f5 0%, #fff 55%);
}

.crypto-quotes-section .title {
  color: #004938;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 16px;
}

.crypto-quotes-intro {
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  line-height: 1.5;
  color: #444;
}

.crypto-quotes-intro::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: #d6fa03;
  margin: 0 auto 22px;
  border-radius: 2px;
}

.crypto-quotes-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #004938;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.crypto-quotes-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #004938;
  box-shadow: 0 0 0 3px rgba(214, 250, 3, 0.55);
  animation: crypto-quotes-pulse 2s ease-in-out infinite;
}

.crypto-quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.crypto-quote-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 24px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: #fff;
  box-shadow: 0 4px 16px rgba(13, 18, 27, 0.06);
  transition: border-color 0.2s ease-out;
}

.crypto-quote-card:hover {
  border-color: #d6fa03;
}

.crypto-quote-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.crypto-quote-card__asset {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.crypto-quote-card__icon-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #d6fa03;
  background: #fff;
  overflow: hidden;
}

.crypto-quote-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.crypto-quote-card__icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #0d121b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #d6fa03;
}

.crypto-quote-card__meta {
  min-width: 0;
}

.crypto-quote-card__symbol {
  margin: 0;
  color: #0d121b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
}

.crypto-quote-card__name {
  margin: 4px 0 0;
  color: #444;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  word-break: break-word;
}

.crypto-quote-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.crypto-quote-card__price {
  margin: 0;
  color: #004938;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.crypto-quote-card__change {
  margin: 0;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.crypto-quote-card__change.is-up {
  color: #004938;
}

.crypto-quote-card__change.is-down {
  color: #b42318;
}

.crypto-quote-card__change.is-flat {
  color: #666;
}

.crypto-quote-card.is-loading,
.crypto-quote-card.is-error {
  justify-content: center;
  min-height: 148px;
}

.crypto-quote-card__skeleton {
  display: grid;
  gap: 12px;
  width: 100%;
}

.crypto-quote-card__skeleton span {
  display: block;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef1eb 25%, #f7f8f5 50%, #eef1eb 75%);
  background-size: 200% 100%;
  animation: crypto-quotes-shimmer 1.2s linear infinite;
}

.crypto-quote-card__skeleton span:nth-child(1) {
  width: 48px;
  height: 48px;
}

.crypto-quote-card__skeleton span:nth-child(2) {
  width: 70%;
}

.crypto-quote-card__skeleton span:nth-child(3) {
  width: 45%;
  height: 28px;
  margin-top: 8px;
}

.crypto-quotes-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: #fff;
  box-shadow: 0 4px 16px rgba(13, 18, 27, 0.06);
  color: #444;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

@keyframes crypto-quotes-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.92);
  }
}

@keyframes crypto-quotes-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media screen and (max-width: 991px) {
  .crypto-quotes-section .title {
    margin-bottom: 12px;
  }

  .crypto-quotes-intro {
    font-size: 19px;
    margin-bottom: 28px;
  }

  .crypto-quotes-intro::before {
    margin-bottom: 16px;
  }

  .crypto-quotes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .crypto-quote-card {
    padding: 20px;
  }

  .crypto-quote-card__price {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) {
  .crypto-quotes-intro {
    font-size: 17px;
    margin-bottom: 24px;
  }

  .crypto-quotes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .crypto-quote-card {
    padding: 20px;
    gap: 14px;
  }

  .crypto-quote-card__symbol {
    font-size: 17px;
  }

  .crypto-quote-card__price {
    font-size: 22px;
  }

  .crypto-quote-card__change {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crypto-quote-card,
  .crypto-quotes-live__dot,
  .crypto-quote-card__skeleton span {
    animation: none;
    transition: none;
  }
}
