@import url('https://fonts.googleapis.com/css2?family=Changa:wght@500;600;700;800;900&family=Marhey:wght@500;600;700&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  /* Unicorn Magic Color Palette */
  --unicorn-pink: #f472b6;
  --unicorn-magenta: #ec4899;
  --unicorn-purple: #c084fc;
  --unicorn-lavender: #a855f7;
  --unicorn-deep: #7e22ce;
  --unicorn-cyan: #38bdf8;
  --unicorn-mint: #2dd4bf;
  --unicorn-gold: #fbbf24;
  --unicorn-starlight: #fef08a;
  --unicorn-bg-light: #fdf4ff;

  --primary: #ec4899;
  --primary-light: #f472b6;
  --primary-dark: #be123c;
  --secondary: #a855f7;
  --accent: #38bdf8;
  --success: #10b981;
  --warning: #fbbf24;
  --danger: #ef4444;

  --bg-gradient: linear-gradient(135deg, #fdf4ff 0%, #f5f3ff 35%, #f0fdf4 70%, #eff6ff 100%);
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-shadow: 0 12px 32px rgba(192, 132, 252, 0.18);
  --border-radius-lg: 24px;
  --border-radius-md: 18px;
  --border-radius-sm: 12px;
  --transition: all 0.25s ease;
  --bounce-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Unicorn Magic Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #faf5ff;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ec4899, #a855f7, #38bdf8);
  border-radius: 10px;
  border: 2px solid #faf5ff;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d946ef, #9333ea, #0284c7);
}

body {
  direction: rtl;
  text-align: right;
  background-color: #fdf4ff;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(192, 132, 252, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(244, 114, 182, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, #fdf4ff 0%, #f5f3ff 35%, #f0fdf4 70%, #eff6ff 100%);
  min-height: 100vh;
  color: #334155;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Background Minecraft 3D Floating Voxel Blocks */
.bg-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  opacity: 0.25;
  animation: floatBlock 25s infinite ease-in-out alternate;
  image-rendering: pixelated;
  border: 4px solid #1c1c1c;
  border-radius: 4px;
}

.shape-1 { 
  width: 120px; 
  height: 120px; 
  background: radial-gradient(circle, #fda4af 30%, #f43f5e 100%) !important; 
  top: 60px; 
  left: 50px; 
  border-radius: 50% 15% 50% 50% !important;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.25) !important;
  transform: rotate(25deg);
  opacity: 0.65 !important;
}

.shape-2 { 
  width: 100px; 
  height: 100px; 
  background: radial-gradient(circle, #fbcfe8 30%, #ec4899 100%) !important; 
  bottom: 90px; 
  right: 60px; 
  border-radius: 50% 50% 15% 50% !important;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.25) !important;
  transform: rotate(-15deg);
  opacity: 0.6 !important;
}

.shape-3 {
  width: 85px;
  height: 85px;
  background: radial-gradient(circle, #fed7aa 30%, #f43f5e 100%) !important;
  top: 45%;
  right: 20%;
  border-radius: 50% !important;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.2) !important;
  opacity: 0.55 !important;
}

@keyframes floatBlock {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(10deg); }
  100% { transform: translateY(-20px) rotate(-10deg); }
}

/* App Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1150px;
  margin: 0 auto;
  padding: 16px 20px 60px;
}

/* ========================================================
   MINECRAFT HERO HEADER (Mimi Edition)
   ======================================================== */
.hero-header.mc-hero-header,
.stark-header {
  background: linear-gradient(135deg, rgba(16, 26, 12, 0.95) 0%, rgba(20, 16, 30, 0.92) 100%),
              url('../images/2.png') center/cover no-repeat;
  border: 4px solid #373737;
  outline: 3px solid #1a1a1a;
  box-shadow: inset 4px 4px 0 #8b8b8b, inset -4px -4px 0 #222222, 0 15px 35px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 22px 28px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.2rem;
}

.hero-header.mc-hero-header::after {
  content: '🦄';
  position: absolute;
  left: 10px;
  bottom: -15px;
  font-size: 110px;
  opacity: 0.12;
  transform: rotate(-20deg);
  pointer-events: none;
}

.hero-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Minecraft Steve Avatar for Mimi */
.minecraft-avatar-wrap,
.stark-logo-container {
  position: relative;
  width: 86px;
  height: 86px;
  background: #5c8e32;
  border: 4px solid #373737;
  outline: 3px solid #1a1a1a;
  box-shadow: inset 3px 3px 0 #8ce144, inset -3px -3px 0 #2d4a16, 0 8px 24px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.minecraft-avatar-wrap:hover,
.stark-logo-container:hover {
  transform: scale(1.06) rotate(-2deg);
}

.minecraft-avatar-img,
.stark-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  border-radius: 2px;
  display: block;
}

.mc-avatar-crown {
  position: absolute;
  top: -16px;
  right: -10px;
  font-size: 26px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
  animation: crownBounce 2s infinite ease-in-out alternate;
}

@keyframes crownBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.mc-edition-tag {
  font-family: 'Marhey', 'Changa', monospace;
  font-size: 11.5px;
  color: #ffff55;
  text-shadow: 2px 2px 0 #000;
  letter-spacing: 2px;
  margin-bottom: 4px;
  display: inline-block;
}

.hero-title h1,
.stark-title {
  font-family: 'Changa', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 3px 3px 0 #000000;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.hero-title p,
.stark-subtitle {
  font-size: 14.5px;
  color: #e2e8f0;
  text-shadow: 1px 1px 0 #000;
  margin-top: 3px;
}

/* Minecraft XP Bar Container */
.mc-xp-container {
  margin-top: 10px;
  max-width: 480px;
}

.mc-xp-bar {
  background: #111111;
  border: 2px solid #373737;
  outline: 1px solid #1a1a1a;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 1px 1px 0 #000;
}

.mc-xp-bar-fill {
  background: linear-gradient(90deg, #17dd62, #85ff55);
  box-shadow: 0 0 10px #55ff55;
  height: 100%;
  width: 0%;
  transition: width 0.4s ease;
  animation: xpPulse 2s infinite alternate;
}

@keyframes xpPulse {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.25); }
}

.mc-xp-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.student-tag.mc-level-tag {
  background: #2b2b2b;
  border: 2px solid #555555;
  color: #ffffff;
  font-size: 12.5px;
  padding: 2px 10px;
  border-radius: 4px;
  text-shadow: 1px 1px 0 #000;
}

