/* Center alignment text overrides for the congrats view */
.center-text {
  text-align: center;
  max-width: 700px;
  margin: 15px auto !important;
}

.badge-card {
  text-align: center;
  align-items: center;
  padding: 40px 20px;
}

/* 🏆 Cyber Trophy & Glow Animation Layout */
.trophy-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cyber-trophy {
  font-size: 60px;
  z-index: 2;
  animation: floatTrophy 4s ease-in-out infinite;
}

.glow-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(56, 189, 248, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Trophy Float and Ambient Glow Effects animations */
@keyframes floatTrophy {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

.congrats-title {
  font-size: 28px;
  color: #38bdf8 !important; /* Highlights title text in vibrant cyber cyan */
  margin: 15px 0;
  border: none !important; /* Removes default line divider for clean layout flow */
}

/* Completed Milestones Flex Layout Grid */
.milestone-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 25px 0;
}

.milestone-badge {
  background-color: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #f8fafc;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.next-steps-heading {
  margin-top: 35px;
  font-size: 20px;
}
.py-btn-start {
    display: inline-block;
    background-color: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    padding: 1.1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease-in-out;
}

.py-btn-start:hover {
    background-color: #00ff88;
    color: #0f172a;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    transform: scale(1.03);
}

.py-btn-start:active {
    transform: scale(1);
}
