@font-face {
  font-family: f;
  src: url("/media/games/number-snake/fonts/LilitaOne-Regular.ttf");
}
#full-area {
  width: 100%;
  height: 100vh;
  background: #000;
  position: absolute;
  overflow: hidden;
  user-select: none;
}
#full-area #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url("/media/games/number-snake/images/navbar/backer.jpg");
}
#full-area #game-area #content {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: absolute;
  padding: 20px;
  z-index: 999999999;
  background: url("/media/games/number-snake/background.jpg");
  background-size: cover;
  background-position: center center;
}
#full-area #game-area #content #bg-effect {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#full-area #game-area #content .btnn {
  width: 300px;
  background: rgba(0, 0, 0, 0.7411764706);
  cursor: pointer;
  color: white;
  font-size: 37px;
  border-radius: 20px;
  border: 2px solid white;
  padding: 12px 0;
  outline: none;
}
#full-area #game-area #content #home-section {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 999999;
  position: absolute;
}
#full-area #game-area #content #home-section #home-right {
  position: absolute;
  left: 50%;
  top: 7%;
  transform: translateX(-50%);
}
#full-area #game-area #content #home-section #logo {
  height: 500px;
  justify-content: center;
  display: flex;
  margin: 0 auto;
  margin-top: 30px;
  animation: logoAnim 1.3s infinite;
}
#full-area #game-area #content #home-section #home-btns {
  width: 70%;
  margin-left: 15%;
  justify-content: space-around;
  display: flex;
  margin-top: 10px;
}
#full-area #game-area #content #home-section #home-btns img {
  width: 300px;
  cursor: pointer;
}
#full-area #game-area #content #home-section.intro-open #home-right {
  display: none;
}
#full-area #game-area #content #home-section #ns-intro {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  z-index: 5;
  background: linear-gradient(180deg, rgba(6, 34, 10, 0.55), rgba(6, 34, 10, 0.35));
}
#full-area #game-area #content #home-section #ns-intro #ns-intro-logo {
  position: absolute;
  left: 80px;
  top: 83px;
  height: 430px;
  animation: logoAnim 1.3s infinite;
}
#full-area #game-area #content #home-section #ns-intro #ns-intro-cards {
  position: absolute;
  right: 56px;
  top: 62px;
  width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#full-area #game-area #content #home-section #ns-intro #ns-intro-title {
  align-self: center;
  margin-bottom: 2px;
  padding: 6px 34px 4px;
  border-radius: 999px;
  background: #1b4f16;
  border: 3px solid #ffe07a;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
  font-family: f;
  font-size: 30px;
  letter-spacing: 3px;
  line-height: 1.1;
  color: #ffe07a;
}
#full-area #game-area #content #home-section #ns-intro .ns-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 12px 14px 12px 50px;
  margin-left: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, #74c94a, #2f8a26);
  border: 3px solid #ffe07a;
  box-shadow: 0 6px 0 #1b4f16, 0 12px 18px rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.35);
  opacity: 0;
  animation: nsStepIn 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}
