/* ============================================
   RESET & GLOBAL
   ============================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:global(.grecaptcha-badge) {
  visibility: hidden;
}

/* ============================================
   BODY & HTML
   ============================================ */
body,
html {
  background-color: light-dark(#fdfcfb, #000);
  background-image: url('../img/mobile-bg.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  margin: 0;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  body,
  html {
    background-image: url(../img/tablet-bg.webp);
  }
}

@media (min-width: 1200px) {
  body,
  html {
    background-image: url(../img/desktop-bg.webp);
  }
}

body {
  overscroll-behavior-y: contain;
  position: relative;
  overflow: hidden;
}
/* ============================================
   MAIN CONTAINER
   ============================================ */
.main {
  height: 100vh;
  min-height: 100vh;
  width: 100vw;
}

/* ============================================
   ELEMENTS RESET
   ============================================ */
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input {
  border: none;
  outline: none;
}

/* ============================================
   UTILITY DISPLAY CLASSES
   ============================================ */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-flex {
    display: flex !important;
  }
  .d-sm-inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .d-md-inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-flex {
    display: flex !important;
  }
  .d-lg-inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-flex {
    display: flex !important;
  }
  .d-xl-inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 1400px) {
  .d-xxl-none {
    display: none !important;
  }
  .d-xxl-block {
    display: block !important;
  }
  .d-xxl-flex {
    display: flex !important;
  }
  .d-xxl-inline-flex {
    display: inline-flex !important;
  }
}

/* ============================================
   FONTS
   ============================================ */
@font-face {
  font-display: swap;
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/Inter_18pt-Regular.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  src: url(../fonts/Inter_18pt-Medium.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/Inter_18pt-SemiBold.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/Inter_18pt-Bold.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  src: url(../fonts/Inter_18pt-ExtraBold.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: Inter;
  font-style: normal;
  font-weight: 900;
  src: url(../fonts/Inter_18pt-Black.woff2) format('woff2');
}

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  --font-family: 'Inter';
  --index: calc(1vw + 1vh);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  --header-height: 4rem;
  --boost-win: linear-gradient(180deg, #e9b352, #d6803b);
}

@media (min-width: 768px) {
  :root {
    --header-height: 5rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --header-height: 6rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes flyingDown {
  0% {
    transform: translateY(0);
  }
  17.87% {
    transform: translateY(16.7%);
  }
  32.25% {
    transform: translateY(0);
  }
  41.38% {
    transform: translateY(11.1%);
  }
  58.75% {
    transform: translateY(-8.3%);
  }
  71.25% {
    transform: translateY(25%);
  }
  87.5% {
    transform: translateY(8.3%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes flyingUp {
  0% {
    transform: translateY(0);
  }
  17.87% {
    transform: translateY(-16.7%);
  }
  32.25% {
    transform: translateY(0);
  }
  41.38% {
    transform: translateY(-11.1%);
  }
  58.75% {
    transform: translateY(8.3%);
  }
  71.25% {
    transform: translateY(-25%);
  }
  87.5% {
    transform: translateY(-8.3%);
  }
  to {
    transform: translateY(0);
  }
}

.flyingDown {
  animation: flyingDown 8s ease-in-out infinite;
}

.flyingUp {
  animation: flyingUp 8s ease-in-out infinite;
}

@keyframes fadeOpacity {
  0%,
  to {
    opacity: 1;
  }
  14% {
    opacity: 0.85;
  }
  28% {
    opacity: 0.5;
  }
  42% {
    opacity: 1;
  }
  56% {
    opacity: 0.5;
  }
  70% {
    opacity: 0.75;
  }
  84% {
    opacity: 0.5;
  }
}

.fadeInPulse {
  animation: fadeOpacity 8s ease-in-out infinite;
}

/* ============================================
   HTML & BODY OVERRIDES
   ============================================ */
html {
  font-family: var(--font-family);
}

body {
  background-color: light-dark(#fdfcfb, #000);
}

body.keyboard-visible .header {
  z-index: 10;
}

/* ============================================
   CONTAINER & LAYOUT UTILITIES
   ============================================ */
.container {
  margin-inline: 1rem;
  position: relative;
}

@media (min-width: 1200px) {
  .container {
    margin-inline: auto;
  }
}

.absolute {
  position: absolute;
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
}

.estop {
  pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.button {
  align-items: center;
  background-color: #000;
  border: 1px solid #fff;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-family);
  font-weight: 700;
  justify-content: center;
  padding: 8px 17px;
  position: relative;
  text-transform: uppercase;
  z-index: 5;
}
.lang-ky .button {
  padding: 8px 8px;
}
.button--yellow {
  background-color: #795f32;
  border: none;
  color: #0009;
  min-height: 44px;
  padding: 12px 32px;
  width: 100%;
}

.button--yellow:focus {
  background-color: #df8134;
}

.button--ghost {
  border: 1px solid #0f100f;
  color: #0f100f;
}

.button--ghost,
.input {
  background-color: transparent;
}

/* ============================================
   INPUTS
   ============================================ */
.input {
  border: 2px solid #7a7a81;
  border-radius: 8px;
  color: #fff;
  font-size: 16px !important;
  font-weight: 500;
  padding: 15px 10px;
  width: 100%;
}

.input::-moz-placeholder {
  color: #fff9;
  font-weight: 500;
}

.input::placeholder {
  color: #fff9;
  font-weight: 500;
}

@media (min-width: 768px) {
  .input {
    padding: 15px 15px;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  padding: 1rem;
  width: 100%;
  z-index: 100;
}

@media (min-width: 768px) {
  .header {
    padding-inline: 2rem;
  }
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  position: relative;
}

.nav__logo img {
  height: 25px;
  min-height: 25px;
  max-width: 90%;
}
@media (max-width: 768px) {
  .nav__logo {
    width: 35%;
  }
}
@media (min-width: 768px) {
  .nav__logo img {
    height: 48px;
    min-height: 48px;
  }
}

@media (min-width: 1200px) {
  .nav__logo img {
    height: auto;
    margin-bottom: 5px;
    max-width: 251px;
    min-height: auto;
  }
}
@media (max-width: 576px) {
  .nav__btn .button {
    font-size: 0.75rem;
  }
  .lang-ky .nav__btn .button {
    font-size: 0.6rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav__btn .button:hover {
    background: #e9b352;
    border: 1px solid #000;
    color: #000;
  }
}

.nav__inner {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  z-index: 50;
}
@media (max-width: 768px) {
  .nav__inner {
    gap: 0;
  }
}
.nav__title {
  animation: slideIn 1s ease-in-out forwards;
  flex: 1 1 100%;
  font-size: calc(var(--index) * 1.4);
  font-weight: 800;
  text-transform: uppercase;
  transform: translate(-100%);
  z-index: 10;
}

@keyframes slideIn {
  0% {
    transform: translate(-100%);
  }
  to {
    transform: translate(0);
  }
}

@media (max-width: 1199px) {
  .nav {
    justify-content: space-between;
  }
  .nav__logo {
    order: 1;
  }
  .nav__inner {
    order: 2;
  }
  .nav__title {
    order: 3;
    padding: 1rem 0;
  }
}

@media (min-width: 768px) {
  .nav {
    align-items: flex-end;
  }
  .nav__logo img {
    height: 48px;
    min-height: 48px;
  }
}

@media (min-width: 1200px) {
  .nav {
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: center;
    margin-inline: auto;
    max-width: 85vw;
  }
  .nav__logo {
    order: 1;
  }
  .nav__title {
    flex: 1 1 auto;
    order: 2;
    text-align: center;
  }
  .nav__inner {
    order: 3;
    position: static;
  }
  .nav__logo img {
    height: auto;
    margin-bottom: 5px;
    max-width: 251px;
    min-height: auto;
  }
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.langSelector {
  display: block;
  position: relative;
  text-transform: uppercase;
  z-index: 50;
  width: max-content;
}

.langSelector.bg--light .selected > span {
  color: #0f100fcc;
}

.langSelector.bg--light .selected.active {
  background-color: #dedede80;
}

.langSelector.bg--light .selected-icon img {
  height: 12px;
  min-height: 12px;
  min-width: 12px;
  width: 12px;
}

.langSelector.bg--light .dropdown-list {
  background-color: #dedede80;
}

.langSelector.bg--light .dropdown-list li span,
.langSelector.bg--light .dropdown-list li.active span,
.langSelector.bg--light .dropdown-list li:hover span {
  color: #0f100fcc;
}

.langSelector .selected {
  align-items: center;
  background-color: transparent;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  padding: 8px;
  transition: all 0.25s ease-in-out;
}

.langSelector .selected > img {
  border-radius: 100%;
}

.langSelector .selected > span {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.langSelector .selected-icon {
  transition: all 0.25s ease-in-out;
}

.langSelector .selected-icon img {
  height: 8px;
  min-height: 8px;
  min-width: 12px;
  width: 12px;
}

.langSelector .selected.active {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background-color: #080b1480;
}

.langSelector .selected.active .selected-icon {
  transform: rotate(-180deg);
}

.langSelector .dropdown-list {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background-color: #080b1480;
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style-type: none;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 8px;
  position: absolute;
  top: 2.5rem;
  transition: all 0.25s ease-in-out;
  visibility: hidden;
  width: 100%;
}

.langSelector .dropdown-list li {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 5px;
  transition: all 0.25s ease;
}

.langSelector .dropdown-list li img {
  border-radius: 50%;
}

.langSelector .dropdown-list li span {
  color: #e7e7e9;
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.25s ease;
}

.langSelector .dropdown-list li.active span,
.langSelector .dropdown-list li:hover span {
  color: #e7e7e9;
}

.langSelector .dropdown-list.active {
  max-height: 260px;
  opacity: 1;
  visibility: visible;
  z-index: 100;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  height: 100%;
}
@media (min-width: 1000px) and (orientation: landscape) {
  .hero {
    zoom: 0.7;
  }
}
@media (min-width: 1200px) {
  .hero {
    padding-top: calc(var(--index) * 1.5);
    zoom: 0.8;
  }
}
@media (min-width: 1400px) {
  .hero {
    zoom: 1;
  }
}
.hero__container {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero__title {
  color: #0f100f;
  font-size: 1.06rem;
  font-weight: 800;
  padding: 1.2rem 0;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 2.15rem;
    padding-bottom: 2.3rem;
    padding-top: 1.9rem;
  }
}

.hero__form {
  background: #000000bf;
  border-radius: 20px;
  max-width: 586px;
  padding-inline: 1.5rem;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
  position: relative;
  z-index: 15;
  zoom: 0.81;
}

@media (min-width: 768px) {
  .hero__form {
    background: #000000d9;
    zoom: 1;
    padding-inline: 2rem;
    padding-bottom: 5rem;
    padding-top: 3rem;
  }
}

@media (min-width: 768px) and (orientation: landscape) and (pointer: coarse) and (hover: none) {
  .hero__form {
    zoom: 0.8;
  }
}

@media (min-width: 1200px) {
  .hero__form {
    max-width: calc(var(--index) * 21);
    padding-inline: calc(var(--index) * 1);
    padding-bottom: calc(var(--index) * 2.5);
    padding-top: calc(var(--index) * 2);
    z-index: 16;
  }
}

.hero__form-logo {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero__form-logo img {
    height: calc(var(--index) * 3.85);
  }
}

@media (min-width: 1200px) {
  .hero__form-logo img {
    height: calc(var(--index) * 2.3);
  }
}

.hero__form-title {
  color: #fff;
  font-size: 2.12rem;
  font-weight: 900;
  margin-top: 2rem;
  padding: 0 1rem;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.75);
}

@media (min-width: 768px) {
  .hero__form-title {
    font-size: 3rem;
    margin-top: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .hero__form-title {
    font-size: calc(var(--index) * 1.6);
    padding: 0 calc(var(--index) * 2);
  }
}

.hero__form-content {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .hero__form-content {
    margin-top: 4rem;
    margin-inline: auto;
    padding-inline: 3rem;
  }
}

.hero__form-toggle {
  align-items: center;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 12px;
  display: flex;
  gap: 4px;
  justify-content: space-between;
  padding: 4px;
}

.hero__form-toggle > div {
  align-items: center;
  background-color: transparent;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 40px;
  padding: 10px 20px;
  transition: background-color 0.25s ease-in-out;
  width: 100%;
}

.hero__form-toggle > div.active,
.hero__form-toggle > div:hover {
  background-color: #404040;
}

.hero__form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 1.5rem;
}

.hero__form-button {
  margin-top: 1.5rem;
}

/* ============================================
   MAIN DECORATIVE ELEMENTS (Girls & Chips)
   ============================================ */
.main__girl-1 {
  animation: slideInLeft 1s ease-in-out forwards;
  bottom: 0;
  left: 0;
  opacity: 0;
  width: 56%;
  z-index: 11;
}
.main[data-geo='KZ'] .main__girl-1 {
  left: -15%;
  width: 50%;
}
.main[data-geo='AZ'] .main__girl-1 {
  width: 60%;
}
@media (min-width: 768px) {
  .main[data-geo='AZ'] .main__girl-1 {
    width: calc(var(--index) * 19);
  }
  .main[data-geo='KZ'] .main__girl-1 {
    left: -15%;
    width: calc(var(--index) * 22);
  }
  .main[data-geo='UZ'] .main__girl-1 {
    width: calc(var(--index) * 16);
  }
}

@media screen and (orientation: landscape) and (max-height: 450px) {
  .main__girl-1 {
    float: left;
    position: static;
  }
}

@media (min-width: 1200px) {
  .main__girl-1 {
    bottom: 0;
    left: 0;
  }

  .main[data-geo='KZ'] .main__girl-1 {
    width: calc(var(--index) * 14);
    left: 0;
  }
  .main[data-geo='AZ'] .main__girl-1,
  .main[data-geo='TR'] .main__girl-1 {
    width: calc(var(--index) * 19);
    bottom: -10%;
    left: -2%;
  }

  .main[data-geo='UZ'] .main__girl-1 {
    width: calc(var(--index) * 14.5);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translate(-100%);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

.main__girl-2 {
  animation: slideInRight 1s ease-in-out forwards;
  bottom: 0;
  opacity: 0;
  right: 0;
  width: 42%;
  z-index: 18;
}
.main[data-geo='KG'] .main__girl-2 {
  width: 70%;
}
.main[data-geo='AZ'] .main__girl-2 {
  width: 46%;
}
.main[data-geo='KZ'] .main__girl-2 {
  width: 50%;
  right: -10%;
}
@media (min-width: 768px) {
  .main__girl-2 {
    right: 0;
  }
  .main[data-geo='KZ'] .main__girl-2 {
    right: -20%;
    width: calc(var(--index) * 24);
  }
  .main[data-geo='UZ'] .main__girl-2 {
    width: calc(var(--index) * 15);
  }
  .main[data-geo='KG'] .main__girl-2 {
    width: calc(var(--index) * 20);
  }
  .main[data-geo='AZ'] .main__girl-2,
  .main[data-geo='TR'] .main__girl-2 {
    width: calc(var(--index) * 17);
  }
}

@media screen and (orientation: landscape) and (max-height: 450px) {
  .main__girl-2 {
    float: right;
    position: static;
  }
}

@media (min-width: 1200px) {
  .main[data-geo='KZ'] .main__girl-2 {
    width: calc(var(--index) * 20);
    right: -4%;
  }
  .main[data-geo='AZ'] .main__girl-2,
  .main[data-geo='TR'] .main__girl-2 {
    width: calc(var(--index) * 19);
    right: -4%;
  }
  .main[data-geo='UZ'] .main__girl-2 {
    width: calc(var(--index) * 14);
    right: 0;
  }
  .main[data-geo='KG'] .main__girl-2 {
    width: calc(var(--index) * 18);
    right: 0;
  }
}
.main__gameMachine {
  animation: slideInLeft 1s ease-in-out forwards;
  bottom: 0;
  left: 0;
  opacity: 0;
  width: 56%;
  z-index: 10;
}

@media (min-width: 768px) {
  .main__gameMachine {
    width: calc(var(--index) * 19.1);
  }
}

@media screen and (orientation: landscape) and (max-height: 450px) {
  .main__gameMachine {
    float: left;
    position: static;
  }
}

@media (min-width: 1200px) {
  .main__gameMachine {
    width: calc(var(--index) * 14);
    bottom: 0;
    left: 0;
  }
}
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translate(100%);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

.chips {
  z-index: 8;
}

.main__chips-0 {
  animation-delay: -1s;
  animation-duration: 8.8s;
  left: 21.2rem;
  top: 0.5rem;
  width: 20%;
}

@media (min-width: 768px) {
  .main__chips-0 {
    left: 44rem;
    top: 4.5rem;
    width: 15%;
  }
}

@media (min-width: 1200px) {
  .main__chips-0 {
    left: 24%;
    top: 76%;
    width: 8%;
  }
}
@media (min-width: 1900px) {
  .main__chips-0 {
    top: 80%;
  }
}
.main__chips-1 {
  left: -3rem;
  top: 52%;
  width: 30%;
}

@media (min-width: 768px) {
  .main__chips-1 {
    left: -3rem;
    top: 9rem;
    width: 18%;
  }
}

@media (min-width: 1200px) {
  .main__chips-1 {
    left: -3rem;
    top: 0;
    width: 7%;
  }
}

.main__chips-2 {
  right: -7%;
  top: 8rem;
  width: 25%;
  z-index: 10;
}

@media (min-width: 768px) {
  .main__chips-2 {
    right: 0;
    top: 16%;
    width: 15%;
    z-index: 16;
  }
}

@media (min-width: 768px) and (orientation: landscape) {
  .main__chips-2 {
    top: 13rem;
  }
}

@media (min-width: 1200px) {
  .main__chips-2 {
    right: 3rem;
    top: 5rem;
    width: 5%;
  }
}

.main__chips-3 {
  bottom: 14.5rem;
  right: 6rem;
  width: 25%;
}

@media (min-width: 768px) {
  .main__chips-3 {
    animation-delay: -2.5s;
    animation-duration: 7.8s;
    bottom: 34%;
    left: 55%;
    width: 16%;
  }
}

@media (min-width: 768px) and (orientation: landscape) {
  .main__chips-3 {
    bottom: 1rem;
    left: 30rem;
    z-index: 0;
  }
}

@media (min-width: 1200px) {
  .main__chips-3 {
    left: unset;
    right: 8rem;
    top: 14rem;
    width: 10%;
  }
}

.main__chips-4 {
  bottom: 14rem;
  right: -2rem;
  width: 20%;
}

@media (min-width: 768px) {
  .main__chips-4 {
    bottom: 20rem;
    right: -2rem;
    width: 12%;
  }
}

@media (min-width: 1200px) {
  .main__chips-4 {
    right: 35%;
    top: 14%;
    width: 5%;
  }
}

.main__chips-5 {
  animation-delay: 1.5s;
  animation-duration: 9.8s;
  bottom: 10rem;
  left: 11rem;
  width: 14%;
}

@media (min-width: 768px) {
  .main__chips-5 {
    bottom: 7rem;
    left: 23rem;
    width: 8%;
  }
}

@media (min-width: 1200px) {
  .main__chips-5 {
    bottom: 5rem;
    left: 30rem;
    width: calc(var(--index) * 9.7);
  }
}

.main__chips-6 {
  bottom: -2rem;
  left: 3rem;
  width: 20%;
}

@media (min-width: 768px) {
  .main__chips-6 {
    bottom: -1rem;
    left: 23.5rem;
  }
}

@media (min-width: 1200px) {
  .main__chips-6 {
    animation-duration: 12s;
    bottom: 0;
    left: unset;
    right: 3rem;
    width: calc(var(--index) * 13.5);
  }
}

/* ============================================
   GAME SECTION
   ============================================ */
.game-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.title {
  color: #fff;
  font-size: clamp(16px, 4vw, 35px);
  font-weight: 800;
  text-align: center;
}
@media(min-width: 1200px) {

.title {
  margin-top: 2rem;
}
}
.attempts {
  align-items: center;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(180deg, #e9b352, #d6803b);
  color: transparent;
  display: flex;
  font-size: 14px;
  font-weight: 900;
  gap: 4px;
  justify-content: center;
  margin-top: 5px;
  text-align: center;
}

@media (min-width: 768px) {
  .attempts {
    font-size: 25px;
  }
}

@media (min-width: 1200px) {
  .attempts {
    font-size: 20px;
  }
}

.game-container {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: center;
  position: relative;
}

@media (min-width: 768px) {
  .game-container {
    gap: 28.7px;
  }
}

@media (min-width: 1200px) {
  .game-container {
    gap: 56px;
  }
}

/* ============================================
   CARDS (Memory Game)
   ============================================ */
.card {
  cursor: pointer;
  flex-shrink: 0;
  height: calc(clamp(100px, 22vw, 300px) * 1.52);
  max-height: 630px;
  max-width: 414px;
  min-height: 152px;
  min-width: 100px;
  perspective: 1000px;
  position: relative;
  transition: transform 0.8s ease-in-out;
  width: clamp(100px, 22vw, 300px);
  z-index: 1;
}

@media (min-width: 1800px) {
  .card {
    height: calc(clamp(300px, 22vw, 414px) * 1.52);
    width: clamp(300px, 22vw, 414px);
  }
}

.card.shuffled[data-position='0'] {
  z-index: 1;
}

.card.shuffled[data-position='1'] {
  z-index: 2;
}

.card.shuffled[data-position='2'] {
  z-index: 3;
}

.card-inner {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  width: 100%;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-back,
.card-front {
  align-items: center;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px #0000004d;
  display: flex;
  height: 100%;
  justify-content: center;
  position: absolute;
  width: 100%;
}

.card-front {
  background-image: url(../img/card-front.webp);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 768px) {
  .card-front {
    background-image: url(../img/card-front2.webp);
  }
}

@media (min-width: 1200px) {
  .card-front {
    background-image: url(../img/card-front3.webp);
    border-radius: 25px;
  }
  .game-container:not(.no-hover) .card-front:hover {
    box-shadow: 0 0 50px #ff9500;
  }
}

.card-back {
  background-image: url(../img/card-back.webp);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  color: #1e2e4c;
  display: flex;
  flex-direction: column;
  font-weight: 800;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  transform: rotateY(180deg);
  font-size: clamp(10px, 3vw, 32px);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .card-back {
    background-image: url(../img/card-back3.webp);
  }
}

@media (min-width: 1200px) {
  .card-back {
    background-image: url(../img/card-back2.webp);
  }
}

/* ============================================
   MODAL
   ============================================ */
#modal {
  align-items: center;
  background: #000000b3;
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  overflow-y: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
}

#modal.show {
  display: flex;
  background: rgba(0, 0, 0, 0.85);
}
.ejModal__inner {
  display: flex;
  width: 100%;
  justify-content: center;
}
/* ============================================
   EJ FORM (Modal Form)
   ============================================ */
.ejForm {
  animation: zoomIn 1s ease-in-out forwards;
  background: #01020ac4;
  border: 4.54px solid #df993f;
  border-radius: 22px;
  opacity: 0;
  padding: 20px 20px 40px;
  position: relative;
  width: 90%;
  top: 15%;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateZ(-200px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }
}

@media (min-width: 768px) {
  .ejForm {
    max-width: 560px;
    padding: 40px 20px 76px;
  }
}

@media (min-width: 1200px) {
  .ejForm {
    max-width: 655px;
  }
}

.ejForm__head > span {
  color: #fff;
  display: block;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  font-size: clamp(13px, 3vw, 28px);
}

@media (min-width: 768px) {
  .ejForm__head > span {
    margin-inline: auto;
  }
}

.ejForm__title {
  background: var(--boost-win, linear-gradient(180deg, #e9b352 0, #d6803b 100%));
  -webkit-background-clip: text;
  background-clip: text;
  color: #fff;
  font-size: clamp(0.9375rem, 4vw, 3rem);
  font-weight: 900;
  text-align: center;
  -webkit-text-fill-color: transparent;
  margin-inline: auto;
  margin-top: 0.65rem;
}

@media (min-width: 768px) {
  .ejForm__title {
    margin-top: 20px;
  }
}

.ejForm__content {
  margin-top: 1.3rem;
}
.inputWrapper {
  position: relative;
}
.inputCuttencyContainer.input {
  display: flex;
  align-items: center;
  border: 2px solid #363637;
  color: rgba(87, 87, 92, 1);
;
}
.inputCuttencyContainer img {
  display: inline;
}
.inputCuttencyContainer span {
  padding-left: .5rem;
  margin-top: -.5%;
}
.prefixInline {
  position: relative;
  display: grid;
  --icon-size: min(100vw * calc(14 / 375), 100dvh * calc(14 / 667));
  --icon-offset: min(100vw * calc(10 / 375), 100dvh * calc(10 / 667));
  isolation: isolate;
  overflow: visible;
  z-index: 80;
}

.prefixInline input[type='tel'],
.prefixInline input[type='email'] {
  padding-left: calc(var(--icon-offset) + 2.375rem);
}

.phonePrefix,
.geoPrefix {
  position: absolute;
  top: 50%;
  left: var(--icon-offset);
  transform: translateY(calc(-50% - 1px));
  z-index: 200;
}

.phonePrefix__button,
.geoPrefix__button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 4px;
  min-height: var(--icon-size);
  padding: 0;
  position: relative;
  z-index: 201;
}

.phoneIcon,
.geoIcon {
  border-radius: 50%;
  display: block;
}

.phonePrefix__caret,
.geoPrefix__caret {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  display: block;
  transition: transform 0.2s ease;
}

.phonePrefix__button.active .phonePrefix__caret,
.geoPrefix__button.active .geoPrefix__caret {
  transform: rotate(180deg);
}

.phonePrefix__menu,
.geoPrefix__menu {
  backdrop-filter: blur(16px);
  background-color: rgba(24, 24, 24, 0.95);
  border: 1px solid hsla(0, 0%, 100%, 0.15);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  left: -14px;
  min-width: 88px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 8px);
  z-index: 1000;
}

.phonePrefix__option,
.geoPrefix__option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  text-align: left;
}

.phonePrefix__option img,
.geoPrefix__option img {
  border-radius: 50%;
  height: var(--icon-size);
  width: var(--icon-size);
}

.phonePrefix__option span,
.geoPrefix__option span {
  font-size: 12px;
  line-height: 1;
}

.phonePrefix__option.active,
.phonePrefix__option:hover {
  background-color: #404040;
}

.geoPrefix__option.active,
.geoPrefix__option:hover {
  background-color: #404040;
}

@media (min-width: 768px) {
  .ejForm__content {
    margin-top: 1rem;
    margin-inline: auto;
    max-width: 360px;
  }
}

.ejForm__toggle {
  align-items: center;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 12px;
  display: flex;
  gap: 4px;
  justify-content: space-between;
  padding: 4px;
}

.ejForm__toggle > div {
  align-items: center;
  background-color: transparent;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 40px;
  padding: 10px 20px;
  transition: background-color 0.25s ease-in-out;
  width: 100%;
}

.ejForm__toggle > div.active,
.ejForm__toggle > div:hover {
  background-color: #404040;
}

.ejForm__fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ejForm__button,
.ejForm__fields {
  margin-top: 1rem;
}

/* ============================================
   PASSWORD TOGGLE
   ============================================ */
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-toggle-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33' fill='none' viewBox='0 0 33 33'%3E%3Cpath fill='%237A7A81' fill-rule='evenodd' d='M22.372 8.146c-1.896-.864-3.893-1.291-6.545-1.272-.71.011-1.978.116-3.21.466-4.923 1.398-8.36 4.572-10.741 9.007-.139.258-.05.427.061.636 1.296 2.455 3.013 4.558 5.252 6.21.423.312.44.496.05.839-.273.239-.527.5-.78.761-.22.226-.44.452-.672.664-.314.287-.38.502-.014.799.295.238.584.504.807.808.406.556.69.416 1.118-.014 3.208-3.232 6.43-6.451 9.65-9.67l4.392-4.392c1.73-1.733 3.461-3.466 5.202-5.189.315-.313.422-.524.02-.846a6.6 6.6 0 0 1-.944-.943c-.3-.361-.508-.298-.8.014-.302.322-.616.632-.93.943-.333.33-.667.662-.987 1.006-.293.316-.53.355-.929.173M11.027 19.503a6 6 0 0 1-.74-2.857h.002c-.01-4.52 4.772-7.512 8.767-5.485q.681.345.167.873l-.082.08a2 2 0 0 0-.183.193c-.55.709-1.12.943-2.117.718-2.52-.568-4.77 2.138-3.946 4.634.148.448.061.69-.257.969a10 10 0 0 0-.988.987c-.305.355-.44.224-.623-.112m1.949 7.5c1.138.287 2.294.397 3.536.435 1.177-.03 2.421-.116 3.636-.447 4.988-1.36 8.457-4.551 10.867-9.02.115-.212.11-.374 0-.583a19.7 19.7 0 0 0-3.526-4.793c-.273-.274-.44-.282-.715-.002a400 400 0 0 1-3.955 3.956c-.2.198-.246.4-.23.679.223 3.79-2.726 6.737-6.517 6.516-.28-.017-.481.032-.679.232q-1.27 1.29-2.561 2.56c-.28.276-.232.374.144.468' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: cover;
  cursor: pointer;
  height: 24px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}

.password-toggle-icon.visible {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33' fill='none' viewBox='0 0 33 33'%3E%3Cpath fill='%23fff' fill-opacity='.8' d='M17.542 5.545c5.402.304 10.247 3.336 13.064 9.447.148.32.12.573-.013.883-2.552 5.94-8.323 9.68-14.822 9.397-6.512-.284-11.112-3.524-13.866-9.419-.15-.32-.12-.573.013-.883 2.486-5.786 8.1-9.472 15.624-9.425m-1.255 3.3c-3.71-.012-6.587 2.823-6.608 6.514-.022 3.745 2.821 6.63 6.546 6.642 3.711.011 6.587-2.825 6.609-6.516.021-3.745-2.822-6.63-6.547-6.64'/%3E%3Cpath fill='%23fff' fill-opacity='.8' d='M16.371 19.856c-2.25-.003-3.946-1.695-3.951-3.945-.005-2.277 1.71-3.982 3.993-3.966 2.247.015 3.928 1.722 3.919 3.976-.009 2.249-1.709 3.937-3.961 3.935'/%3E%3C/svg%3E");
}

/* ============================================
   VALID FORM STATE
   ============================================ */
.validForm + .button--yellow {
  background-color: #e9b352 !important;
  box-shadow: 0 0 15px #e9b35266 !important;
}
