.sound-status {
    left: 50px;
    position: absolute;
    font-size: 14px;
    color: #fff;
    animation: subtlePulse 4s ease-in-out infinite;
    padding: 4px 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
}

.sound-status_case {
    left: -100px;
    position: absolute;
    font-size: 14px;
    color: #fff;
    animation: subtlePulse 4s ease-in-out infinite;
    padding: 4px 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
        border-color: #3498db;
    }
    50% {
        transform: scale(1.05);
        border-color: #e74c3c;
    }
}

.block.site-stats_custom {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.block_head h3 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.block .block_head {
 align-items: center;
    justify-content: center;
	display: flex;
}

.cases-container {
  display: flex;
  gap: 3px;
  padding: 15px 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  justify-content: center;
}

/* Стили для скроллбара */
.cases-container::-webkit-scrollbar {
  height: 8px;
}

.cases-container::-webkit-scrollbar-track {
  border-radius: 10px;
}

.cases-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.cases-container::-webkit-scrollbar-thumb:hover {
  background-clip: content-box;
}

.case-card {
  min-width: 280px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 1);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.case-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.case-user-info {
  flex: 1;
}

.case-username {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  font-size: 1rem;
}

.case-time {
  color: #666;
  font-size: 0.85rem;
}

.case-content {
  text-align: center;
}

.case-item {
  font-weight: 700;
  color: #764ba2;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.case-price {
  color: #27ae60;
  font-weight: 600;
  font-size: 1.3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .block.site-stats_custom {
    border-radius: 12px;
    padding: 20px 15px;
  }
  
  .block_head h3 {
    font-size: 1.5rem;
  }
  
  .case-card {
    min-width: 250px;
    padding: 15px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.block.site-stats_custom {
  animation: fadeInUp 0.6s ease-out;
}

.cases-container:empty::before {
  content: 'Загрузка кейсов...';
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  padding: 40px;
  width: 100%;
}

.info-block h5 {
  font-weight: 600;
  color: #4a4a4a;
  margin-top: 16px;
}
.info-block h5:first-child {
  margin-top: 0;
}
.info-block p {
  font-size: 15px;
  line-height: 1.5;
}
.info-block ol {
  padding-left: 20px;
  margin-bottom: 0;
}
.info-block ol li {
  margin-bottom: 6px;
}

.what {
	background: #d95151;
    padding: 10px;
    text-align: center;
    border-radius: 12px;
}

.back {
	    background: linear-gradient(23deg, #6a6a6a 0%, #969696 92%);
    padding: 10px 27px;
    color: #ffffff;
    font-size: 10.5px;
    height: 39px;
    margin-right: 7px;
    position: relative;
    top: 7px;
    transition: .2s all;
    border-radius: 9px;
}

.back:hover {
	background: linear-gradient(23deg, #6a6a6a 0%, #969696 50%);
}

.case-subjects {
		border-radius: 20px;
        border: solid 1px #2f2f2f;
        backdrop-filter: blur(3px);
        background: #35383b52;
}
	
	.recent-case-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.recent-case-item:last-child {
  border-bottom: none;
}

.recent-case-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 12px;
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
}

.recent-case-info {
  font-size: 14px;
  color: #e0e0e0;
}

.recent-case-info strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.recent-case-info small,
.recent-case-info em {
  display: block;
  color: #aaa;
}

.case_soderjimoe {	
		margin-bottom: 20px;
        background: #35383b52;
        padding: 16px;
        display: flex;
        gap: 15px;
        border-radius: 12px;
        align-items: center;
}
		
.case_soderjimoe i {	
		font-size: 19px;
        color: #ffffff;
        background: #35383b52;
        display: flex;
        height: 40px;
        border-radius: 9px;
        width: 40px;
        align-items: center;
        justify-content: center;
		
}

.name_case {
	display: flex;
    position: relative;
    letter-spacing: 4px;
    padding: 10px 10px;
    background: rgb(141 36 53);
    border: dashed 1px #c45365;
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    justify-content: center;
}


.btn-prime {
	background: #d95151;
    padding: 6px;
    margin: 5px;
    position: relative;
    border-radius: 12px;
    border: solid 1px #d95151;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

.cases-main-block > a[class^="icon"], .cases-main-block .main-case, .cases-main-block .roulette > #sound-point, .cases-main-block .roulette .roulette-slider, #prize .modal-content {
  background-size: 100% 100%; }

.subject .case_image {
    width: auto;
    height: 80px;
    margin-bottom: 20px;
}

.cases-main-block {
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    height: auto;
    overflow: hidden;
    position: relative;
  }
  .cases-main-block > a[class^="icon"] {
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    opacity: 0.2;
    top: 37px;
    cursor: pointer; }
    .cases-main-block > a[class^="icon"].icon-open-cases {
      background-image: url(../img/icon-key.png);
      right: 50px; }
    .cases-main-block > a[class^="icon"].icon-back-to-cases {
      background-image: url(../img/icon-back.png);
      left: 50px; }
    .cases-main-block > a[class^="icon"]:hover {
      opacity: .5; }
  .cases-main-block h2 {
    min-height: 47px;
    text-transform: uppercase;
    font-size: 28px;
    color: #ffb87c;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    background: transparent;
    padding: 6px 0px 6px;
    border-radius: 9pt;
	}
  @media (min-width: 992px) {
    .cases-main-block h2 {
        min-height: 33px;
        text-transform: uppercase;
        text-align: center;
        border-radius: 9pt;
        height: 65px;
        margin: 5px 5px;
        display: flex;
        background: transparent;
        transition: 0.2s;
        font-size: 30px;
        font-weight: 600;
        color: #ff4141;
        align-items: center;
        justify-content: center;
    } }
  @media (max-width: 991.99px) {
    .cases-main-block h2 {
      border-bottom: 0px dashed #ff4800; } }
  .cases-main-block .info-block {
    position: relative;
    background: url(../img/info-block-bg.jpg);
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 0 96px -15px #c64f47; }
    .cases-main-block .info-block > h3 {
      color: #64ca00;
      text-shadow: 0 2px 4px rgba(133, 214, 0, 0.25); }
    .cases-main-block .info-block > ul {
      margin-left: 15px;
      margin-bottom: 0;
      color: #FFFFFF; }
    .cases-main-block .info-block > p {
      color: #FFFFFF; }
  .cases-main-block .main-case {
    background: url(../img/case-bg.png);
    min-height: 253px;
    line-height: 253px;
    text-align: center;
    max-width: 600px !important;
    width: 100%;
    display: block;
    margin: 0 auto 20px; }
    .cases-main-block .main-case img {
      max-width: 300px; }
  @media (max-width: 991.99px) {
    .cases-main-block .main-case {
      min-height: 150px;
      line-height: 150px;
      background: rgba(0, 0, 0, 0); }
      .cases-main-block .main-case img {
        max-width: 100%; }
    .cases-main-block button.open-case {
      font-size: 16px; } }
  .cases-main-block button.open-case {
    padding: 0 15px;
    height: 60px;
    line-height: 60px;
    border-radius: 8px;
    text-transform: uppercase;
    border: 0;
    color: #f1f1f1;
    font-weight: bold;
    font-size: 18px;
    margin: 30px auto;
    display: block;
    cursor: pointer;
    background: linear-gradient(23deg, #cb4f50 0%, #8d2324 92%);
    transition: 0.4s;
    }
    .cases-main-block button.open-case:hover {
    opacity: 0.7;
 }
    .cases-main-block button.open-case[disabled] {
     
	 cursor: no-drop;
    background: #7272721f !important;
    color: #9a9a9a;
    box-shadow: 0 2px 4px 0 #141414;
	  }
  @media (max-width: 991.99px) {
    .cases-main-block button.open-case {
      font-size: 16px; } }
  .cases-main-block .roulette {
    padding: 27px 27px 36px;
    position: relative;
    /*background: url(../img/roulette-bg.png) repeat;*/
    border-radius: 26px;
    overflow: hidden;
    width: 100%;
    height: 403px;
    max-width: 650px !important;
    margin: 0 auto; }
    .cases-main-block .roulette > #sound-point {
      width: 30px;
      height: 30px;
      display: block;
      position: absolute;
      opacity: 0.4;
      right: 2px;
      cursor: pointer; }
      .cases-main-block .roulette > #sound-point.sound-on {
        background-image: url(../img/icon-sound-on.png); }
      .cases-main-block .roulette > #sound-point.sound-off {
        background-image: url(../img/icon-sound-off.png); }
      .cases-main-block .roulette > #sound-point:hover {
        opacity: .5; }
    .cases-main-block .roulette .roulette-slider {
      padding: 33px 30px 23px;
      margin-bottom: 25px;
      position: relative;
      background-position: 50% 50%;
      height: 328px; }
      .cases-main-block .roulette .roulette-slider .r-left {
        position: absolute;
        left: -24px;
        top: -8px;
        bottom: 0;
        display: block;
        background: url(../img/r-left.png) no-repeat;
        width: 73px;
        height: 394px; }
      .cases-main-block .roulette .roulette-slider .r-right {
        position: absolute;
        right: -37px;
        top: 3px;
        bottom: 0;
        display: block;
        background: url(../img/r-right.png) no-repeat;
        width: 83px;
        height: 379px; }
      .cases-main-block .roulette .roulette-slider .r-side {
        left: 49px;
        width: calc(50% - 47px);
        top: 4px;
        bottom: -45px;
        position: absolute;
        background: url(../img/r-side.png) repeat-x; }
      .cases-main-block .roulette .roulette-slider .r-side2 {
        right: 46px;
        width: calc(50% - 48px);
        top: 4px;
        bottom: -45px;
        position: absolute;
        background: url(../img/r-side.png) repeat-x; }
      .cases-main-block .roulette .roulette-slider .top-arr {
background: url(../img/top-arr.png) no-repeat;
    width: 172px;
    height: 28px;
    position: absolute;
    left: 50%;
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
    .cases-main-block .roulette .roulette-slider .bottom-arr {
	background: url(../img/bottom-arr.png) 0 0 no-repeat;
    width: 172px;
    height: 28px;
    position: absolute;
    bottom: 14px;
    left: 50%;
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
      .cases-main-block .roulette .roulette-slider .roulette-area {
        overflow: hidden;
    width: calc(100% + 36px);
    height: 100%;
    margin-left: -16px;
    background: #35383b52;
    border-radius: 16px;
    background-image: url(../templates/solution/img/top_users.png);
        }
        .cases-main-block .roulette .roulette-slider .roulette-area #roulette {
          height: 210px;
          width: 190px;
          top: 30px;
          position: relative;
          margin: 0 auto; }
          .cases-main-block .roulette .roulette-slider .roulette-area #roulette .roulette-inner {
            transition: 0s linear;
            position: relative;
            top: 0;
            white-space: nowrap;
            height: 100%;
            width: 100%; }
            .cases-main-block .roulette .roulette-slider .roulette-area #roulette .roulette-inner .subject-block {
              box-shadow: none !important; }

#cases > p, #cases_not_open > p {
  color: #64ca00;
  text-shadow: 0 2px 4px rgba(133, 214, 0, 0.25);
  font-size: 20px;
  margin-left: 15px;
  font-weight: bold; }
  
  #cases .case-block, #cases_not_open .case-block {
    position: relative;
    display: block;
    transition: 0.6s;
    border-radius: 16px;
    background: transparent;
    border: none;
    color: #ffffff;
}
  
/*#cases .case-block, #cases_not_open .case-block {
    position: relative;
    display: block;
    box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 20px;
    background-image: linear-gradient(-135deg, rgb(26 39 64) 0%, rgb(26 39 64) 46%, rgb(26 39 64) 100%);
    border-radius: 6px;
    height: 260px;
    padding: 0 10px 10px 10px;
    margin-top: 30px;
  }*/
  #cases .case-block:hover, #cases_not_open .case-block:hover {
    background: transparent;
    transition: 0.6s;
    border-radius: 16px;
 }
  #cases .case-block span, #cases_not_open .case-block span {
    display: block;
    color: #e1e3e6;
    height: 40px;
    position: absolute;
    bottom: 0;
    line-height: 40px;
    border-radius: 0px 0px 0px 5px;
	}
    #cases .case-block span:nth-child(2), #cases_not_open .case-block span:nth-child(2) {
    width: calc(100% - 0px);
    background: #434343;
    border: dashed 1px #5a5a5a;
    left: 0;
    padding-left: 10px;
    padding-right: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 5pt;
   }
    #cases .case-block span:nth-child(3), #cases .case-block span:nth-child(4), #cases_not_open .case-block span:nth-child(3), #cases_not_open .case-block span:nth-child(4) {
      right: 0;
      text-align: center;
      background: #264d46;
    transition: 0.2s;
    justify-content: center;
    backdrop-filter: blur(11px);
    padding: 5px 10px;
    line-height: 22px;
    border-radius: 11px;
    display: flex;
    font-weight: 600;
    top: 0;
    font-size: 12px;
    padding-left: 10px;
    flex-direction: row;
    margin: -35px 0px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 13px;
    width: 100%;
    color: #e7e7e7;
    border: dashed 1px #4d786e;
      height: fit-content;
   }
  #cases .case-block div.case-image-block, #cases_not_open .case-block div.case-image-block {
    height: 220px;
    line-height: 220px;
    text-align: center; 
	}
	
    #cases .case-block div.case-image-block img, #cases_not_open .case-block div.case-image-block img {
      max-width: 50%;
	  pointer-events: none;
      width: 50%;
      max-height: 220px;
      transition: 0.6s;
      position: relative;
      top: -20px;
   }

