/* Daily Check-in Section Styles - Inspired by Yxchi Gallery Design */
.checkin-section {
  margin: 40px auto;
  padding: 0;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.checkin-section.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkin-section.glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 182, 193, 0.03) 0%,
    rgba(173, 216, 230, 0.03) 25%,
    rgba(255, 218, 185, 0.03) 50%,
    rgba(221, 160, 221, 0.03) 75%,
    rgba(255, 182, 193, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.checkin-section.glass:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 60px rgba(255, 182, 193, 0.1);
}

.checkin-section.glass:hover::before {
  opacity: 1;
}

/* Floating particles effect - Soft and dreamy */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.8), rgba(255, 182, 193, 0.2));
  border-radius: 50%;
  animation: floatSoft 8s ease-in-out infinite;
}

.particle:nth-child(2n) {
  background: radial-gradient(circle, rgba(173, 216, 230, 0.8), rgba(173, 216, 230, 0.2));
  animation-duration: 10s;
}

.particle:nth-child(3n) {
  background: radial-gradient(circle, rgba(255, 218, 185, 0.8), rgba(255, 218, 185, 0.2));
  animation-duration: 12s;
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  50% {
    transform: translateY(-30px) translateX(10px) rotate(180deg);
  }
}

.checkin-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.checkin-header h2 {
  margin: 0 0 16px 0;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, 
    #FFB6C1 0%, 
    #ADD8E6 25%, 
    #FFDAB9 50%, 
    #DDA0DD 75%,
    #FFB6C1 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: softGradientShift 8s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255, 182, 193, 0.3);
  position: relative;
  letter-spacing: 1.5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.checkin-header h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFB6C1, transparent);
  border-radius: 2px;
  animation: softPulse 3s ease-in-out infinite;
}

@keyframes softGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes softPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

.checkin-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.checkin-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Enhanced Progress Bar - Soft and elegant */
.checkin-progress {
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.progress-bar {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, 
    #FFB6C1 0%, 
    #ADD8E6 25%,
    #FFDAB9 50%,
    #DDA0DD 75%,
    #FFB6C1 100%);
  background-size: 200% 100%;
  border-radius: 7px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 0 20px rgba(255, 182, 193, 0.4);
  animation: softGradientFlow 4s ease-in-out infinite;
}

@keyframes softGradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  animation: softShimmer 3s infinite;
}

