/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0d0d0f;
  color: #f0f0f0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  padding: 28px 20px 18px;
  background: #111114;
  border-bottom: 1px solid #1e1e24;
}

.header__sub {
  font-size: 10px;
  letter-spacing: 3px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.header__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.header__desc {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
}

/* ============================================================
   TABS NAV
   ============================================================ */
.tabs {
  display: flex;
  overflow-x: auto;
  background: #111114;
  border-bottom: 1px solid #1e1e24;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  padding: 13px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #555;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}

.tab.active {
  color: var(--tab-color);
  border-bottom-color: var(--tab-color);
}

/* ============================================================
   DAY PANELS
   ============================================================ */
.day-panel {
  display: none;
}

.day-panel.active {
  display: block;
}

/* ---- Day header ---- */
.day-header {
  padding: 22px 20px 14px;
  background: #0f0f12;
  border-bottom: 1px solid #1a1a20;
}

.day-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.day-name {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

.day-focus {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #eee;
}

.day-count {
  font-size: 12px;
  color: #555;
  margin-top: 8px;
}

/* ============================================================
   EXERCISE LIST
   ============================================================ */
.exercises {
  padding: 14px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- Card ---- */
.ex-card {
  background: #141418;
  border: 1px solid #1e1e26;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}

.ex-card.open {
  border-color: var(--day-color);
}

.ex-top {
  padding: 13px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ex-num {
  min-width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
  flex-shrink: 0;
}

.ex-body {
  flex: 1;
  min-width: 0;
}

.ex-name {
  font-size: 14px;
  font-weight: 700;
  color: #eee;
  margin-bottom: 4px;
}

.ex-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 5px;
}

.ex-sets {
  font-size: 11px;
  color: #888;
}

.ex-sets span {
  font-weight: 700;
}

.ex-reps {
  font-size: 11px;
  color: #bbb;
  font-weight: 600;
}

.ex-note {
  font-size: 11px;
  color: #555;
  line-height: 1.5;
  font-style: italic;
}

.ex-arrow {
  font-size: 12px;
  color: #444;
  margin-top: 4px;
  flex-shrink: 0;
  transition: transform 0.25s, color 0.2s;
}

.ex-card.open .ex-arrow {
  transform: rotate(180deg);
  color: var(--day-color);
}

/* ============================================================
   IMAGE DRAWER
   ============================================================ */
.ex-images {
  display: none;
  padding: 0 14px 14px;
}

.ex-card.open .ex-images {
  display: block;
}

.img-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.img-row::-webkit-scrollbar {
  display: none;
}

.img-gif,
.img-photo {
  height: 150px;
  width: auto;
  border-radius: 8px;
  flex-shrink: 0;
  background: #1a1a22;
  border: 1px solid #2a2a36;
  object-fit: cover;
  display: block;
}

.img-source {
  font-size: 9px;
  color: #2a2a36;
  text-align: right;
  margin-top: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- YouTube button ---- */
.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 12px;
  background: #1a1a1f;
  border: 1px solid #2a2a36;
  border-radius: 6px;
  color: #888;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.yt-btn:hover {
  border-color: #ff4444;
  color: #ff4444;
}

.yt-btn svg {
  flex-shrink: 0;
}

/* ============================================================
   TIPS SECTION
   ============================================================ */
.tips {
  padding: 10px 20px 36px;
}

.tips__title {
  font-size: 10px;
  letter-spacing: 2px;
  color: #444;
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-top: 6px;
}

.tip-card {
  background: #0f0f12;
  border: 1px solid #1a1a22;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.tip-card__icon {
  font-size: 16px;
  flex-shrink: 0;
}

.tip-card__title {
  font-size: 12px;
  font-weight: 700;
  color: #ccc;
  margin-bottom: 2px;
}

.tip-card__body {
  font-size: 11px;
  color: #555;
  line-height: 1.5;
}
