.coming_soon_3d {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(240, 185, 11, 0.22), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(57, 200, 123, 0.16), transparent 30%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(135deg, #050816 0%, #101827 48%, #050816 100%);
  padding: 120px 0 80px;
}

.coming_soon_3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(650px) rotateX(62deg) translateY(-190px);
  transform-origin: top;
  opacity: 0.36;
  pointer-events: none;
}

.coming_soon_3d::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.cs_main_row {
  position: relative;
  z-index: 2;
}

.cs_logo_wrap {
  position: absolute;
  top: 26px;
  left: 42px;
  z-index: 10;
  padding: 10px 14px;
}

.cs_logo {
  max-width: 190px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(240, 185, 11, 0.25));
  animation: logoFloat 4s ease-in-out infinite;
}

.cs_blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.75;
  pointer-events: none;
}

.cs_blur_1 {
  width: 280px;
  height: 280px;
  background: rgba(240, 185, 11, 0.26);
  top: 90px;
  right: -90px;
}

.cs_blur_2 {
  width: 240px;
  height: 240px;
  background: rgba(57, 200, 123, 0.2);
  left: -80px;
  bottom: 70px;
}

.cs_orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(240, 185, 11, 0.13);
  pointer-events: none;
}

.cs_orbit_1 {
  width: 520px;
  height: 520px;
  right: -180px;
  top: 140px;
  animation: orbitRotate 18s linear infinite;
}

.cs_orbit_2 {
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -120px;
  animation: orbitRotate 22s linear infinite reverse;
}

.cs_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 50px;
  color: #f0b90b;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.32);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow:
    0 12px 28px rgba(240, 185, 11, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cs_title {
  color: #ffffff;
  font-size: clamp(40px, 5vw, 69px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -2px;
  max-width: 720px;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
  margin-bottom: 38px !important;
}

.cs_text {
  color: rgba(255, 255, 255, 0.72);
  max-width: 570px;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
}

.cs_countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: 12px;
  max-width: 520px;
}

.cs_count_item {
  position: relative;
  overflow: hidden;
  padding: 16px 10px;
  border-radius: 22px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cs_count_item::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  right: -42px;
  top: -42px;
  border-radius: 50%;
  background: rgba(240, 185, 11, 0.16);
}

.cs_count_item strong {
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.cs_count_item span {
  position: relative;
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.cs_form {
  max-width: 620px;
}

.cs_input_group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 7px;
  border-radius: 60px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  transition: 0.25s ease;
}

.cs_input_group:focus-within {
  border-color: rgba(240, 185, 11, 0.68);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.34),
    0 0 0 5px rgba(240, 185, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cs_input_icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(240, 185, 11, 0.14);
  color: #f0b90b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  margin-left: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(240, 185, 11, 0.25),
    0 8px 18px rgba(240, 185, 11, 0.08);
}

.cs_input,
.cs_input:focus,
.cs_input:active,
.cs_input:hover {
  height: 52px;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 15px;
  padding: 0 6px;
  box-shadow: none !important;
  outline: none !important;
}

.cs_input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cs_input:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.cs_input:-webkit-autofill,
.cs_input:-webkit-autofill:hover,
.cs_input:-webkit-autofill:focus,
.cs_input:-webkit-autofill:active {
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 0 1000px #171d2d inset !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

.cs_btn {
  height: 46px;
  padding: 0 22px !important;
  font-size: 13px !important;
  min-width: 120px;
  position: relative;
  overflow: hidden;
  border: 0 !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #f8d14c 0%, #f0b90b 45%, #c98b00 100%) !important;
  color: #111 !important;
  font-weight: 950 !important;
  white-space: nowrap;
  box-shadow:
    0 14px 30px rgba(240, 185, 11, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.36),
    inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  transform: translateY(0);
  transition: 0.24s ease;
}

.cs_btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80px;
  width: 60px;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.58),
      transparent);
  transform: skewX(-20deg);
  animation: btnShine 3s ease-in-out infinite;
}

.cs_btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 42px rgba(240, 185, 11, 0.36),
    inset 0 2px 0 rgba(255, 255, 255, 0.42),
    inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.cs_btn:active {
  transform: translateY(1px) scale(0.98);
}