#subjects, #roulette, #prize_area {
  text-align: center; }
  #subjects .modal-dialog, #roulette .modal-dialog, #prize_area .modal-dialog {
    text-align: left; }
  #subjects .subject-block, #roulette .subject-block, #prize_area .subject-block {
    overflow: hidden;
    display: inline-block;
    position: relative;
    height: 180px;
    width: 180px;
	border-radius: 25px;
    margin: 5px; }
    #subjects .subject-block .b-top, #subjects .subject-block .b-bottom, #subjects .subject-block .b-left, #subjects .subject-block .b-right, #roulette .subject-block .b-top, #roulette .subject-block .b-bottom, #roulette .subject-block .b-left, #roulette .subject-block .b-right, #prize_area .subject-block .b-top, #prize_area .subject-block .b-bottom, #prize_area .subject-block .b-left, #prize_area .subject-block .b-right {
      position: absolute;
      display: block; }
    #subjects .subject-block .b-top, #roulette .subject-block .b-top, #prize_area .subject-block .b-top {
      top: 0;
      left: 0;
      right: 0;
      height: 2px; }
    #subjects .subject-block .b-bottom, #roulette .subject-block .b-bottom, #prize_area .subject-block .b-bottom {
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px; }
    #subjects .subject-block .b-left, #roulette .subject-block .b-left, #prize_area .subject-block .b-left {
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px; }
    #subjects .subject-block .b-right, #roulette .subject-block .b-right, #prize_area .subject-block .b-right {
      right: 0;
      top: 0;
      bottom: 0;
      width: 2px; }
    #subjects .subject-block.orange, #roulette .subject-block.orange, #prize_area .subject-block.orange {
          background: linear-gradient(29deg, rgb(255 167 93) 0%, rgb(183 114 56) 96%); }
      #subjects .subject-block.orange > .b-top, #roulette .subject-block.orange > .b-top, #prize_area .subject-block.orange > .b-top {
         }
      #subjects .subject-block.orange > .b-bottom, #roulette .subject-block.orange > .b-bottom, #prize_area .subject-block.orange > .b-bottom {
        }
      #subjects .subject-block.orange > .b-left, #roulette .subject-block.orange > .b-left, #prize_area .subject-block.orange > .b-left {
         }
      #subjects .subject-block.orange > .b-right, #roulette .subject-block.orange > .b-right, #prize_area .subject-block.orange > .b-right {
         }
      #subjects .subject-block.orange .subject > span:nth-child(1), #roulette .subject-block.orange .subject > span:nth-child(1), #prize_area .subject-block.orange .subject > span:nth-child(1) {
        color: #f7e3a0; }
    #subjects .subject-block.red, #roulette .subject-block.red, #prize_area .subject-block.red {
          background: linear-gradient(29deg, rgb(255 93 93 / 83%) 0%, rgb(136 39 41) 96%);}
      #subjects .subject-block.red > .b-top, #roulette .subject-block.red > .b-top, #prize_area .subject-block.red > .b-top {
         }
      #subjects .subject-block.red > .b-bottom, #roulette .subject-block.red > .b-bottom, #prize_area .subject-block.red > .b-bottom {
         }
      #subjects .subject-block.red > .b-left, #roulette .subject-block.red > .b-left, #prize_area .subject-block.red > .b-left {
         }
      #subjects .subject-block.red > .b-right, #roulette .subject-block.red > .b-right, #prize_area .subject-block.red > .b-right {
         }
      #subjects .subject-block.red .subject > span:nth-child(1), #roulette .subject-block.red .subject > span:nth-child(1), #prize_area .subject-block.red .subject > span:nth-child(1) {
        color: #fbabb8; }
    #subjects .subject-block.purple, #roulette .subject-block.purple, #prize_area .subject-block.purple {
      background: linear-gradient(29deg, rgb(176 93 255 / 83%) 0%, rgb(103 51 154) 96%); }
      #subjects .subject-block.purple > .b-top, #roulette .subject-block.purple > .b-top, #prize_area .subject-block.purple > .b-top {
         }
      #subjects .subject-block.purple > .b-bottom, #roulette .subject-block.purple > .b-bottom, #prize_area .subject-block.purple > .b-bottom {
         }
      #subjects .subject-block.purple > .b-left, #roulette .subject-block.purple > .b-left, #prize_area .subject-block.purple > .b-left {
         }
      #subjects .subject-block.purple > .b-right, #roulette .subject-block.purple > .b-right, #prize_area .subject-block.purple > .b-right {
         }
      #subjects .subject-block.purple .subject > span:nth-child(1), #roulette .subject-block.purple .subject > span:nth-child(1), #prize_area .subject-block.purple .subject > span:nth-child(1) {
        color: #fb9ed5; }
    #subjects .subject-block.blue, #roulette .subject-block.blue, #prize_area .subject-block.blue {
      background: linear-gradient(29deg, rgb(93 112 255 / 83%) 0%, rgb(54 51 154) 96%) }
      #subjects .subject-block.blue > .b-top, #roulette .subject-block.blue > .b-top, #prize_area .subject-block.blue > .b-top {
 }
      #subjects .subject-block.blue > .b-bottom, #roulette .subject-block.blue > .b-bottom, #prize_area .subject-block.blue > .b-bottom {
}
      #subjects .subject-block.blue > .b-left, #roulette .subject-block.blue > .b-left, #prize_area .subject-block.blue > .b-left {
 }
      #subjects .subject-block.blue > .b-right, #roulette .subject-block.blue > .b-right, #prize_area .subject-block.blue > .b-right {
 }
      #subjects .subject-block.blue .subject > span:nth-child(1), #roulette .subject-block.blue .subject > span:nth-child(1), #prize_area .subject-block.blue .subject > span:nth-child(1) {
        color: #b2a9fa; }
    #subjects .subject-block.military, #roulette .subject-block.military, #prize_area .subject-block.military {
          background: linear-gradient(29deg, rgb(40 73 145) 0%, rgb(19 44 98) 96%); }
      #subjects .subject-block.military > .b-top, #roulette .subject-block.military > .b-top, #prize_area .subject-block.military > .b-top {
         }
      #subjects .subject-block.military > .b-bottom, #roulette .subject-block.military > .b-bottom, #prize_area .subject-block.military > .b-bottom {
         }
      #subjects .subject-block.military > .b-left, #roulette .subject-block.military > .b-left, #prize_area .subject-block.military > .b-left {
         }
      #subjects .subject-block.military > .b-right, #roulette .subject-block.military > .b-right, #prize_area .subject-block.military > .b-right {
         }
      #subjects .subject-block.military .subject > span:nth-child(1), #roulette .subject-block.military .subject > span:nth-child(1), #prize_area .subject-block.military .subject > span:nth-child(1) {
        color: #9ebffb; }
    #subjects .subject-block > .subject-services, #roulette .subject-block > .subject-services, #prize_area .subject-block > .subject-services {
      height: 200px;
      width: 100%;
      display: table;
      padding: 8px;
    padding-bottom: 23px;	  }
      #subjects .subject-block > .subject-services .subject-fix, #roulette .subject-block > .subject-services .subject-fix, #prize_area .subject-block > .subject-services .subject-fix {
        display: table-cell;
        height: auto;
        text-align: center;
        vertical-align: middle; }
        #subjects .subject-block > .subject-services .subject-fix .subject span, #roulette .subject-block > .subject-services .subject-fix .subject span, #prize_area .subject-block > .subject-services .subject-fix .subject span {
          width: 164px;
          display: block; }
          #subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(1), #roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(1), #prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(1) {
