/* End Screen Styles */

/* Win page specific styles */
.win-card {
  background: linear-gradient(to bottom right, rgba(252, 255, 245, 0.97), rgba(245, 255, 235, 0.97)) !important;
  
}

/* Lose page specific styles */
.lose-card {
  background: linear-gradient(to bottom right, rgba(255, 249, 249, 0.97), rgba(252, 242, 242, 0.97)) !important;
}

/* Achievement badge */
.achievement-badge {
  display: inline-block;
  background-color: #ffbb00;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 0.9em;
}

/* Stats visualization */
.stats-visualization {
  margin: 15px 0;
  padding: 15px;
  background-color: rgba(240, 240, 240, 0.5);
  border-radius: 10px;
}

.conviction-gauge {
  height: 20px;
  background: #eee;
  border-radius: 10px;
  position: relative;
  margin: 10px 0;
  overflow: hidden;
}

.gauge-fill {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  transition: width 1.5s ease-in-out;
  border-radius: 10px;
}

.win-gauge-fill {
  background: linear-gradient(to right, #4CAF50, #8BC34A);
  width: 100%;
  animation: pulse 2s infinite;
}

.lose-gauge-fill {
  background: linear-gradient(to right, #ff6b6b, #ffb8b8);
  width: 3%;
}

@keyframes pulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.stat-label {
  font-weight: bold;
  margin-right: 8px;
}

.stat-container {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.stat-value {
  font-weight: normal;
}

/* Floating animation for win card */
@keyframes float {
  0% {
    transform: translateY(0px);
    box-shadow: 0 10px 30px rgba(0, 120, 0, 0.2);
  }
  50% {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 120, 0, 0.3);
  }
  100% {
    transform: translateY(0px);
    box-shadow: 0 10px 30px rgba(0, 120, 0, 0.2);
  }
}

/* Win text animation */
.win-message {
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
  }
  50% {
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.7);
  }
  100% {
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
  }
}

/* Enhanced saylor image styles */
#start-saylor-image {
  transition: transform 0.3s ease;
}

.win-card #start-saylor-image:hover {
  transform: scale(1.05);
}

/* Button container enhancements */
.start-button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* Media queries for responsive design */
@media (max-width: 600px) {
  .start-button-container {
    flex-direction: column;
  }
  
  .achievement-badge {
    display: block;
    margin: 5px auto;
    text-align: center;
  }
} 