.panel-carousel-section {
  padding: 35px 0 125px;

  background: var(--black);
}

.panel-carousel {
  margin-top: 28px;
}

.market-ticker {
  margin-top: 18px;
  padding: 14px 18px;

  border: 1px solid rgba(205, 160, 76, 0.22);
  border-radius: 18px;

  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.92), rgba(5, 5, 6, 0.98));
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.32);
}

.market-ticker-viewport {
  overflow: hidden;
}

.market-ticker-track {
  display: flex;
  width: max-content;

  animation: marketTickerScroll 18s linear infinite;
}

.market-ticker-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}

.market-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0;

  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.market-ticker-item strong {
  color: var(--gold-light);

  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-right: 12px;
}

.market-ticker-value {
  margin-right: 12px;
  font-size: 0.84rem;
  line-height: 1;
}

.market-ticker-arrow {
  margin-right: 10px;
  font-size: 0.82rem;
  line-height: 1;
}

.market-ticker-change {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1;
}

.market-ticker-separator {
  margin-left: 14px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  line-height: 1;
}

.market-ticker-item.rise {
  color: #7dff9d;
}

.market-ticker-item.fall {
  color: #ff8a8a;
}

@keyframes marketTickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.panel-carousel-viewport {
  overflow: hidden;
  scrollbar-width: none;

  -ms-overflow-style: none;

  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.panel-carousel-viewport:active {
  cursor: grabbing;
}

.panel-carousel-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: max-content;

  will-change: transform;
  transform: translateX(0);
  transition: none;
}

.panel-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(340px, 27vw, 440px);
  height: clamp(210px, 18vw, 270px);

  border-radius: 24px;
  border: 1px solid rgba(205, 160, 76, 0.22);
  overflow: hidden;

  background: #09090b;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 24px 50px rgba(0, 0, 0, 0.45);

  scroll-snap-align: start;
}

.panel-card img {
  position: absolute;
  inset: 0;

  height: 100%;

  object-fit: cover;
  object-position: center;

  background: #050506;
}

.panel-card img.guild-token-exchange-image {
  object-position: 80% 0%;
}

.panel-card-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 6, 0.05) 0%,
      rgba(5, 5, 6, 0.2) 44%,
      rgba(5, 5, 6, 0.92) 100%
    );
}

.panel-card-copy {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;

  min-height: 100%;
  padding: 30px 30px 32px;
}

.panel-card-kicker {
  margin: 0 0 16px;

  color: var(--gold-light);

  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.panel-card h3 {
  margin: 0;

  min-height: 0;

  color: var(--gold-light);


  max-width: 26ch;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.9vw, 2.1rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.panel-card p {
  max-width: 260px;
  margin: 0;

  color: rgba(244, 239, 228, 0.82);

  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.65;
}

@media (max-width: 1050px) {
  .panel-card {
    width: clamp(320px, 42vw, 380px);
    height: clamp(210px, 26vw, 250px);
  }
}

@media (max-width: 700px) {
  .panel-carousel-section {
    padding: 18px 0 100px;
  }

  .panel-carousel {
    margin-top: 28px;
  }

  .panel-carousel-track {
    gap: 14px;
  }

  .panel-card {
    width: 100%;
    height: 230px;
    border-radius: 20px;
  }

  .panel-card-copy {
    gap: 8px;
    padding: 24px 22px 26px;
  }

  .panel-card h3 {
    font-size: 1.55rem;
  }

  .panel-card p {
    max-width: 240px;
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .market-ticker {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .market-ticker-group {
    gap: 20px;
    padding-right: 20px;
  }

  .market-ticker-item {
    font-size: 0.72rem;
    gap: 7px;
  }
}