@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  font-family: 'Phudu', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-container {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.bg-img {
  position: fixed;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
}

.main-container {
  max-width: 420px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.small-devices{
  display: none;
}

.large-devices{
  display: block;
}

.home-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 10;
}
.home-btn img {
  width: 100%;
  height: auto;
}

.banner {
  width: 100%;
  max-width: 300px;
  margin-top: -200px;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
  margin-top: 33px;
}

.glass-card {
  width: 100%;
  background-image: url('../img/glass3.png');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  padding-left: 90px;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 100px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 38px;
}

.card-title {
  font-size: 14px;
  font-weight: bold;
  color: white;
  line-height: 1.3;
}

.card-caption {
  font-size: 10px;
  font-family: 'Arial Narrow', sans-serif;
  font-style: italic;
  color: #ccc;
}

.card-button {
  background: #4a90e2;
  text-decoration: none;
  color: white;
  border: none;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: bold;
  width: fit-content;
}

.card-icon-mega, .card-icon-happy, .card-icon-av {
    position: absolute;
    left: -9px;
    width: 125px;
    height: auto;
    z-index: 2;

}

.unlock-timer {
  font-size: 13px;
  font-family: 'Arial Narrow', sans-serif;
  font-style: italic;
  font-weight: bold;
  color: red;
}

.aviator-combo {
  position: absolute;
  left: -60px;
  top: -50px;
  width: 192px;
  height: 120px;
  z-index: 2;
  animation: fly-in 1s ease-in forwards;
}

.glass-card:hover .plane-fly {
  animation: plane-slide-hover 1.2s ease forwards;
}

.glass-card:hover .title-fly {
  animation: title-slide-hover 1.2s ease forwards;
}

.card-icon-happy {
  animation: happy-popup 0.5s ease-out forwards, happy-delay-vibrate 0.4s 0.6s infinite;
  transform-origin: center;
}

.glass-card:hover .card-icon-happy {
  animation: happy-popup 0.5s ease-out forwards, happy-delay-vibrate 0.4s 0s infinite;
}

.card-icon-mega {
  transform-origin: center;
  animation: mega-zoom-slowspin 1.8s ease-out forwards;
}

.glass-card:hover .card-icon-mega {
  animation: mega-zoom-slowspin 1.2s ease-out forwards;
}



.plane-fly {
    position: absolute;
    width: 140px;
    top: -24px;
    left: -34px;
    transform: translate(50%, 50%);
}

.title-fly {
    position: absolute;
    width: 130px;
    top: 80px;
    left: -262px;
    transform: translateX(300px);
}

.footer {
  background-color: rgba(5, 3, 3, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 100;
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  width: 100%;
  margin: 0;
  border-radius: 0;
}
/* ====== Animations ====== */

/* 
.animate-once .plane-fly {
  animation: plane-slide 2s ease forwards;
}
.animate-once .title-fly {
  animation: title-slide 2s ease forwards;
}

@keyframes plane-slide {
  0% { transform: translateX(-300px) rotate(0deg); }
  100% { transform: translateX(0) rotate(0deg); }
}
@keyframes title-slide {
  0% { transform: translateX(300px); }
  100% { transform: translateX(0); }
} */
/* @keyframes plane-slide-hover {
  0% {
    transform: translateX(-300px) rotate(0deg);
  }
  80% {
    transform: translateX(0) rotate(0deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes title-slide-hover {
  0% {
    transform: translateX(300px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes fly-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes happy-popup {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  70% {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes happy-delay-vibrate {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(1px, -1px) rotate(2deg); }
  40% { transform: translate(-1px, 1px) rotate(-2deg); }
  60% { transform: translate(1px, 1px) rotate(2deg); }
  80% { transform: translate(-1px, -1px) rotate(-2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes vibe-line-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.1; }
}

@keyframes mega-zoom-slowspin {
  0% {
    transform: scale(0.1) rotate(0deg);
    opacity: 0;
  }
  30% {
    transform: scale(0.6) rotate(90deg);
    opacity: 1;
  }
  70% {
    transform: scale(1.1) rotate(270deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

.hover-restart {
  animation: none;
} */


.header-text{
  color: #FFF;
  font-size: 17px;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.game-selection{
  width: 100%;
  margin-top: 20px;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.game-card{
  display: flex;
  align-items: center;
  border: 2px solid #FFF;
  border-radius: 15px;
  min-height: 280px;
 background: #FF7200;
background: radial-gradient(circle,rgba(255, 114, 0, 1) 0%, rgba(0, 3, 8, 1) 100%);
  overflow: hidden;
}

.first-col{
  width: 50%;
  position: relative;
  height: 280px;
}

.first-col img{
    position: absolute;
    top: -36%;
    /* transform: translate(-50%); */
    left: -26px;
    width: 292px;
}

.fortuneBall-game-menu-img{
  top: -29%!important;
  left: -18px!important;
}

.text-col{
  width: 50%;
  color: #FFF;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  padding-left: 18px;
  z-index: 1;
}

.game-title{
  font-weight: 500;
}
.game-desc{
  font-size: 24px;
  line-height: 27px;
  margin: 0px 0 8px 0;
}

.game-cta-link-btn{
    background: #FF8212;
    background: linear-gradient(90deg, rgba(255, 130, 18, 1) 0%, rgba(255, 255, 255, 1) 100%);
    color: #1C1C1C;
    text-decoration: none;
    font-size: 14px;
    padding: 2px 22px;
    border-radius: 14px;
    font-weight: 600;
}

.coming-soon{
    background: #9b9997;
    color: #e3e3e3;
    text-decoration: none;
    font-size: 14px;
    padding: 2px 15px;
    border-radius: 14px;
    font-weight: 600;
}

.time-details-text{
  font-weight: 300;
  font-size: 12px;
  margin-top: 10px;
}

@media screen and (min-width:768px) {
  .game-selection{
    flex-direction: row;
     justify-content: center;
  }
  .game-card{
    min-width: 290px;
  } 
  /* .main-container{
    justify-content: center;
  } */
}

@media screen and (min-width:1440px) {
  .game-card {
        min-width: 491px;
  }
  .first-col img{
    width: 468px;
    top: -88%;
  }
  .fortuneBall-game-menu-img{
    top: -77% !important;
  }
}

@media screen and (max-width:767px) {
  .large-devices{
    display: none;
  }
  .small-devices{
    display: block;
  }
}