:root {
  --cs-bg: #262626;
  --cs-bg-soft: #2f2f2f;
  --cs-bg-deep: #1f1f1f;
  --cs-line: rgba(255, 255, 255, 0.07);
  --cs-text: #ededed;
  --cs-muted: #9b9b9b;
  --cs-accent: #ef6a45;
  --cs-accent-2: #ffb36b;
  --cs-grad: linear-gradient(90deg, #ef6a45 0%, #ffb36b 100%);
  --cs-orange: #ffab3d;
  --cs-red: #ff5f6d;
  --cs-purple: #a970ff;
  --cs-blue: #4d9cff;
  --cs-military: #7b8794;
}

.cases-hero,
.cases-top,
.cases-block {
  border-radius: 18px;
  background: linear-gradient(160deg, #2c2c2c 0%, #232323 100%);
  border: 1px solid var(--cs-line);
}

.cases-top {
  overflow: hidden;
  margin-bottom: 30px;
}

.cases-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 40px 50px;
  margin-bottom: 14px;
}

.cases-hero:before {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 106, 69, 0.22) 0%, rgba(239, 106, 69, 0) 70%);
  pointer-events: none;
}

.cases-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 30px;
}

.cases-hero__text {
  flex: 1 1 auto;
  min-width: 0;
}

.cases-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 40px;
  border: 1px solid rgba(239, 106, 69, 0.45);
  background: rgba(239, 106, 69, 0.09);
  color: var(--cs-accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cases-badge i {
  font-size: 16px;
}

.cases-hero__title {
  margin: 22px 0 0;
  padding: 0;
  background: transparent;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  color: #fff;
}

.cases-hero__title span {
  background: var(--cs-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cases-hero__desc {
  margin: 18px 0 0;
  max-width: 520px;
  color: var(--cs-muted);
  font-size: 15px;
  line-height: 1.6;
}

.cases-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cases-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
  color: #fff;
}

.cases-btn i {
  font-size: 20px;
}

.cases-btn--main {
  background: var(--cs-grad);
  box-shadow: 0 12px 30px -12px rgba(239, 106, 69, 0.9);
}

.cases-btn--main:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(239, 106, 69, 1);
}

.cases-btn--ghost {
  background: #363636;
  border: 1px solid var(--cs-line);
  color: var(--cs-text);
}

.cases-btn--ghost:hover {
  color: var(--cs-accent-2);
  background: #3d3d3d;
}

.cases-hero__art {
  position: relative;
  flex: 0 0 300px;
  height: 260px;
}

.cases-hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.cases-hero__ring--1 {
  width: 250px;
  height: 250px;
  animation: cs-pulse 9s ease-in-out infinite;
  animation-delay: -4.5s;
}

.cases-hero__ring--2 {
  width: 180px;
  height: 180px;
  border-color: rgba(239, 106, 69, 0.25);
  animation: cs-pulse 6s ease-in-out infinite;
}

.cases-hero__box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  background: var(--cs-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 26px rgba(239, 106, 69, 0.35));
}

@keyframes cs-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.07);
    opacity: 0.45;
  }
}

@keyframes cs-float-chip {
  0%, 100% {
    transform: translateY(-9px) rotate(-3deg);
  }
  50% {
    transform: translateY(9px) rotate(3deg);
  }
}

.cases-hero__chip {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #1c1c1c;
  border: 1px solid var(--cs-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--cs-accent-2);
  animation: cs-float-chip 5.5s ease-in-out infinite;
}

.cases-hero__chip--1 {
  top: 10px;
  left: 0;
  animation-duration: 6.5s;
  animation-delay: -1.2s;
}

.cases-hero__chip--2 {
  top: 20px;
  right: 0;
  animation-duration: 5s;
  animation-delay: -3.4s;
}

.cases-hero__chip--3 {
  bottom: 20px;
  right: 40px;
  animation-duration: 7.5s;
  animation-delay: -2.1s;
}

.cases-steps {
  display: flex;
  overflow: hidden;
}

.cases-step {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  overflow: hidden;
}

.cases-step + .cases-step {
  border-left: 1px solid var(--cs-line);
}

.cases-step__num {
  position: absolute;
  right: 18px;
  top: 6px;
  font-size: 40px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
}

.cases-step__ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(239, 106, 69, 0.12);
  color: var(--cs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.cases-step__cap {
  min-width: 0;
}

.cases-step__cap b {
  display: block;
  color: #fff;
  font-size: 16px;
}

.cases-step__cap span {
  display: block;
  color: var(--cs-muted);
  font-size: 12.5px;
  margin-top: 2px;
}

.cases-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0 18px;
}