font-size: 14px;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    white-space: nowrap; }
          #subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(2), #subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(3), #roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(2), #roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(3), #prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(2), #prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(3) {
                font-size: 12px;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;; }
          #subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(3), #roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(3), #prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(3) {
            margin-bottom: 5px; }

#prize .modal-content {
  border: 0;
  box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.12);
  border-radius: 6px; }
  #prize .modal-content h4 {
    text-align: center;
    color: #e1e3e6;
    font-size: 35px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold; }
  #prize .modal-content #prize_area {
    text-align: center;
    padding: 50px 0; }
    #prize .modal-content #prize_area .subject-block {
      -webkit-transform: scale(1.25);
      transform: scale(1.25); }
      #prize .modal-content #prize_area .subject-block.orange {
        box-shadow: 0 0 23px -4px #f7e3a0; }
      #prize .modal-content #prize_area .subject-block.red {
        box-shadow: 0 0 23px -4px #fbabb8; }
      #prize .modal-content #prize_area .subject-block.purple {
        box-shadow: 0 0 23px -4px #fb9ed5; }
      #prize .modal-content #prize_area .subject-block.blue {
        box-shadow: 0 0 23px -4px #b2a9fa; }
      #prize .modal-content #prize_area .subject-block.military {
        box-shadow: 0 0 23px -4px #9ebffb; }
  #prize .modal-content .close {
    color: #FFFFFF; }
  #prize .modal-content p {
    font-size: 14px;
    color: #939393;
    text-align: center; }

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

