/* =========================
   THANK YOU PAGE
========================= */

.thankyou-section {
  position: relative;

  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding: 40px;

  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent),
    linear-gradient(180deg, #07111f 0%, #0d1b2a 100%);
}

/* GLOW */

.thankyou-glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(120px);

  animation: floatGlow 8s ease-in-out infinite;
}

.thankyou-glow-1 {
  width: 380px;
  height: 380px;

  background: rgba(212, 175, 55, 0.18);

  top: -120px;
  left: -120px;
}

.thankyou-glow-2 {
  width: 320px;
  height: 320px;

  background: rgba(255, 255, 255, 0.06);

  bottom: -120px;
  right: -120px;

  animation-delay: 2s;
}

@keyframes floatGlow {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(25px);
  }

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

/* FLOATING CIRCLES */

.floating-circle {
  position: absolute;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);

  animation: floatCircle 10s linear infinite;
}

.circle-1 {
  width: 120px;
  height: 120px;

  top: 18%;
  right: 12%;
}

.circle-2 {
  width: 70px;
  height: 70px;

  bottom: 18%;
  left: 10%;
}

@keyframes floatCircle {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

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

  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

/* CARD */

.thankyou-card {
  position: relative;

  z-index: 2;

  width: 100%;
  max-width: 760px;

  text-align: center;

  padding: 80px 60px;

  border-radius: 38px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(20px);

  overflow: hidden;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.thankyou-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent);

  opacity: 1;
}

/* ICON */

.thankyou-icon {
  position: relative;

  z-index: 2;

  width: 120px;
  height: 120px;

  margin: auto auto 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 32px;

  background: rgba(212, 175, 55, 0.12);

  border: 1px solid rgba(212, 175, 55, 0.25);

  color: #d4af37;

  font-size: 68px;

  animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.35);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* TEXT */

.thankyou-subtitle {
  position: relative;

  z-index: 2;

  display: inline-block;

  color: #d4af37;

  letter-spacing: 2px;

  text-transform: uppercase;

  font-size: 14px;

  margin-bottom: 18px;
}

.thankyou-card h1 {
  position: relative;

  z-index: 2;

  color: white;

  font-size: clamp(52px, 7vw, 82px);

  line-height: 1;

  margin-bottom: 22px;

  font-family: "Poppins", sans-serif;
}

.thankyou-card p {
  position: relative;

  z-index: 2;

  color: #c7d2df;

  font-size: 18px;

  line-height: 1.9;

  max-width: 580px;

  margin: auto auto 45px;
}

/* BUTTON */

.home-btn {
  position: relative;

  z-index: 2;

  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 20px 38px;

  border-radius: 70px;

  background: linear-gradient(135deg, #d4af37, #f5d67b);

  color: #111827;

  text-decoration: none;

  font-size: 17px;

  font-weight: 700;

  transition: 0.45s ease;

  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.25);
}

.home-btn i {
  font-size: 20px;
}

.home-btn:hover {
  transform: translateY(-6px) scale(1.03);

  box-shadow: 0 25px 60px rgba(212, 175, 55, 0.4);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .thankyou-section {
    padding: 20px;
  }

  .thankyou-card {
    padding: 60px 30px;
    border-radius: 30px;
  }

  .thankyou-icon {
    width: 95px;
    height: 95px;

    font-size: 54px;
  }

  .thankyou-card p {
    font-size: 16px;
  }

  .home-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .thankyou-card {
    padding: 50px 22px;
  }

  .thankyou-card h1 {
    font-size: 48px;
  }

  .thankyou-card p {
    font-size: 15px;
    line-height: 1.7;
  }

  .thankyou-icon {
    width: 82px;
    height: 82px;

    border-radius: 24px;

    font-size: 46px;
  }

  .home-btn {
    padding: 18px 26px;
    font-size: 15px;
  }
}