#full-area #game-area #content #home-section #ns-intro .ns-step:nth-child(3) {
  animation-delay: 0.12s;
}
#full-area #game-area #content #home-section #ns-intro .ns-step:nth-child(4) {
  animation-delay: 0.24s;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-nb {
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe66b, #f5a800);
  border: 4px solid #fff;
  box-shadow: 0 5px 0 #9a5d00, 0 8px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: f;
  font-size: 32px;
  font-weight: normal;
  line-height: 1;
  color: #1b4f16;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-text {
  flex: 1 1 auto;
  min-width: 0;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-text span {
  display: block;
  font-family: f;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
#full-area #game-area #content #home-section #ns-intro .ns-step-text p {
  font-family: f;
  font-size: 19px;
  line-height: 1.15;
  margin: 3px 0 0;
  color: #fff6cf;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray {
  position: relative;
  flex: 0 0 236px;
  height: 76px;
  border-radius: 16px;
  background: rgba(10, 45, 8, 0.45);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray i {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff3b8, #ffd24a);
  border: 3px solid #1b4f16;
  display: flex;
  align-items: center;
  justify-content: center;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray i svg {
  width: 26px;
  height: 26px;
  fill: #1b4f16;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray em {
  display: flex;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray em img {
  width: 48px;
  height: 48px;
  margin-left: -6px;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray em img:first-child {
  margin-left: 0;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray em.ns-pop img {
  animation: nsBubblePop 2.4s ease-in-out infinite;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray em.ns-pop img:nth-child(2) {
  animation-delay: 0.3s;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray em.ns-pop img:nth-child(3) {
  animation-delay: 0.6s;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray em.ns-new img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 8px #ffe07a);
  animation: nsPlayPulse 0.9s ease-in-out infinite alternate;
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray u {
  text-decoration: none;
  font-family: f;
  font-size: 34px;
  line-height: 1;
  color: #ffe07a;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
#full-area #game-area #content #home-section #ns-intro .ns-step-tray .ns-tick {
  flex: 0 0 auto;
  width: 32px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}
#full-area #game-area #content #home-section #ns-intro #ns-play-btn {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  bottom: 100px;
  padding: 14px 80px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe66b, #f5a800);
  border: 5px solid #fff;
  box-shadow: 0 8px 0 #9a5d00, 0 16px 26px rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.6);
  font-family: f;
  font-size: 44px;
  letter-spacing: 3px;
  line-height: 1;
  color: #1b4f16;
  cursor: pointer;
  animation: nsPlayPulse 1.1s ease-in-out infinite alternate;
}
#full-area #game-area #content #home-section #ns-intro #ns-play-btn:active {
  filter: brightness(1.1);
}
#full-area #game-area #content #end-section {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 999999999;
}
#full-area #game-area #content #end-section .content {
  width: 70%;
  left: 15%;
  height: 100%;
  position: relative;
  background: url("/media/games/number-snake/images/game-over-box.png");
  background-size: cover;
}
#full-area #game-area #content #end-section .content #logo2 {
  height: 60%;
  display: flex;
  margin: 0 auto;
  margin-top: -4%;
  z-index: 2;
  position: relative;
  top: 40px;
  animation: logoAnim 1.3s infinite;
}
#full-area #game-area #content #end-section .content #end-btns {
  left: 50%;
  top: 85%;
  transform: translate(-50%, -100%);
  position: relative;
  padding-top: 0px;
  display: flex;
}
#full-area #game-area #content #end-section .content #end-btns img {
  height: 80px;
  cursor: pointer;
  display: flex;
  margin: -7px auto;
}
#full-area #game-area #content #play-section {
  width: 100%;
  height: 100%;
  position: absolute;
  background: url("/media/games/number-snake/images/naked-bg.jpg");
  background-size: cover;
  background-position: bottom center;
  z-index: 9999;
}
#full-area #game-area #content #play-section #layer {
  position: absolute;
  width: 120%;
  height: 120%;
  top: 0%;
  background: url("/media/games/number-snake/images/layer.png");
  background-size: cover;
  background-position: left center;
  z-index: 2;
}
#full-area #game-area #content #play-section #score {
  color: white;
  background: rgba(0, 0, 0, 0.431372549);
  position: absolute;
  padding: 9px 0px;
  font-size: 35px;
  font-family: f;
  margin: 25px -25px;
  width: 200px;
  text-align: center;
  left: 100%;
  transform: translateX(-100%);
  border-radius: 20px;
  font-style: italic;
  border: 2px solid white;
}
#full-area #game-area #content #play-section #snake {
  position: absolute;
  width: 570px;
  height: 500px;
  top: 170px;
  left: 50px;
}
#full-area #game-area #content #play-section #snake #snake-sprite {
  position: absolute;
  width: 100%;
}
#full-area #game-area #content #play-section #snake #result {
  position: absolute;
  width: 200px;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 3;
}
#full-area #game-area #content #play-section #snake #result img {
  width: 100%;
  animation: scale 1s infinite;
}
#full-area #game-area #content #play-section #snake #seq-buble {
  position: absolute;
  width: 300px;
  height: 220px;
  left: 400px;
  top: 60px;
  animation: seqAnim 2s infinite;
}
#full-area #game-area #content #play-section #snake #seq-buble #buble-nb {
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  z-index: 2;
  display: none;
}
#full-area #game-area #content #play-section #snake #seq-buble #snake-buble {
  width: 100%;
  position: absolute;
}
#full-area #game-area #content #play-section #answer {
  position: absolute;
  display: flex;
  justify-content: center;
  max-width: 5000px;
  flex-wrap: wrap;
  width: 700px;
  left: 65%;
  top: 56%;
  transform: translateX(-50%) translateY(-50%);
}
#full-area #game-area #content #play-section #answer div {
  width: 60px;
  margin: 5px 5px;
  transform: scale(0);
  opacity: 0;
  position: relative;
  left: 0;
}
#full-area #game-area #content #play-section #answer div img {
  width: 100%;
  animation: logoAnim 1.2s infinite;
}
#full-area #game-area #content #play-section #ns-ptt {
  position: absolute;
  left: 640px;
  bottom: 84px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, visibility 0.25s;
}
#full-area #game-area #content #play-section #ns-ptt.ns-hidden {
  display: none;
}
#full-area #game-area #content #play-section #ns-ptt.ns-not-turn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#full-area #game-area #content #play-section #ns-ptt button {
  padding: 0;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, opacity 0.2s ease, filter 0.2s ease;
}
#full-area #game-area #content #play-section #ns-ptt button svg {
  fill: currentColor;
  pointer-events: none;
}
#full-area #game-area #content #play-section #ns-ptt button:active {
  transform: scale(0.94);
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-btn {
  height: 56px;
  padding: 0 26px 0 20px;
  gap: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #74c94a, #2f8a26);
  border: 3px solid #ffe07a;
  box-shadow: 0 6px 0 #1b4f16, 0 11px 16px rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
  animation: nsPlayPulse 1.2s ease-in-out infinite alternate;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-btn svg {
  width: 28px;
  height: 28px;
  color: #ffe07a;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-btn span {
  font-family: f;
  font-size: 28px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-row {
  display: none;
  position: relative;
  align-items: center;
  gap: 10px;
  width: 560px;
  margin-left: 120px;
  height: 74px;
  padding: 0 9px 0 10px;
  border-radius: 999px;
  background: rgba(8, 36, 8, 0.78);
  border: 3px solid #ffe07a;
  box-shadow: 0 6px 0 #1b4f16, 0 12px 20px rgba(0, 0, 0, 0.45), inset 0 3px 8px rgba(0, 0, 0, 0.5);
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-mic {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #74c94a, #2f8a26);
  border: 3px solid #ffe07a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: nsMicLive 1.2s ease-out infinite;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-mic svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-bubble {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-bubble p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: f;
  font-size: 24px;
  line-height: 1;
  color: #fff6cf;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0.55;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-bubble b {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #74c94a, #2f8a26);
  border: 3px solid #fff;
  box-shadow: 0 3px 0 #1b4f16;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: f;
  font-weight: normal;
  font-size: 26px;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-bubble b.ns-live {
  opacity: 0.55;
  border-style: dashed;
}
#full-area #game-area #content #play-section #ns-ptt.has-text #ns-ptt-bubble p {
  opacity: 1;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-send, #full-area #game-area #content #play-section #ns-ptt #ns-ptt-reset {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-send svg, #full-area #game-area #content #play-section #ns-ptt #ns-ptt-reset svg {
  width: 26px;
  height: 26px;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-send {
  background: linear-gradient(180deg, #ffe66b, #f5a800);
  border: 3px solid #fff;
  box-shadow: 0 4px 0 #9a5d00, inset 0 2px 0 rgba(255, 255, 255, 0.6);
  color: #1b4f16;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-send svg {
  margin-left: 3px;
}
#full-area #game-area #content #play-section #ns-ptt #ns-ptt-reset {
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(255, 224, 122, 0.7);
  color: #ffe07a;
}
#full-area #game-area #content #play-section #ns-ptt:not(.has-text) #ns-ptt-send, #full-area #game-area #content #play-section #ns-ptt:not(.has-text) #ns-ptt-reset {
  opacity: 0.4;
  filter: grayscale(0.6);
  pointer-events: none;
}
#full-area #game-area #content #play-section #ns-ptt.active #ns-ptt-btn {
  display: none;
}
#full-area #game-area #content #play-section #ns-ptt.active #ns-ptt-row {
  display: flex;
}
#full-area #game-area #content #play-section #ns-ptt.waiting #ns-ptt-send, #full-area #game-area #content #play-section #ns-ptt.waiting #ns-ptt-reset {
  opacity: 0.45;
  filter: grayscale(1);
  cursor: default;
  pointer-events: none;
}
#full-area #game-area #content #play-section #ns-ptt.waiting #ns-ptt-mic {
  animation: none;
  filter: grayscale(1);
}

