/* ============================================================
   maths-junior-glass.css — Glassmorphism overlay for all junior maths
   Apply on top of theme + inline styles for frosted-glass effect
   ============================================================ */

body {
  background-attachment: fixed;
}

/* Main cards — frosted white */
.card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 32px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Think First — light glass */
.think-first,
.card.think-first {
  background: rgba(236, 253, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(16, 185, 129, 0.40);
}

/* Formula panel — light glass */
.formula-panel,
.card.formula-panel {
  background: rgba(239, 246, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(37, 99, 235, 0.35);
}

/* Misconceptions — warm glass */
.misconception,
.card.misconception {
  background: rgba(255, 251, 235, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(217, 119, 6, 0.35);
}

/* Activity — mint glass */
.activity-card,
.card.activity-card {
  background: rgba(236, 253, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(22, 163, 74, 0.35);
}

/* Intention cards */
.intention-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.intention-card.mint { background: rgba(236, 253, 245, 0.78); }
.intention-card.sky { background: rgba(224, 242, 254, 0.78); }
.intention-card.peach { background: rgba(255, 251, 235, 0.78); }

/* Key terms panel */
.key-terms-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Mode banner */
.mode-banner {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Worksheet card */
.worksheet-download-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Phase strip buttons */
.phase-btn {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
