:root {
  --bg: #0f172a;
  --card: #1e293b;
  --card-hover: #334155;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #020617, #0f172a);
  color: var(--text);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero p {
  color: var(--muted);
}

.section-title {
  margin-bottom: 1rem;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.day-card {
  display: grid;
  place-items: center;
  min-height: 120px;
  border-radius: 16px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  border: 1px solid #475569;
  transition: 0.2s ease;
}

.day-card:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: var(--accent);
}

.workout-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.exercise-list {
  display: grid;
  gap: 1.5rem;
}

.exercise-card {
  background: var(--card);
  border: 1px solid #475569;
  border-radius: 14px;
  padding: 1rem;
}

.exercise-card h3 {
  margin-top: 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #64748b;
}

.note {
  margin-top: 1rem;
  color: #facc15;
  font-weight: 700;
}