#my_cases_area .opened-case {
  width: 100%;
 /*border-bottom: 1px solid rgb(80 134 255 / 25%);*/
  padding: 10px 0; }
  #my_cases_area .opened-case .case-img {
    width: 100px;
    float: left; }
    #my_cases_area .opened-case .case-img img {
      width: 100%; }
  #my_cases_area .opened-case .case-info {
    width: calc(100% - 110px);
    float: right; }
    #my_cases_area .opened-case .case-info h3 {
      font-size: 16px;
      margin: 0; }
    #my_cases_area .opened-case .case-info .subject {
      display: block;
      width: 100%;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      margin-top: 5px; }
  #my_cases_area .opened-case:last-child {
    border-bottom: 0; }

.case-banner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    margin-bottom: 0px;
    background: linear-gradient(89deg, #17233b00, #414141, #222222, #222222);
    background-size: 400% 400%;
    animation: u 15s ease-in-out infinite;
  }
  .case-banner a {
    padding: 40px 30px 40px 30px;
    display: block;
    width: 100%;
    height: 100%;
    white-space: normal; }
  .case-banner h3 {
    color: #e1e3e6;
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    background: linear-gradient(258deg, #17233b00, #ffd700, #1a274300, #18233a00);
    background-size: 305% 400%;
    animation: u 12s ease-in-out infinite;
    font-weight: bold;
    border-radius: 6px 
	}
  .case-banner p {
    color: #939393;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
	}
  .case-banner img {
    width: 100%;
    max-width: 270px;
    display: block;
    margin: 0 auto 20px; }


.opened-case {
    background: #2d2d2d;
    border: 1px solid #3c3c3c;
    font-size: 10.5px;
    color: #ffffff;
    padding: 7px 7px 4px 4px !important;
    cursor: auto;
    display: flex;
    transition: 0.6s;
    font-weight: 600;
    border-radius: 10px;
    align-items: center;
    margin-top: 4px;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    width: 45% !important;
    margin-left: 20px;
    margin-bottom: 8px;
}

small {
    font-size: 10px;
    color: #ff6f6f;
    font-weight: 600;
}

.cases_scroll_modal {
    overflow: auto;
    color: #fff0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 400px;
}

#my_cases_area {
    margin-top: 0px;
    border-radius: 5px;
    background: transparent;
	box-shadow: rgb(0 0 0 / 0%) 5px 5px 20px;
}

