/* ===== THANK YOU PAGE STYLES ===== */

.thankyou-section {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: #000000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.thankyou-section .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.thankyou-card {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 60px 50px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Icon with Animation */
.success-icon {
  margin: 0 auto 40px;
  width: 100px;
  height: 100px;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 #ffffff;
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: rgba(255, 255, 255, 0.8);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #ffffff;
  stroke-width: 3;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0 0 0 60px rgba(255, 255, 255, 0.1);
  }
}

/* Thank You Text */
.thankyou-title {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 500;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 2px;
  animation: fadeIn 0.8s ease 0.3s both;
}

.thankyou-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-weight: 500;
  animation: fadeIn 0.8s ease 0.5s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Order Details */
.order-details {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  text-align: left;
  animation: fadeIn 0.8s ease 0.7s both;
}

.order-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.detail-value {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
}

/* Next Steps */
.next-steps {
  margin: 40px 0;
  text-align: left;
  animation: fadeIn 0.8s ease 0.9s both;
}

.steps-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 20px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.steps-list li:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.step-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Action Buttons */
.thankyou-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 40px 0 30px;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease 1.1s both;
}

.btn-action {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
}

.btn-discord {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-discord:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.btn-home {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-home:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* Support Info */
.support-info {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.8s ease 1.3s both;
}

.support-info p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.support-info a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.support-info a:hover {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .thankyou-card {
    padding: 40px 30px;
  }

  .thankyou-title {
    font-size: 2rem;
  }

  .thankyou-subtitle {
    font-size: 1rem;
  }

  .order-details {
    padding: 20px;
  }

  .order-detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .steps-list li {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .thankyou-actions {
    flex-direction: column;
  }

  .btn-action {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .thankyou-section {
    padding: 100px 20px 60px;
  }

  .thankyou-card {
    padding: 30px 20px;
  }

  .thankyou-title {
    font-size: 1.6rem;
  }

  .success-icon {
    width: 80px;
    height: 80px;
  }

  .checkmark {
    width: 80px;
    height: 80px;
  }
}
