
* {
  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;
}

.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: 11px;
  font-family: 'Arial Narrow', sans-serif;
  font-style: italic;
  font-weight: bold;
  color: red;
  margin-left: -8px;
}

.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;
}


.vip-special{
  font-size: 10px;
}
.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;
}



/* Popup */
.password-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.popup-bg {
  position: relative;
  width: 320px;
  margin-top: -196px;
}
.popup-frame {
  width: 100%;
}
.popup-content {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}
.styled-input {
  width: 240px;
  height: 45px;
  padding: 0 15px;
  font-size: 30px;
  background: linear-gradient(to bottom, #f9f9f9, #ececec);
  border-radius: 999px;
  border: 2px solid #fff;
  position: absolute;
  top: 60px;
  right: 30px;
  box-shadow: inset 3px 3px 4px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(0, 0, 0, 0.1),
              0 4px 0 0 rgba(0, 0, 0, 0.15);
}
#real-pwd {
  position: absolute;
  width: 100%;
  opacity: 0;
}
#svg-display {
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 15px;
  gap: 4px;
}
.svg-char {
  width: 18px;
  height: 18px;
  background: url('../img/star.png') no-repeat center;
  background-size: contain;
}
.lock-button {
  position: absolute;
  top: 50px;
  right: 1px;
  background: none;
  border: none;
  cursor: pointer;
}
.lock-button img {
  width: 50px;
}
.popup-close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 22px;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
}
.no-password-text {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #000;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  width: 100%; /* or a specific width like 260px if needed */
}
.no-style-link {
  color: #4d2e00;
  text-decoration: none;
  font-weight: 600;
}
.main-heading {
  font-family: 'Phudu', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.text-section {
  text-align: center;
  color: #4d2e00;
}
.error-message {
  position: absolute;
  top: 110px;
  left: 30px;
  font-size: 12px;
  color: red;
  font-family: "Montserrat", sans-serif;
  display: none;
}
/* ====== 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;
} 


@media screen and (min-width:767px) {

.glass-card{
  
    width: 111%;
}
.card-title {
    font-size: 20px;}

.card-button{
 font-size: 15px;
}

.card-caption {
    font-size: 15px;
    margin-bottom: 10px;

  }
  .unlock-timer {
    font-size: 18px;
    margin-bottom: 10px;


}
.plane-fly{
  width: 207px;
    top: -61px;
    left: -120px;
}

.card-icon-mega, .card-icon-happy, .card-icon-av {
    
    left: -39px;
    width: 142px;
}
.vip-special {
    font-size: 13px;
}
}