.mc-level-badge {
  font-family: 'Marhey', monospace;
  font-size: 15px;
  font-weight: 900;
  color: #85ff55;
  text-shadow: 2px 2px 0 #000;
}

/* Minecraft Hotbar Gamification Stats */
.stats-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.stat-item.mc-stat-item {
  background: #2b2b2b;
  border-top: 3px solid #5a5a5a;
  border-left: 3px solid #5a5a5a;
  border-right: 3px solid #151515;
  border-bottom: 3px solid #151515;
  box-shadow: inset 2px 2px 0 #7e7e7e, inset -2px -2px 0 #111111;
  border-radius: 4px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 700;
  transition: transform 0.15s ease;
}

.stat-item.mc-stat-item:hover {
  transform: translateY(-2px);
  border-top-color: #7ec347;
}

.stat-icon {
  font-size: 1.3rem;
}

.stat-val {
  font-family: 'Marhey', monospace;
  font-size: 14px;
  color: #55ff55;
  text-shadow: 1px 1px 0 #000;
}


/* Sound Button */
.sound-toggle-btn.mc-btn-sound {
  background: #373737;
  border-top: 3px solid #717171;
  border-left: 3px solid #717171;
  border-right: 3px solid #1a1a1a;
  border-bottom: 3px solid #1a1a1a;
  box-shadow: inset 2px 2px 0 #999999, inset -2px -2px 0 #111111;
  border-radius: 4px;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sound-toggle-btn.mc-btn-sound:hover {
  background: #555555;
  transform: translateY(-2px);
}

/* ========================================================
   NAVIGATION TABS (Minecraft Stone Blocks & Wood Slabs)
   ======================================================== */
.navigation-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.sub-tabs {
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: #3c3c3c;
  border-top: 3px solid #6b6b6b;
  border-left: 3px solid #6b6b6b;
  border-right: 3px solid #1c1c1c;
  border-bottom: 3px solid #1c1c1c;
  box-shadow: inset 2px 2px 0 #8b8b8b, inset -2px -2px 0 #151515, 0 4px 8px rgba(0, 0, 0, 0.4);
  color: #f1f5f9;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: 'Changa', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-shadow: 2px 2px 0 #000;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  background: #4a4a4a;
  transform: translateY(-2px);
  color: #ffffff;
  border-top-color: #8b8b8b;
}

.tab-btn.active {
  background: #5c8e32;
  border-top: 3px solid #8ce144;
  border-left: 3px solid #8ce144;
  border-right: 3px solid #2d4a16;
  border-bottom: 3px solid #2d4a16;
  box-shadow: inset 2px 2px 0 #a2f25e, inset -2px -2px 0 #1e330f, 0 0 15px rgba(92, 142, 50, 0.6);
  color: #ffffff;
  transform: scale(1.03);
}

.sub-tabs .tab-btn {
  background: #583d28;
  border-top-color: #866043;
  border-left-color: #866043;
  border-right-color: #382417;
  border-bottom-color: #382417;
  box-shadow: inset 2px 2px 0 #a17441, inset -2px -2px 0 #2b1a10;
  font-size: 1rem;
  padding: 8px 16px;
}

.sub-tabs .tab-btn.active {
  background: #fdb813;
  color: #18120c;
  border-top-color: #ffe680;
  border-left-color: #ffe680;
  border-right-color: #8c6000;
  border-bottom-color: #8c6000;
  text-shadow: none;
  font-weight: 800;
}

/* ========================================================
   MAIN CONTENT CARD (Minecraft Obsidian / Bedrock Fortress)
   ======================================================== */
.glass-card {
  background: #1c130c;
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  box-shadow: inset 4px 4px 0 #7a5636, inset -4px -4px 0 #2b1d14, 0 15px 35px rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 2.2rem;
  margin-bottom: 2rem;
  color: #f1f5f9;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-title {
  font-family: 'Changa', sans-serif;
  font-size: 2rem;
  color: #fdb813;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 2rem;
  border-bottom: 4px solid #5c8e32;
  padding-bottom: 0.6rem;
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: '🦄';
  margin-right: 10px;
  font-size: 1.6rem;
}

/* Content blocks */
.block-container {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px dashed #573d26;
}

.block-title {
  font-family: 'Changa', sans-serif;
  font-size: 1.5rem;
  color: #4dedf4;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.block-title::before {
  content: '💎';
  font-size: 1.3rem;
}

/* Minecraft Oak Wood Rule Box */
.rule-box {
  background: #2b1d14;
  border: 3px solid #866043;
  border-right: 8px solid #5c8e32;
  box-shadow: inset 3px 3px 0 #583d28, inset -3px -3px 0 #1a100a, 0 6px 15px rgba(0,0,0,0.4);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #fef08a;
  font-size: 1.2rem;
  line-height: 1.8;
  white-space: pre-wrap;
}

/* Minecraft Parchment / Papyrus Explanation Box */
.explanation-box {
  background: #241a12;
  border: 2px solid #583d28;
  box-shadow: inset 2px 2px 0 #3a271a, inset -2px -2px 0 #150f09;
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.85;
  color: #f1f5f9;
  white-space: pre-wrap;
}

/* ========================================================
   MINECRAFT STYLED TABLES
   ======================================================== */
.styled-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  font-size: 1.15rem;
  background: #18110b;
  color: #ffffff;
  border: 3px solid #573d26;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.styled-table th, .styled-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 2px solid #3d2817;
  border-right: 1px solid #3d2817;
}

.styled-table th {
  background: #373737;
  border-bottom: 3px solid #5c8e32;
  color: #4dedf4;
  font-family: 'Changa', sans-serif;
  font-weight: 800;
  text-shadow: 2px 2px 0 #000;
  letter-spacing: 1px;
}

.styled-table tr:last-child td {
  border-bottom: none;
}

.styled-table tr:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Question Rows (Minecraft Hotbar Slot) */
.question-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem;
  background: #241910;
  border: 2px solid #583d28;
  box-shadow: inset 2px 2px 0 #3a2617, 0 4px 8px rgba(0,0,0,0.3);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.question-row:hover {
  transform: translateX(-4px);
  border-color: #5c8e32;
  box-shadow: inset 2px 2px 0 #3a2617, 0 6px 14px rgba(92, 142, 50, 0.3);
}

.question-number {
  background: #fdb813;
  color: #18120c;
  min-width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 2px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Marhey', monospace;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(253, 184, 19, 0.5);
  flex-shrink: 0;
}

.red-digit {
  color: #e61a1a;
  font-weight: 800;
  text-shadow: 1px 1px 0 #000;
}

