* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-image: url("./REVISE/BG.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30% 100%;
  height: 100vh;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* 📱 Responsive styles for small screens (phones) */
@media screen and (max-width: 768px) {
  body {
    background-size: cover; /* Fullscreen image on mobile */
    background-position: center center;
  }
}
@media screen and (max-width: 1024px) {
  body {
    background-size: cover; /* Fullscreen image on mobile */
    background-position: center center;
  }
}

/*
    /* Keyframe for fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}

/* Custom SweetAlert2 styles */
.swal2-container {
  z-index: 99999 !important;
}

.swal2-popup {
  background: #363636;
  border: 2px solid #686660 !important;
  border-radius: 0.75rem !important;
  width: 400px;
}

.swal2-title {
  color: #d4af37 !important;
  font-family: "Cinzel", serif !important;
  font-size: 1.5rem !important;
}

.swal2-html-container {
  color: #a09d9d !important;
}

.swal2-confirm {
  background-color: #30bdd6 !important;
  color: #f3f3f3 !important;
  font-weight: bold !important;
  border-radius: 0.5rem !important;
}

.swal2-cancel {
  background-color: #4b5563 !important;
  color: #ffffff !important;
  border-radius: 0.5rem !important;
}

/* Force mobile layout on all screen sizes */
.mobile-container {
  max-width: 600px;
  margin: 0 auto;
  height: 100vh;
  position: relative;
}

/* Installation content styling */

/* Installation Modal Styles */
.installation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: none;
  overflow-y: auto;
}

.installation-modal.active {
  display: block;
}

.modal-content {
  max-width: 500px;
  margin: 20px auto;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 15px;
  padding: 20px;
  position: relative;
  border: 2px solid #d4af37;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #d4af37;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.installation-title {
  text-align: center;
  color: #d4af37;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.step-container {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  border-left: 4px solid #d4af37;
}

.step-number {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #d4af37;
  color: #000;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  margin-right: 10px;
}

.step-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.step-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin: 10px auto;
  display: block;
  border: 2px solid #d4af37;
}

.slider-container {
  position: relative;
  margin: 20px 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.8);
  color: #000;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  z-index: 10;
  transition: background 0.3s;
}

.slider-button:hover {
  background: rgba(212, 175, 55, 1);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.dots-container {
  text-align: center;
  margin-top: 15px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #d4af37;
}

.warning-box {
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  color: #fff;
}

.warning-title {
  color: #ffc107;
  font-weight: bold;
  margin-bottom: 8px;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
  overflow: hidden;
}

.slider {
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  user-select: none;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  padding: 0.5em;
  cursor: pointer;
  font-size: 1.5em;
  z-index: 10;
}
/* Use the new custom class to style the popup */
.my-reward-popup {
  background-color: white !important; /* !important ensures this style wins */
  border-radius: 15px !important;
}

/* Target the h3 tag specifically inside your custom popup */
.my-reward-popup h3 {
  color: black !important;
  font-size: 18px !important;
}
