.xperia-service-section {
  width: 100%;
  overflow: hidden;
}

.xperia-service-slider {
  width: 100%;
  overflow: hidden;
}

.xperia-service-slider__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.xperia-service-slider__viewport.is-draggable {
  cursor: grab;
}

.xperia-service-slider__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.xperia-service-slider__viewport.is-dragging * {
  user-select: none;
}

.xperia-service-slider__viewport::-webkit-scrollbar {
  display: none;
}

.xperia-service-slider__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding: 0 0px 44px;
}

.xperia-service-card {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  width: 390px;
  min-width: 390px;
  height: 560px;
  padding: 20px 24px 30px;

  background: #000307;
  border: 1px solid rgba(113, 255, 215, 0.1);
  border-radius: 24px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 45px rgba(0, 0, 0, 0.38);
}

.xperia-service-card__bottom-gradient {
  position: absolute;
  width: 400px;
  height: 235px;
  left: calc(50% - 400px / 2);
  bottom: 0;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: matrix(1, 0, 0, -1, 0, 0);

  z-index: 0;
  pointer-events: none;
}

.xperia-service-card__top-glow {
  position: absolute;
  width: 485px;
  height: 235px;
  left: calc(50% - 485px / 2 + 0.5px);
  top: -78.5px;

  background: radial-gradient(
    50% 50% at 50% 50%,
    #71ffd7 0%,
    rgba(52, 211, 153, 0) 100%
  );
  opacity: 0.3;
  filter: blur(32px);
  border-radius: 999999px;

  z-index: 1;
  pointer-events: none;
}

.xperia-service-card__image-wrap {
  position: relative;
  z-index: 2;

  width: 340px;
  height: 205.14px;
  margin: -20px 0;

  display: flex;
  align-items: center;
  justify-content: center;

  align-self: stretch;
  flex: none;
}

.xperia-service-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.xperia-service-card__image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: radial-gradient(
    circle at center,
    rgba(113, 255, 215, 0.35),
    rgba(113, 255, 215, 0.04) 52%,
    rgba(0, 0, 0, 0) 72%
  );
}

.xperia-service-card__content-wrap {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;

  width: 340px;
  height: 320px;
  margin: 0 auto;

  flex: none;
  align-self: stretch;
}

.xperia-service-card__divider {
  width: 340px;
  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(110, 231, 183, 0) 0%,
    rgba(110, 231, 183, 0.5) 50%,
    rgba(110, 231, 183, 0) 100%
  );

  flex: none;
  align-self: stretch;
}

.xperia-service-card__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;

  width: 340px;
  height: 235px;

  flex: none;
  align-self: stretch;
}

.xperia-service-card__title {
  width: 340px;
  margin: 0;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;

  color: #ffffff;

  flex: none;
  align-self: stretch;
}

.xperia-service-card__description {
  width: 340px;
  margin: 0;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: -0.02em;

  color: #aaaaaa;

  flex: none;
  align-self: stretch;
}

.xperia-service-card__list {
  width: 340px;
  margin: 0;
  padding-left: 24px;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: -0.02em;

  color: #ffffff;

  flex: none;
  align-self: stretch;
}

.xperia-service-card__list li {
  margin: 0;
  padding-left: 0;
}

.xperia-service-card__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;

  width: 120px;
  height: 22px;

  text-decoration: none;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.02em;

  color: #71ffd7;

  flex: none;
}

.xperia-service-card__link:hover {
  color: #71ffd7;
  opacity: 0.85;
}

.xperia-service-card__link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #71ffd7;
}

.xperia-service-card__link span {
  color: #71ffd7;
}

.xperia-service-slider__progress {
  position: relative;
  width: calc(100% - 64px);
  height: 2px;
  margin: 0 32px;

  background: rgba(113, 255, 215, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.xperia-service-slider__progress-bar {
  width: 20%;
  height: 100%;

  background: #71ffd7;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(113, 255, 215, 0.8);

  transition:
    width 0.2s ease,
    transform 0.2s ease;
}

.xperia-service-card__description {
  width: 340px;
  margin: 0;

  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: -0.02em;

  color: #aaaaaa;
}

.xperia-service-card__list {
  width: 340px;
  margin: 0;
  padding-left: 24px;

  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: -0.02em;

  color: #ffffff;
}

.xperia-service-card__list li {
  margin: 0;
  padding-left: 0;
}

.xperia-service-slider {
  width: 100%;
  overflow: hidden;
}

.xperia-service-slider__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;

  /* scrollbar visible */
  scrollbar-width: thin;
  scrollbar-color: #71ffd7 rgba(113, 255, 215, 0.1);
}

.xperia-service-slider__viewport::-webkit-scrollbar {
  height: 2px;
}

.xperia-service-slider__viewport::-webkit-scrollbar-track {
  background: rgba(113, 255, 215, 0.1);
  border-radius: 100px;
  margin: 0 32px;
}

.xperia-service-slider__viewport::-webkit-scrollbar-thumb {
  background: #71ffd7;
  border-radius: 100px;
  box-shadow: 0 0 10px rgba(113, 255, 215, 0.8);
}

.xperia-service-slider__viewport::-webkit-scrollbar-thumb:hover {
  background: #71ffd7;
}



@media (max-width: 767px) {
  .xperia-service-slider__track {
    gap: 16px;
  }

  .xperia-service-card {
    width: 85vw;
    min-width: 85vw;
    max-width: 390px;
    height: 600px;
    padding: 20px 24px 30px;
  }

  .xperia-service-card__image-wrap,
  .xperia-service-card__content-wrap,
  .xperia-service-card__divider,
  .xperia-service-card__text,
  .xperia-service-card__title,
  .xperia-service-card__description,
  .xperia-service-card__list {
    width: 100%;
  }

  .xperia-service-slider__progress {
    width: calc(100% - 32px);
    margin: 0 16px;
  }
}