@-webkit-keyframes u {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes u {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

#cases .case-block div.case-image-block img:hover, #cases_not_open .case-block div.case-image-block img {
    max-width: 100%;
    width: 85%;
    max-height: 222px;
    filter: drop-shadow(2px 14px 6px rgba(255, 0, 0, 0.193));
	transition: 0.3s;
    transform: scale(1.1);
	pointer-events: none;
}

.countcss {
position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    width: 30px !important;
    border-radius: 20% !important;
    padding: 0px 0px !important;
    height: 30px !important; 
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    justify-content: center !important;
    border: solid 1px #363738 !important;
    background: #22222200 !important;
}

.casenblock {
  padding: 15px;
  color: #fff;
  display: flex;
  text-align: center;
  gap: 11px;
  margin-left: -5px;
  margin-bottom: 15px;
  margin-top: 10px;
  width: auto;
  background: #313131;
  border: 1px solid #424242;
  border-radius: 13px;
  transition: 0.2s;
  flex-direction: column;
}

.opencases {
    display: flex;
    position: absolute;
    letter-spacing: 1px;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    background: rgb(69 82 97);
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    right: 85px;
    top: 34px;
}

#opentex {
    color: #e1e3e6;
    text-decoration: underline;
    transition: 0.5s;
    font-size: larger;
 }
	
 #opentex:hover {
  color: #d14f4f !important;
  text-decoration: underline;
  transition: 0.5s;
}
	