.cases-top .cases-section-head {
  padding: 0 24px;
  margin: 26px 0 18px;
}

.cases-eyebrow {
  display: block;
  color: var(--cs-accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.cases-h2 {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
}

.cases-h2 .cases-num {
  color: rgba(255, 255, 255, 0.18);
  margin-right: 10px;
}

.cases-section-head hr {
  flex: 1 1 auto;
  height: 1px;
  border: 0;
  margin: 0 0 10px;
  background: var(--cs-line);
}

.cases-rewards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--cs-line);
}

.cases-reward {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px;
}

.cases-reward + .cases-reward {
  border-left: 1px solid var(--cs-line);
}

.cases-reward__ico {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(239, 106, 69, 0.12);
  color: var(--cs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.cases-reward b {
  display: block;
  color: #fff;
  font-size: 15px;
}

.cases-reward span {
  display: block;
  color: var(--cs-muted);
  font-size: 12.5px;
  line-height: 1.45;
  margin-top: 3px;
}

.cases-block {
  padding: 26px;
  margin-bottom: 30px;
}

.cases-block .loader {
  margin: 30px auto;
}

#cases > p,
#cases_not_open > p,
#subjects > p {
  width: 100%;
  margin: 20px 0 0 15px;
  color: var(--cs-muted);
  font-size: 15px;
  font-weight: 600;
}

.case-card {
  position: relative;
  display: block;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #2e2e2e 0%, #262626 100%);
  border: 1px solid var(--cs-line);
  transition: 0.3s;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 106, 69, 0.75);
  box-shadow: 0 0 0 1px rgba(239, 106, 69, 0.35), 0 18px 50px -18px rgba(239, 106, 69, 0.55), 0 22px 40px -22px rgba(0, 0, 0, 0.9);
}

.case-card__img {
  position: relative;
  height: 215px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 115%, rgba(239, 106, 69, 0.2) 0%, rgba(26, 26, 26, 0) 62%), #1a1a1a;
}

.case-card__img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  transition: 0.35s;
}

.case-card:hover .case-card__img img {
  transform: scale(1.04);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55));
}

.case-card__opens {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--cs-line);
  color: #d9d9d9;
  font-size: 12px;
  font-weight: 600;
}

.case-card__opens i {
  font-size: 15px;
}

.case-card__body {
  padding: 18px;
}

.case-card__name {
  display: block;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.case-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 11px;
  background: rgba(239, 106, 69, 0.11);
  border: 1px solid rgba(239, 106, 69, 0.18);
}

.case-card__price span {
  color: var(--cs-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.case-card__price b {
  color: var(--cs-accent-2);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.case-card__price b.is-free {
  color: #5fd08a;
}

.case-card__go {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cs-line);
  color: var(--cs-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.case-card__go i {
  color: var(--cs-accent);
  font-size: 20px;
  transition: 0.3s;
}

.case-card:hover .case-card__go i {
  transform: translateX(6px);
}

.case-open {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #2c2c2c 0%, #232323 100%);
  border: 1px solid var(--cs-line);
  margin-bottom: 30px;
}

.case-open__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--cs-line);
  background: linear-gradient(90deg, rgba(239, 106, 69, 0.1) 0%, rgba(239, 106, 69, 0) 60%);
}

.case-open__back {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #363636;
  border: 1px solid var(--cs-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cs-text);
  transition: 0.25s;
}

.case-open__back:hover {
  color: var(--cs-accent-2);
  background: #3d3d3d;
}

.case-open__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.case-open__caption {
  flex: 1 1 auto;
  min-width: 0;
}

.case-open__caption h1 {
  margin: 4px 0 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.case-open__caption p {
  margin: 4px 0 0;
  color: var(--cs-muted);
  font-size: 13.5px;
}

.case-open__body {
  padding: 26px;
}

.roulette {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.roulette__note,
.roulette__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--cs-muted);
  font-size: 12.5px;
}

.roulette__note {
  width: max-content;
  margin: 0 auto 18px;
  padding: 9px 18px;
  border-radius: 40px;
  background: #2b2b2b;
  border: 1px solid var(--cs-line);
}

.roulette__hint {
  margin-top: 16px;
}

.roulette__note i,
.roulette__hint i {
  color: var(--cs-accent);
  font-size: 16px;
}

.roulette > #sound-point {
  position: absolute;
  right: 18px;
  top: 70px;
  z-index: 30;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #333333;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  border: 1px solid var(--cs-line);
  opacity: 0.6;
  cursor: pointer;
  transition: 0.25s;
}

.roulette > #sound-point.sound-on {
  background-image: url(../img/icon-sound-on.png);
}