.end {
  animation: end 1s ease-out;
  animation-fill-mode: forwards;
}

@keyframes btnAnim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes logoAnim {
  0% {
    transform: scale(1) rotate(-5deg);
  }
  50% {
    transform: scale(0.96) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(-5deg);
  }
}
@keyframes seqAnim {
  0% {
    transform: scale(1) rotate(15deg);
    transform-origin: bottom left;
  }
  50% {
    transform: scale(0.96) rotate(5deg);
    transform-origin: bottom left;
  }
  100% {
    transform: scale(1) rotate(15deg);
    transform-origin: bottom left;
  }
}
@keyframes nsPlayPulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}
@keyframes nsStepIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes nsBubblePop {
  0%, 60%, 100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.18) translateY(-4px);
  }
  30% {
    transform: scale(1);
  }
}
@keyframes nsMicLive {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 224, 122, 0.7);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(255, 224, 122, 0);
  }
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}
.level {
  transition: transform 0.3s ease;
}

.pressed {
  transform: scale(0.5); /* Adjust the scale to a suitable level */
}

#full-area #game-area #content #top-info2 {
  width: 100%;
  opacity: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

#full-area #game-area #content #top-info2 {
  padding: 3px 30px;
  border: none;
  color: white;
  font-weight: 500;
  font-size: 7vh;
  opacity: 1;
  cursor: default;
  text-shadow: 0px 1px 1px black;
}


@media (max-width: 600px) {
  #full-area #game-area #content #home-section #logo {
    height: 600px;
    margin-top: 170px;
  }
  #full-area #game-area #content #play-section #score {
    position: relative;
    z-index: 99;
    left: 0;
    transform: scale(1.2);
    margin-left: 50px;
    margin-top: 30px;
  }
  #full-area #game-area #content #play-section #snake {
    transform: scale(1.2);
    top: 450px;
    left: -50px;
  }
  #full-area #game-area #content #play-section #answer {
    width: 400px;
    min-height: 100px;
    height: auto;
    max-height: 999999px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-left: 60px;
  }
  #full-area #game-area #content #play-section #answer div {
    width: 90px;
  }
  #full-area #game-area #content #end-section {
    background: rgba(0, 0, 0, 0.5058823529);
    backdrop-filter: blur(5px);
  }
  #full-area #game-area #content #end-section .content #end-btns {
    width: 100%;
    height: 300px;
    padding: 0px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: -270px;
    margin-left: 30px;
  }
  #full-area #game-area #content #end-section .content #end-btns img {
    width: 75%;
    height: auto;
  }
}