.casescost {
  display: flex;
  position: absolute;
  letter-spacing: 1px;
  gap: 0px;
  padding: 6px 10px;
  background: rgb(141 36 53);
  border: dashed 1px #c45365;
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  top: -35px;
  left: 0px;
  width: 100%;
  justify-content: center;
}

.sound-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  position: absolute;
  right: 2px;
  cursor: pointer;
  border-radius: 50%;
  background: linear-gradient(29deg, #ff7400 0%, #ff8c33 96%);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(255, 116, 0, 0.3);
}

.sound-toggle_index {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    position: relative;
    right: 70%;
    top: -10px;
    cursor: pointer;
    border-radius: 50%;
    background: linear-gradient(29deg, #ff7400 0%, #ff8c33 96%);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 116, 0, 0.3);
}

.sound-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(255, 116, 0, 0.4);
}

.sound-toggle_index:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(255, 116, 0, 0.4);
}

.sound-toggle:active {
  transform: scale(0.95);
}

.sound-toggle__icon {
  font-size: 18px;
  transition: opacity 0.3s ease;
}

.sound-toggle.muted .sound-toggle__icon {
  opacity: 0.6;
}

.sound-toggle.muted {
  background: linear-gradient(29deg, #666 0%, #999 96%);
  box-shadow: 0 2px 4px rgba(102, 102, 102, 0.3);
}

.casescost_text {
text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 9px;
    width: 29px;
    display: block;
    left: 0px;
    position: relative;
}
.casescost_text:hover, .open_count:hover {
  transition: 0.2s;
    width: 50px;
}


.casenblock i {
    color: #f6f6f6;
    transition: 0.2s;
    background: #3e414a;
    opacity: 0.7;
    width: 21px;
    border: none;
    height: 21px;
    top: -12px;
    padding: 0px;
    right: 8px;
    margin-bottom: -16px;
    position: relative;
    font-size: 11px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casenblock:hover i {
    color: #ffffff;
    opacity: 1;
    background: #626262;
    transform: rotate(270deg);
}
	
.head_cases_block {
  padding: 12px 15px;
  border-radius: 12px;
  display: flex;
  background: linear-gradient(15deg, #d20a0a21 30%, #251e1e8f 100%);
  margin-top: -18px;
  margin-bottom: 10px;
  justify-content: flex-end;
  align-items: center;
  width: max-content;
}
.flex_head_cases_block {
    display: flex;
    gap: 4px;
    height: 24px;
    align-items: center;
}
.head_cases_block_flex {
  display: flex;
  justify-content: flex-end;

}

.flex_head_cases_block i {
  font-size: 30px;
  color: #d95151;
}

.open_count {
  transition: 0.2s;
  width: 30px;
  height: 30px;
  top: 70%;
  padding: 0px;
  right: 60px;
  margin-bottom: -16px;
  font-size: 11px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  background: linear-gradient(34deg, #9b3535 0%, #9b3535 55%);
  color: #fff;
    font-weight: 600;
    border: solid 3px #303030;
}
.hrcas {
    height: 4px;
    background: linear-gradient(to right, #2e2e2e, #f96969a1, #2e2e2e);
    position: relative;
    overflow: hidden;
    border: none;
    margin-bottom: 24px;
}
.hrcas:after {
    content: "";
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        #9d2727, 
        #ff6b6b, 
        #9d2727, 
        transparent
    );
    position: absolute;
    width: 40%;
    top: 0;
    animation: spiral-run 6s ease-in-out infinite;
    border-radius: 21px;
}
@keyframes spiral-run {
    0% {
        left: -40%;
        transform: scaleX(0.3);
    }
    25% {
        transform: scaleX(1);
    }
    50% {
        left: 60%;
        transform: scaleX(1);
    }
    75% {
        transform: scaleX(0.3);
    }
    100% {
        left: -40%;
        transform: scaleX(0.3);
    }
}

	@media (max-width: 991.99px) {
	
	.opencases { 
    display: none;
    position: absolute;
    letter-spacing: 1px;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    background: rgb(255 140 140 / 8%);
    align-items: center;
    font-size: 10px;
    color: rgb(255 133 133 / 93%);
    font-weight: 600;
    border-radius: 10px;
    right: 85px;
    top: 34px;
	}

.cases-main-block {
	width: 100%;

	}
	
	.head_cases_block_flex {
		display: none;
	}
	.cases-container {
			display: none;
	}
		.site-stats_custom{
			display: none;
	}
	
}

