.floating-icon {
  animation: xe 3s ease-in-out infinite;
}

@keyframes xe {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

.dialog-hidden {
  opacity: 0;
  transform: scale(0.8);
  visibility: hidden;
}

.dialog-visible {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.backdrop-hidden {
  opacity: 0;
  visibility: hidden;
}

.backdrop-visible {
  opacity: 1;
  visibility: visible;
}

/* From Uiverse.io by Pradeepsaranbishnoi */
.wallet {
  --bg-color: #91dbdf;
  --bg-color-light: #4eaaaf;
  --text-color-hover: #fff;
  /* --box-shadow-color: #439195; */
}

.card {
  width: 220px;
  /* height: 321px; */
  background: #fff;
  border-top-right-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04); */
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-5px) scale(1.005) translateZ(0);
  /* box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11),
                0 24px 46px var(--box-shadow-color); */
}

.card:hover .overlay {
  transform: scale(4) translateZ(0);
}

.card:hover .circle {
  border-color: var(--bg-color-light);
  background: var(--bg-color);
}

.card:hover .circle:after {
  background: var(--bg-color-light);
}

.card:hover p {
  color: var(--text-color-hover);
}

.card p {
  font-size: 17px;
  color: #4c5656;
  margin-top: 20px;
  margin-bottom: 19px;
  z-index: 1000;
  transition: color 0.3s ease-out;
  text-align: center;
}

.circle {
  width: 131px;
  height: 131px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-out;
}

.circle:after {
  content: '';
  width: 118px;
  height: 118px;
  display: block;
  position: absolute;
  background: var(--bg-color);
  border-radius: 50%;
  top: 7px;
  left: 7px;
  transition: opacity 0.3s ease-out;
}

.circle svg {
  z-index: 10000;
  transform: translateZ(0);
}

.overlay {
  width: 118px;
  position: absolute;
  height: 118px;
  border-radius: 50%;
  background: var(--bg-color);
  top: 15px;
  left: 50px;
  z-index: 0;
  transition: transform 0.3s ease-out;
}

.gradient-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 50%, #ff8c00 100%);
}

.gradient-silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 50%, #808080 100%);
}

.award-glow {
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

/* .floating {
        animation: float 3s ease-in-out infinite;
      } */

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.shine {
  position: relative;
  overflow: hidden;
}

.shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.shine:hover::before {
  left: 100%;
}

.slide-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slide-container::-webkit-scrollbar {
  display: none;
}

.slide-indicator {
  transition: all 0.3s ease;
}

.slide-item {
  transition: all 0.3s ease;
}

.slide-item.active {
  background: linear-gradient(135deg, #667eea 0%, #234567 100%);
  color: white;
}

.slide-wrapper {
  position: relative;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-btn-left {
  left: -18px;
}

.nav-btn-right {
  right: -18px;
}

.nav-btn svg {
  width: 16px;
  height: 16px;
  fill: #6b7280;
}

/* Hide navigation buttons on mobile */
@media (max-width: 768px) {
  .nav-btn {
    display: none;
  }
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #eee;
  background: linear-gradient(
    to bottom,
    #d5e4ec 0%,
    #00abb559 50%,
    #d5e4ec 100%
  );
}

.prize-container {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);

  min-height: 400px;
  width: 100%;
  position: relative;
  /* overflow: hidden; */
  transition: transform 0.3s ease;
}

.prize-container:hover {
  transform: translateY(-8px);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.title {
  color: rgb(29, 29, 29);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #36506a, #234567);
  border-radius: 2px;
}

.prizes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.prize-card {
  background: #e7f7f8;
  border-radius: 0.5rem;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 2px solid transparent;
}

.prize-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: #00abb5;
}

.prize-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #00acb560, transparent);
  transition: left 0.5s;
}

.prize-card:hover::before {
  left: 100%;
}

.prize-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #00abb5, #0c7277);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  position: relative;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #00acb553;
  }

  70% {
    box-shadow: 0 0 0 20px #00acb53c;
  }

  100% {
    box-shadow: 0 0 0 0 #00acb512;
  }
}

