/* ══════════════════════════════════════════════════════════════════════════
   LESSONIFY — PRESENTER STYLES
   Fullscreen in-browser lesson presenter. Classroom-optimised:
   large type, high contrast, minimal chrome, video/image first.
   ══════════════════════════════════════════════════════════════════════════ */

.lfy-presenter {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0F1A13;
  color: #F5F0E8;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lfy-presenter * { box-sizing: border-box; }

/* ── Stage (slide content area) ─────────────────────────────────────── */
.lfy-p-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 4vw;
  overflow: hidden;
}

.lfy-slide {
  width: 100%;
  max-width: 1400px;
  max-height: 100%;
  animation: lfySlideIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes lfySlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Title slide ────────────────────────────────────────────────────── */
.lfy-slide-title {
  text-align: center;
  background: linear-gradient(135deg, #4A6741 0%, #2E4127 100%);
  border-radius: 20px;
  padding: 8vh 6vw;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.lfy-title-big {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #FAF6EF;
  letter-spacing: -0.02em;
}

.lfy-title-sub {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: rgba(250, 246, 239, 0.85);
  font-weight: 400;
  max-width: 28ch;
}

.lfy-title-meta {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: rgba(250, 246, 239, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-top: 1rem;
}

/* ── Concept / Overview slides (image + text) ───────────────────────── */
.lfy-slide-concept {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3vw;
  align-items: start;
  min-height: 80vh;
}

.lfy-slide-concept.with-image {
  grid-template-columns: 1fr 1fr;
}

.lfy-concept-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #F5F0E8;
  margin: 0 0 2rem;
  letter-spacing: -0.01em;
}

.lfy-concept-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lfy-concept-points li {
  font-size: clamp(1.05rem, 1.9vw, 1.6rem);
  line-height: 1.55;
  color: rgba(245, 240, 232, 0.95);
  padding-left: 1.5rem;
  position: relative;
}

.lfy-concept-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 0.5rem;
  background: #C9922A;
  border-radius: 50%;
}

.lfy-concept-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  aspect-ratio: 4 / 3;
  background: #1a2419;
}

.lfy-concept-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lfy-image-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  text-align: right;
}

/* ── Video launch button & video slide ──────────────────────────────── */
.lfy-video-launch {
  margin-top: 2rem;
  padding: 0.85rem 1.5rem;
  background: #C9922A;
  color: #1A1200;
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  align-self: flex-start;
  box-shadow: 0 6px 20px rgba(201,146,42,0.3);
}

.lfy-video-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,146,42,0.45);
}

.lfy-slide-video {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.lfy-video-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  color: #F5F0E8;
  max-width: 40ch;
}

.lfy-video-wrap {
  width: min(90vw, 1400px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: #000;
}

.lfy-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lfy-video-attr {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.6);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.lfy-video-close {
  background: none;
  border: 1.5px solid rgba(245,240,232,0.3);
  color: rgba(245,240,232,0.9);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
}
.lfy-video-close:hover {
  background: rgba(245,240,232,0.1);
  border-color: rgba(245,240,232,0.6);
}

/* ── LI / SC slide ──────────────────────────────────────────────────── */
.lfy-slide-li {
  background: #1F2A20;
  border-radius: 20px;
  padding: 5vh 5vw;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.lfy-header-band {
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(201,146,42,0.3);
}

.lfy-eyebrow {
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 800;
  color: #C9922A;
  margin-bottom: 1rem;
}
.lfy-eyebrow.dark { color: #9BB08F; }

.lfy-li-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F5F0E8;
}

.lfy-sc-section { display: flex; flex-direction: column; gap: 1.25rem; }

.lfy-sc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.lfy-sc-list li {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  line-height: 1.45;
  color: #F5F0E8;
  padding-left: 3rem;
  position: relative;
}

.lfy-sc-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: #C9922A;
  font-weight: 700;
}

/* ── Activity slide ─────────────────────────────────────────────────── */
.lfy-slide-activity {
  background: linear-gradient(135deg, #3a2f1a 0%, #2a2315 100%);
  border-radius: 20px;
  padding: 5vh 5vw;
  min-height: 75vh;
}

.lfy-activity-header {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #FAF6EF;
  margin-bottom: 3rem;
}

.lfy-activity-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lfy-activity-item {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  line-height: 1.5;
  color: rgba(245, 240, 232, 0.95);
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid #C9922A;
  border-radius: 0 12px 12px 0;
}

/* ── Exit ticket ────────────────────────────────────────────────────── */
.lfy-slide-exit {
  background: #1F2A20;
  border-radius: 20px;
  padding: 6vh 5vw;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2.5rem;
}

.lfy-exit-q {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #F5F0E8;
  max-width: 20ch;
}

.lfy-exit-blooms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 800px;
}

.lfy-bloom {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: rgba(245,240,232,0.75);
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  font-style: italic;
}

.lfy-exit-footer {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: rgba(201,146,42,0.8);
  font-style: italic;
  margin-top: 1rem;
}

/* ── Controls bar ───────────────────────────────────────────────────── */
.lfy-p-controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.lfy-p-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #F5F0E8;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.lfy-p-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
}

.lfy-p-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lfy-p-btn.lfy-p-close:hover {
  background: rgba(184,76,42,0.3);
  border-color: #B84C2A;
}

.lfy-p-progress {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.7);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  min-width: 70px;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ── Mobile ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .lfy-slide-concept.with-image {
    grid-template-columns: 1fr;
  }
  .lfy-concept-image { aspect-ratio: 16 / 10; }
  .lfy-p-stage { padding: 2vh 3vw; }
}
