#performance {
  margin-top: var(--spacing-32);
  position: relative;
  overflow: hidden;
}

.perf__star {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.perf__star--left {
  left: 8rem;
  bottom: 24rem;
  width: 47px;
}

.perf__star--right {
  right: 5rem;
  bottom: 12rem;
  width: 80px;
}

@media screen and (max-width: 1600px) {
  .perf__star--left,
  .perf__star--right {
    display: none;
  }
}

.performance__container {
  position: relative;
  max-width: 1196px;
  margin: 0 auto;
  padding: 0 var(--spacing-40);
  padding-top: 35px;
  height: 810px;
  overflow: hidden;
  background-image: url("../../../../image/index/circle.svg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  visibility: hidden;
}

.performance__container.is-ready {
  visibility: visible;
}

.performance__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.performance__more {
  display: none;
  align-items: center;
  gap: var(--spacing-4);
  color: var(--color-brand-blue-450);
  font-size: var(--font-size-component-md);
  font-weight: 500;
  line-height: var(--line-height-component-md);
  text-decoration: none;
}

.performance__more:hover {
  color: var(--color-brand-blue-500);
}

.performance__title {
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: var(--line-height-h1);
  letter-spacing: 0px;
  color: var(--color-neutral-800);
  margin: 0;
}

.perf-btn {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: var(--color-brand-blue-50);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  top: 22%;
  color: #007aa7;
  transition: transform 0.3s;
}

.perf-btn:hover {
  transform: scale(1.1);
}

.perf-btn--prev {
  left: 24%;
}

.perf-btn--next {
  right: 24%;
}

.perf-center {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  width: 442px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.perf-content {
  width: 100%;
  text-align: center;
  transition:
    opacity 0.35s,
    transform 0.35s;
}

.perf-content__title {
  font-size: var(--font-size-d1);
  font-weight: 700;
  line-height: var(--line-height-d1);
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: var(--color-brand-blue-450);
  margin-bottom: var(--spacing-8);
}

.perf-content__detail {
  text-align: left;
}

.perf-line {
  width: 100%;
  height: 1px;
  background: var(--color-neutral-300);
  margin-bottom: var(--spacing-16);
}

.perf-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-8);
  color: var(--color-neutral-800);
  font-size: var(--font-size-h4);
  font-weight: 500;
  line-height: var(--line-height-h4);
  letter-spacing: 0px;
  vertical-align: middle;
}

.perf-row::before {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  background: #70e1f2;
  align-self: center;
  margin-top: 22px;
}

.perf-row span:not(.perf-unit) {
  color: var(--color-brand-green-400);
  font-size: var(--font-size-d1);
  font-weight: 700;
  line-height: var(--line-height-d1);
  letter-spacing: 0px;
  align-self: flex-end;
  margin-bottom: -10px;
}

.perf-unit {
  color: #5e5f6b;
  font-size: var(--font-size-component-sm);
  line-height: 1.6;
  align-self: flex-end;
}

.perf-sub {
  margin: 0 0 var(--spacing-16) var(--spacing-16);
  color: #5e5f6b;
  font-size: var(--font-size-component-sm);
  line-height: 1.6;
}

.perf-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-32);
}

.perf-more {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-4);
  color: var(--color-brand-blue-450);
  font-size: var(--font-size-component-md);
  font-weight: 500;
  line-height: var(--line-height-component-md);
  text-decoration: none;
}

.perf-more:hover {
  color: var(--color-brand-blue-500);
}

.perf-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 15;
}

.perf-orbit__item {
  --item-w: min(516px, 35.8vw);
  --item-h: min(362px, 25.1vw);
  position: absolute;
  width: var(--item-w);
  height: var(--item-h);
  left: calc(var(--item-w) / -2);
  top: calc(var(--item-h) / -2 + 14rem);
}

.perf-orbit__inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.perf-orbit__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media screen and (max-width: 1279px) {
  .performance__container {
    height: 774px;
  }
}

@media screen and (max-width: 1280px) {
  .perf-orbit__item {
    --item-w: min(516px, 42vw);
    --item-h: min(362px, 29.5vw);
  }

  .perf-center {
    width: 422px;
    bottom: 80px;
  }

  .perf-btn--prev {
    left: 20%;
  }

  .perf-btn--next {
    right: 22%;
  }
}

