/* ==========================================================================
   RMS Social Studies: What is Our Culture?
   Year 1 / First Grade Interactive Reading Experience
   Style Sheet (CSS3)
   ========================================================================== */

:root {
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-light: #e2e8f0;
  --border-focus: #3b82f6;

  /* Friendly educational palette */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;

  --success: #16a34a;
  --success-light: #dcfce7;
  --success-border: #86efac;

  --retry: #d97706;
  --retry-light: #fef3c7;
  --retry-border: #fcd34d;

  --card-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 10px 25px -3px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);

  --radius-lg: 1.25rem;
  --radius-md: 0.875rem;
  --radius-sm: 0.5rem;

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Accessible hidden element */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Header & Navigation Bar
   ========================================================================== */
.app-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--border-light);
  padding: 0.75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-zone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.subject-tag {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e40af;
  background-color: #eff6ff;
  border: 1.5px solid #bfdbfe;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  letter-spacing: 0.02em;
}

.progress-zone {
  flex: 1;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.progress-track {
  width: 100%;
  height: 10px;
  background-color: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.audio-zone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-icon {
  background-color: #f1f5f9;
  border: 2px solid var(--border-light);
  color: var(--text-main);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-icon:hover {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
}

.btn-icon:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

.btn-icon.active {
  background-color: #dbeafe;
  border-color: #3b82f6;
  color: #1d4ed8;
  animation: pulse-border 1.5s infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2); }
}

/* ==========================================================================
   Main App Container
   ========================================================================== */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.screen {
  display: none;
  width: 100%;
  animation: fadeIn 0.3s ease-out;
}

.screen.active {
  display: block;
}

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

/* ==========================================================================
   Content Layouts & Card Styles
   ========================================================================== */
.screen-card {
  background-color: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.screen-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  line-height: 1.25;
}

.screen-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2563eb;
  text-align: center;
}

