@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');
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

.background-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('img/desktop-bg.png') no-repeat center center/cover;
}

/* Main container */
.main-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 50px;
    z-index: 2;
    position: relative;
    flex-direction: row;
    align-content: center;
    height: 100%;
}

/* Hero Slider */
.hero-slider {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* padding-bottom: 20px; */
  position: relative;
}
.hero-slide-wrapper {
  position: relative;
  width: 250px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  display: block;
  opacity: 1;
}
.hero-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.dot.active {
  background: #fff;
}

/* Cards */
.image-card {
  position: relative;
  flex: 1 1 320px;
  max-width: 400px;
  text-align: center;
}
.main-img {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

/* Spin Wheel Section */
.spin-title {
  position: absolute;
  top: 7%;
  width: 50%;
  left: 25%;
  font-size: 25px;
}
.spin-wheel {
    position: absolute;
    bottom: 7%;
    left: 50%;
    transform: translateX(-50%);
    width: 270px;
}

/* Treasure Chest Section */
.treasure-title {
  position: absolute;
  top: 13%;
  left: 20%;
}
.t-chest {
  position: absolute;
  top: 19%;
  left: 17%;
  width: 228px;
}
.cta-container {
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: auto;
  text-decoration: none;
}
.cta-img {
  width: 100%;
}
.cta-text {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 11px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: white;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  line-height: 11px;
}

/* Decorations */
.hat.top-left {
  position: absolute;
  top: 62%;
  left: -15%;
  width: 168px;
  transform: scaleX(-1);
}
.skull.top-right {
  position: absolute;
  top: 33px;
  right: -56px;
  width: 144px;
}


.gun.bottom-right {
    position: absolute;
    bottom: 12px;
    right: 19px;
    width: 88px;
    transform: scaleX(-1);
}

/* 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;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  color: transparent !important;
  caret-color: black;
  font-size: 30px;
  border: none;
  z-index: 2;
  -webkit-text-fill-color: transparent; /* Fix for Safari dark mode */
  appearance: none;
}
input,
textarea {
  background-color: transparent !important;
  -webkit-text-fill-color: #000 !important; /* Prevent dark mode styling */
  color-scheme: light;
}
#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: 10px;
  font-size: 12px;
  color: #000;
  font-family: "Poppins", sans-serif;
}
.no-style-link {
  color: #000000;
  text-decoration: none;
  /* font-weight: 600; */
}
.main-heading {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
}
.text-section {
  text-align: center;
  color: #000000;
}
.error-message {
  position: absolute;
  top: 110px;
  left: 30px;
  font-size: 12px;
  color: red;
  font-family: "Montserrat", sans-serif;
  display: none;
}


/* --- Keyframes (Commented for future use) --- */

/* 


@keyframes pulse-wiggle {
  0%, 100% { transform: translateX(-50%) scale(1); }
  10% { transform: translateX(-50%) scale(1.05) rotate(1deg); }
  20% { transform: translateX(-50%) scale(1.05) rotate(-1deg); }
  30% { transform: translateX(-50%) scale(1.05) rotate(1deg); }
}

.cta-container {
  animation: pulse-wiggle 1s ease-in-out infinite;
  animation-delay: 3s;
  animation-play-state: running;
}


.treasure-card:hover #chest-image {
  animation: pulseShine 1.2s ease-in-out infinite;
}



.spin-card:hover #wheel-img {
  animation: rotateShine 2s linear infinite;
}


@keyframes pulseShine {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px gold);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px #ffeb3b);
  }
}

@keyframes rotateShine {
  0% { transform: translateX(-50%) rotate(0deg)  scale(1); filter: drop-shadow(0 0 5px yellow); }
  50% { transform: translateX(-50%) rotate(180deg)  scale(1.05); filter: drop-shadow(0 0 20px yellow); }
  100% { transform: translateX(-50%) rotate(360deg)   scale(1); filter: drop-shadow(0 0 5px yellow); }
}

.chest-animate {
  animation: pulseShine 1.2s ease-in-out infinite;
}

.wheel-animate {
  animation: rotateShine 2s linear infinite;
}

.spin-auto {
  animation: rotateWheel 2s linear;
}

.pop {
  animation: chestPop 1s ease-in-out;
}

@keyframes pulseLock {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px gold);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px yellow);
  }
}
 */



 /* fortune ball */


 .game-section{
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
 }

 .fortune-ball{
    background: #FF6906;
    padding: 2px 2px 30px 2px;
    width: 100%;
    border-radius: 8px;
    position: relative;
 }

 .fortuneball-two:hover{
  cursor: pointer;
 }

 .fortuneBall-img{
    border-radius:8px 8px 0 0;
    background: #280B01;
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: bottom;
 }
.fortune-ball-content
 {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
 }

 .fortune-ball-content p
 {
    font-family: "Poppins", sans-serif;
    color: #000;
    font-weight: 700;
    text-align: center;
 }

 .fortune-ball-content a{
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  background: #000;
  padding: 10px 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #FFF;
 }

 .button-bold-text{
  font-weight: 600!important;
 }

.ribbon {
  background: url('img/Vector.png') no-repeat center center;
    background-size: contain;
    /* height: 60px; */
    /* width: 180px; */
    line-height: 60px;
    color: white;
    text-align: center;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 11px;
    padding: 10px;
    z-index: 99;
}

.img-set-glow{
  position: relative;
}

.glow-img{
  position: absolute;
    height: 80px;
    z-index: 999;
    width: 116px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.crown-img{
  position: absolute;
    z-index: 999;
        right: -20px;
    top: -62px;
}


@media screen and (max-width:767px) {
  .game-section{
    flex-direction: column;
  }
  .fortuneBall-img{
    height: 180px;
  }
  .crown-img{
    right: -26px;
    top: -64px;
  }
  .background-container {
     background: url('img/HomePageFinal.png') no-repeat center center/cover;
  }
}