.cs_btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
  box-shadow:
    0 12px 25px rgba(240, 185, 11, 0.16),
    inset 0 2px 0 rgba(255, 255, 255, 0.25),
    inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.cs_note {
  color: rgba(255, 255, 255, 0.52);
  font-size: 15px;
  font-weight: 400;
}

p.cs_note.cs_note_two {
  font-size: 12px;
  font-weight: 400;
}

.cs_3d_box {
  position: relative;
  width: min(100%, 430px);
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 950px;
}

.cs_cube {
  width: 292px;
  height: 292px;
  border-radius: 42px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
  background: linear-gradient(145deg, rgba(240, 185, 11, 0.98), #c99000);
  box-shadow:
    35px 35px 0 #7a5907,
    60px 60px 72px rgba(0, 0, 0, 0.48),
    inset -12px -12px 30px rgba(0, 0, 0, 0.22),
    inset 10px 10px 25px rgba(255, 255, 255, 0.28);
  animation: floatCube 4s ease-in-out infinite;
}

.cs_cube::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 32px;
  border: 1px dashed rgba(0, 0, 0, 0.22);
  transform: translateZ(15px);
}

.cs_cube_inner {
  position: absolute;
  inset: 28px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  transform: translateZ(38px);
}

.cs_cube_inner h3 {
  color: #111;
  font-size: 34px;
  font-weight: 950;
  margin-bottom: 8px;
  line-height: 1.05;
}

.cs_cube_inner p {
  color: rgba(0, 0, 0, 0.72);
  font-weight: 850;
  margin: 0;
  line-height: 1.35;
}

.cs_coin {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f8d14c, #b98200);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 950;
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.35),
    inset -8px -8px 16px rgba(0, 0, 0, 0.2),
    inset 8px 8px 16px rgba(255, 255, 255, 0.36);
  z-index: 2;
}

.cs_coin_1 {
  top: 42px;
  right: 44px;
  animation: coinMove 3.5s ease-in-out infinite;
}

.cs_coin_2 {
  left: 32px;
  bottom: 90px;
  animation: coinMove 4.2s ease-in-out infinite reverse;
}

.cs_coin_3 {
  right: 58px;
  bottom: 52px;
  width: 54px;
  height: 54px;
  font-size: 25px;
  animation: coinMove 5s ease-in-out infinite;
}

.cs_shadow {
  position: absolute;
  width: 310px;
  height: 62px;
  bottom: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  filter: blur(18px);
}

/* SweetAlert 3D UI */

.cie-swal-popup {
    width: 460px !important;
    border-radius: 32px !important;
    padding: 28px 24px 24px !important;
    color: #ffffff !important;
    background: radial-gradient(circle at top left, rgba(240, 185, 11, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(21, 25, 38, 0.98), rgba(7, 11, 24, 0.98)) !important;
    border: 1px solid rgba(240, 185, 11, 0.22) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(16px);
    transform: perspective(800px) rotateX(0deg);
}

.cie-swal-popup::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -45px;
  top: -45px;
  border-radius: 50%;
  background: rgba(240, 185, 11, 0.16);
  filter: blur(6px);
}

.cie-swal-title {
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 950 !important;
  padding: 0 !important;
  margin: 12px 0 12px !important;
}

.cie-swal-text {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  padding: 0 !important;
  margin: 0 !important;
}


div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
  background-color: #FFC107 !important;
  color: #000000 !important;
  font-size: 1em;
  padding: 7px 35px !important;
  border-radius: 50px !important;
}

div:where(.swal2-icon) {
  width: 5em;
  height: 5em;
  margin: -8px auto 0 !important;
  line-height: 5em;
  cursor: default;
}


div:where(.swal2-container).swal2-backdrop-show, div:where(.swal2-container).swal2-noanimation {
    background: rgb(0 0 0 / 46%) !important;
    backdrop-filter: blur(5px);
}


.cie-swal-timer {
  background: linear-gradient(90deg, #f0b90b, #39c87b) !important;
  height: 4px !important;
  border-radius: 40px !important;
}

.swal2-icon.swal2-success {
  border-color: rgba(57, 200, 123, 0.65) !important;
  color: #39c87b !important;
  box-shadow:
    0 12px 28px rgba(57, 200, 123, 0.18),
    inset 0 0 0 5px rgba(57, 200, 123, 0.08);
}

.swal2-icon.swal2-error {
  border-color: rgba(237, 87, 101, 0.7) !important;
  color: #ed5765 !important;
  box-shadow:
    0 12px 28px rgba(237, 87, 101, 0.18),
    inset 0 0 0 5px rgba(237, 87, 101, 0.08);
}

/* 404 CSS - keep this if ErrorPage uses same stylesheet */

.error_page {
  min-height: 100vh;
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.error_page::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: 80px;
  right: -90px;
  border-radius: 50%;
  background: rgba(240, 185, 11, 0.14);
  filter: blur(35px);
  pointer-events: none;
}

.error_page::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: 70px;
  border-radius: 50%;
  background: rgba(57, 200, 123, 0.12);
  filter: blur(35px);
  pointer-events: none;
}