.reading-banner {
  background-color: #eff6ff;
  border: 2px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.6;
  color: #1e3a8a;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.reading-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Image Containers with Resilient CSS Fallbacks */
.welcome-hero-frame {
  width: 100%;
  max-width: 440px;
  margin: 0.5rem auto 1.25rem auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid #cbd5e1;
  background-color: #ffffff;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.welcome-hero-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 380px;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #ffffff;
  padding: 8px;
}

.asset-frame {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid #cbd5e1;
  background-color: #ffffff;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.asset-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #ffffff;
  padding: 8px;
}

.asset-label {
  padding: 0.6rem 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  background-color: #ffffff;
  border-top: 2px solid var(--border-light);
  color: #1e293b;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Screen 4: Music and Dancing Cards Component (Balanced Proportions)
   ========================================================================== */
.music-dance-layout {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 620px;
  margin: 1.25rem auto;
  width: 100%;
}

.music-dance-card {
  flex: 1 1 0;
  max-width: 290px;
  min-width: 200px;
  background-color: #ffffff;
  border: 3px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.music-dance-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.music-dance-thumb {
  width: 100%;
  height: 270px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.music-dance-thumb img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #ffffff;
}

.music-dance-label {
  padding: 0.75rem 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  background-color: #f8fafc;
  border-top: 2px solid var(--border-light);
  color: #1e3a8a;
  letter-spacing: 0.02em;
  margin-top: auto;
}

.asset-label small {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Multi-card Grids */
.cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin: 0.5rem 0;
}

.interactive-card {
  background-color: #ffffff;
  border: 3px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

.interactive-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: var(--card-shadow-hover);
}

.interactive-card:focus-visible {
  outline: 3px solid var(--border-focus);
}

.interactive-card.selected {
  background-color: #eff6ff;
  border-color: #2563eb;
  transform: scale(1.03);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.interactive-card .card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.interactive-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #ffffff;
}

.interactive-card .card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
}

/* Two-column layout */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

/* Activities / Checkpoints Box */
.activity-box {
  background-color: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e3a8a;
}

.activity-badge {
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.question-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

/* Choose Activity Options */
.choose-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-option {
  flex: 1 1 calc(50% - 0.5rem);
  min-height: 60px;
  background-color: #ffffff;
  border: 3px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-option:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.btn-option:focus-visible {
  outline: 3px solid var(--border-focus);
}

.btn-option.correct {
  background-color: var(--success-light);
  border-color: var(--success);
  color: #14532d;
  pointer-events: none;
}

.btn-option.incorrect {
  background-color: var(--retry-light);
  border-color: var(--retry);
  color: #78350f;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Feedback Alert Banner */
.feedback-banner {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  animation: popIn 0.25s ease-out;
}

.feedback-banner.show {
  display: block;
}

.feedback-banner.success {
  background-color: var(--success-light);
  border: 2px solid var(--success-border);
  color: #15803d;
}

.feedback-banner.retry {
  background-color: var(--retry-light);
  border: 2px solid var(--retry-border);
  color: #b45309;
}

@keyframes popIn {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Drag & Drop Activity Styles
   ========================================================================== */
.drag-activity-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drag-hint {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1e3a8a;
  text-align: center;
  background-color: #eff6ff;
  border: 2px solid #bfdbfe;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
}

.draggables-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  padding: 1rem;
  background-color: #f1f5f9;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  min-height: 80px;
}

.draggable-item {
  background-color: #ffffff;
  border: 3px solid #3b82f6;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e3a8a;
  cursor: grab;
  touch-action: none;
  user-select: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.draggable-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.draggable-item:active,
.draggable-item.dragging {
  cursor: grabbing;
  opacity: 0.85;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
  z-index: 100;
}

.draggable-item.selected {
  outline: 4px solid #f59e0b;
  outline-offset: 2px;
  background-color: #fef3c7;
  transform: scale(1.05);
}

.draggable-item.matched {
  display: none;
}

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

.drop-target-card {
  background-color: #ffffff;
  border: 3px dashed #94a3b8;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  transition: all 0.2s ease;
  min-height: 340px;
  position: relative;
}

.drop-target-card.drag-over {
  border-color: #3b82f6;
  background-color: #eff6ff;
  border-style: solid;
  transform: scale(1.02);
}

.drop-target-card.highlight-target {
  border-color: #f59e0b;
  border-style: solid;
  animation: pulse-target 1.2s infinite;
}

@keyframes pulse-target {
  0%, 100% { background-color: #ffffff; }
  50% { background-color: #fef3c7; }
}

.drop-target-card.matched {
  border-style: solid;
  border-color: var(--success);
  background-color: #f0fdf4;
}

.drop-target-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.drop-target-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #ffffff;
}

.drop-target-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
}

.drop-target-slot {
  width: 100%;
  min-height: 48px;
  border: 2px solid #cbd5e1;
  background-color: #f8fafc;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #64748b;
  padding: 0.4rem;
}

.drop-target-card.matched .drop-target-slot {
  border-color: var(--success);
  background-color: var(--success-light);
  color: #14532d;
  font-size: 1.15rem;
  font-weight: 800;
}

/* ==========================================================================
   Screen 8: Opposites (Same vs Different, Hot vs Cold)
   ========================================================================== */
.opposites-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background-color: #ffffff;
  border: 3px solid var(--border-light);
  border-radius: var(--radius-md);
  margin: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.opposites-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e40af;
  background-color: #eff6ff;
  border: 2px solid #bfdbfe;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  transition: all 0.25s ease;
}

.opposites-frame {
  width: 100%;
  max-width: 440px;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.opposites-frame img {
  width: 100%;
  height: 100%;
  max-height: 324px;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #ffffff;
  transition: opacity 0.2s ease;
}

/* ==========================================================================
   Screen 9: Vocabulary Interactive Grid
   ========================================================================== */
.vocab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
}

.vocab-btn {
  background-color: #ffffff;
  border: 3px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  min-height: 90px;
  justify-content: center;
}

.vocab-btn:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  background-color: #f8fafc;
}

.vocab-btn.active {
  background-color: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.vocab-detail-box {
  background-color: #ffffff;
  border: 2px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: fadeIn 0.25s ease-out;
}

.vocab-detail-thumb {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.vocab-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #ffffff;
}

.vocab-detail-text h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 0.35rem;
}

.vocab-detail-text p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #334155;
}

/* ==========================================================================
   Screen 10: Completion
   ========================================================================== */
.celebrate-card {
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.recap-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 640px;
  margin: 1rem 0;
}

.recap-item {
  background-color: #eff6ff;
  border: 2px solid #93c5fd;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e40af;
}

/* ==========================================================================
   Bottom Action Bar / Controls
   ========================================================================== */
.screen-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.875rem 2rem;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

.btn-primary:disabled {
  background-color: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background-color: #f1f5f9;
  color: #334155;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary:hover:not(:disabled) {
  background-color: #e2e8f0;
  border-color: #94a3b8;
}

.btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.app-footer {
  text-align: center;
  padding: 1.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  border-top: 1px solid var(--border-light);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-divider {
  color: #cbd5e1;
}

.footer-credit {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  .progress-zone {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .screen-card {
    padding: 1.25rem;
  }

  .screen-title {
    font-size: 1.6rem;
  }

  .screen-subtitle {
    font-size: 1.15rem;
  }

  .reading-banner {
    font-size: 1.15rem;
    padding: 1rem;
  }

  .two-col-layout {
    grid-template-columns: 1fr;
  }

  .music-dance-layout {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .music-dance-card {
    max-width: 300px;
    width: 100%;
  }

  .btn-option {
    flex: 1 1 100%;
  }

  .drop-targets-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .drop-targets-grid {
    grid-template-columns: 1fr;
  }
  
  .cards-grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .btn-primary, .btn-secondary {
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
  }
}
