@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Phudu:wght@700&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/bgf8.png') no-repeat center center/cover;
}

/* Main container */
.main-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1113px;
    margin: 0 auto;
    padding: 20px 16px 50px;
    z-index: 2;
    position: relative;
    flex-direction: row;
    margin-top: 45px;
}

/* Hero Slider */
/* Hero Slider */
.hero-slider {
  width: 100vw;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  margin: 0 auto;
  overflow: visible; /* Allow image to overflow for dramatic effect */
  padding-bottom: 30px; /* Space for dots */
}

.hero-slide-wrapper {
  position: relative;
  width: 120vw; /* Wider than screen */
  max-width: none;
  transform: translateX(-10vw); /* Center the wide banner */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: none;
  transition: opacity 1s ease-in-out;
  margin-left: 67px;
}

.hero-slide.active {
  display: block;
  opacity: 1;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.dot.active {
  background: #ffffff;
}


/* 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 */
.vault-title {
    position: absolute;
    top: 79%;
    width: 37%;
    left: 12%;
}
.vault {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 224px;
}

/* .crown {
    position: absolute;
    top: -15%;
    left: 88%;
    transform: translateX(-50%);
    width: 114px;
    z-index: 2;
} */


.spinf8-Title {
    position: absolute;
    top: 80%;
    left: 13%;
    width: 39%;
}
.slot {
    position: absolute;
    top: 6%;
    left: 20%;
    width: 242px;
}
.cta-container {
    position: absolute;
    top: 76%;
    left: 75%;
    transform: translateX(-50%);
    width: 123px;
    height: auto;
    text-decoration: none;
}
.cta-img {
  width: 100%;
}
.cta-text {
    position: absolute;
    top: 47%;
    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;
    text-align: center;
}


/* 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: 42px;
  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;
      margin-top: -16px;
}
.popup-close {
    position: absolute;
    top: 18px;
    right: 26px;
    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: #ffffff;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  width: 100%; /* or a specific width like 260px if needed */
}

.no-style-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.main-heading {
    font-family: 'Phudu', sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: -42px;
}
.text-section {
  text-align: center;
  color: #ffffff;
}
.error-message {
  position: absolute;
  top: 110px;
  left: 30px;
  font-size: 12px;
  color: red;
  font-family: "Montserrat", sans-serif;
  display: none;
}
.crown {
    position: absolute;
    top: 4%;
    left: 92%;
    transform: translate(-50%, -50%);
    width: 114px;
    z-index: 2;
}

.silver {
    position: absolute;
    top: 14%;
    left: 9%;
    transform: translate(-50%, -50%);
    width: 154px;
    z-index: 2;
}

.gold {
    position: absolute;
    top: 17%;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 140px;
    z-index: 2;
}
@media screen and (min-width:767px) {


  .crown{
    top: 4%;
        left: 99%;
        width: 159px;
  }
.main-container{
  gap: 110px;
  padding-right: 38px;
  margin-top: 135px;
  
}
    .main-img {
        width: 108%;
        max-width: 562px;
        margin: 0 auto;
    }
.image-card {
    
    max-width: 562px;
    
}

       .vault {
        bottom: 11%;
        left: 50%;
        width: 367px;
    }

    .slot{
      left: 20%;
    width: 365px;
    }

.cta-container {
   
    top: 77%;
    left: 77%;
    width: 180px;
}

.cta-text {
    
    top: 47%;
    left: 23px;
   
    font-size: 16px;
  }
.hero-slider {
width: 59vw;

}

.hero-slide-wrapper {
    position: relative;
    margin-left: 90px;}

.gold{
    top: 15%;
    left: 8%;
    width: 123px;

}
}


@media screen 
  and (min-width: 820px) and (max-width: 820px) 
  and (min-height: 1180px) and (max-height: 1180px){

      .vault {
        bottom: 11%;
        left: 50%;
        width: 253px;
    }
  .slot {
        left: 20%;
        width: 254px;
    }

        .cta-container {
        top: 74%;
        left: 77%;
        width: 148px;
    }
        .cta-text {
        top: 47%;
        left: 23px;
        font-size: 13px;
    }

}

@media screen 
  and (min-width: 853px) and (max-width: 853px) 
  and (min-height: 1280px) and (max-height: 1280px){

    .vault {
        bottom: 11%;
        left: 50%;
        width: 273px;
    }
    .slot {
        left: 18%;
        width: 279px;
    }
  }
/* --- 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);
  }
}
 */