@media screen and (max-width: 1024px) {
  .perf-orbit__item {
    top: calc(var(--item-h) / -2 + 13rem);
  }

  .perf-center {
    width: 422px;
    bottom: 50px;
  }

  .perf-btn--prev {
    left: 22%;
    top: 30%;
  }

  .perf-btn--next {
    right: 22%;
    top: 30%;
  }
}

@media screen and (max-width: 1023px) {
  .perf-orbit {
    top: 58%;
  }

  .perf-orbit__item {
    top: calc(var(--item-h) / -2 + 9rem);
  }

  .performance__container {
    padding: 24px var(--spacing-24) 0;
  }

  .perf-btn {
    top: 30%;
  }

  .perf-btn--prev {
    left: 12%;
  }

  .perf-btn--next {
    right: 14%;
  }
}

@media screen and (max-width: 900px) {
  .performance__container {
    height: 590px;
    margin-bottom: 30px;
    padding: 0 40px;
  }

  .perf-orbit {
    top: 56%;
  }

  .perf-orbit__item {
    --item-w: 388px;
    --item-h: calc(388px * 362 / 516);
    top: calc(var(--item-h) / -2 + 9rem);
  }

  .perf-line {
    margin-bottom: 8px;
  }

  .perf-row {
    font-size: 15px;
  }

  .perf-sub {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .perf-row span:not(.perf-unit) {
    font-size: 30px;
  }

  .perf-more-wrap {
    margin-top: 0;
  }

  .perf-center {
    width: 330px;
    bottom: -5px;
  }
}

@media screen and (max-width: 768px) {
  .perf-btn--prev {
    left: 18%;
  }

  .perf-btn--next {
    right: 18%;
  }
}

@media screen and (max-width: 767px) {
  .perf-orbit__item {
    --item-w: 258px;
    --item-h: calc(var(--item-w) * 362 / 516);
  }

  .perf-more-wrap {
    display: none;
  }

  .performance__more {
    display: inline-flex;
  }

  .perf-btn {
    top: 28%;
  }

  .perf-btn--prev {
    left: 24%;
  }

  .perf-btn--next {
    right: 24%;
  }

  .perf-center {
    width: 330px;
    bottom: 4rem;
  }
}

@media screen and (max-width: 767px) {
  .performance__container {
    background-size: 762px;
    background-position: bottom center;
  }
}

@media screen and (min-width: 552px) and (max-width: 767px) {
  .performance__container {
    background-size: 772px auto;
    padding: 0 20px;
  }
}

@media screen and (max-width: 700px) {
  .perf-btn--prev {
    left: 12%;
  }

  .perf-btn--next {
    right: 12%;
  }
}

@media screen and (max-width: 500px) {
  .perf-btn--prev {
    left: 4%;
    top: 28%;
  }

  .perf-btn--next {
    right: 4%;
    top: 28%;
  }
}

@media screen and (max-width: 480px) {
  .performance__container {
    background-size: 180% auto;
    margin-bottom: -40px;
  }
}

@media screen and (max-width: 390px) {
  .performance__container {
    background-size: 198% auto;
    margin-bottom: -30px;
  }

  .perf-btn--prev {
    left: 3%;
  }

  .perf-btn--next {
    right: 3%;
  }

  .perf-center {
    width: 318px;
    bottom: 4rem;
  }

  .perf-orbit__item {
    top: calc(var(--item-h) / -2 + 11rem);
  }
}

@media screen and (max-width: 600px) {
  .perf-center {
    width: 334px;
    bottom: 4rem;
  }

  .perf-row::before {
    margin-top: 4px;
  }

  .perf-orbit__item {
    --item-w: 258px;
    --item-h: calc(258px * 362 / 516);
  }

  .perf-orbit {
    top: 54%;
  }
}

@media screen and (max-width: 330px) {
  .performance__container {
    background-size: 238% auto;
    margin-bottom: -30px;
  }

  .perf-center {
    width: 298px;
    bottom: 0px;
    top: 17rem;
    align-items: baseline;
  }

  .perf-orbit__item {
    --item-w: 188px;
    --item-h: calc(188px * 362 / 516);
  }

  .perf-orbit {
    top: 48%;
  }

  .perf-btn--prev {
    left: 3%;
    top: 26%;
  }

  .perf-btn--next {
    right: 3%;
    top: 26%;
  }
}
