:root {
  --swiper-theme-color: var(--purple);
}

.swiper {
  width: 100%;
  height: 300px;
}

.wrapper {
  padding: 30px;
  min-height: 100%;
}

.title {
  font-size: 30px;
  font-weight: 700;
  color: white;
  margin: 0 0 30px 0;
}

.image-slider {
  border-radius: 16px;
}

.image-slider__image {
  text-align: left;
  height: 100%;
}

.image-slider__image p {
  position: absolute;
  bottom: 60px;
  left: 20px;
  font-size: 14px;
  width: 100%;
  text-wrap: nowrap;
  text-shadow: 1px 1px 2px rgb(0 0 0 / 40%);
  -webkit-text-shadow: 1px 1px 2px rgb(0 0 0 / 40%);
}

.image-slider__image h3 {
  position: absolute;
  bottom: 100px;
  left: 20px;
  font-family: "Unbounded";
  font-size: 28px;
  text-shadow: 1px 1px 2px rgb(0 0 0 / 37%);
  -webkit-text-shadow: 1px 1px 2px rgb(0 0 0 / 37%);
}

.image-slider__image img {
  width: 100%;
  height: 100%;
  background-size: cover;
  object-fit: cover;
}

.image-slider .swiper-button-next::after,
.image-slider .swiper-button-prev::after {
  color: rgb(255 255 255 / 50%);
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: rgb(255 255 255 / 50%);
}

.swiper-button-next:active::after,
.swiper-button-prev:active::after {
  transform: scale(0.8);
}

.swiper-button-next,
.swiper-button-prev {
  bottom: 20px !important;
  right: 20px !important;
  top: unset !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50%;
  border: none;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: auto !important;
  right: 60px !important;
}

.swiper-buttons {
  width: 80px;
  position: absolute;
  right: 20px;
  bottom: 18px;
  background: var(--bg-modal);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 45px;
  z-index: 1;
  border-radius: 50px;
}

.image-slider .swiper-pagination {
  bottom: 10px !important;
  right: 10px !important;
  border-radius: 25px !important;
  width: 100% !important;
  height: 9px;
  line-height: 4px;
}

.image-slider .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  line-height: 20px;
  font-size: 14px;
  background-color: rgb(255 255 255 / 80%);
  border-radius: 7px;
  transition: width 0.15s linear;
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
  transform: scale(1);
  width: 18px;
}

.swiper-pagination-bullet-active {
  width: 20px !important;
  transition: width 0.15s linear;
}

.image-slider .swiper-pagination-fraction {
  font-size: 20px;
  color: #fff;
}

.image-slider .swiper-pagination-progressbar-fill {
  background-color: rgb(255 255 255 / 15%) !important;
  border-radius: 25px !important;
}

@media (max-width: 768.9px) {
  .right-swiper__block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    height: 300px;
  }
}

@media (min-width: 769px) {
  .right-swiper__block {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 10px;
  }
}

.right-swiper__second {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
}

.card.right-swiper__store {
  width: 70%;
}

.card.right-swiper__ds {
  width: 30%;
}

.right-swiper__online {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
}

.card.right-swiper__site {
  width: 50%;
}

.card.right-swiper__server {
  width: 50%;
}

.card.right-swiper__sc,
.card.right-swiper__store,
.card.right-swiper__ds,
.card.right-swiper__site,
.card.right-swiper__server {
  display: flex;
  position: relative;
  height: 100%;
  overflow: hidden;
  justify-content: center;
  padding: 0 30px;
  font-family: "Unbounded";
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-custom);
  transition: 0.3s;
}

.card.right-swiper__sc:hover,
.card.right-swiper__store:hover,
.card.right-swiper__ds:hover,
.card.right-swiper__site:hover,
.card.right-swiper__server:hover {
  filter: brightness(115%);
  -webkit-filter: brightness(115%);
}

.card.right-swiper__site,
.card.right-swiper__server {
  cursor: default;
}

.card.right-swiper__ds {
  align-items: center;
}

.card.right-swiper__store {
  color: var(--money);
}

.card.right-swiper__sc img {
  position: absolute;
  right: -122px;
  height: auto;
  width: 100%;
  top: -36px;
  transform: scale(0.9);
}

/* .card.right-swiper__store img {
  position: absolute;
  right: -79px;
  height: auto;
  width: 100%;
  top: -1px;
  transform: scale(1.3);
} */

.card.right-swiper__store img {
  position: absolute;
  right: -9px;
  height: auto;
  width: 40%;
  top: -1px;
  transform: scale(1.3);
}

.card.right-swiper__sc:before,
.card.right-swiper__store:before,
.card.right-swiper__ds:before,
.card.right-swiper__site:before,
.card.right-swiper__server:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(270deg, var(--text-custom), transparent);
  opacity: 0.2;
}

