
/* *{
  outline: 4px solid green !important;
} */
*, *::before, *::after {
  box-sizing: border-box;
}

@import url('https://cdn.tailwindcss.com');
@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-SemiboldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'NotoColorEmojiLimited';
  unicode-range: U+1F1E6-1F1FF;
  src: url(https://raw.githack.com/googlefonts/noto-emoji/main/fonts/NotoColorEmoji.ttf);
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-UltralightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-LightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-HeavyItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SFProDisplay-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

html {
  font-family: 'SF Pro Display';
}

*,
::after,
::before {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59, 130, 246, .5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
}

.cell {
  background: transparent;
  border: none;
}

.cells-board-mask {
  height: 320px;
  left: 15px;
  -webkit-mask-clip: border-box;
  mask-clip: initial;
  -webkit-mask-image: url('./img/cells-mask.svg');
  mask-image: url('./img/cells-mask.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  position: absolute;
  top: 15px;
  width: 30px;
  z-index: 2;
}

.align-middle {
  vertical-align: middle !important;
}

.justify-center {
  justify-content: center !important;
}

.flex {
  display: flex !important;
  background: radial-gradient(50% 50% at 50% 50%, #151b2e 0, rgba(21, 27, 46, 0) 100%);
}

.footer {
  width: 100%;
    height: auto;
    top: 65% !important;
    position: absolute;
    z-index: -5;
}

.cells-board-wrapper {
  margin-bottom: 40px;
  margin-top: 30%;
  position: relative;
}

.cells-board {
  background-color: #0a0f1d;
  background-image: url('./img/cellsFrame.png');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 25px;
  box-shadow: 0 -2px 20px rgba(42, 49, 69, .4), 0 4px 54px rgba(42, 49, 69, .2);
  display: grid;
  grid-template-columns: repeat(5, 50px);
  grid-template-rows: repeat(5, 50px);
  overflow: hidden;
  padding: 10px;
}

.cells-board .cell {
  align-items: center;
  display: flex;
  justify-content: center;
  z-index: 1;
}

body {
  background-color: #0a0f1d;
  margin: 0;
}

.cells-board-wrapper::before {
  content: url('./img/before.svg');
  position: absolute;
  right: 0;
  top: -30%;
  z-index: -100;
  transform: translateX(10%);
}

.cells-board-wrapper::after {
  content: url('./img/after.svg');
  position: absolute;
  top: -30%;
  left: 0;
  z-index: -100;
  transform: translateX(-10%);
}

.status-bar {
  background: #151b2e;
  border-radius: 1rem;
  display: flex;
  justify-content: space-between;
  min-width: 210px;
  padding: .5rem 1rem;
  position: relative;
  z-index: 4;
  margin-left: 5%;
  margin-right: 5%;
}

.status-bar__status {
  align-items: center;
  -webkit-column-gap: .5rem;
  column-gap: .5rem;
  display: flex;
}

.status-bar__icon {
  display: flex;
  place-items: center;
}

.status-bar__status-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.status-bar__status-title {
  color: #13f36c;
  font-family: 'SF Pro Display';
  font-size: .75rem;
  font-weight: 500;
  line-height: 1rem;
  margin-right: .25rem;
  white-space: nowrap;
}

.status-bar__status-text {
  line-height: 10px;
}

.select-traps {
  align-items: center;
  display: flex;
  justify-content: space-between;
  background: none;
}

#prev_preset_btn,
#next_preset_btn {
  background: none;
  border: none;
}

.select-traps__arrow-icon_prev {
  --tw-rotate: 180deg;
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  -webkit-transform-origin: center;
  transform-origin: center;
}

.status-bar__select-traps {
  --tw-bg-opacity: 1;
  background-color: rgb(10 15 30/var(--tw-bg-opacity));
  border-radius: .5rem;
  flex: 0 1 auto;
  flex-basis: 66.666667%;
  height: 2.75rem;
  max-width: 225px;
  padding: .75rem 1rem;
}

.disabled\:opacity-50:disabled {
  opacity: .5 !important;
}

.select-traps__content {
  align-content: center;
  align-items: center;
  display: flex;
  flex: none;
  flex-direction: column;
  width: 5rem;
}

.select-traps__traps_amount {
  color: #f3f3f3;
  font-family: 'SF Pro Display';
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
}

.select-traps__title {
  color: #97a3cb;
  font-family: FS Elliot Pro, serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
}

.select-traps__arrow-icon {
  fill: #97a3cb;
  height: 1.25rem;
  width: .75rem;
}

.bet-panel {
  margin-top: 5%;
  background: #151b2e;
  border-radius: 16px;
  padding: 15px;
  width: auto;
  display: flex;
  justify-content: center;
  margin-left: 5%;
  margin-right: 5%;
}

button.app-button {
  border-radius: 8px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  min-width: 280px;
  max-width: 420px;
  width: 100%;
  position: relative;
  padding: 5%;
  margin-left: auto;
  margin-right: auto;
}

.games-blue-bg {
  background: linear-gradient(93.73deg, #108de7, #0855c4);
  border: none;
  color: white;
}

body,
html {
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: rgb(9, 15, 30);
  background-size: cover;
  background-position: center;
  font-family: 'SF Pro Display', sans-serif;
}

body.hidden {
  opacity: 0;
  background-color: rgb(9, 15, 30);
  transition: opacity 1s ease-in-out;
}

body.fade-in {
  opacity: 1;
  background-color: rgb(9, 15, 30);
  transition-delay: 1s;
  
}

#container3D {
  position: relative;
  top: 100px;
  width: 100%;
  height: calc(100vh - 100px);
}

#resultText {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 46px;
  color: white;
  display: none;
  font-weight: 900;
}

.hidden {
  display: none !important;
}

.popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: auto;
  margin: 10%;
}

