/* Slot Single Page Styles */

/* Demo Game Section */
.demo-game-section {
  background: #fff;
  padding: 2rem 0;
}

.demo-game-container {
  width: 100%;
  margin-top: 2rem;
}

.demo-game-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  background: linear-gradient(181deg, #003472ff 28.57%, #090d0f);
  border-radius: 32px;
  overflow: hidden;
  padding: 28px;
}

.demo-game-iframe-wrapper {
  position: relative;
  width: 100%;
  min-height: 600px;
  background: #000;
  border-radius: 12px;
  
}

.demo-game-iframe-box {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 12px;
  overflow:hidden;
}

.demo-game-iframe-image{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.demo-game-iframe-image:before{
  content: "";
  display: block;
  z-index: 2;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top:0;
  background: rgba(0,0,0,0.5);
}

.demo-game-iframe-ctrl{
  z-index: 3;
  position: absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  gap:20px;
}

.demo-game-iframe-ctrl .btn{
  width: 250px;
}

.demo-game-iframe-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.demo-game-iframe{
  width: 100%;
  height: 100%;
  display: block;
}

.demo-game-modal{
  position: fixed;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background: var(--text-light-primary);
  flex-direction: column;
  display: none;
}

.demo-page .demo-game-modal,.demo-game-modal.open{
  display: flex;
  z-index: 10;
}

.demo-game-modal__top{
    width: 100%;
    padding:5px 20px;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.demo-game-modal__top .logo {
  margin-right:auto;
  margin-left:0;
  position: relative;
  z-index: 1;
}

.demo-game-modal__top .logo img {
  width: 70px;
  height: auto;
}

.open-demo-menu{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 2;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
}

.open-demo-menu svg{
  transition: all var(--time);
}

.open-demo-menu.open svg{
  transform:rotate(-180deg)
}

.open-demo-menu:hover{
  opacity:0.7;
}

.demo-menu{
  position:absolute;
  left:0;
  top:100%;
  background: var(--text-light-primary);
  width: 100%;
  grid-template-rows: 0;
  display: grid;
  transition: all .3s ease;
  overflow: hidden;
  border-top:solid 1px var(--background-secondary);
}

.demo-menu.open{
  grid-template-rows: 1fr;
}

.demo-menu_inner{
  min-height: 0;
  padding:0 20px 20px;
}

.demo-menu_items{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-menu_item{
  width: 100%;
  padding:10px 20px;
  border-bottom:solid 1px var(--background-secondary);
  text-align: center;
   color: var(--text-primary);
}

.demo-box{
  flex-grow: 1;
  width:100%;
  height:100%;
  position: relative;
  z-index: 1;
}


@media (max-width: 1300px) {
  .slot-single__image-wrapper {
    max-width: 400px;
  }
  .slot-single__title{
    white-space: break-spaces!important;
  }  
}

@media (max-width: 1024px) {
  .demo-game-wrapper {
    grid-template-columns: 1fr;
  }
  
  .demo-game-iframe-wrapper {
    min-height: 400px;
  }
  
  .demo-game-iframe-box {
    height: 400px;
  }
  
}

@media (max-width: 767px) {
  .blog_list .slot__item{
    width:auto!important;
  }
  .slot-single__image-wrapper {
    max-width: 100%;
  }
  .slots-slider .revs-slider__nav{
    justify-content: space-between!important;
  }  
  .slot-single__title{
    white-space: break-spaces!important;
  }
  .slot-single__hero-container {
    flex-direction: column!important;
  }  

  .slot-single__description{
    width:100%!important;
  }

  .demo-game-section {
    padding: 1.5rem 0;
  }
  
  .demo-game-wrapper {
    gap: 1rem;
  }
  
  .demo-game-iframe-wrapper {
    min-height: 300px;
  }
  
  .demo-game-iframe-box {
    height: 300px;
  }
  
}

.slot-single__back-button {
  margin-bottom: 1.5rem;
}

.slot-single__hero-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.slot-single__image-wrapper {
  /*flex: 0 0 308px;*/
  max-width: 530px;
}

.slot-single__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 5 / 3;
}

.slot-single__content {
  flex: 1;
  min-width: 0;
}

.slot-single__badges {
  display: flex;
  gap: 24px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.slot-single__rtp-badge {
  min-width: 120px;
  background: transparent;
  color: #61f400;
  border: 2px solid #61f400;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  font-family: sans-serif;
}

.slot-single__views-badge {
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  font-family: var(--second-family);
}

.slot-single__views-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%)
    hue-rotate(200deg) brightness(100%) contrast(100%);
}

.slot-single__title {
  margin-bottom: 1rem;
  width: 100%;
  overflow: visible;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.slot-single__description {
  max-width: 754px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  width: 100%;
}

.slot-single__tags {
  margin-top: 1rem;
}

.slot-single__buttons {
  display: flex;
  gap: 1rem;
  margin-top: 24px;
  flex-wrap: wrap;
}

.slot-single__read-more,
.slot-single__play-demo {
  min-width: 160px;
}
@media (max-width: 767px) {
  .slot-single__read-more,
  .slot-single__play-demo {
    min-width: 100%;
  }
}
/* Серый стиль для кнопки Read More */
.btn.btn--grey {
  background: linear-gradient(180deg, #f0f2f5 0%, #c3c3c3 100%);
  color: #0275fc;
}

.btn.btn--grey > span {
  background: linear-gradient(180deg, #C3C3C3 0%, #F0F2F5 100%);
  color: #0275fc;
}

.btn.btn--grey:hover {
  background: linear-gradient(180deg, #C3C3C3 0%, #F0F2F5 100%);
}

.btn.btn--grey:hover > span {
  background: linear-gradient(180deg, #F0F2F5 0%, #C3C3C3 100%);
}

.blog_list .slot__item {
  width: 310px;
  max-width: 100%;
  margin: 0;
    display: flex;
    flex-direction: column;  
}

.slots-page .blog_list {
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  justify-items: start;
}

.slot__item-badges {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 46, 101, 0.1);
  padding-bottom: 12px;
}

.slot__item-rtp {
  min-width: 110px;
  background: #61f400;
  color: #102e65;
  border: 2px solid #61f400;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  font-family: sans-serif;
  font-family: var(--second-family);
}

.slot__item-views {
  color: #485877;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 700;
  font-family: var(--second-family);
}

.slot__item-views img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.slot__item-provider {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: lowercase;
}

.slot__item-excerpt {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 145%;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-bottom: 23px;
  margin-top: 10px;
}

.slot__item-button {
  width: 100%;
  margin-top: auto;
  display: block;
  height: 52px !important;
}

.slot__item-button span {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slot__item .blog__item-content {
  padding: 0px 16px 0px;
  flex-grow: 1;
}

.slot__item .blog__item-image {
  margin-bottom: 12px;
}

.slot__item .blog__item-title {
  margin-bottom: 2px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 36px;
  line-height: 100%;
}

.slots-slider .reviews-slider__item {
  height: 100%;
  display: flex;
  display: flex;
  padding: 0;
  background: none;
  border: unset;
  box-shadow: unset;
}

.slots-slider .swiper-slide {
  height: auto;
  width: 310px !important;
}

.slots-slider .slot__item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
