/* =========================================================
   THANK YOU PAGE STYLES
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue-primary: #1a4b8c;
  --green-accent: #3a7d3a;
  --gold: #c8962a;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #0d2a52 0%, #1a4b8c 50%, #0d3060 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
body::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,150,42,0.1), transparent 70%);
  border-radius: 50%;
}
body::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58,125,58,0.1), transparent 70%);
  border-radius: 50%;
}

.thankyou-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.97);
  border-radius: 24px;
  padding: 60px 56px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: scaleIn 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}
.checkmark-circle {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #3a7d3a, #52a852);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(58,125,58,0.35);
  animation: popIn 0.5s 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
.checkmark-circle svg {
  width: 44px;
  height: 44px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: drawCheck 0.5s 0.6s ease forwards;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.logo-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-primary), var(--green-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.logo-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-primary);
  line-height: 1.2;
}
.logo-sub {
  font-size: 11px;
  color: var(--green-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.thankyou-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 14px;
}
.thankyou-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 28px;
}
.user-name-display {
  font-weight: 700;
  color: var(--blue-primary);
}
.info-box {
  background: #f0f4fb;
  border: 1px solid #dde3ef;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
  text-align: left;
}
.info-box p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}
.info-box strong { color: var(--blue-primary); }
.info-box .info-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.info-box .info-row:last-child { margin-bottom: 0; }
.info-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-primary), #0d3060);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 32px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(26,75,140,0.35);
}
.btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26,75,140,0.5);
}
.countdown-text {
  margin-top: 16px;
  font-size: 13px;
  color: #888;
}
.countdown-num { color: var(--blue-primary); font-weight: 700; }

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0.7; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

@media (max-width: 600px) {
  .thankyou-card { padding: 36px 24px; }
  .thankyou-title { font-size: 28px; }
}
