* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

.list__scrollbar-main::-webkit-scrollbar {
   width: 8px
}

.list__scrollbar-main::-webkit-scrollbar-thumb {
   background-image: linear-gradient(150deg, #FF53F8 11.05%, #572FED 57.13%);
   border-radius: 8px;
   border: 1px solid #1a1a1a
}

.list__scrollbar-main::-webkit-scrollbar-track {
   box-shadow: inset 0 0 5px #000;
   border-radius: 5px
}

section {
   width: 100%;
   text-align: left;
}

body {
   min-height: 100vh;
   background: #000;
   font-family: 'Segoe UI', system-ui, sans-serif;
   display: flex;
   justify-content: center;
   align-items: center;
   overflow: hidden;
}

.game-wrapper {
   width: 100%;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: 10px;
   align-items: center;
   color: #fff;
}

.body-fon {
   position: absolute;
   top: 0;
   opacity: .2;
   height: 100vh;
   width: 100%;
   background: url(../../images/fon-5.webp) no-repeat;
   background-size: cover;
   background-position: center;
   animation: animaneBg 15s linear infinite;
   z-index: -1;
}

.page {
   height: 100%;
   overflow-y: auto;
   overflow-x: hidden;
   max-height: 100vh;
}

.list__scrollbar-main::-webkit-scrollbar {
   width: 8px;
}

.list__scrollbar-main::-webkit-scrollbar-thumb {
   background-image: linear-gradient(150deg, #FF53F8 11.05%, #572FED 57.13%);
   border-radius: 8px;
   border: 1px solid #1a1a1a;
}

.list__scrollbar-main::-webkit-scrollbar-track {
   box-shadow: inset 0 0 5px #000;
   border-radius: 5px;
}

@keyframes animaneBg {
   0% {
      scale: 1;
   }

   50% {
      scale: 1.1;
   }

   100% {
      filter: hue-rotate(360deg);
      scale: 1;
   }
}

.container {
   margin-top: 40px;
   background: rgba(255, 255, 255, 0.1);
   backdrop-filter: blur(10px);
   border-radius: 48px;
   padding: 40px 30px;
   text-align: center;
   max-width: 1200px;
   width: 90%;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
   display: flex;
   flex-direction: column;
   gap: 30px;
   align-items: center;
}

.main__players {
   display: flex;
   gap: 20px;
}

.btn {
   background: #32CD32;
   border: none;
   font-size: 1.5rem;
   font-weight: bold;
   padding: 15px 40px;
   border-radius: 60px;
   cursor: pointer;
   box-shadow: 0 6px 0 #1b6b1b;
   transition: 0.07s linear;
   margin: 20px 0;
}

.btn:active {
   transform: translateY(3px);
   box-shadow: 0 2px 0 #1b6b1b;
}

.restrictions {
   text-align: center;
   font-size: 18px;
   opacity: 0.7;
}

.info,
.seo-content {
   width: 100%;
   color: #C4E0FF;
   margin-top: 20px;
   font-size: 1.5rem;
   text-align: center;
   background: #00000040;
   border-radius: 28px;
   padding: 12px;
}

.loader {
   display: none;
   margin: 20px auto;
   width: 40px;
   height: 40px;
   border: 4px solid #f3f3f3;
   border-top: 4px solid #32CD32;
   border-radius: 50%;
   animation: spin 1s linear infinite;
}

.form-scene_img-box__img {
   width: 50%;
   position: relative;
   display: flex;
   border-radius: 5px;
   overflow: hidden;
}

.form-scene_img-box__img img {
   width: 100%;
   object-fit: contain;
}

@keyframes spin {
   0% {
      transform: rotate(0deg);
   }

   100% {
      transform: rotate(360deg);
   }
}

.link-container {
   margin-top: 20px;
   padding: 15px;
   background: rgba(0, 0, 0, 0.5);
   border-radius: 60px;
   display: none;
}

.link-container.show {
   display: block;
}

.game-link {
   color: #FFE6B0;
   word-break: break-all;
   font-size: 0.9rem;
   margin: 10px 0;
}

.copy-btn {
   background: #FFB347;
   border: none;
   padding: 8px 20px;
   border-radius: 40px;
   font-size: 0.9rem;
   cursor: pointer;
   margin-top: 10px;
}

.note {
   font-size: 0.8rem;
   color: #FFD966;
   margin-top: 15px;
}

.form-registration-player {
   background: rgba(10, 20, 35, 0.6);
   border-radius: 5px;
   padding: 20px;
}

.form-registration-player .input-box label {
   font-size: 18px !important
}

.input-box {
   position: relative;
   margin: 30px 0;
   border-bottom: 2px solid #202020;
   display: flex;
   align-items: center
}

.input-box label {
   position: absolute;
   top: 50%;
   left: 5px;
   transform: translateY(-50%);
   font-size: 1em;
   pointer-events: none;
   transition: .5s;
   font-weight: 600;
   opacity: .7;
   color: gold;
}

.input-box input {
   width: 100%;
   height: 50px;
   background: transparent;
   border: none;
   outline: none;
   font-size: 2em;
   padding: 0 55px 0 5px;
   font-weight: 600;
   border-radius: 16px;
   background: #071126cc;
   transition: border-color 0.3s;
}

.input-box input:focus {
   border-color: #FFB347;
   outline: none;
   box-shadow: 0 0 0 2px rgba(255, 179, 71, 0.5);
}

.girl {
   color: #c34141;
   text-shadow: 0 1px 4px black;
}

.boy {
   color: #4957c1;
   text-shadow: 0 1px 4px black
}

.input-box input:focus~label,
.input-box input:valid~label {
   top: -14px;
}

.button {
   position: relative;
   width: 80px;
   max-width: 80px;
   height: 45px;
   flex: 1 0 auto;
}

.checkbox {
   position: relative;
   width: 100%;
   height: 100%;
   padding: 0;
   margin: 0;
   opacity: 0;
   cursor: pointer;
   z-index: 3;
   -webkit-tap-highlight-color: transparent;
}

.knobs {
   z-index: 2;
}

.knobs,
.layer {
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   box-shadow: 0 -2px 6px -2px rgb(0 0 0) inset;
   border-radius: 40px;
}

.button.r,
.button.r .layer {
   border-radius: 100px;
}

.gender-choice .layer {
   width: 100%;
   background-color: #435bcd;
   transition: 0.3s ease all;
   z-index: 1;
}

.gender-choice .knobs:before {
   content: '';
   background: url(../../images/M.svg) no-repeat;
   background-size: 80%;
   background-position: center;
   position: absolute;
   rotate: 180deg;
   top: 4px;
   left: 4px;
   bottom: 4px;
   width: 30px;
   font-size: 10px;
   font-weight: bold;
   line-height: 1;
   text-align: center;
   padding: 9px 4px;
   border-radius: 50%;
   transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

.gender-choice .checkbox:checked~.layer {
   background-color: #bb5959;
}

.gender-choice .checkbox:checked+.knobs:before {
   content: '';
   background: url(../../images/W.svg) no-repeat;
   left: 38px;
   background-size: 80%;
   background-position: center;
   rotate: 0deg;
}

.games-wrapper {
   width: 100%;
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   gap: 20px;
}

.scene__card {
   margin-top: 20px;
   position: relative;
   display: flex;
   flex-direction: column;
   background: #c3c3c3;
   border-radius: 5px;
   overflow: hidden;
   align-items: center;
   box-shadow: 0 1px 4px rgb(0 0 0), -23px 0 20px -23px rgb(0 0 0 / 80%), 23px 0 20px -23px rgb(0 0 0 / 80%), 0 0 40px rgb(0 0 0 / 10%) inset;
   cursor: pointer;
   transition: .3s;
   align-self: stretch;
   max-height: 600px;
   filter: grayscale(.5);
   padding-bottom: 0;
   flex-shrink: 0;
   width: 250px;
   color: #000;
}

.scene__card {
   width: 100%;
   background: #071126dd;
   border: 2px solid transparent;
   border-radius: 20px;
   padding: 20px;
   cursor: pointer;
   transition: all 0.3s ease;
}

.scene__card.active {
   box-shadow: 0 0 11px gold;
   scale: 1.03;
}

.scene__card.active::after {
   content: '';
   position: absolute;
   top: 10px;
   right: 10px;
   width: 50px;
   height: 50px;
   background-image: url(../../images/checkbox-circle.svg);
   background-repeat: no-repeat;
   background-size: 100%;
   border-radius: 50%;
   z-index: 1;
}

.scene__card.blocked::after {
   content: '';
   position: absolute;
   top: 10px;
   right: 10px;
   width: 50px;
   height: 50px;
   background-image: url(../../images/lock.svg);
   background-repeat: no-repeat;
   background-size: 100%;
   border-radius: 50%;
   z-index: 1;
}

.scene__card.blocked .scene__card_content-img {
   opacity: .3;
}

.scene__card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 1;
}

.scene__card:hover {
   filter: grayscale(0);
}

.scene__card-name {
   font-size: 20px;
   font-weight: 600;
   text-align: center;
   position: relative;
   z-index: 1;
   width: auto;
   display: flex;
   align-items: center;
   justify-content: center;
   backdrop-filter: blur(3px);
   -webkit-backdrop-filter: blur(3px);
   padding: 4px;
   background: #0d141ba3;
   border-radius: 5px;
   position: absolute;
   top: 2px;
   transition: .3s;
}

.scene__card-name a {
   color: gold;
}

.scene__card_content {
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1%;
   height: 100%;
}

.scene__card_content-img {
   width: 100%;
   height: 250px;
   max-height: none;
   display: block;
   top: 0;
   left: 0;
   transition: .3s;
}

.scene__card:hover .scene__card_content-img {
   scale: 1.1;
}

.scene__card_content-img img {
   display: flex;
   width: 100%;
   height: auto;
   min-height: auto;
   object-fit: cover;
   border-radius: 5px 0 0 5px;
}

.scene__card_content-data {
   width: 96%;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   backdrop-filter: blur(5px);
   -webkit-backdrop-filter: blur(5px);
   padding: 3%;
   background: #d9d7faa8;
   border-radius: 5px;
   gap: 0;
   margin-top: -16%;
   flex: 1 1 auto;
   transition: .3s;
}

.games-wrapper .scene__card_content-data {
   width: 100%;
   margin: 0;
   height: 86px;
   overflow: hidden;
   align-items: flex-start;
}

.scene__card_content-tools-time,
.scene__card_content-tools-rating,
.scene__card_content-count {
   font-size: 16px;
   display: flex;
}

.scene__card_content-count {
   display: flex;
   gap: 4px;
   align-items: center;
}

.scene__card_content-tools-rating {
   display: flex;
   align-items: center;
}

.scene__card_content-tools-time span,
.scene__card_content-tools-rating span,
.scene__card_content-count span {
   font-size: 18px;
   font-weight: 600;
}

.frankness {
   position: relative;
   display: flex;
   width: 200px;
   height: 10px;
   overflow: hidden;
}

.frankness img {
   width: 120px;
   z-index: 100;
   position: absolute;
}

.stars-reviews {
   position: relative;
   display: flex;
   width: 100px;
   height: 20px;
   overflow: hidden;
   filter: drop-shadow(0px 0px 1px black);
   margin-left: 5px;
}

.stars-reviews img {
   width: 80px;
   z-index: 100;
   position: absolute;
   margin-top: 1px;
}

.title__background {
   width: fit-content;
   position: relative;
   font-weight: 600;
   font-size: 28px;
   color: #ddd;
   margin: 0 auto;
   margin-top: 10px;
   margin-bottom: 10px;
   height: auto;
   text-shadow: 1px 1px 5px #000;
}

.title__background::before {
   content: "";
   position: absolute;
   height: 80%;
   width: calc(100% + 20px);
   left: -10px;
   background-color: #FF53F8;
   z-index: -1;
   opacity: .7;
   bottom: 0;
   transform: scale(-1, -1);
   clip-path: polygon(10px 2.99%, 67.79% 0.00%, 56.02% 47.34%, 26.40% 55.72%, 0.70% 88.89%);
}

.title__background::after {
   content: "";
   top: 0;
   position: absolute;
   height: 80%;
   width: calc(100% + 20px);
   left: -10px;
   background-color: #572FED;
   z-index: -1;
   opacity: .7;
   clip-path: polygon(10px 2.99%, 67.79% 0.00%, 56.02% 47.34%, 26.40% 55.72%, 0.70% 88.89%);
}

.steps-list {
   display: flex;
   flex-direction: column;
   gap: 5px;
   font-size: 22px;
}

.step {
   display: flex;
   align-items: center;
   gap: 10px;
}

.step-num {
   display: flex;
   color: #000;
   font-weight: bold;
   font-size: 2rem;
   width: 32px;
   height: 32px;
   border-radius: 50%;
   align-items: center;
   justify-content: center;
   text-indent: initial;
   flex-shrink: 0;
   background: #bd44b8;
}

.faq__item {
   display: flex;
   flex-direction: column;
   gap: 5px;
   border-bottom: 2px solid #cccccc33;
   background: #cccccc14;
   padding: 5px;
   border-radius: 5px;
}

.faq__item_title {
   font-size: 22px;
   color: #ff62f8;
}

.faq__item_text::before {
   content: '';
   position: absolute;
   top: 0;
   left: 8px;
   height: 100%;
   width: 2px;
   background: #bf47ba;
}

.faq__item_text {
   position: relative;
   padding-left: 20px;
   font-size: 20px;
}

@media screen and (max-width:720px) {
   .container {
      width: 100%;
      padding: 20px 10px;
      gap: 20px;
   }

   .main__players {
      width: 100%;
      flex-direction: column;
      align-items: center;
   }

   .form-scene_img-box__img {
      width: auto;
   }

   .form-registration-player {
      width: 100%;
   }

   .games-wrapper {
      justify-items: center;
      gap: 20px;
   }

   .scene__card {
      width: 300px;
   }

   .steps-list {
      gap: 4px;
      font-size: 16px;
   }

   .step-num {
      font-size: 1.5rem;
      width: 28px;
      height: 28px;
   }


   .faq__item_title {
      font-size: 20px;
   }

   .faq__item_text {
      font-size: 18px;
   }
}

.cookie-consent {
   position: fixed;
   bottom: 0;
   left: 100px;
   right: 0;
   background: rgba(0, 0, 0, 0.95);
   backdrop-filter: blur(10px);
   z-index: 10000;
   padding: 15px;
   border-top: 1px solid #572FED;
   font-family: inherit;
}

.cookie-consent__content {
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center;
   gap: 15px;
}

.cookie-consent__text {
   color: #fff;
   font-size: 14px;
   margin: 0;
   flex: 2;
   min-width: 200px;
}

.cookie-consent__text a {
   color: #572FED;
   text-decoration: underline;
}

.cookie-consent__buttons {
   display: flex;
   gap: 10px;
   flex-wrap: wrap;
}

.cookie-consent__btn {
   padding: 8px 20px;
   border-radius: 8px;
   cursor: pointer;
   font-size: 14px;
   font-weight: bold;
   border: none;
   transition: all 0.2s;
}

.cookie-consent__btn--accept {
   background: #572FED;
   color: white;
}

.cookie-consent__btn--accept:hover {
   background: #3a1fa3;
}

.cookie-consent__btn--decline {
   background: transparent;
   color: #fff;
   border: 1px solid #666;
}

.cookie-consent__btn--decline:hover {
   background: rgba(255, 255, 255, 0.1);
}

#reset-cookie-consent {
   background: none;
   color: #572FED;
   cursor: pointer;
   width: fit-content;
   border: 1px solid;
   padding: 10px;
   border-radius: 8px;
}

@media (max-width: 600px) {
   .cookie-consent__content {
      flex-direction: column;
      text-align: center;
   }
}