.roulette > #sound-point.sound-off {
  background-image: url(../img/icon-sound-off.png);
}

.roulette > #sound-point:hover {
  opacity: 1;
}

.roulette .roulette-slider {
  position: relative;
  padding: 26px 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #2b2b2b 0%, #242424 100%);
  border: 1px solid var(--cs-line);
}

.roulette .roulette-slider .top-arr {
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  z-index: 20;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(239, 106, 69, 0) 0%, var(--cs-accent-2) 18%, var(--cs-accent-2) 82%, rgba(239, 106, 69, 0) 100%);
  box-shadow: 0 0 18px 2px rgba(255, 179, 107, 0.55);
}

.roulette .roulette-slider .top-arr:before,
.roulette .roulette-slider .top-arr:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}

.roulette .roulette-slider .top-arr:before {
  top: -8px;
  border-top: 10px solid var(--cs-accent-2);
}

.roulette .roulette-slider .top-arr:after {
  bottom: -8px;
  border-bottom: 10px solid var(--cs-accent-2);
}

.roulette .roulette-slider .bottom-arr {
  display: none;
}

.roulette .roulette-slider .roulette-area {
  position: relative;
  overflow: hidden;
  height: 220px;
  border-radius: 14px;
}

.roulette .roulette-slider .roulette-area:before,
.roulette .roulette-slider .roulette-area:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 170px;
  z-index: 10;
  pointer-events: none;
}

.roulette .roulette-slider .roulette-area:before {
  left: 0;
  background: linear-gradient(90deg, #2a2a2a 0%, #2a2a2a 45%, rgba(42, 42, 42, 0.75) 72%, rgba(42, 42, 42, 0) 100%);
}

.roulette .roulette-slider .roulette-area:after {
  right: 0;
  background: linear-gradient(270deg, #2a2a2a 0%, #2a2a2a 45%, rgba(42, 42, 42, 0.75) 72%, rgba(42, 42, 42, 0) 100%);
}

.roulette .roulette-slider .roulette-area #roulette {
  position: relative;
  width: 190px;
  height: 210px;
  margin: 0 auto;
  top: 5px;
}

.roulette .roulette-slider .roulette-area #roulette .roulette-inner {
  position: relative;
  top: 0;
  height: 100%;
  width: max-content;
  display: flex;
  align-items: flex-start;
  white-space: nowrap;
  transition: 0s linear;
}

#roulette .subject-block {
  flex: 0 0 auto;
}

button.open-case {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 26px auto 0;
  min-width: 420px;
  height: 66px;
  padding: 0 30px;
  border: 0;
  border-radius: 14px;
  background: var(--cs-grad);
  box-shadow: 0 16px 36px -14px rgba(239, 106, 69, 0.95);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

button.open-case i {
  font-size: 20px;
}

button.open-case .open-case__price {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

button.open-case:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(239, 106, 69, 1);
}

button.open-case[disabled] {
  cursor: no-drop;
  background: #333333;
  color: #8d8d8d;
  box-shadow: none;
  transform: none;
}

#case-subjects {
  margin-top: 34px;
}

#subjects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

#subjects .subject-block {
  position: relative;
  display: block;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 92px;
  margin: 0;
  padding: 14px 16px 14px 84px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(150deg, #2f2f2f 0%, #262626 100%);
  border: 1px solid var(--cs-line);
  text-align: left;
  transition: 0.25s;
}

#subjects .subject-block:hover {
  transform: translateY(-3px);
  background: linear-gradient(150deg, #343434 0%, #2a2a2a 100%);
}

#subjects .subject-block > .subject-services,
#subjects .subject-block > .subject-services .subject-fix {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
}

#subjects .subject-block .subject {
  cursor: pointer;
}

#subjects .subject-block .subject + .subject {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--cs-line);
}

#subjects .subject-block .subject span {
  display: block;
  width: 100%;
  text-align: left;
}

#roulette .subject-block,
#prize_area .subject-block {
  position: relative;
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  width: 180px;
  height: 200px;
  margin: 5px;
  border-radius: 16px;
  background: linear-gradient(160deg, #3d3d3d 0%, #313131 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
  white-space: normal;
}

