/* MISSION SYSTEM STYLING */

/* MISSION SLOT CONTAINER */
.mission-slot {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(0, 226, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 226, 255, 0.2);
}

/* COMPLETED MISSION SLOT */
.mission-slot.completed {
  border-color: rgba(76, 175, 80, 0.6);
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
  background: rgba(76, 175, 80, 0.1);
}

.mission-slot.completed::before {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 15px;
  color: #4caf50;
  font-size: 1.5em;
  font-weight: bold;
}

/* CLAIMED MISSION SLOT */
.mission-slot.claimed {
  opacity: 0.6;
  border-color: rgba(100, 100, 100, 0.3);
  background: rgba(100, 100, 100, 0.1);
  cursor: default;
}

/* MISSION TITLE */
.mission-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #00e2ff;
  margin-bottom: 10px;
  font-family: 'Audiowide', cursive;
  text-shadow: 0 0 10px rgba(0, 226, 255, 0.6);
}

/* MISSION DESCRIPTION */
.mission-description {
  font-size: 1em;
  color: #c8e6ff;
  margin-bottom: 15px;
  line-height: 1.4;
  font-family: 'Exo 2', sans-serif;
}

/* MISSION REWARD */
.mission-reward {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1em;
  font-weight: 600;
  color: #ffdb57;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 219, 87, 0.6);
  font-family: 'Audiowide', cursive;
}

/* MISSION PROGRESS BAR */
.mission-progress {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  height: 8px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

/* MISSION TIMER */
.mission-timer {
  font-size: 0.9em;
  color: #ff9800;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 152, 0, 0.6);
  font-family: 'Exo 2', sans-serif;
}

/* MISSION CLAIM BUTTON */
.mission-claim-btn {
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(76, 175, 80, 0.15) 30%, 
    rgba(76, 175, 80, 0.2) 70%, 
    rgba(0, 0, 0, 0.7) 100%);
  color: #4caf50;
  border: 2px solid rgba(76, 175, 80, 0.6);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.8);
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.5);
    transform: scale(1.02);
  }
}

.mission-claim-btn:active {
  transform: scale(0.98);
}

.mission-claim-btn:disabled {
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(100, 100, 100, 0.1) 30%, 
    rgba(100, 100, 100, 0.15) 70%, 
    rgba(0, 0, 0, 0.7) 100%);
  color: #666;
  border-color: rgba(100, 100, 100, 0.3);
  text-shadow: none;
  box-shadow: none;
  cursor: not-allowed;
  animation: none;
}

/* MISSIONS SCREEN HEADER */
#missions-screen h2 {
  color: #00e2ff;
  font-family: 'Audiowide', cursive;
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 0 0 20px rgba(0, 226, 255, 0.8);
}

/* MISSIONS CONTAINER */
#missions-container {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
  margin-bottom: 25px;
}

/* CUSTOM SCROLLBAR */
#missions-container::-webkit-scrollbar {
  width: 6px;
}

#missions-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

#missions-container::-webkit-scrollbar-thumb {
  background: rgba(0, 226, 255, 0.5);
  border-radius: 3px;
}

/* EMAIL VERIFICATION REMINDER */
.email-verification-reminder .verification-content button:active {
  transform: scale(0.98);
}

/* MISSION REFRESH BUTTON */
.mission-refresh-btn {
  background: linear-gradient(145deg, #00e2ff, #0088cc);
  color: #000;
  border: 2px solid #00e2ff;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Exo 2', sans-serif;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: refreshPulse 2s infinite;
  text-shadow: 0 0 5px rgba(0, 226, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 226, 255, 0.4);
}

@keyframes refreshPulse {
  0% { 
    transform: scale(1); 
    box-shadow: 0 0 20px rgba(0, 226, 255, 0.4);
  }
  50% { 
    transform: scale(1.03); 
    box-shadow: 0 0 30px rgba(0, 226, 255, 0.6);
  }
  100% { 
    transform: scale(1); 
    box-shadow: 0 0 20px rgba(0, 226, 255, 0.4);
  }
}

.mission-refresh-btn:active {
  transform: scale(0.98);
}

.mission-refresh-btn:disabled {
  background: linear-gradient(145deg, #333, #222);
  color: #666;
  border-color: #444;
  cursor: not-allowed;
  animation: none;
  box-shadow: none;
  text-shadow: none;
}

/* DAILY MISSIONS BUTTON NOTIFICATION */
#daily-missions-btn.has-claimable-rewards {
  animation: claimableGlow 2s ease-in-out infinite;
  position: relative;
}

#daily-missions-btn .notification-dot {
  display: inline-block;
  background: linear-gradient(135deg, #ff4444, #ff6666);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
  margin-left: 8px;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
  animation: notificationPulse 1.5s ease-in-out infinite;
  position: relative;
  top: -2px;
}

@keyframes claimableGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  }
}

@keyframes notificationPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 68, 68, 1);
  }
} 