@keyframes softShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #FFB6C1, #ADD8E6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enhanced Daily Message - Gallery-inspired */
.daily-message {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.daily-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 182, 193, 0.05), 
    rgba(173, 216, 230, 0.05),
    rgba(255, 218, 185, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.daily-message:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 20px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 182, 193, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.daily-message:hover::before {
  opacity: 1;
}

.daily-message p {
  margin: 0;
  line-height: 1.8;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Soft and elegant Check-in Button */
.checkin-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, 
    #FFB6C1 0%, 
    #ADD8E6 25%,
    #FFDAB9 50%,
    #DDA0DD 75%,
    #FFB6C1 100%);
  background-size: 300% 300%;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(255, 182, 193, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: softGradientShift 6s ease-in-out infinite;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkin-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.checkin-btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 
    0 20px 60px rgba(255, 182, 193, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 40px rgba(255, 182, 193, 0.3);
}

.checkin-btn:hover::before {
  left: 100%;
}

.checkin-btn:active {
  transform: translateY(-4px) scale(1.02);
}

.checkin-btn.checked {
  background: linear-gradient(135deg, 
    #98FB98 0%, 
    #90EE90 50%, 
    #32CD32 100%);
  box-shadow: 
    0 8px 32px rgba(152, 251, 152, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.checkin-btn.checked:hover {
  box-shadow: 
    0 20px 60px rgba(152, 251, 152, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 40px rgba(152, 251, 152, 0.3);
}

.btn-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  animation: softBounce 3s ease-in-out infinite;
}

@keyframes softBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(-2px);
  }
}

.btn-text {
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

/* Enhanced Stats - Gallery-inspired */
.checkin-stats {
  display: flex;
  gap: 32px;
  margin-top: 20px;
  position: relative;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 100px;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 182, 193, 0.08), 
    rgba(173, 216, 230, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: rgba(255, 182, 193, 0.3);
  box-shadow: 0 12px 32px rgba(255, 182, 193, 0.15);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #FFB6C1, #ADD8E6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Message Popup Modal - Soft and dreamy */
.message-popup {
  border: none;
  border-radius: 28px;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.8) rotateY(15deg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-popup.show {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

.message-popup::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
}

.popup-content {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 48px;
  min-width: 320px;
  max-width: 500px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 182, 193, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.popup-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 182, 193, 0.03), 
    rgba(173, 216, 230, 0.03),
    rgba(255, 218, 185, 0.03));
  pointer-events: none;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.popup-close:hover {
  background: rgba(255, 182, 193, 0.3);
  transform: scale(1.1) rotate(90deg);
  color: white;
}

/* Popup Animation Container */
.popup-animation {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  position: relative;
}

.celebration-emoji {
  font-size: 64px;
  animation-duration: 1.2s;
  animation-fill-mode: both;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Popup Message */
.popup-message {
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.popup-message h3 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #FFB6C1, #ADD8E6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.popup-message p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Popup Day Info */
.popup-day-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  position: relative;
  overflow: hidden;
}

.popup-day-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 182, 193, 0.08), 
    rgba(173, 216, 230, 0.08));
  opacity: 0.5;
}

.popup-day {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #FFB6C1, #ADD8E6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.popup-progress {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 182, 193, 0.15);
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 182, 193, 0.3);
  font-weight: 600;
  position: relative;
  z-index: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Password Popup Modal - Soft and elegant */
.password-popup {
  border: none;
  border-radius: 28px;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.8) rotateX(15deg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.password-popup.show {
  opacity: 1;
  transform: scale(1) rotateX(0deg);
}

.password-popup::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
}

.password-input-container {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

#passwordInput {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 182, 193, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#passwordInput:focus {
  border-color: #FFB6C1;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 0 0 3px rgba(255, 182, 193, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(255, 182, 193, 0.2);
  transform: scale(1.02);
}

#passwordInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: normal;
  font-weight: 500;
}

.password-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.password-btn {
  padding: 16px 32px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 120px;
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.password-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.password-btn:hover::before {
  left: 100%;
}

.confirm-btn {
  background: linear-gradient(135deg, #FFB6C1, #ADD8E6);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 182, 193, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.confirm-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 182, 193, 0.4);
}

.cancel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.password-error {
  color: #FFB6C1;
  font-size: 15px;
  text-align: center;
  padding: 16px;
  background: rgba(255, 182, 193, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 182, 193, 0.3);
  margin-top: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
  .checkin-section.glass {
    margin: 24px 16px;
    padding: 32px 24px;
  }
  
  .checkin-header h2 {
    font-size: 28px;
  }
  
  .checkin-subtitle {
    font-size: 16px;
  }
  
  .checkin-btn {
    padding: 18px 36px;
    font-size: 16px;
  }
  
  .checkin-stats {
    gap: 20px;
  }
  
  .stat-item {
    padding: 16px 20px;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .popup-content {
    padding: 32px 24px;
    margin: 20px;
  }
  
  .popup-message h3 {
    font-size: 24px;
  }
  
  .popup-message p {
    font-size: 16px;
  }
}

/* Animation Classes */
.bounce {
  animation: bounce 1s ease-in-out;
}

.fadeIn {
  animation: fadeIn 1s ease-in-out;
}

.slideInDown {
  animation: slideInDown 1s ease-in-out;
}

.zoomIn {
  animation: zoomIn 1s ease-in-out;
}

.rotateIn {
  animation: rotateIn 1s ease-in-out;
}

.slideInLeft {
  animation: slideInLeft 1s ease-in-out;
}

.slideInRight {
  animation: slideInRight 1s ease-in-out;
}

.flipInX {
  animation: flipInX 1s ease-in-out;
}

.flipInY {
  animation: flipInY 1s ease-in-out;
}

.pulse {
  animation: pulse 1s ease-in-out;
}

.heartBeat {
  animation: heartBeat 1s ease-in-out;
}

.swing {
  animation: swing 1s ease-in-out;
}

.tada {
  animation: tada 1s ease-in-out;
}

.wobble {
  animation: wobble 1s ease-in-out;
}

.jello {
  animation: jello 1s ease-in-out;
}

.bounceInDown {
  animation: bounceInDown 1s ease-in-out;
}

.bounceInLeft {
  animation: bounceInLeft 1s ease-in-out;
}

.bounceInRight {
  animation: bounceInRight 1s ease-in-out;
}

.bounceInUp {
  animation: bounceInUp 1s ease-in-out;
}

.fadeInDown {
  animation: fadeInDown 1s ease-in-out;
}

.fadeInLeft {
  animation: fadeInLeft 1s ease-in-out;
}

.fadeInRight {
  animation: fadeInRight 1s ease-in-out;
}

.fadeInUp {
  animation: fadeInUp 1s ease-in-out;
}

/* Keyframes for animations */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -30px, 0);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0,-4px,0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes rotateIn {
  from {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
  to {
    transform-origin: center;
    transform: none;
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes flipInY {
  from {
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1);
  }
  50% {
    transform: scale3d(1.05, 1.05, 1.05);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes swing {
  20% {
    transform: rotate3d(0, 0, 1, 15deg);
  }
  40% {
    transform: rotate3d(0, 0, 1, -10deg);
  }
  60% {
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    transform: rotate3d(0, 0, 1, -5deg);
  }
  to {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes tada {
  from {
    transform: scale3d(1, 1, 1);
  }
  10%, 20% {
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }
  40%, 60%, 80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes wobble {
  from {
    transform: none;
  }
  15% {
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }
  30% {
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }
  45% {
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }
  60% {
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }
  75% {
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }
  to {
    transform: none;
  }
}

@keyframes jello {
  from, 11.1%, to {
    transform: none;
  }
  22.2% {
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }
  33.3% {
    transform: skewX(6.25deg) skewY(6.25deg);
  }
  44.4% {
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }
  55.5% {
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }
  66.6% {
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }
  77.7% {
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }
  88.8% {
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}

@keyframes bounceInDown {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}

@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes bounceInRight {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes bounceInUp {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Shake animation for error states */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.checkin-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Enhanced Progress Bar */
.checkin-progress {
  width: 100%;
  max-width: 350px;
  text-align: center;
  position: relative;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, 
    #4ecdc4 0%, 
    #7c5cff 50%, 
    #ff6b6b 100%);
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  animation: shimmer 2s infinite;
}

.progress-fill::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Enhanced Daily Message */
.daily-message {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  max-width: 450px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.daily-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.1), 
    rgba(124, 92, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.daily-message:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(78, 205, 196, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.daily-message:hover::before {
  opacity: 1;
}

.daily-message p {
  margin: 0;
  line-height: 1.7;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Luxury Check-in Button */
.checkin-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, 
    #4ecdc4 0%, 
    #7c5cff 50%, 
    #ff6b6b 100%);
  background-size: 300% 300%;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(78, 205, 196, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: gradientShift 3s ease-in-out infinite;
}

.checkin-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.6s ease;
}

.checkin-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 20px 60px rgba(78, 205, 196, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 40px rgba(78, 205, 196, 0.4);
}

.checkin-btn:hover::before {
  left: 100%;
}

.checkin-btn:active {
  transform: translateY(-3px) scale(1.02);
}

.checkin-btn.checked {
  background: linear-gradient(135deg, 
    #22c55e 0%, 
    #16a34a 50%, 
    #15803d 100%);
  box-shadow: 
    0 8px 32px rgba(34, 197, 94, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.checkin-btn.checked:hover {
  box-shadow: 
    0 20px 60px rgba(34, 197, 94, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 40px rgba(34, 197, 94, 0.4);
}

.btn-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}

.btn-text {
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

/* Enhanced Stats */
.checkin-stats {
  display: flex;
  gap: 40px;
  margin-top: 16px;
  position: relative;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.1), 
    rgba(124, 92, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(78, 205, 196, 0.4);
  box-shadow: 0 12px 32px rgba(78, 205, 196, 0.2);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Message Popup Modal - Enhanced */
.message-popup {
  border: none;
  border-radius: 28px;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.8) rotateY(15deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-popup.show {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

.message-popup::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
}

.popup-content {
  background: linear-gradient(135deg, 
    rgba(17, 20, 26, 0.95) 0%, 
    rgba(30, 35, 45, 0.95) 100%);
  backdrop-filter: blur(30px);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 28px;
  padding: 40px;
  min-width: 320px;
  max-width: 500px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(78, 205, 196, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.popup-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.05), 
    rgba(124, 92, 255, 0.05));
  pointer-events: none;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.popup-close:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: scale(1.1) rotate(90deg);
  color: white;
}

/* Popup Animation Container */
.popup-animation {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  position: relative;
}

.celebration-emoji {
  font-size: 56px;
  animation-duration: 1s;
  animation-fill-mode: both;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Popup Message */
.popup-message {
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.popup-message h3 {
  margin: 0 0 16px 0;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-message p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Popup Day Info */
.popup-day-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(78, 205, 196, 0.2);
  position: relative;
  overflow: hidden;
}

.popup-day-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.1), 
    rgba(124, 92, 255, 0.1));
  opacity: 0.5;
}

.popup-day {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.popup-progress {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(78, 205, 196, 0.15);
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(78, 205, 196, 0.3);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Password Popup Modal - Enhanced */
.password-popup {
  border: none;
  border-radius: 28px;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.8) rotateX(15deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.password-popup.show {
  opacity: 1;
  transform: scale(1) rotateX(0deg);
}

.password-popup::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
}

.password-input-container {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

#passwordInput {
  width: 100%;
  padding: 20px;
  border: 2px solid rgba(78, 205, 196, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

#passwordInput:focus {
  border-color: #4ecdc4;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 0 0 4px rgba(78, 205, 196, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(78, 205, 196, 0.3);
  transform: scale(1.02);
}

#passwordInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: normal;
  font-weight: 500;
}

.password-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.password-btn {
  padding: 16px 32px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.password-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.password-btn:hover::before {
  left: 100%;
}

.confirm-btn {
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  color: white;
  box-shadow: 0 8px 24px rgba(78, 205, 196, 0.4);
}

.confirm-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(78, 205, 196, 0.5);
}

.cancel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.password-error {
  color: #ff6b6b;
  font-size: 15px;
  text-align: center;
  padding: 16px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 12px;
  margin-top: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* Notification Styles - Enhanced */
.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-20px);
  animation: slideIn 0.5s forwards;
  z-index: 1000;
}

.notification.hide {
  animation: slideOut 0.5s forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* High Contrast Mode */
body.high-contrast-mode {
  filter: contrast(200%) brightness(150%);
}

/* New styles for the checkin-box */
.daily-checkin-box {
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.1) 0%, 
    rgba(124, 92, 255, 0.1) 50%, 
    rgba(255, 107, 107, 0.1) 100%);
  backdrop-filter: blur(25px);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 32px;
}

.daily-checkin-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.05) 0%, 
    rgba(124, 92, 255, 0.05) 50%, 
    rgba(255, 107, 107, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.daily-checkin-box::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(78, 205, 196, 0.1) 90deg,
    transparent 180deg,
    rgba(124, 92, 255, 0.1) 270deg,
    transparent 360deg
  );
  animation: rotate 20s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.daily-checkin-box:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 40px 120px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(78, 205, 196, 0.4),
    inset 0 3px 0 rgba(255, 255, 255, 0.4),
    0 0 80px rgba(78, 205, 196, 0.3),
    0 0 200px rgba(124, 92, 255, 0.2);
}

.daily-checkin-box:hover::before {
  opacity: 1;
}

.daily-checkin-box:hover::after {
  opacity: 0.3;
}

.daily-checkin-box .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.daily-checkin-box .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(78, 205, 196, 0.6);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.daily-checkin-box .checkin-header h2 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, 
    #4ecdc4 0%, 
    #7c5cff 25%, 
    #ff6b6b 50%, 
    #4ecdc4 75%,
    #7c5cff 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(78, 205, 196, 0.4);
  position: relative;
  letter-spacing: 1px;
}

.daily-checkin-box .checkin-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

.daily-checkin-box .checkin-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

.daily-checkin-box .checkin-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.daily-checkin-box .checkin-progress {
  width: 100%;
  max-width: 350px;
  text-align: center;
  position: relative;
}

.daily-checkin-box .progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.daily-checkin-box .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, 
    #4ecdc4 0%, 
    #7c5cff 50%, 
    #ff6b6b 100%);
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

.daily-checkin-box .progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  animation: shimmer 2s infinite;
}

.daily-checkin-box .progress-fill::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: pulse 1.5s ease-in-out infinite;
}

.daily-checkin-box .progress-text {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.daily-checkin-box .daily-message {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  max-width: 450px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.daily-checkin-box .daily-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.1), 
    rgba(124, 92, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.daily-checkin-box .daily-message:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(78, 205, 196, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.daily-checkin-box .daily-message:hover::before {
  opacity: 1;
}

.daily-checkin-box .daily-message p {
  margin: 0;
  line-height: 1.7;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.daily-checkin-box .checkin-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, 
    #4ecdc4 0%, 
    #7c5cff 50%, 
    #ff6b6b 100%);
  background-size: 300% 300%;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(78, 205, 196, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: gradientShift 3s ease-in-out infinite;
}

.daily-checkin-box .checkin-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.6s ease;
}

.daily-checkin-box .checkin-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 20px 60px rgba(78, 205, 196, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 40px rgba(78, 205, 196, 0.4);
}

.daily-checkin-box .checkin-btn:hover::before {
  left: 100%;
}

.daily-checkin-box .checkin-btn:active {
  transform: translateY(-3px) scale(1.02);
}

.daily-checkin-box .checkin-btn.checked {
  background: linear-gradient(135deg, 
    #22c55e 0%, 
    #16a34a 50%, 
    #15803d 100%);
  box-shadow: 
    0 8px 32px rgba(34, 197, 94, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.daily-checkin-box .checkin-btn.checked:hover {
  box-shadow: 
    0 20px 60px rgba(34, 197, 94, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 40px rgba(34, 197, 94, 0.4);
}

.daily-checkin-box .btn-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: bounce 2s ease-in-out infinite;
}

.daily-checkin-box .btn-text {
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.daily-checkin-box .checkin-stats {
  display: flex;
  gap: 40px;
  margin-top: 16px;
  position: relative;
}

.daily-checkin-box .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.daily-checkin-box .stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.1), 
    rgba(124, 92, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.daily-checkin-box .stat-item:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(78, 205, 196, 0.4);
  box-shadow: 0 12px 32px rgba(78, 205, 196, 0.2);
}

.daily-checkin-box .stat-item:hover::before {
  opacity: 1;
}

.daily-checkin-box .stat-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.daily-checkin-box .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Message Popup Modal - Enhanced */
.message-popup {
  border: none;
  border-radius: 28px;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.8) rotateY(15deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-popup.show {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

.message-popup::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
}

.popup-content {
  background: linear-gradient(135deg, 
    rgba(17, 20, 26, 0.95) 0%, 
    rgba(30, 35, 45, 0.95) 100%);
  backdrop-filter: blur(30px);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 28px;
  padding: 40px;
  min-width: 320px;
  max-width: 500px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(78, 205, 196, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.popup-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.05), 
    rgba(124, 92, 255, 0.05));
  pointer-events: none;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.popup-close:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: scale(1.1) rotate(90deg);
  color: white;
}

/* Popup Animation Container */
.popup-animation {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  position: relative;
}

.celebration-emoji {
  font-size: 56px;
  animation-duration: 1s;
  animation-fill-mode: both;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Popup Message */
.popup-message {
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.popup-message h3 {
  margin: 0 0 16px 0;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-message p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Popup Day Info */
.popup-day-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(78, 205, 196, 0.2);
  position: relative;
  overflow: hidden;
}

.popup-day-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(78, 205, 196, 0.1), 
    rgba(124, 92, 255, 0.1));
  opacity: 0.5;
}

.popup-day {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.popup-progress {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(78, 205, 196, 0.15);
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(78, 205, 196, 0.3);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Password Popup Modal - Enhanced */
.password-popup {
  border: none;
  border-radius: 28px;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.8) rotateX(15deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.password-popup.show {
  opacity: 1;
  transform: scale(1) rotateX(0deg);
}

.password-popup::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
}

.password-input-container {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

#passwordInput {
  width: 100%;
  padding: 20px;
  border: 2px solid rgba(78, 205, 196, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

#passwordInput:focus {
  border-color: #4ecdc4;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 0 0 4px rgba(78, 205, 196, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(78, 205, 196, 0.3);
  transform: scale(1.02);
}

#passwordInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: normal;
  font-weight: 500;
}

.password-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.password-btn {
  padding: 16px 32px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.password-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.password-btn:hover::before {
  left: 100%;
}

.confirm-btn {
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  color: white;
  box-shadow: 0 8px 24px rgba(78, 205, 196, 0.4);
}

.confirm-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(78, 205, 196, 0.5);
}

.cancel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.password-error {
  color: #ff6b6b;
  font-size: 15px;
  text-align: center;
  padding: 16px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 12px;
  margin-top: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* Notification Styles - Enhanced */
.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, #4ecdc4, #7c5cff);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-20px);
  animation: slideIn 0.5s forwards;
  z-index: 1000;
}

.notification.hide {
  animation: slideOut 0.5s forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* High Contrast Mode */
body.high-contrast-mode {
  filter: contrast(200%) brightness(150%);
}