#roulette .subject-block > .subject-services,
#prize_area .subject-block > .subject-services {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px 12px 20px;
}

#roulette .subject-block > .subject-services .subject-fix,
#prize_area .subject-block > .subject-services .subject-fix {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
}

#roulette .subject-block .subject span,
#prize_area .subject-block .subject span {
  display: block;
  width: 100%;
  text-align: center;
}

.subject-block .subject {
  position: relative;
  width: 100%;
  min-width: 0;
}

.subject-block .subject span:nth-of-type(1) {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.subject-block .subject span:nth-of-type(2),
.subject-block .subject span:nth-of-type(3) {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.subject-block .b-top,
.subject-block .b-right {
  display: none;
}

.subject-block .b-left,
.subject-block .b-bottom {
  position: absolute;
  display: block;
}

#subjects .subject-block .b-left {
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

#subjects .subject-block .b-bottom {
  display: none;
}

#roulette .subject-block .b-left,
#prize_area .subject-block .b-left {
  display: none;
}

#roulette .subject-block .b-bottom,
#prize_area .subject-block .b-bottom {
  left: 26%;
  right: 26%;
  bottom: 12px;
  height: 3px;
  border-radius: 3px;
}

.subject-block .subject:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  display: block;
  line-height: 1;
}

#subjects .subject-block .subject:before {
  position: absolute;
  left: -68px;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 22px;
  line-height: 52px;
  text-align: center;
}

#subjects .subject-block .subject + .subject:before {
  display: none;
}

#roulette .subject-block .subject:before,
#prize_area .subject-block .subject:before {
  margin: 0 auto 12px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 24px;
  line-height: 54px;
  text-align: center;
}

.subject-block .s-privilege:before {
  content: "\f521";
}

.subject-block .s-money:before {
  content: "\f555";
}

.subject-block .s-discount:before {
  content: "\f541";
}

.subject-block .s-item:before {
  content: "\f1b2";
}

.subject-block .s-rcon:before {
  content: "\f120";
}

.subject-block.orange .b-left,
.subject-block.orange .b-bottom {
  background: var(--cs-orange);
}

.subject-block.orange .subject:before {
  color: var(--cs-orange);
}

.subject-block.red .b-left,
.subject-block.red .b-bottom {
  background: var(--cs-red);
}

.subject-block.red .subject:before {
  color: var(--cs-red);
}

.subject-block.purple .b-left,
.subject-block.purple .b-bottom {
  background: var(--cs-purple);
}

.subject-block.purple .subject:before {
  color: var(--cs-purple);
}

.subject-block.blue .b-left,
.subject-block.blue .b-bottom {
  background: var(--cs-blue);
}

.subject-block.blue .subject:before {
  color: var(--cs-blue);
}

.subject-block.military .b-left,
.subject-block.military .b-bottom {
  background: var(--cs-military);
}

.subject-block.military .subject:before {
  color: var(--cs-military);
}

#prize .modal-content {
  border: 1px solid var(--cs-line);
  border-radius: 18px;
  background: linear-gradient(160deg, #2c2c2c 0%, #232323 100%);
}

#prize .modal-content h4 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

#prize .modal-content #prize_area {
  padding: 26px 0;
  text-align: center;
}

#prize .modal-content #prize_area .subject-block {
  transform: scale(1.15);
}

#prize .modal-content #prize_area .subject-block.orange {
  box-shadow: 0 0 34px -6px var(--cs-orange);
}

#prize .modal-content #prize_area .subject-block.red {
  box-shadow: 0 0 34px -6px var(--cs-red);
}

#prize .modal-content #prize_area .subject-block.purple {
  box-shadow: 0 0 34px -6px var(--cs-purple);
}

#prize .modal-content #prize_area .subject-block.blue {
  box-shadow: 0 0 34px -6px var(--cs-blue);
}

#prize .modal-content #prize_area .subject-block.military {
  box-shadow: 0 0 34px -6px var(--cs-military);
}

#prize .modal-content .close {
  color: #ffffff;
}

#prize .modal-content p {
  color: var(--cs-muted);
  font-size: 13.5px;
  text-align: center;
}

.modal-backdrop-blur {
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
}

.cases_scroll_modal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

#my_cases_area {
  background: transparent;
  border-radius: 5px;
}

#my_cases_area .opened-case {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  flex-wrap: wrap;
  width: calc(50% - 5px);
  margin: 0;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cs-line);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
}