.error_page>* {
  position: relative;
  z-index: 1;
}

.error_page h5 {
  color: var(--white-color);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.error_page p {
  color: var(--p-color);
  font-size: 15px;
  line-height: 1.7;
}

.error_page .custom-btn {
  min-width: 190px;
  height: 48px;
  font-weight: 800;
  box-shadow:
    0 14px 32px rgba(240, 185, 11, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}

.error_page .custom-btn:hover {
  transform: translateY(-3px);
}

.error_page .custom-btn:active {
  transform: translateY(1px) scale(0.98);
}

.error_page .lf-player-container,
.error_page .img-fluid {
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.22));
}

.cs_footer {
  z-index: 5;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.copyright-text span {
  color: #ffffff;
}




.swal2-success {
  transform: scale(0.7);
}




/* Animations */

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes btnShine {
  0% {
    left: -80px;
  }

  45%,
  100% {
    left: 130%;
  }
}

@keyframes floatCube {

  0%,
  100% {
    transform: rotateX(58deg) rotateZ(-38deg) translateY(0);
  }

  50% {
    transform: rotateX(58deg) rotateZ(-38deg) translateY(-18px);
  }
}

@keyframes coinMove {

  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }

  50% {
    transform: translateY(-18px) rotateY(180deg);
  }
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive */

@media (max-width: 991px) {
  .coming_soon_3d {
    padding: 120px 0 70px;
  }

  .cs_logo_wrap {
    top: 22px;
    left: 24px;
  }

  .cs_logo {
    max-width: 170px;
  }

  .cs_text,
  .cs_form,
  .cs_countdown {
    margin-left: auto;
    margin-right: auto;
  }

  .cs_countdown {
    grid-template-columns: repeat(4, 1fr);
    max-width: 520px;
  }

  .cs_3d_box {
    height: 350px;
  }

  .cs_cube {
    width: 230px;
    height: 230px;
  }

  .cs_cube_inner h3 {
    font-size: 26px;
  }

  .cs_cube_inner p {
    font-size: 13px;
  }

  .cs_coin {
    width: 60px;
    height: 60px;
    font-size: 27px;
  }
}

@media (max-width: 767px) {
  .error_page {
    padding: 100px 18px;
  }

  .error_page h5 {
    font-size: 28px;
  }

  .error_page p {
    font-size: 14px;
    max-width: 100% !important;
  }

  .error_page .custom-btn {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 575px) {
  .coming_soon_3d {
    padding: 115px 0 56px;
  }

  .cs_logo_wrap {
    top: 18px;
    left: 16px;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .cs_logo {
    max-width: 145px;
  }

  .cs_title {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .cs_text {
    font-size: 14px;
  }

  .cs_countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cs_count_item {
    padding: 14px 10px;
  }

  .cs_count_item strong {
    font-size: 25px;
  }

  .cs_input_group {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
    padding: 14px;
  }

  .cs_input_icon {
    display: none;
  }

  .cs_input,
  .cs_input:focus,
  .cs_input:active,
  .cs_input:hover {
    height: 50px;
    padding: 0 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .cs_btn {
    width: 100%;
    height: 46px;
  }

  .cs_3d_box {
    height: 310px;
  }

  .cs_cube {
    width: 205px;
    height: 205px;
    border-radius: 34px;
  }

  .cs_cube_inner {
    inset: 22px;
    border-radius: 24px;
    padding: 20px;
  }

  .cs_coin_1 {
    top: 32px;
    right: 42px;
  }

  .cs_coin_2 {
    left: 35px;
    bottom: 70px;
  }

  .cs_coin_3 {
    right: 50px;
    bottom: 40px;
  }

  .cie-swal-popup {
    width: calc(100% - 28px) !important;
    border-radius: 26px !important;
  }
}