/* THANK YOU PAGE */

.thank-you-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 25px 20px 80px;
}

.thank-you-box {
  width: 100%;
  max-width: 850px;
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(8, 12, 20, 0.94),
    rgba(12, 18, 28, 0.88)
  );
  border: 1px solid rgba(77, 184, 255, 0.22);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(77, 184, 255, 0.14);
  position: relative;
  overflow: hidden;
}

/* TOP GLOW LINE */

.thank-you-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(77, 184, 255, 0.85),
    rgba(255, 255, 255, 0.95),
    rgba(77, 184, 255, 0.85),
    transparent
  );
  box-shadow:
    0 0 18px rgba(77, 184, 255, 0.65),
    0 0 28px rgba(77, 184, 255, 0.3);
}

.thank-you-box h1 {
  font-family: "Acme", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 25px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.thank-you-box p {
  max-width: 680px;
  margin: 0 auto 35px;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Merriweather", serif;
}

/* CHECK ICON */

.thank-you-check {
  width: 90px;
  height: 90px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #4db8ff;
  border: 1px solid rgba(77, 184, 255, 0.22);
  background: rgba(77, 184, 255, 0.06);
  box-shadow:
    inset 0 0 20px rgba(77, 184, 255, 0.08),
    0 0 30px rgba(77, 184, 255, 0.08);
}

/* BUTTONS */

.continue-reading-btn,
.thank-you-return-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 12px 8px 0;
  padding: 18px 34px;
  border-radius: 999px;
  border: 1px solid rgba(77, 184, 255, 0.45);
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Acme", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 14px rgba(77, 184, 255, 0.18),
    0 0 28px rgba(77, 184, 255, 0.12),
    0 0 50px rgba(77, 184, 255, 0.08);
  overflow: hidden;
  transition: all 0.35s ease;
}

.continue-reading-btn::before,
.thank-you-return-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    transparent 35%,
    transparent 65%,
    rgba(77, 184, 255, 0.14)
  );
  pointer-events: none;
}

.continue-reading-btn::after,
.thank-you-return-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 45%;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #4db8ff, transparent);
  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.8),
    0 0 24px rgba(77, 184, 255, 0.45);
  transition: all 0.35s ease;
}

.continue-reading-btn:hover,
.thank-you-return-btn:hover {
  transform: translateY(-4px);
  background: rgba(77, 184, 255, 0.12);
  border-color: rgba(77, 184, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 20px rgba(77, 184, 255, 0.3),
    0 0 40px rgba(77, 184, 255, 0.18),
    0 0 70px rgba(77, 184, 255, 0.1);
}

.continue-reading-btn:hover::after,
.thank-you-return-btn:hover::after {
  width: 75%;
}