#my_cases_area .opened-case .case-img {
  float: left;
  width: 84px;
}

#my_cases_area .opened-case .case-img img {
  width: 100%;
}

#my_cases_area .opened-case .case-info {
  float: right;
  width: calc(100% - 94px);
}

#my_cases_area .opened-case .case-info h3 {
  margin: 0;
  font-size: 15px;
}

#my_cases_area .opened-case .case-info .subject {
  display: block;
  width: 100%;
  margin-top: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#my_cases_area small {
  color: var(--cs-accent-2);
  font-size: 10px;
  font-weight: 600;
}

.case-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(160deg, #2c2c2c 0%, #232323 100%);
  border: 1px solid var(--cs-line);
}

.case-banner a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 30px 24px;
  white-space: normal;
}

.case-banner h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  text-align: center;
}

.case-banner p {
  color: var(--cs-muted);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.case-banner img {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto 18px;
}

@media (prefers-reduced-motion: reduce) {
  .cases-hero__chip,
  .cases-hero__ring {
    animation: none;
  }
}

@media (max-width: 1399.98px) {
  #subjects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1199.98px) {
  .cases-rewards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases-reward + .cases-reward {
    border-left: 0;
  }
  .cases-reward:nth-child(even) {
    border-left: 1px solid var(--cs-line);
  }
  .cases-reward:nth-child(n+3) {
    border-top: 1px solid var(--cs-line);
  }
}

@media (max-width: 991.98px) {
  .cases-hero {
    padding: 32px 24px 36px;
  }
  .cases-hero__art {
    display: none;
  }
  .cases-hero__title {
    font-size: 34px;
  }
  .cases-steps {
    flex-direction: column;
  }
  .cases-step + .cases-step {
    border-left: 0;
    border-top: 1px solid var(--cs-line);
  }
  .cases-section-head {
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .cases-section-head hr {
    display: none;
  }
  .cases-h2 {
    font-size: 22px;
    white-space: normal;
  }
  .cases-block {
    padding: 18px;
  }
  .case-open__head {
    flex-wrap: wrap;
    padding: 18px;
  }
  .case-open__caption h1 {
    font-size: 22px;
  }
  .case-open__history {
    width: 100%;
    justify-content: center;
  }
  .case-open__body {
    padding: 18px;
  }
  button.open-case {
    min-width: 0;
    width: 100%;
    height: 58px;
    font-size: 14px;
  }
  .roulette .roulette-slider .roulette-area:before,
  .roulette .roulette-slider .roulette-area:after {
    width: 70px;
  }
  .roulette__note {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
  .cases-top .cases-section-head {
    padding: 0 18px;
    margin: 20px 0 14px;
  }
  #subjects {
    grid-template-columns: 1fr;
  }
  #my_cases_area .opened-case {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .cases-rewards {
    grid-template-columns: 1fr;
  }
  .cases-reward:nth-child(even) {
    border-left: 0;
  }
  .cases-reward + .cases-reward {
    border-top: 1px solid var(--cs-line);
  }
  .cases-hero {
    padding: 26px 18px 30px;
  }
  .cases-hero__title {
    font-size: 28px;
  }
  .cases-hero__desc {
    font-size: 14px;
  }
  .cases-hero__actions .cases-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .cases-step,
  .cases-reward {
    padding: 18px;
  }
  .cases-top .cases-section-head {
    padding: 0 14px;
  }
  .cases-block {
    padding: 14px;
  }
  .case-card__img {
    height: 220px;
  }
  .case-open__head {
    gap: 12px;
    padding: 16px;
  }
  .case-open__back {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  .case-open__thumb {
    width: 52px;
  }
  .case-open__caption h1 {
    font-size: 19px;
  }
  .case-open__caption p {
    font-size: 12.5px;
  }
  .case-open__body {
    padding: 14px;
  }
  .roulette__note,
  .roulette__hint {
    font-size: 11.5px;
  }
  .roulette__note {
    padding: 8px 14px;
  }
  .roulette .roulette-slider .roulette-area:before,
  .roulette .roulette-slider .roulette-area:after {
    width: 42px;
  }
  button.open-case {
    gap: 10px;
    padding: 0 16px;
    font-size: 13px;
    letter-spacing: 0.6px;
  }
  button.open-case .open-case__price {
    padding-left: 10px;
  }
  #subjects .subject-block {
    padding-left: 76px;
  }
}
