/* =========================
   BASE + PAGE STYLES
========================= */

.hero-card {
  background:#111827;
  border:2px solid #374151;
  border-radius:22px;
  padding:24px;
  max-width:420px;
  width:80%;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  margin-top:20px;
}

.label-card {
  background:rgba(34,197,94,0.1);
  border:2px solid #22c55e;
  border-radius:14px;
  padding:14px;
  margin-bottom:12px;
  font-weight:800;
  font-size:1.15rem;
}

.label-card.exercise {
  background:rgba(0, 255, 251, 0.073);
  border:2px solid rgba(0, 255, 251, 0.651);
  color:#e5f0ff;
}

.train-grid {
  margin-top:14px;
}

.train-row {
  background:#020617;
  border:1px solid #1f2937;
  border-radius:14px;
  padding:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:8px;
  font-weight:700;
  font-size:1rem;
}

.start-btn {
  background:#22c55e;
  color:black;
  font-weight:900;
  padding:18px;
  border:none;
  border-radius:16px;
  width:100%;
  margin-top:16px;
  cursor:pointer;
  font-size:1.15rem;
}

.start-btn.locked {
  background:#374151;
  color:#9ca3af;
  cursor:not-allowed;
}

.secondary-btn {
  background:#374151;
  color:white;
  padding:14px;
  border:none;
  border-radius:16px;
  width:100%;
  margin-top:10px;
  font-weight:700;
  font-size:1rem;
}

.small {
  font-size:.85rem;
  opacity:.7;
  margin-top:4px;
}

#weekProgressText,
#xpProgressText {
  color:#9ca3af;
  margin-bottom:6px;
  text-align:center;
}

.progress-week-box {
  background: rgba(34,197,94,0.12);
  border: 2px solid #22c55e;
  border-radius: 20px;
  padding: 16px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-week-box .progress-title {
  font-weight: 800;
  color: #22c55e;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 8px;
}

.progress-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-label {
  font-size: 1rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #1f2937;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #22c55e;
  transition: 0.5s;
  animation: xpGlow 1.5s infinite alternate;
}

@keyframes xpGlow {
  from { filter: brightness(1); }
  to { filter: brightness(1.4); }
}




/* =======================
   IPHONE SE – GAME MODE
======================= */
@media (max-width: 375px) and (max-height: 667px) {

  h1{margin-top:16px;font-size:1.3rem;letter-spacing:2px;}
  .hero-card{padding:12px;width:90%;border-radius:18px;}
  .label-card.exercise{font-size:1rem;padding:10px;animation: pulseGlow 2s infinite;}
  .train-row{padding:6px 8px;font-size:.8rem;}
  .start-btn{padding:14px;font-size:1rem;margin-top:8px;border-radius:20px;box-shadow:0 0 15px rgba(34,197,94,.6);}
  .secondary-btn{padding:8px;font-size:.75rem;margin-top:5px;opacity:.8;}
  .small{font-size:.65rem;}
}

/* Glow Animation */
@keyframes pulseGlow {
  0%{box-shadow:0 0 0 rgba(34,197,94,0);}
  50%{box-shadow:0 0 12px rgba(34,197,94,.6);}
  100%{box-shadow:0 0 0 rgba(34,197,94,0);}
}