.card.right-swiper__store:before {
  background-image: linear-gradient(270deg, var(--money), transparent);
}

.card.right-swiper__ds:before {
  background-image: linear-gradient(270deg, #5865f2, transparent);
}

.card.right-swiper__site:before {
  background-image: linear-gradient(270deg, var(--green), transparent);
}

.card.right-swiper__server:before {
  background-image: linear-gradient(270deg, var(--purple), transparent);
}

.card.right-swiper__ds svg {
  width: 40px;
  height: auto;
  fill: #5865f2;
  transition: 0.5s ease-in-out;
}

.card.right-swiper__ds:hover svg {
  transform: scale(1.3) rotateZ(360deg);
}

.right-swiper__site svg,
.right-swiper__server svg {
  position: absolute;
  width: 100px;
  height: auto;
  right: -21px;
  fill: var(--green);
  opacity: 0.1;
}

.right-swiper__server svg {
  fill: var(--purple);
}

.card .right-swiper__site,
.card .right-swiper__server {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.swipe-count,
.swipe-count-server {
  font-family: "Unbounded";
  font-size: 30px;
  color: var(--green);
  font-weight: 700;
  margin-top: -3px;
}

.swipe-count-server {
  color: var(--purple);
}

.swipe-title__count,
.swipe-title__count-server {
  font-size: 14px;
  color: var(--green);
  opacity: 0.7;
  font-family: "SF Pro Display", sans-serif;
}

.swipe-title__count-server {
  color: var(--purple);
}

.swiper_action_svg {
  position: absolute;
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--span, #e53935);
  border-radius: 4px;
  left: 12px;
  transition: 0.3s ease-in-out;
  z-index: -1;
}

.swiper_btn svg {
  position: absolute;
  left: 20px;
  height: 8px;
  width: 8px;
  fill: white;
  transition: 0.3s ease-in-out;
}

.swiper_btn:hover svg {
  transform: rotate(45deg);
}

.swiper_btn:hover .swiper_action_svg {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  left: -12px;
}

.image-slider__image .swiper_btn {
  display: flex;
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  align-items: center;
  justify-content: center;
  height: 41px;
  line-height: 41px;
  background: var(--purple);
  padding: 0 20px 0 45px;
  border-radius: 8px;
  color: var(--text-default);
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  cursor: pointer;
  overflow: hidden;
}

.right-swiper__block { min-width: 0; }

.donor-board {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 300px;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--card);
  color: var(--text-default);
}

.donor-board__header {
  display: flex;
  min-height: 37px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--input-form);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.donor-board__header > span { overflow: hidden; text-overflow: ellipsis; }

.donor-board__info {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--span);
  color: var(--text-default-invert);
  font-size: 11px;
  font-weight: 700;
  cursor: help;
}

.donor-board__periods {
  display: grid;
  min-height: 35px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.donor-board__period {
  min-width: 0;
  padding: 0 4px;
  border: 1px solid var(--transparent-10-w);
  border-radius: 10px;
  background: var(--button);
  color: var(--text-custom);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.donor-board__period:hover { background: var(--button-hover); color: var(--text-default); }
.donor-board__period.is-active { border-color: transparent; background: var(--text-default); color: var(--bg); }

.donor-board__rows {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
}

.donor-board__rows[hidden] { display: none !important; }

.donor-board__row {
  position: relative;
  display: flex;
  min-height: 0;
  flex: 1 1 0;
  align-items: center;
  gap: 9px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--transparent-10-w);
  border-radius: 13px;
  background: var(--input-form);
}

.donor-board__avatar {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--transparent-10-w);
  border-radius: 9px;
  background: var(--card);
  color: var(--text-secondary);
  font-size: 21px;
  font-weight: 700;
}

.donor-board__avatar img { width: 100%; height: 100%; object-fit: cover; }

.donor-board__identity {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.donor-board__identity strong {
  overflow: hidden;
  color: var(--top-one);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-board__row--2 .donor-board__identity strong { color: var(--top-two); }
.donor-board__row--3 .donor-board__identity strong { color: var(--top-three); }

.donor-board__identity span {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-board__rank {
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--text-default);
  font-family: "Unbounded", sans-serif;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.donor-board__rank-number {
  font: inherit;
  color: var(--text-default);
  opacity: .075;
  transition: color .3s ease, opacity .3s ease;
}

.donor-board__row:hover .donor-board__rank-number { opacity: 1; }
.donor-board__row--1:hover .donor-board__rank-number { color: var(--top-one); }
.donor-board__row--2:hover .donor-board__rank-number { color: var(--top-two); }
.donor-board__row--3:hover .donor-board__rank-number { color: var(--top-three); }

.donor-board__rank i { margin-right: 5px; font-size: 17px; font-style: normal; color: var(--text-default); opacity: .075; }

@media (max-width: 768.9px) {
  .donor-board { max-width: 100%; }
}
