.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%; }

.cases-main-block {
  width: 100%;
  background: linear-gradient(1deg, #2a2a2a 30%, #333333 100%);
  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: #ff6b8b;
    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: #ff6b8b;
        align-items: center;
        justify-content: center;
    } }
  @media (max-width: 991.99px) {
    .cases-main-block h2 {
      border-bottom: 0px dashed #ff6b8b; } }
  .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 #6c757d; }
    .cases-main-block .info-block > h3 {
      color: #4cd137;
      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;
    box-shadow: 0 2px 4px 0 #495057;
    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(45deg, #6c757d, #495057);
    transition: 0.4s;
    }
    .cases-main-block button.open-case:hover {
    opacity: 0.9;
    background: linear-gradient(45deg, #495057, #6c757d);
 }
    .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;
    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.2;
      right: 2px;
      top: 7px;
      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 {
           -ms-transform: translate(-50%, 0);
           transform: translate(-50%, 0);
           position: absolute;
           top: 32px;
           bottom: 0px;
           display: block;
           width: 4px;
           height: 273px;
           background: radial-gradient(circle, #ff6b8b 0%, #333333 95%);
           border-radius: 15px;
           z-index: 200;
           filter: blur(3px);
           left: 50%;
        }
      .cases-main-block .roulette .roulette-slider .bottom-arr {
        width: 132px;
        height: 28px;
        position: absolute;
        left: 50%;
        bottom: -4px;
        -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: #4e4e4e33;
        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: #4cd137;
  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: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: #4c4c4c;
    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: #363636;
      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 #7f7f7f;
      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: 100%;
      width: 85%;
      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 107 139) 0%, rgb(200 85 112) 96%); }
      #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: #ffeaa7; }
    #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 .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(155 89 182) 0%, rgb(142 68 173) 96%); }
      #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: #fab1ff; }
    #subjects .subject-block.blue, #roulette .subject-block.blue, #prize_area .subject-block.blue {
      background-image: url(../img/blue-bg.jpg); }
      #subjects .subject-block.blue > .b-top, #roulette .subject-block.blue > .b-top, #prize_area .subject-block.blue > .b-top {
        background: linear-gradient(to right, #0984e3 0%, #74b9ff 50%, #74b9ff 51%, #0984e3 100%); }
      #subjects .subject-block.blue > .b-bottom, #roulette .subject-block.blue > .b-bottom, #prize_area .subject-block.blue > .b-bottom {
        background: linear-gradient(to right, #0984e3 0%, #74b9ff 50%, #74b9ff 51%, #0984e3 100%); }
      #subjects .subject-block.blue > .b-left, #roulette .subject-block.blue > .b-left, #prize_area .subject-block.blue > .b-left {
        background: linear-gradient(to bottom, #0984e3 0%, #74b9ff 50%, #74b9ff 51%, #0984e3 100%); }
      #subjects .subject-block.blue > .b-right, #roulette .subject-block.blue > .b-right, #prize_area .subject-block.blue > .b-right {
        background: linear-gradient(to bottom, #0984e3 0%, #74b9ff 50%, #74b9ff 51%, #0984e3 100%); }
      #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 .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: 11px;
    color: #ffffffa3; }
          #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 #ff6b8b; }
      #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 #fab1ff; }
      #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 {
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  }

#my_cases_area .opened-case {
  width: 100%;
  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: 17px;
      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, #2a2a2a, #333333, #3a3a3a, #333333);
    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, #2a2a2a, #333333, #3a3a3a, #2a2a2a);
    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: #ff6b8b17;
    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: #ff6b8b;
    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, #cases_not_open .case-block {
    position: relative;
}

#cases .case-block:hover .open-case-hover,
#cases_not_open .case-block:hover .open-case-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.open-case-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20px);
    background: linear-gradient(45deg, #ff6b8b, #ff8fa3);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 107, 139, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.open-case-hover:hover {
    background: linear-gradient(45deg, #ff8fa3, #ff6b8b);
    transform: translate(-50%, -20px) scale(1.05);
}

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

.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: #363636;
  border-radius: 13px;
  transition: 0.2s;
  flex-direction: column;
}

/* УДАЛЕН блок .opencases - теперь кнопка появляется при наведении */

#opentex {
    color: #ff6b8b;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
    font-weight: 600;
 }
	
 #opentex:hover {
  color: #ff8fa3 !important;
  text-decoration: none;
}

.casescost {
  display: flex;
  position: absolute;
  letter-spacing: 1px;
  gap: 0px;
  padding: 6px 10px;
  background: linear-gradient(45deg, #6c757d, #495057);
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  top: -35px;
  left: 0px;
  width: 100%;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.casescost_text {
text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 11px;
    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: #525252;
    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, rgba(255, 107, 139, 0.1) 30%, #3838388f 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: #ff6b8b;
}

.open_count {
  transition: 0.2s;
  width: 30px;
  height: 30px;
  top: 70%;
  padding: 0px;
  right: 20px;
  margin-bottom: -16px;
  font-size: 11px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  background: linear-gradient(34deg, #ff6b8b 0%, #ff8fa3 55%);
  color: #fff;
  font-weight: 600;
  border: solid 3px #4c4c4c;
}
.hrcas {
	height: 4px;
    background: linear-gradient(to right, #333333, #ff6b8b, #333333);
    position: relative;
    overflow: hidden;
    border: none;
    margin-bottom: 24px;
}		
.hrcas:after {
	content: "";
    height: 4px;
    background: #ff8fa3;
    position: absolute;
    width: 20%;
    top: 0;
    animation: anim-hr 12s linear infinite;
    border-radius: 21px;
}
@keyframes anim-hr {
    0% {
        left: -20%;
	} 
    100% {
        left: 100%;
	}
}

/*# sourceMappingURL=style.css.map */

/* ПРОСТОЙ ВАРИАНТ С ИКОНКОЙ ГЛАЗА */
.case-block:hover::before {
    content: "👁️";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    background: rgba(0, 0, 0, 0.7);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: pulse 1.5s infinite;
    cursor: pointer;
}

.case-block:hover::after {
    content: "Посмотреть";
    position: absolute;
    top: calc(50% + 45px);
    left: 50%;
    transform: translateX(-50%);
    background: #6c5ce7;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    z-index: 100;
    white-space: nowrap;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* СКРЫТЬ РОЗОВУЮ ТАБЛИЧКУ С ЦИФРОЙ В КЕЙСАХ */
.col-lg-4 .open_count,
.casenblock .open_count,
.flex_user_visits > .open_count {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}


/* РАДУЖНЫЙ ЭФФЕКТ ТОЛЬКО ДЛЯ КАРТИНОК КЕЙСОВ */
#cases .case-block img,
#cases_not_open .case-block img,
.case-image-block img {
    animation: rainbowImage 8s linear infinite;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

@keyframes rainbowImage {
    0% {
        filter: 
            hue-rotate(0deg) 
            saturate(1.2) 
            brightness(1.1)
            drop-shadow(0 0 5px #ff0000);
    }
    14% {
        filter: 
            hue-rotate(45deg) 
            saturate(1.3) 
            brightness(1.1)
            drop-shadow(0 0 5px #ff9900);
    }
    28% {
        filter: 
            hue-rotate(90deg) 
            saturate(1.2) 
            brightness(1.1)
            drop-shadow(0 0 5px #ffff00);
    }
    42% {
        filter: 
            hue-rotate(135deg) 
            saturate(1.3) 
            brightness(1.1)
            drop-shadow(0 0 5px #00ff00);
    }
    56% {
        filter: 
            hue-rotate(180deg) 
            saturate(1.2) 
            brightness(1.1)
            drop-shadow(0 0 5px #00ffff);
    }
    70% {
        filter: 
            hue-rotate(225deg) 
            saturate(1.3) 
            brightness(1.1)
            drop-shadow(0 0 5px #0000ff);
    }
    84% {
        filter: 
            hue-rotate(270deg) 
            saturate(1.2) 
            brightness(1.1)
            drop-shadow(0 0 5px #9900ff);
    }
    100% {
        filter: 
            hue-rotate(315deg) 
            saturate(1.3) 
            brightness(1.1)
            drop-shadow(0 0 5px #ff00ff);
    }
}

/* При наведении - эффект усиливается */
#cases .case-block:hover img,
#cases_not_open .case-block:hover img {
    animation: rainbowImageHover 4s linear infinite;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

@keyframes rainbowImageHover {
    0% {
        filter: 
            hue-rotate(0deg) 
            saturate(1.5) 
            brightness(1.2)
            drop-shadow(0 0 10px #ff0000);
    }
    50% {
        filter: 
            hue-rotate(180deg) 
            saturate(1.8) 
            brightness(1.3)
            drop-shadow(0 0 15px #00ffff);
    }
    100% {
        filter: 
            hue-rotate(360deg) 
            saturate(1.5) 
            brightness(1.2)
            drop-shadow(0 0 10px #ff00ff);
    }
}


.cases-main-block {
    background: 
        linear-gradient(45deg, 
             #2a2a3a 0%,     /* Темный серо-синий */
             #3a3a4a 25%,    /* Средний стальной */
             #7f8c8d 50%,    /* Яркий серебристый */
             #3a3a4a 75%,    /* Средний стальной */
             #2a2a3a 100%);  /* Темный серо-синий */
    background-size: 400% 400%;
    animation: liquidMetal 6s ease-in-out infinite;
    position: relative;
}

.cases-main-block::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(108, 92, 231, 0.1),
        transparent
    );
    animation: shine 3s ease-in-out infinite;
}

@keyframes liquidMetal {
    0%, 100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    50% {
        background-position: 100% 50%;
        filter: hue-rotate(60deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Стили для ссылки с иконкой истории */
#opentex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #6c5ce7;
    text-decoration: none;
    background: rgba(108, 92, 231, 0.08);
    padding: 9px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

#opentex i {
    font-size: 16px;
    margin-right: 8px;
    color: #6c5ce7;
    transition: all 0.3s ease;
}

#opentex:hover {
    color: #ffffff;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#opentex:hover i {
    color: #ffffff;
    transform: rotate(360deg);
}

/* Анимация иконки истории */
@keyframes historySpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#opentex:hover i.bx-history {
    animation: historySpin 1s ease;
}