/* 3D Minecraft Buttons */
.btn {
  background: #5c8e32;
  border-top: 3px solid #8ce144;
  border-left: 3px solid #8ce144;
  border-right: 3px solid #2d4a16;
  border-bottom: 3px solid #2d4a16;
  box-shadow: inset 2px 2px 0 #a2f25e, inset -2px -2px 0 #1e330f, 0 4px 10px rgba(0, 0, 0, 0.5);
  color: white;
  padding: 0.65rem 1.4rem;
  font-family: 'Changa', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-shadow: 2px 2px 0 #000;
  transition: all 0.15s ease;
}

.btn:hover {
  background: #7ec347;
  transform: translateY(-2px);
  box-shadow: inset 2px 2px 0 #c0ff8c, inset -2px -2px 0 #284013, 0 6px 15px rgba(0, 0, 0, 0.6);
}

.btn:active {
  transform: translateY(2px);
  border-top-color: #2d4a16;
  border-left-color: #2d4a16;
  border-right-color: #8ce144;
  border-bottom-color: #8ce144;
}

/* Reveal Answer Box (Minecraft Emerald Secret Cache) */
.answer {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2rem;
  display: none;
  margin-right: 1rem;
  padding: 0.8rem 1.4rem;
  background: #174d26;
  border: 2px solid #17dd62;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(23, 221, 98, 0.4), inset 2px 2px 0 #22803b;
  white-space: pre-wrap;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.pattern-boxes {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.pattern-box {
  background: #373737;
  border: 3px solid #717171;
  box-shadow: inset 2px 2px 0 #999, inset -2px -2px 0 #222;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  font-size: 1.3rem;
  color: #4dedf4;
  text-shadow: 1px 1px 0 #000;
}

.options-container {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.option-btn {
  background: #2b2b2b;
  border-top: 3px solid #555555;
  border-left: 3px solid #555555;
  border-right: 3px solid #141414;
  border-bottom: 3px solid #141414;
  box-shadow: inset 2px 2px 0 #777777, inset -2px -2px 0 #111111, 0 4px 8px rgba(0,0,0,0.4);
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Changa', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 0 #000;
  transition: all 0.15s ease;
}

.option-btn:hover {
  background: #3a3a3a;
  transform: translateY(-2px);
  border-top-color: #8ce144;
}

.option-btn.correct {
  background: #17dd62 !important;
  border-top: 3px solid #85ff55 !important;
  border-left: 3px solid #85ff55 !important;
  border-right: 3px solid #0f8f3c !important;
  border-bottom: 3px solid #0f8f3c !important;
  color: #0f3d18 !important;
  text-shadow: none !important;
  font-weight: 900 !important;
  box-shadow: 0 0 20px rgba(23, 221, 98, 0.8) !important;
  transform: scale(1.05);
}

.option-btn.wrong {
  background: #e61a1a !important;
  border-top: 3px solid #ff7675 !important;
  border-left: 3px solid #ff7675 !important;
  border-right: 3px solid #990000 !important;
  border-bottom: 3px solid #990000 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(230, 26, 26, 0.8) !important;
  animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.text-lg {
  font-size: 1.2rem;
  font-weight: bold;
}

.carry-over {
  display: block;
  color: var(--secondary);
  font-size: 0.85em;
  margin-bottom: -5px;
}
.carry-over span {
  display: inline-block;
}

/* ========================================================
   FLOATING BOARD BUTTON (Minecraft Diamond Crafting Table)
   ======================================================== */
.floating-board-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1ea7ad;
  border-top: 4px solid #4dedf4;
  border-left: 4px solid #4dedf4;
  border-right: 4px solid #0f5c60;
  border-bottom: 4px solid #0f5c60;
  box-shadow: inset 3px 3px 0 #9af8fc, inset -3px -3px 0 #0a3d40, 0 8px 25px rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 6px;
  padding: 14px 24px;
  font-family: 'Changa', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  text-shadow: 2px 2px 0 #000;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.2s ease;
  animation: bounce 2.5s infinite;
  display: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-board-btn:hover {
  background: #4dedf4;
  color: #0b3d40;
  text-shadow: none;
  transform: scale(1.08);
  box-shadow: 0 0 25px #4dedf4;
  animation: none;
}

/* ========================================================
   MAGICAL UNICORN WHITEBOARD MODAL
   ======================================================== */
.whiteboard-modal {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(49, 16, 66, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

.whiteboard-container {
  background: #ffffff !important;
  width: min(94vw, 920px) !important;
  height: min(84vh, 640px) !important;
  border-radius: 28px !important;
  border: 3.5px solid #f472b6 !important;
  outline: none !important;
  box-shadow: 0 20px 60px rgba(236, 72, 153, 0.35), 0 0 35px rgba(192, 132, 252, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  position: relative !important;
  animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes modalPopIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.whiteboard-header {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #f5f3ff 100%);
  border-bottom: 2px solid #fbcfe8;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.08);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.whiteboard-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-btn:hover, .color-btn.active {
  transform: scale(1.25);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.6);
  border-color: #ffffff;
}

.tool-btn {
  background: #ffffff;
  border: 1.5px solid #f472b6;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.15);
  padding: 6px 14px;
  font-size: 1.1rem;
  color: #be185d;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'Changa', 'Tajawal', sans-serif;
  font-weight: 700;
  outline: none;
}

.tool-btn:hover {
  background: #fdf2f8;
  border-color: #ec4899;
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.close-board-btn {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
  color: #ffffff;
  border-radius: 50px;
  padding: 6px 18px;
  font-family: 'Tajawal', 'Changa', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-shadow: none;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.close-board-btn:hover {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.45);
}

.canvas-wrapper {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #ffffff;
  cursor: crosshair;
}

#whiteboardCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========================================================
   MASCOT CONTAINER (Steve Cheering for Mimi)
   ======================================================== */
.mascot-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1500;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mascot-container.show {
  transform: translateY(0);
}

.mascot-bubble {
  background: #251c14;
  border: 3px solid #5c8e32;
  box-shadow: inset 2px 2px 0 #7ec347, inset -2px -2px 0 #1f3611, 0 8px 20px rgba(0,0,0,0.6);
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Changa', sans-serif;
  font-weight: 800;
  color: #85ff55;
  text-shadow: 1px 1px 0 #000;
  margin-bottom: 10px;
  position: relative;
  font-size: 1.1rem;
}

.mascot-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #5c8e32 transparent transparent transparent;
  display: block;
  width: 0;
}

.mascot-img {
  width: 96px;
  height: 96px;
  border-radius: 6px;
  background: url('../images/ميمي.jpg') center/cover no-repeat;
  image-rendering: pixelated;
  border: 4px solid #fdb813;
  box-shadow: inset 2px 2px 0 #ffe680, inset -2px -2px 0 #8c6000, 0 0 20px rgba(253, 184, 19, 0.6);
  animation: floatMascot 3s ease-in-out infinite;
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes starPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); color: #ffff55; }
  100% { transform: scale(1); }
}

.star-pop-anim {
  animation: starPop 0.4s ease-out;
}

/* ========================================================
   MODALS (Certificate & Mini-Games)
   ======================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.25s ease-out;
}

.close-modal-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #e61a1a;
  color: white;
  border: 2px solid #ffffff;
  border-radius: 4px;
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.15s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-modal-btn:hover { transform: scale(1.1); }

/* Minecraft Certificate */
.certificate-container {
  position: relative;
  background: #1c130c;
  padding: 24px;
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  box-shadow: inset 4px 4px 0 #7a5636, inset -4px -4px 0 #2b1d14, 0 25px 60px rgba(0,0,0,0.9);
  border-radius: 8px;
  width: 90%;
  max-width: 820px;
  text-align: center;
}

.certificate-content {
  background: linear-gradient(135deg, rgba(28, 19, 12, 0.95), rgba(36, 25, 16, 0.92)),
              url('../images/14.png') center/cover no-repeat;
  padding: 40px;
  border-radius: 6px;
  border: 4px solid #fdb813;
  box-shadow: inset 0 0 30px rgba(253, 184, 19, 0.3), 0 0 25px rgba(253, 184, 19, 0.5);
  text-align: center;
  color: #ffffff;
  position: relative;
}

.cert-header {
  font-family: 'Changa', sans-serif;
  font-size: 2.8rem;
  color: #fdb813;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 #000;
}

.cert-body {
  font-size: 1.45rem;
  color: #f1f5f9;
  line-height: 2;
  text-shadow: 1px 1px 0 #000;
}

.cert-name {
  font-family: 'Changa', sans-serif;
  font-size: 2.6rem;
  color: #17dd62;
  font-weight: 900;
  display: inline-block;
  margin: 10px 0;
  border-bottom: 3px solid #4dedf4;
  padding: 0 24px;
  text-shadow: 2px 2px 0 #000;
}

.cert-chapter {
  color: #4dedf4;
  font-weight: bold;
}

.cert-footer {
  margin-top: 35px;
  display: flex;
  justify-content: center;
}

.cert-seal {
  background: #fdb813;
  border-top: 3px solid #ffe680;
  border-left: 3px solid #ffe680;
  border-right: 3px solid #8c6000;
  border-bottom: 3px solid #8c6000;
  color: #18120c;
  width: 120px;
  height: 120px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Changa', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(253, 184, 19, 0.6);
  position: relative;
}

.cert-seal::after {
  content: '🦄';
  position: absolute;
  bottom: -15px;
  font-size: 2rem;
}

/* Print Media Query */
@media print {
  body * {
    visibility: hidden;
  }
  #printableCertificate, #printableCertificate * {
    visibility: visible;
  }
  #printableCertificate {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    padding: 0;
  }
}

/* Minecraft Memory Mini-Game Styles */
.minigame-container {
  position: relative;
  background: #1c130c;
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  box-shadow: inset 4px 4px 0 #7a5636, inset -4px -4px 0 #2b1d14, 0 20px 50px rgba(0,0,0,0.85);
  border-radius: 8px;
  padding: 30px;
  width: 95%;
  max-width: 620px;
}

.minigame-header {
  text-align: center;
  margin-bottom: 20px;
  color: #fdb813;
  font-family: 'Changa', sans-serif;
  text-shadow: 2px 2px 0 #000;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.memory-card {
  aspect-ratio: 1;
  background: #583d28;
  border-top: 3px solid #866043;
  border-left: 3px solid #866043;
  border-right: 3px solid #2b1a10;
  border-bottom: 3px solid #2b1a10;
  box-shadow: inset 2px 2px 0 #a17441, inset -2px -2px 0 #1a0e08;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: transparent;
  cursor: pointer;
  transition: transform 0.25s ease;
  user-select: none;
  direction: ltr;
}

.memory-card.flipped {
  background: #373737;
  color: #ffffff;
  border-top: 3px solid #717171;
  border-left: 3px solid #717171;
  border-right: 3px solid #1a1a1a;
  border-bottom: 3px solid #1a1a1a;
  box-shadow: inset 2px 2px 0 #999, inset -2px -2px 0 #111;
  transform: rotateY(180deg);
}

.memory-card.flipped .content {
  transform: rotateY(180deg);
}

.memory-card.matched {
  background: #5c8e32;
  color: white;
  border-top: 3px solid #8ce144;
  border-left: 3px solid #8ce144;
  border-right: 3px solid #2d4a16;
  border-bottom: 3px solid #2d4a16;
  box-shadow: 0 0 15px #8ce144;
  animation: pulse 1s;
}

.memory-card.matched .content {
  transform: rotateY(180deg);
}

/* ========================================================
   MINECRAFT TREASURE MAP VIEW (World Selection Blocks)
   ======================================================== */
.treasure-map-view {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 25px;
  padding: 30px 15px;
  justify-items: center;
  align-items: center;
}

.map-node {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #2b1d14;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Changa', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  box-shadow: inset 3px 3px 0 #866043, inset -3px -3px 0 #1a100a, 0 10px 25px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.map-node:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: #5c8e32;
  outline-color: #8ce144;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 25px rgba(92, 142, 50, 0.7);
}

/* ========================================================
   INTERACTIVE CLASSROOM (Nether Portal / End Chamber)
   ======================================================== */
.classroom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 92%;
  max-width: 1200px;
  height: 90vh;
  background: radial-gradient(circle at center, #1b1329 0%, #120c1c 60%, #09060e 100%);
  border: 4px solid #7a3c94;
  outline: 3px solid #1c0e24;
  border-radius: 8px;
  box-shadow: inset 0 0 40px rgba(122, 60, 148, 0.4), 0 0 50px rgba(122, 60, 148, 0.5);
  position: relative;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.hologram-board {
  width: 100%;
  flex: 1;
  min-height: 250px;
  background: rgba(14, 10, 22, 0.85);
  border: 3px solid #4dedf4;
  box-shadow: inset 0 0 35px rgba(77, 237, 244, 0.2), 0 0 15px rgba(77, 237, 244, 0.3);
  border-radius: 6px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hologram-content {
  z-index: 2;
  text-align: center;
  color: #ffffff;
  font-family: 'Marhey', 'Changa', monospace;
  font-size: 2.3rem;
  text-shadow: 0 0 15px #4dedf4, 0 0 25px #4dedf4;
  transition: all 0.4s ease;
}

.characters-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 150px;
  padding: 0 20px;
  flex-shrink: 0;
}

.character {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.char-img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  border: 4px solid #fdb813;
  box-shadow: inset 2px 2px 0 #ffe680, 0 0 20px rgba(253, 184, 19, 0.6);
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform 0.3s;
}

.char-img.speaking {
  transform: scale(1.1);
  box-shadow: 0 0 25px #4dedf4;
  border-color: #4dedf4;
}

.student-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  background: #5c8e32;
  border: 4px solid #8ce144;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(92, 142, 50, 0.7);
  transition: transform 0.3s;
}

.dialogue-bubble {
  display: none !important;
  position: absolute;
  bottom: 120px;
  max-width: 300px;
  background: #251c14;
  border: 3px solid #5c8e32;
  border-radius: 6px;
  padding: 15px;
  color: white;
  font-size: 1.15rem;
  line-height: 1.6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  transition: opacity 0.3s ease;
  z-index: 10;
}

.teacher-bubble {
  left: 0;
  border-bottom-left-radius: 0;
}

.student-bubble {
  right: 0;
  border-bottom-right-radius: 0;
  border-color: #fdb813;
  box-shadow: 0 0 20px rgba(253, 184, 19, 0.5);
}

.start-lesson-btn {
  margin-top: 15px;
  padding: 12px 34px;
  font-family: 'Changa', sans-serif;
  font-size: 1.25rem;
  background: #5c8e32;
  border-top: 4px solid #8ce144;
  border-left: 4px solid #8ce144;
  border-right: 4px solid #2d4a16;
  border-bottom: 4px solid #2d4a16;
  box-shadow: inset 2px 2px 0 #a2f25e, inset -2px -2px 0 #1e330f, 0 8px 20px rgba(0,0,0,0.6);
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  text-shadow: 2px 2px 0 #000;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.start-lesson-btn:hover {
  background: #7ec347;
  transform: scale(1.05);
  box-shadow: 0 0 25px #8ce144;
}

/* Kinetic Games Section */
.game-container {
  background: #18110b;
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: inset 3px 3px 0 #7a5636, inset -3px -3px 0 #2b1d14, 0 10px 30px rgba(0, 0, 0, 0.7);
}

.game-title {
  color: #4dedf4;
  font-family: 'Changa', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 0 #000;
}

.game-question {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.game-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.game-btn {
  background: #373737;
  border-top: 3px solid #717171;
  border-left: 3px solid #717171;
  border-right: 3px solid #1a1a1a;
  border-bottom: 3px solid #1a1a1a;
  box-shadow: inset 2px 2px 0 #999, inset -2px -2px 0 #111;
  color: white;
  padding: 1rem 2rem;
  font-family: 'Changa', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-shadow: 2px 2px 0 #000;
  transition: all 0.2s ease;
  min-width: 150px;
}

.game-btn:hover {
  transform: translateY(-4px);
  border-top-color: #8ce144;
  background: #4a4a4a;
}

.game-btn.correct {
  background: #17dd62;
  border-top-color: #85ff55;
  border-left-color: #85ff55;
  border-right-color: #0f8f3c;
  border-bottom-color: #0f8f3c;
  color: #0f3d18;
  text-shadow: none;
  font-weight: 900;
  box-shadow: 0 0 25px #17dd62;
}

.game-btn.wrong {
  background: #e61a1a;
  border-top-color: #ff7675;
  border-left-color: #ff7675;
  border-right-color: #990000;
  border-bottom-color: #990000;
  animation: shake 0.5s;
}

.game-feedback {
  font-size: 1.3rem;
  font-weight: bold;
  min-height: 2rem;
  margin-top: 1rem;
}

.game-score {
  font-size: 1.25rem;
  color: #fdb813;
  margin-bottom: 1rem;
  font-weight: bold;
}

/* ========================================================
   DANCING STEVE CELEBRATION MODAL OVERLAY
   ======================================================== */
.steve-dance-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.steve-dance-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.steve-dance-box {
  background: #1e1510;
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  box-shadow: inset 4px 4px 0 #7a5636, inset -4px -4px 0 #2b1d14, 0 20px 60px rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  width: 90%;
  max-width: 480px;
  padding: 24px;
  text-align: center;
  position: relative;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.steve-dance-overlay.active .steve-dance-box {
  transform: scale(1);
}

.steve-dance-close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e61a1a;
  border: 2px solid #ffffff;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steve-dance-header h3 {
  font-family: 'Changa', sans-serif;
  color: #fdb813;
  font-size: 1.4rem;
  margin-top: 6px;
  text-shadow: 2px 2px 0 #000;
}

.steve-svg-stage {
  margin: 15px auto;
  width: 220px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steve-svg-graphic {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Dancing Steve Keyframe Animations */
.steve-head {
  animation: steveHeadBob 0.5s infinite ease-in-out alternate;
  transform-origin: 120px 85px;
}
@keyframes steveHeadBob {
  0% { transform: rotate(-8deg) translateY(-2px); }
  100% { transform: rotate(8deg) translateY(2px); }
}

.steve-arm-left {
  animation: steveArmDanceLeft 0.5s infinite ease-in-out alternate;
  transform-origin: 75px 95px;
}
@keyframes steveArmDanceLeft {
  0% { transform: rotate(-55deg); }
  100% { transform: rotate(35deg); }
}

.steve-arm-right {
  animation: steveArmDanceRight 0.5s infinite ease-in-out alternate;
  transform-origin: 165px 95px;
}
@keyframes steveArmDanceRight {
  0% { transform: rotate(35deg); }
  100% { transform: rotate(-55deg); }
}

.steve-leg-left {
  animation: steveLegDanceLeft 0.5s infinite ease-in-out alternate;
  transform-origin: 103px 178px;
}
@keyframes steveLegDanceLeft {
  0% { transform: rotate(-25deg); }
  100% { transform: rotate(25deg); }
}

.steve-leg-right {
  animation: steveLegDanceRight 0.5s infinite ease-in-out alternate;
  transform-origin: 137px 178px;
}
@keyframes steveLegDanceRight {
  0% { transform: rotate(25deg); }
  100% { transform: rotate(-25deg); }
}

.steve-dance-footer p {
  color: #85ff55;
  font-family: 'Changa', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.steve-timer-bar {
  background: #111;
  border: 1px solid #373737;
  height: 8px;
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.steve-timer-fill {
  background: #fdb813;
  height: 100%;
  width: 100%;
}

/* ========================================================
   RESPONSIVE DESIGN (Tablets & Mobiles)
   ======================================================== */
@media (max-width: 768px) {
  .hero-header.mc-hero-header,
  .stark-header {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    gap: 16px;
  }
  .hero-profile {
    flex-direction: row;
    gap: 14px;
  }
  .hero-title h1, .stark-title {
    font-size: 20px;
  }
  .stats-badges {
    justify-content: center;
  }
  .glass-card {
    padding: 1.5rem 1rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .whiteboard-modal {
    width: 92%;
    height: 60%;
    left: 4%;
  }
  .treasure-map-view {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-profile {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .mc-xp-labels {
    flex-direction: column;
    gap: 4px;
  }
  .navigation-tabs {
    gap: 6px;
  }
  .tab-btn {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
  .question-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .options-container {
    width: 100%;
    justify-content: stretch;
  }
  .option-btn {
    width: 100%;
    text-align: center;
  }
}


/* ========================================================
   🦄 UNICORN MAGIC THEME OVERRIDE (ثيم اليونيكورن السحري) 🦄
   مُصَمَّمٌ خصيصاً لمنصة أميرة اليونيكورن ميمي - الرياضيات
   ======================================================== */

:root {
  --primary: #c084fc !important;
  --primary-light: #e879f9 !important;
  --primary-dark: #7e22ce !important;
  --secondary: #f472b6 !important;
  --accent: #38bdf8 !important;
  --success: #10b981 !important;
  --warning: #f59e0b !important;
  --background: #fff5f8 !important;
  --text-dark: #334155 !important;
  --text-light: #ffffff !important;
  --glass-bg: rgba(255, 255, 255, 0.94) !important;
  --glass-border: #fecdd3 !important;
  --glass-shadow: 0 15px 40px rgba(244, 63, 94, 0.08) !important;
}

/* Floral Scrollbar */
::-webkit-scrollbar {
  width: 12px !important;
  height: 12px !important;
}
::-webkit-scrollbar-track {
  background: #fff0f5 !important;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff758c, #ff7eb3) !important;
  border-radius: 10px !important;
  border: 2px solid #fff0f5 !important;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f43f5e, #ff758c) !important;
}

/* Unicorn Magic Body */
body {
  background-color: #fdf4ff !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(192, 132, 252, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(244, 114, 182, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, #fdf4ff 0%, #f5f3ff 35%, #f0fdf4 70%, #eff6ff 100%) !important;
  color: #334155 !important;
}

/* Ambient Floating Flowers */
.floating-shape {
  border: none !important;
  border-radius: 50% !important;
  image-rendering: auto !important;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.floating-shape::after {
  font-size: 55px;
  filter: drop-shadow(0 6px 12px rgba(244, 63, 94, 0.2));
}
.shape-1 {
  background: radial-gradient(circle, rgba(255, 182, 193, 0.35) 0%, rgba(255, 240, 245, 0.1) 70%) !important;
  width: 140px !important;
  height: 140px !important;
}
.shape-1::after { content: '🦄'; }

.shape-2 {
  background: radial-gradient(circle, rgba(254, 205, 211, 0.35) 0%, rgba(255, 240, 245, 0.1) 70%) !important;
  width: 120px !important;
  height: 120px !important;
}
.shape-2::after { content: '🌈'; }

.shape-3 {
  background: radial-gradient(circle, rgba(253, 164, 175, 0.35) 0%, rgba(255, 240, 245, 0.1) 70%) !important;
  width: 100px !important;
  height: 100px !important;
}
.shape-3::after { content: '✨'; }

/* Floral Hero Header */
.hero-header.mc-hero-header,
.stark-header {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 2px solid rgba(255, 182, 193, 0.7) !important;
  outline: none !important;
  box-shadow: 0 15px 35px rgba(244, 63, 94, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  border-radius: 24px !important;
  padding: 24px 30px !important;
  color: #334155 !important;
  position: relative !important;
  overflow: hidden !important;
}
.hero-header.mc-hero-header::after {
  content: '🦄' !important;
  position: absolute !important;
  left: 15px !important;
  bottom: -20px !important;
  font-size: 110px !important;
  opacity: 0.12 !important;
  transform: rotate(-15deg) !important;
  pointer-events: none !important;
}

/* Floral Avatar Frame */
.minecraft-avatar-wrap,
.stark-logo-container {
  position: relative !important;
  width: 86px !important;
  height: 86px !important;
  background: linear-gradient(135deg, #fff0f5, #ffe4e6) !important;
  border: 3px solid #fda4af !important;
  outline: none !important;
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.25), 0 0 15px rgba(255, 117, 140, 0.3) !important;
  border-radius: 50% !important;
  padding: 3px !important;
}
.minecraft-avatar-wrap:hover,
.stark-logo-container:hover {
  transform: scale(1.08) rotate(3deg) !important;
}
.minecraft-avatar-img,
.stark-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  image-rendering: auto !important;
}
.mc-avatar-crown {
  font-size: 26px !important;
  filter: drop-shadow(0 2px 5px rgba(245, 158, 11, 0.6)) !important;
}

/* Hero Title & Edition Tag */
.mc-edition-tag {
  font-family: 'Marhey', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #be123c !important;
  background: #fff1f2 !important;
  border: 1px solid #fecdd3 !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  letter-spacing: normal !important;
  text-shadow: none !important;
  margin-bottom: 6px !important;
}
.hero-title h1,
.stark-title {
  font-family: 'Changa', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #be123c !important;
  text-shadow: none !important;
}
.hero-title p,
.stark-subtitle {
  font-size: 15px !important;
  color: #64748b !important;
  text-shadow: none !important;
  font-weight: 600 !important;
}

/* Floral XP Bar */
.mc-xp-bar {
  background: #fff0f5 !important;
  border: 1.5px solid #fecdd3 !important;
  outline: none !important;
  height: 14px !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05) !important;
}
.mc-xp-bar-fill {
  background: linear-gradient(90deg, #ff758c, #f43f5e) !important;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.45) !important;
  border-radius: 10px !important;
}
.student-tag.mc-level-tag {
  background: #fff1f2 !important;
  border: 1px solid #fecdd3 !important;
  color: #be123c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  text-shadow: none !important;
}
.mc-level-badge {
  font-family: 'Changa', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #be123c !important;
  text-shadow: none !important;
}

/* Floral Stats Badges & Actions */
.stat-item.mc-stat-item {
  background: #ffffff !important;
  border: 1.5px solid #fecdd3 !important;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.08) !important;
  border-radius: 16px !important;
  padding: 8px 16px !important;
  color: #334155 !important;
  transition: all 0.25s ease !important;
}
.stat-item.mc-stat-item:hover {
  transform: translateY(-2px) !important;
  border-color: #f43f5e !important;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.15) !important;
}
.stat-val {
  font-family: 'Changa', sans-serif !important;
  color: #be123c !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}





.sound-toggle-btn.mc-btn-sound {
  background: #ffffff !important;
  border: 1.5px solid #fecdd3 !important;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.08) !important;
  color: #be123c !important;
  border-radius: 16px !important;
}
.sound-toggle-btn.mc-btn-sound:hover {
  background: #fff1f2 !important;
  border-color: #f43f5e !important;
}

/* Floral Navigation Tabs (الفصول والدروس) */
.navigation-tabs {
  gap: 10px !important;
}
.tab-btn {
  background: #ffffff !important;
  border: 1.5px solid #fecdd3 !important;
  box-shadow: 0 3px 10px rgba(244, 63, 94, 0.05) !important;
  color: #475569 !important;
  border-radius: 14px !important;
  padding: 7px 15px !important;
  font-family: 'Changa', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  text-shadow: none !important;
  transition: all 0.22s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.tab-btn:hover {
  background: #fff1f2 !important;
  color: #be123c !important;
  border-color: #fda4af !important;
  transform: translateY(-2px) !important;
}
.tab-btn.active {
  background: linear-gradient(135deg, #ff758c, #f43f5e) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.3) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

.sub-tabs .tab-btn {
  background: #ffffff !important;
  border: 1.5px solid #fbcfe8 !important;
  color: #64748b !important;
  border-radius: 12px !important;
  padding: 5px 12px !important;
  font-size: 0.85rem !important;
}
.sub-tabs .tab-btn:hover {
  background: #fdf2f8 !important;
  color: #9d174d !important;
  border-color: #f472b6 !important;
}
.sub-tabs .tab-btn.active {
  background: linear-gradient(135deg, #f472b6, #ec4899) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3) !important;
}

/* Floral Main Content Card */
.glass-card {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  border: 2px solid #fecdd3 !important;
  outline: none !important;
  box-shadow: 0 15px 40px rgba(244, 63, 94, 0.08) !important;
  border-radius: 26px !important;
  padding: 2.5rem !important;
  color: #1e293b !important;
}

.section-title {
  color: #be123c !important;
  text-shadow: none !important;
  border-bottom: 4px solid #f43f5e !important;
  border-radius: 2px !important;
}
.section-title::after {
  content: '🦄' !important;
}

.block-title {
  color: #be123c !important;
  text-shadow: none !important;
}
.block-title::before {
  content: '🌷' !important;
}

/* Floral Rule & Explanation Boxes */
.rule-box {
  background: #fff1f2 !important;
  border: 1.5px solid #fecdd3 !important;
  border-right: 8px solid #f43f5e !important;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.06) !important;
  border-radius: 18px !important;
  color: #881337 !important;
  font-weight: 700 !important;
}

.explanation-box {
  background: #ffffff !important;
  border: 1.5px solid #fecdd3 !important;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.05) !important;
  border-radius: 18px !important;
  color: #334155 !important;
  font-weight: 600 !important;
}

/* Floral Tables */
.styled-table {
  background: #ffffff !important;
  border: 2px solid #fecdd3 !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.06) !important;
  color: #1e293b !important;
}
.styled-table th {
  background: linear-gradient(135deg, #fff0f5, #ffe4e6) !important;
  border-bottom: 2px solid #fda4af !important;
  color: #be123c !important;
  text-shadow: none !important;
}
.styled-table td {
  border-bottom: 1px solid #ffe4e6 !important;
  border-right: 1px solid #ffe4e6 !important;
}
.styled-table tr:nth-of-type(even) {
  background-color: #fff9fa !important;
}

/* Floral Question Rows */
.question-row {
  background: #ffffff !important;
  border: 1.5px solid #fecdd3 !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.05) !important;
  color: #1e293b !important;
}
.question-row:hover {
  transform: translateX(-4px) !important;
  border-color: #f43f5e !important;
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.12) !important;
}

.question-number {
  background: linear-gradient(135deg, #ff758c, #f43f5e) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3) !important;
  font-family: 'Changa', sans-serif !important;
}

/* Floral Buttons */
.btn {
  background: linear-gradient(135deg, #ff758c, #f43f5e) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 16px !important;
  padding: 10px 22px !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.28) !important;
  transition: all 0.2s ease !important;
}
.btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.4) !important;
}

.answer {
  background: #ecfdf5 !important;
  border: 2px solid #10b981 !important;
  color: #065f46 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15) !important;
}

.floating-board-btn {
  background: linear-gradient(135deg, #ff758c, #f43f5e) !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.35) !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

/* Floral Treasure Map & Math Portal Cards Grid (Compact & Cute) */
.treasure-map-view {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)) !important;
  gap: 16px !important;
  padding: 10px 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.math-portal-card,
.map-node {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid #fecdd3 !important;
  border-radius: 18px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.07) !important;
  position: relative !important;
  overflow: hidden !important;
  text-align: right !important;
  text-decoration: none !important;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.math-portal-card::before,
.map-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff758c, #f43f5e, #ff7eb3);
  opacity: 0.9;
}

.math-portal-card:hover,
.map-node:hover {
  transform: translateY(-5px) scale(1.02) !important;
  border-color: #f43f5e !important;
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.18), 0 0 18px rgba(255, 117, 140, 0.2) !important;
}

.math-portal-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.math-portal-tag {
  background: #fff1f2 !important;
  color: #be123c !important;
  font-family: 'Marhey', 'Tajawal', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  border: 1px solid #fecdd3 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.math-portal-badge {
  background: #fdf2f8 !important;
  color: #9d174d !important;
  font-family: 'Tajawal', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  border: 1px solid #fbcfe8 !important;
}

.math-portal-thumb-wrap {
  width: 100% !important;
  height: 110px !important;
  border-radius: 13px !important;
  overflow: hidden !important;
  background: #fff5f7 !important;
  border: 1.5px solid #fda4af !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03), 0 3px 10px rgba(244, 63, 94, 0.08) !important;
  position: relative !important;
}

.math-portal-thumb-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}

.math-portal-card:hover .math-portal-thumb-img,
.map-node:hover .math-portal-thumb-img {
  transform: scale(1.06) !important;
}

.math-portal-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
}

.math-portal-title {
  font-family: 'Changa', 'Tajawal', sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  transition: color 0.2s ease !important;
  text-shadow: none !important;
}

.math-portal-card:hover .math-portal-title,
.map-node:hover .math-portal-title {
  color: #be123c !important;
}

.math-portal-desc {
  font-size: 0.8rem !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 500 !important;
}

.math-portal-footer {
  margin-top: 2px !important;
  width: 100% !important;
}

.math-portal-action-cta {
  width: 100% !important;
  background: linear-gradient(135deg, #fff0f5 0%, #ffe4e6 100%) !important;
  border: 1px solid #fda4af !important;
  color: #be123c !important;
  border-radius: 11px !important;
  padding: 6px 10px !important;
  font-family: 'Changa', 'Tajawal', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  transition: all 0.22s ease !important;
  text-shadow: none !important;
}

.math-portal-card:hover .math-portal-action-cta,
.map-node:hover .math-portal-action-cta {
  background: linear-gradient(135deg, #ff758c 0%, #f43f5e 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3) !important;
  transform: translateY(-1px) !important;
}

.math-special-card.game-card {
  border-color: #c084fc !important;
}
.math-special-card.game-card .math-portal-tag {
  background: #faf5ff !important;
  color: #7e22ce !important;
  border-color: #e9d5ff !important;
}
.math-special-card.game-card .math-portal-action-cta {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%) !important;
  border-color: #d8b4fe !important;
  color: #7e22ce !important;
}
.math-special-card.game-card:hover .math-portal-action-cta {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%) !important;
  color: #ffffff !important;
}

.math-special-card.cert-card {
  border-color: #fcd34d !important;
}
.math-special-card.cert-card .math-portal-tag {
  background: #fffbeb !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}
.math-special-card.cert-card .math-portal-action-cta {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border-color: #fcd34d !important;
  color: #b45309 !important;
}
.math-special-card.cert-card:hover .math-portal-action-cta {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
}




/* Mini Circular Unicorn Whiteboard Button */
.floating-board-btn,
.mini-whiteboard-btn,
#openWhiteboardBtn {
  position: fixed !important;
  bottom: 22px !important;
  left: 22px !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #6366f1 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  animation: none !important;
  outline: none !important;
}

.floating-board-btn.visible,
.mini-whiteboard-btn.visible,
#openWhiteboardBtn.visible {
  display: flex !important;
}

.floating-board-btn:hover,
.mini-whiteboard-btn:hover,
#openWhiteboardBtn:hover {
  transform: scale(1.14) translateY(-3px) !important;
  background: linear-gradient(135deg, #f43f5e 0%, #d946ef 50%, #8b5cf6 100%) !important;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6), 0 0 15px rgba(236, 72, 153, 0.5) !important;
}

.floating-board-btn:active,
.mini-whiteboard-btn:active,
#openWhiteboardBtn:active {
  transform: scale(0.92) !important;
}


/* ========================================================
   UNICORN INTERACTIVE CLASSROOM (MODAL & DIALOGUES)
   ======================================================== */
.unicorn-classroom-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 95% !important;
  max-width: 1100px !important;
  height: 88vh !important;
  background: linear-gradient(135deg, #fff5f7 0%, #faf5ff 50%, #eff6ff 100%) !important;
  border: 3.5px solid #f472b6 !important;
  outline: none !important;
  border-radius: 28px !important;
  position: relative !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 70px rgba(236, 72, 153, 0.3), 0 0 40px rgba(192, 132, 252, 0.25) !important;
}

.classroom-top-bar {
  position: absolute !important;
  top: 18px !important;
  right: 20px !important;
  z-index: 100000 !important;
  display: flex !important;
  gap: 10px !important;
}

.classroom-btn {
  padding: 8px 18px !important;
  border-radius: 50px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  cursor: pointer !important;
  font-weight: 800 !important;
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.95rem !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease !important;
}

.classroom-btn.pause-btn {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
}

.classroom-btn.close-btn {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%) !important;
  color: #ffffff !important;
}

.classroom-btn:hover {
  transform: scale(1.06) !important;
}

.start-lesson-unicorn-btn {
  margin-top: 45px !important;
  margin-bottom: 18px !important;
  padding: 14px 42px !important;
  font-size: 1.35rem !important;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #38bdf8 100%) !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  font-weight: 800 !important;
  font-family: 'Changa', 'Tajawal', sans-serif !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.start-lesson-unicorn-btn:hover {
  transform: scale(1.07) translateY(-2px) !important;
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.6) !important;
}

.unicorn-hologram-board {
  width: 100% !important;
  min-height: 250px !important;
  flex: 1 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 2.5px solid #c084fc !important;
  box-shadow: inset 0 0 25px rgba(244, 114, 182, 0.1), 0 10px 30px rgba(168, 85, 247, 0.15) !important;
  border-radius: 20px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.unicorn-hologram-content {
  z-index: 2 !important;
  text-align: center !important;
  color: #6b21a8 !important;
  font-family: 'Tajawal', 'Changa', sans-serif !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 12px rgba(192, 132, 252, 0.3) !important;
  line-height: 1.6 !important;
  padding: 20px !important;
}

.unicorn-char-wrap {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.unicorn-char-img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50% !important;
  border: 3.5px solid #f472b6 !important;
  object-fit: cover !important;
  image-rendering: auto !important;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35) !important;
  background: #ffffff !important;
}

.unicorn-bubble {
  opacity: 0;
  position: absolute !important;
  bottom: 120px !important;
  max-width: 280px !important;
  background: #ffffff !important;
  border: 2.5px solid #ec4899 !important;
  border-radius: 20px !important;
  padding: 16px 20px !important;
  color: #1e293b !important;
  font-size: 1.15rem !important;
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  z-index: 10 !important;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.22) !important;
}

/* Unicorn Kinetic Game Container */
.kinetic-games-container .game-score {
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff) !important;
  border: 2px solid #f472b6 !important;
  color: #be185d !important;
  border-radius: 50px !important;
  padding: 8px 24px !important;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.2) !important;
  display: inline-block !important;
  font-weight: 800 !important;
  font-family: 'Changa', sans-serif !important;
}

/* Hide all emoji overlays from profile avatars across all platforms */
.mc-avatar-crown,
.unicorn-avatar-crown,
.avatar-crown {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