.popup-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.popup-buttons button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
}

#confirmReset {
  background-color: #4CAF50;
  color: white;
}

#cancelReset {
  background-color: #f44336;
  color: white;
}

.preloader {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 99;
  background-color: rgb(9, 15, 30);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 2s ease-in-out;
}

.preloader.hidden {
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.bot_name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  bottom: 5%;
  z-index: 999;
}

.preload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spinner {
  animation: spinner .75s infinite linear;
  border: 3px solid #1863d1;
  border-top-color: rgb(24, 99, 209);
  border-right-color: rgb(24, 99, 209);
  border-radius: 50%;
  border-right-color: transparent;
  border-top-color: transparent;
  box-sizing: border-box;
  height: 25px;
  pointer-events: none;
  width: 25px;
  margin-top: 20px;
}

@keyframes spinner {
  100% {
      transform: rotate(1turn);
  }
}

.coin__item-coins {
  display: flex;
  justify-content: space-around;
  margin-top: 10%;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}

.coin__item-coins img {
  width: 40px;
  height: 40px;
}


@keyframes rotate-update {
  0% {
      transform: rotateY(0deg);
  }
  
  50% {
      transform: rotateY(90deg);
  }
  
  100% {
      transform: rotateY(0deg);
  }
}

.rotate {
  animation: rotate-update 0.5s ease-in-out forwards;
}


.cells-board .cell img {
  display: block;
  margin: 0 auto;
}


.cross-animation {
  animation: crossScaleUp 0.5s forwards;
  transform-origin: center;
}

@keyframes crossScaleUp {
  from {
      transform: scale(0);
      opacity: 0;
  }
  to {
      transform: scale(1);
      opacity: 1;
  }
}


.star-animation {
  animation: starTwinkle 1s infinite;
}

@keyframes starTwinkle {
  0% {
      opacity: 0.8;
  }
  50% {
      opacity: 1;
  }
  100% {
      opacity: 0.8;
  }
}


.fade-in {
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

footer {
  background-image: url('./img/footer.png');
  background-size: 250%;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 300px;
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
  to {
      opacity: 0;
      transform: scale(0);
  }
}


.fade-in {
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: scale(0);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}


.cross-animation {
  animation: crossAnimation 0.5s forwards;
}

@keyframes crossAnimation {
  from {
      opacity: 0;
      transform: rotate(0deg) scale(0);
  }
  to {
      opacity: 1;
      transform: rotate(360deg) scale(1);
  }
}


.star-animation {
  animation: starAnimation 0.5s forwards;
}

@keyframes starAnimation {
  from {
      opacity: 0;
      transform: scale(0);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}


.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.controls button {
  margin: 0 10px;
}

#playButton {
  display: block;
  margin: 0 auto 20px;
}

.preloader.fade-in {
  animation: preloaderFadeIn 1s forwards;
}

@keyframes preloaderFadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}


body.fade-in {
  animation: bodyFadeIn 1s forwards;
}

@keyframes bodyFadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes cellFadeOut {
  to {
      opacity: 0;
  }
}

.cell img {
  display: block;
  width: 100%;
  height: 100%;
}


#playButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}



.status-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  margin-left: 0px
}

.controls {
  margin-bottom: 10px;
}

#playButton {
  width: 200px;
  height: 50px;
  font-size: 13px;
}

.select-traps {
  display: flex;
  align-items: center;
}

.select-traps__prev-arrow-btn,
.select-traps__next-arrow-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.select-traps__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
}

.select-traps__traps_amount {
  font-size: 16px;
}

.select-traps__title {
  font-size: 10px;
  padding: 5px;
  white-space: nowrap;
}


#playButton,
.select-traps {
  height: 50px;
  margin: 0 10px;
}

.select-traps {
  justify-content: center;
}


.top-right {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.language-dropdown {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

@keyframes a0_t_c_2_r {
  0% {
      transform: translate(28px, 28px) scale(0, 0) translate(-28px, -28px);
      animation-timing-function: cubic-bezier(0, 0, .58, 1)
  }
  
  to {
      transform: translate(28px, 28px) scale(1, 1) translate(-28px, -28px)
  }
}

@keyframes a1_o_c_2_r {
  0% {
      opacity: .6
  }
  
  to {
      opacity: 0
  }
}

@keyframes a0_t_c_1_r {
  0% {
      transform: translate(28px, 28px) scale(0, 0) translate(-28px, -28px);
      animation-timing-function: cubic-bezier(0, 0, .6, 1)
  }
  
  to {
      transform: translate(28px, 28px) scale(1, 1) translate(-28px, -28px)
  }
}

@keyframes a1_o_c_1_r {
  0% {
      opacity: .6
  }
  
  to {
      opacity: 0
  }
}

/* Status bar */
.status-bar{
  max-height:137px;
  min-height:0px;
  max-width:128px;
  position: relative;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index:4;
  margin-top:10%;
 }
 
 /* Play button */
 #playButton{
  height:49px;
  min-width:0px;
 }
 
 /* Image */
 footer img{
  display:inline-block;
 }
 
 @font-face {
  font-family: NotoColorEmojiLimited;
  unicode-range: U+1F1E6-1F1FF;
  src: url(https://raw.githack.com/googlefonts/noto-emoji/main/fonts/NotoColorEmoji.ttf);
}

div {
  font-family: 'NotoColorEmojiLimited', -apple-system, BlinkMacSystemFont, 
  'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 
  'Segoe UI Emoji', 'Segoe UI Symbol';
}