.prize-level {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.prize-card:hover .prize-level {
  color: #00abb5;
}

.prize-amount {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d58200, #ff9c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  position: relative;
}

.prize-currency {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00abb5;
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
  top: -10px;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  left: 40%;
  animation-delay: 3s;
}

.particle:nth-child(5) {
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

@media (max-width: 768px) {
  .prize-container {
    padding: 24px;
    max-width: 100%;
  }

  .title {
    font-size: 1.5rem;
  }

  .prizes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prize-amount {
    font-size: 1.8rem;
  }
}

.prize-container {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.st-title::before {
  content: '';
  position: absolute;
  top: -4px;
  z-index: 1;
  right: -4px;
  display: block;
  border-radius: 50px;
  background: #41c1c894;
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
}

.st-title span {
  color: #234567;
  font-size: 1.5em;
  font-weight: bold;
  z-index: 5 !important;
  position: relative;
}

@media (max-width: 600px) {
  .st-title span {
    font-size: 1.325em;
  }
}

.st-title {
  text-align: right;
  margin-bottom: 20px;
  color: #234567;
  position: relative;
}

html {
  height: 100%;
}

.flip-clock {
  text-align: center;
  perspective: 400px;
  margin: 20px auto;
}

.flip-clock *,
.flip-clock *:before,
.flip-clock *:after {
  box-sizing: border-box;
}

.flip-clock__piece {
  display: inline-block;
  margin: 0 5px;
}

.flip-clock__slot {
  font-size: 2vw;
}

.flip-clock__card {
  display: block;
  position: relative;
  padding-bottom: 0.72em;
  font-size: 9vw;
  line-height: 0.95;
}

.card__top,
.card__bottom,
.card__back::before,
.card__back::after {
  display: block;
  height: 0.72em;
  color: #ccc;
  background: #222;
  padding: 0.25em 0.25em;
  border-radius: 0.15em 0.15em 0 0;
  backface-visiblity: hidden;
  transform-style: preserve-3d;
  width: 1.8em;
  transform: translateZ(0);
}

.card__bottom {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  border-top: solid 1px #000;
  background: #393939;
  border-radius: 0 0 0.15em 0.15em;
  pointer-events: none;
  overflow: hidden;
}

.card__bottom::after {
  display: block;
  margin-top: -0.72em;
}

.card__back::before,
.card__bottom::after {
  content: attr(data-value);
}

.card__back {
  position: absolute;
  top: 0;
  height: 100%;
  left: 0%;
  pointer-events: none;
}

.card__back::before {
  position: relative;
  z-index: -1;
  overflow: hidden;
}

.flip .card__back::before {
  -webkit-animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
  animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  transform-origin: center bottom;
}

.flip .card__back .card__bottom {
  transform-origin: center top;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
  animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
}

@-webkit-keyframes flipTop {
  0% {
    transform: rotateX(0deg);
    z-index: 2;
  }

  0%,
  99% {
    opacity: 0.99;
  }

  100% {
    transform: rotateX(-90deg);
    opacity: 0;
  }
}

@keyframes flipTop {
  0% {
    transform: rotateX(0deg);
    z-index: 2;
  }

  0%,
  99% {
    opacity: 0.99;
  }

  100% {
    transform: rotateX(-90deg);
    opacity: 0;
  }
}

@-webkit-keyframes flipBottom {
  0%,
  50% {
    z-index: -1;
    transform: rotateX(90deg);
    opacity: 0;
  }

  51% {
    opacity: 0.99;
  }

  100% {
    opacity: 0.99;
    transform: rotateX(0deg);
    z-index: 5;
  }
}

@keyframes flipBottom {
  0%,
  50% {
    z-index: -1;
    transform: rotateX(90deg);
    opacity: 0;
  }

  51% {
    opacity: 0.99;
  }

  100% {
    opacity: 0.99;
    transform: rotateX(0deg);
    z-index: 5;
  }
}

.card__top,
.card__bottom,
.card__back::before,
.card__back::after {
  background: rgb(0 171 181) !important;
}

.flip-clock *,
.flip-clock *:before,
.flip-clock *:after {
  width: 91px;
  font-size: 2.58vw;
  flex-direction: column;
  display: flex;
}

.flip-clock {
  display: flex;
  direction: ltr;
}

.card__bottom::after {
  margin-top: -32px;
  width: 66px !important;
}

@media (max-width: 1800px) {
  .card__bottom::after {
    margin-top: -26px !important;
    width: 70px !important;
  }
}

@media (max-width: 1600px) {
  .flip-clock *,
  .flip-clock *:before,
  .flip-clock *:after {
    width: 91px;
    font-size: 3.2998vw !important;
  }

  .card__bottom::after {
    margin-top: -33px !important;
    width: 64px !important;
  }

  .flip-clock__slot {
    font-size: 32px !important;
    margin-top: 5px;
  }
}

@media (max-width: 1400px) {
  .card__bottom::after {
    margin-top: -21px !important;
    width: 62px !important;
  }

  .card__bottom::after {
    margin-top: -25px !important;
    width: 56px !important;
  }

  .card__top {
    padding-top: 10px;
  }

  .flip-clock *,
  .flip-clock *:before,
  .flip-clock *:after {
    width: 78px;
  }
}

@media (max-width: 600px) {
  .flip-clock *,
  .flip-clock *:before,
  .flip-clock *:after {
    width: 79px;
    font-size: 11.2998vw !important;
  }

  .flip-clock__slot {
    font-size: 27px !important;
  }

  .card__bottom::after {
    margin-top: -27px !important;
  }
}

.card__top {
  padding-top: 17px;
}

.card__top,
.card__bottom,
.card__back::before,
.card__back::after {
  background: rgb(22, 43, 64);
}

.flip-clock__slot {
  font-size: 29px;
}

.slider-container {
  width: 88% !important;
}

.section-slider::after,
.section-slider::before {
  width: 25% !important;
}

.section-slider {
  display: flex;
  justify-content: center;
  background: #f3f3f3;
  position: relative;
}

.section-slider::before {
  content: '';
  background: linear-gradient(
    270deg,
    #f3f3f3 0%,
    #f3f3f3 25%,
    #f3f3f3 50%,
    #f3f3f3e6 75%,
    #e0dad505 100%
  );
  height: 100%;
  width: 35%;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: 0.5rem;
}

.section-slider::after {
  content: '';
  background: linear-gradient(
    90deg,
    #f3f3f3 0%,
    #f3f3f3 25%,
    #f3f3f3 50%,
    #f3f3f3e6 75%,
    #f3f3f305 100%
  );
  height: 100%;
  width: 35%;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 0.5rem;
}

/* تست */

/*  */

/* From Uiverse.io by vinodjangid07 */
.reward-btn {
  width: 87%;
  height: 40px;
  background-color: #00abb5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.IconContainer {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.IconContainer svg {
  width: 40%;
  z-index: 3;
}

.box-top {
  transition: all 0.3s;
}

.text {
  /* width: 70px; */
  height: 100%;
  font-size: 13px;
  color: #ecf6fc;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 600;
}

.reward-btn:hover .IconContainer .box-top {
  transform: translateY(-5px);
}

.reward-btn:hover {
  background-color: #234567;
}

.reward-btn:hover .coin {
  transform: translateY(-5px);
  transition-delay: 0.2s;
}

.coin {
  width: 25%;
  height: 25%;
  background-color: #e4d61a;
  position: absolute;
  border-radius: 50%;
  transition: all 0.3s;
  z-index: 1;
  border: 2px solid #ffe956;
  margin-top: 4px;
}

.borderm {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(163deg, #00acb58e 0%, #0c3336d5 100%);
  border-radius: 5px;
  transition: all 0.3s;
}

.borderm2 {
  width: 100%;
  height: 254px;
  background-color: #e7f7f8;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.borderm2:hover {
  transform: scale(0.98);
  border-radius: 5px;
}

.borderm:hover {
  box-shadow: 0px 0px 30px 1px #ff9d0063;
  cursor: pointer;
}

/* index.html */
      /* افکت کلیک روی دکمه‌ها */
      #prevBtn:active,
      #nextBtn:active {
        transform: translateY(-50%) scale(0.95);
      }

      /* دات‌ها */
      .dot {
        width: 0.75rem;
        height: 0.75rem;
        border-radius: 9999px;
        background: rgba(35, 69, 103, 0.6);
        transition:
          transform 0.2s ease,
          background 0.2s ease,
          opacity 0.2s ease;
        opacity: 0.8;
      }

      .dot:hover {
        transform: scale(1.15);
      }

      .dot.active-dot {
        transform: scale(1.25);
        background: #234567 !important;
        opacity: 1;
      }
      .ltr { direction: ltr; }
      .card-space-around { justify-content: space-around; }
      .icon-teal-bg { background-color: #00abb5; }
    
  .bg-gradient-custom {
    background: linear-gradient(to right, #00abb5, #0b5458);
  }
