@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);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  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);
}

/* Unicorn Magic Body */
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.22;
  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); }
}

/* Confetti Canvas */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px 60px;
}

/* ========================================================
   MINECRAFT HERO HEADER
   ======================================================== */
.hero-header.mc-hero-header {
  background: linear-gradient(135deg, rgba(20, 32, 16, 0.96) 0%, rgba(18, 14, 28, 0.94) 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: 24px 30px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.hero-header.mc-hero-header::after {
  content: '🦄';
  position: absolute;
  left: 10px;
  bottom: -15px;
  font-size: 110px;
  opacity: 0.15;
  transform: rotate(-20deg);
  pointer-events: none;
}

.hero-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Minecraft Steve Avatar for Mimi */
.minecraft-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  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 {
  transform: scale(1.08) rotate(-2deg);
}

.minecraft-avatar-img {
  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 {
  font-family: 'Changa', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 3px 3px 0 #000000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-title p {
  font-size: 14.5px;
  color: #e2e8f0;
  text-shadow: 1px 1px 0 #000;
  margin-top: 2px;
}

/* Minecraft XP Bar */
.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: 90%;
  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;
  gap: 12px;
}

.student-tag.mc-level-tag {
  background: #2b2b2b;
  border: 2px solid #555555;
  color: #ffffff;
  font-size: 12px;
  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 Header Badges & Actions */
.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;
  border-left-color: #7ec347;
}

.stat-val {
  font-size: 17px;
  font-family: 'Changa', 'Marhey', sans-serif;
  color: #ffff55;
  text-shadow: 2px 2px 0 #000;
}

/* Play with Steve Button */


/* Sound Button */
.sound-toggle-btn.mc-btn-sound {
  background: #707070;
  border-top: 3px solid #aeaeae;
  border-left: 3px solid #aeaeae;
  border-right: 3px solid #373737;
  border-bottom: 3px solid #373737;
  box-shadow: inset 1px 1px 0 #dbdbdb, inset -1px -1px 0 #222222;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.1s ease;
}

.sound-toggle-btn.mc-btn-sound:hover {
  background: #5c8e32;
  border-color: #8ce144 #2d4a16 #2d4a16 #8ce144;
}

/* Nav Home Button */
.mc-nav-home-btn {
  background: #2563eb;
  border-top: 3px solid #60a5fa;
  border-left: 3px solid #60a5fa;
  border-right: 3px solid #1e3a8a;
  border-bottom: 3px solid #1e3a8a;
  box-shadow: inset 1px 1px 0 #93c5fd, inset -1px -1px 0 #0f172a;
  color: white;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Changa', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mc-nav-home-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* ========================================================
   MAIN CONTENT AREA (MINECRAFT WORKSPACE)
   ======================================================== */
#main-content {
  background: #231811;
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  box-shadow: inset 4px 4px 0 #866043, inset -4px -4px 0 #3a2618, 0 15px 40px rgba(0,0,0,0.6);
  border-radius: 10px;
  padding: 24px;
  color: #f1f5f9;
  position: relative;
  min-height: 480px;
}

@media (min-width: 768px) {
  #main-content {
    padding: 32px;
  }
}

/* Hub Header */
.mc-hub-header {
  background: linear-gradient(135deg, rgba(36, 24, 16, 0.95), rgba(20, 13, 8, 0.95));
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  box-shadow: inset 4px 4px 0 #866043, inset -4px -4px 0 #3a2618, 0 10px 25px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 22px;
  text-align: center;
  margin-bottom: 28px;
}

.mc-hub-header h2 {
  font-family: 'Changa', sans-serif;
  font-size: 26px;
  color: #ffff55;
  text-shadow: 2px 2px 0 #000;
  margin: 8px 0;
}

.mc-hub-header p {
  color: #cbd5e1;
  font-size: 15px;
}

/* ========================================================
   MINECRAFT UNIT CARDS (BIOMES / REALMS)
   ======================================================== */
.unit-card-luxury {
  position: relative;
  border-radius: 8px;
  background: #2b1d14;
  border: 4px solid #573d26;
  outline: 3px solid #140d08;
  box-shadow: inset 4px 4px 0 #866043, inset -4px -4px 0 #3a2618, 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f1f5f9;
}

.unit-card-luxury:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #8ce144;
  outline-color: #3a5c1f;
  box-shadow: inset 4px 4px 0 #a2f25c, inset -4px -4px 0 #284013, 0 18px 40px rgba(92, 142, 50, 0.4);
}

.unit-hero-cover {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: #18120c;
  border-bottom: 3px solid #140d08;
}

.unit-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  image-rendering: auto;
}

.unit-card-luxury:hover .unit-hero-cover img {
  transform: scale(1.08);
}

.unit-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 13, 8, 0.95) 0%, rgba(20, 13, 8, 0.35) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 18px;
}

.mc-unit-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #fda4af;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.15);
  color: #be123c;
  font-family: 'Marhey', 'Changa', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mc-unit-tag {
  background: linear-gradient(135deg, #ff758c, #f43f5e);
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-family: 'Changa', sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  text-shadow: none;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.unit-card-luxury h3 {
  font-family: 'Changa', sans-serif;
  color: #ffff55;
  text-shadow: 2px 2px 0 #000;
}

.unit-card-luxury p {
  color: #cbd5e1;
}

/* ========================================================
   MINECRAFT LESSON CAPSULES (QUESTS)
   ======================================================== */
.butterfly-trail-container {
  position: relative;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.butterfly-trail-container::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 50%;
  width: 6px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    #5c8e32,
    #5c8e32 14px,
    transparent 14px,
    transparent 28px
  );
  border-radius: 4px;
  opacity: 0.6;
  z-index: 0;
}

.lesson-capsule-luxury {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #fecdd3;
  outline: none;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.08);
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  color: #1e293b;
}

.lesson-capsule-luxury:hover {
  transform: scale(1.03) translateY(-3px);
  border-color: #f43f5e;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(244, 63, 94, 0.18);
}

.lesson-avatar-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2.5px solid #fda4af;
  outline: none;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
  background: #fff5f8;
  position: relative;
  transition: transform 0.3s ease;
}

.lesson-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lesson-capsule-luxury:hover .lesson-avatar-circle {
  transform: scale(1.08) rotate(3deg);
  border-color: #f43f5e;
}

.lesson-action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 50%, #f43f5e 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lesson-capsule-luxury:hover .lesson-action-btn {
  transform: scale(1.15) rotate(12deg);
  background: linear-gradient(135deg, #ff607d 0%, #ff6fa7 50%, #e11d48 100%);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.45);
}

/* ========================================================
   DANCING STEVE CELEBRATION MODAL (7 SECONDS)
   ======================================================== */
.steve-dance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.steve-dance-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.steve-dance-box {
  background: #2b2b2b;
  border-top: 4px solid #aeaeae;
  border-left: 4px solid #aeaeae;
  border-right: 4px solid #1a1a1a;
  border-bottom: 4px solid #1a1a1a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 3px 3px 0 #dbdbdb, inset -3px -3px 0 #111111;
  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.34, 1.56, 0.64, 1);
  color: #ffffff;
}

.steve-dance-overlay.active .steve-dance-box {
  transform: scale(1);
}

.steve-dance-close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #dc2626;
  border: 2px solid #f87171;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.15s ease;
}
.steve-dance-close-btn:hover {
  background: #b91c1c;
  transform: scale(1.1);
}

.steve-dance-header h3 {
  font-family: 'Changa', sans-serif;
  color: #ffff55;
  text-shadow: 2px 2px 0 #000000;
  font-size: 18px;
  margin: 10px 0 6px;
}

.steve-svg-stage {
  position: relative;
  width: 220px;
  height: 260px;
  margin: 10px auto;
  background: radial-gradient(circle, rgba(0, 170, 170, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.steve-svg-graphic {
  width: 190px;
  height: 250px;
  image-rendering: pixelated;
  animation: steveGrooveBounce 0.38s infinite alternate ease-in-out;
}

@keyframes steveGrooveBounce {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(2deg); }
}

.steve-head-anim {
  animation: steveHeadTilt 0.45s infinite alternate ease-in-out;
  transform-origin: 120px 105px;
}
@keyframes steveHeadTilt {
  0% { transform: rotate(-8deg) scale(1); }
  100% { transform: rotate(8deg) scale(1.03); }
}

.steve-arm-left {
  animation: steveLeftArmPump 0.38s infinite alternate ease-in-out;
  transform-origin: 75px 115px;
}
@keyframes steveLeftArmPump {
  0% { transform: rotate(-15deg); }
  100% { transform: rotate(50deg); }
}

.steve-arm-right {
  animation: steveRightArmPump 0.38s infinite alternate ease-in-out;
  transform-origin: 165px 115px;
}
@keyframes steveRightArmPump {
  0% { transform: rotate(35deg); }
  100% { transform: rotate(-35deg); }
}

.steve-leg-left {
  animation: steveLeftLegStep 0.38s infinite alternate ease-in-out;
  transform-origin: 102px 186px;
}
@keyframes steveLeftLegStep {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(-10deg); }
}

.steve-leg-right {
  animation: steveRightLegStep 0.38s infinite alternate-reverse ease-in-out;
  transform-origin: 138px 186px;
}
@keyframes steveRightLegStep {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(10deg); }
}

/* Floating Music Notes & Diamonds */
.steve-music-notes .note {
  position: absolute;
  font-size: 22px;
  animation: floatUpParticle 1.6s infinite ease-out;
  pointer-events: none;
}
.note-1 { top: 70%; right: 10%; animation-delay: 0s; }
.note-2 { top: 60%; left: 10%; animation-delay: 0.3s; font-size: 26px; }
.note-3 { top: 40%; right: 15%; animation-delay: 0.6s; font-size: 24px; }
.note-4 { top: 50%; left: 15%; animation-delay: 0.9s; }
.note-5 { top: 80%; left: 25%; animation-delay: 1.2s; }
.note-6 { top: 75%; right: 25%; animation-delay: 1.4s; font-size: 24px; }

@keyframes floatUpParticle {
  0% { opacity: 0; transform: translateY(15px) scale(0.6) rotate(0deg); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-90px) scale(1.2) rotate(25deg); }
}

.steve-dance-timer-bar {
  background: #1e1e1e;
  border: 2px solid #555555;
  border-radius: 4px;
  height: 12px;
  width: 100%;
  margin: 14px 0 10px;
  overflow: hidden;
  box-shadow: inset 1px 1px 0 #000;
}

.steve-timer-fill {
  background: linear-gradient(90deg, #55ff55, #ffff55, #55ffff);
  height: 100%;
  width: 100%;
  transform-origin: right center;
  transition: width 0.05s linear;
}

.steve-dance-quote {
  font-size: 13.5px;
  color: #a7f3d0;
  font-weight: 700;
  margin-top: 6px;
  text-shadow: 1px 1px 0 #000;
}

/* ========================================================
   MINECRAFT BUTTONS & DIALOGS
   ======================================================== */
.mc-btn-green {
  background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 50%, #f43f5e 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 12px 26px;
  font-family: 'Changa', 'Tajawal', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 25px;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mc-btn-green:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(244, 63, 94, 0.45);
  background: linear-gradient(135deg, #ff607d 0%, #ff6fa7 50%, #e11d48 100%);
}

.mc-btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
  color: #ffffff;
  padding: 12px 26px;
  font-family: 'Changa', 'Tajawal', sans-serif;
  font-weight: 800;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mc-btn-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  transform: translateY(-3px) scale(1.02);
}

.mc-btn-red {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #e11d48 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.35);
  color: #ffffff;
  padding: 12px 26px;
  font-family: 'Changa', 'Tajawal', sans-serif;
  font-weight: 800;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mc-btn-red:hover {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  transform: translateY(-3px) scale(1.02);
}

/* Glass card / Minecraft Quest Cards in Lesson Dashboard */
.glass-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid #fecdd3 !important;
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.08) !important;
  border-radius: 22px !important;
  transition: all 0.25s ease !important;
}
.glass-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  border-color: #f43f5e !important;
  box-shadow: 0 16px 35px rgba(244, 63, 94, 0.16) !important;
}

/* ========================================================
   MAZE RPG GAME (MINECRAFT DUNGEON THEME)
   ======================================================== */
.maze-board {
  --cell-size: 55px;
  --cell-gap: 4px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(13, var(--cell-size));
  grid-template-rows: repeat(13, var(--cell-size));
  gap: var(--cell-gap);
  background: linear-gradient(135deg, #fff5f8 0%, #ffe4e6 100%) !important;
  padding: 18px;
  border-radius: 26px !important;
  box-shadow: 0 14px 40px rgba(244, 63, 94, 0.15) !important;
  border: 3px solid #fda4af !important;
  outline: none !important;
  margin: 0 auto;
  direction: ltr;
  max-width: 100%;
  overflow: auto;
}

#maze-player {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: left 0.12s ease-out, top 0.12s ease-out;
  pointer-events: none;
  box-sizing: border-box;
}

.maze-steve-avatar-box {
  width: 90%;
  height: 90%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maze-steve-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid #4dedf4;
  box-shadow: 0 0 10px rgba(77, 237, 244, 0.95);
  image-rendering: pixelated;
  display: block;
  background: #5c8e32;
}

.maze-steve-crown-tag {
  position: absolute;
  top: -8px;
  right: -5px;
  font-size: 13px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.9));
  pointer-events: none;
  animation: crownBounce 2s infinite ease-in-out alternate;
}

#maze-player::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  background: rgba(77, 237, 244, 0.25);
  border: 2px solid #4dedf4;
  box-shadow: 0 0 12px rgba(77, 237, 244, 0.9);
  z-index: -1;
  animation: mcPlayerPulse 1.2s infinite alternate;
}

@keyframes mcPlayerPulse {
  0% { transform: scale(0.96); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 18px #4dedf4; }
}

.maze-cell {
  width: var(--cell-size);
  height: var(--cell-size);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--cell-size) * 0.6);
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

/* Cobblestone wall */
.maze-cell.wall {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%) !important;
  border: 2px solid #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.25) !important;
}

/* Floral Petal Path */
.maze-cell.path {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px dashed #fda4af !important;
  border-radius: 8px !important;
}

/* Redstone Locked Door */
.maze-cell.door-locked {
  background: #991b1b;
  border: 2px solid #ef4444;
  color: white;
  cursor: pointer;
  animation: door-glow 1s infinite alternate;
}

/* Emerald Unlocked Door */
.maze-cell.door-unlocked {
  background: #065f46;
  border: 2px solid #34d399;
  color: white;
}

.maze-cell.start {
  background: #1e3a8a;
  border: 2px dashed #60a5fa;
}

.maze-cell.end {
  background: #b45309;
  border: 2px solid #fde047;
  animation: gold-pulse 1.2s infinite alternate;
}

@keyframes door-glow {
  0% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
  100% { box-shadow: 0 0 18px rgba(239, 68, 68, 1); }
}

@keyframes gold-pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(245, 158, 11, 0.6); }
  100% { transform: scale(1.06); box-shadow: 0 0 25px rgba(245, 158, 11, 1); }
}

/* Tactile Console D-pad */
.maze-controls-layout {
  margin-top: 15px;
  position: relative;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 50%;
  border: 3px solid #fda4af !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.2) !important;
}
.maze-controls-layout .ctrl-btn {
  position: absolute;
  width: 45px;
  height: 45px;
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(135deg, #ff758c 0%, #f43f5e 100%) !important;
  border: 2px solid #ffffff !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35) !important;
  transition: all 0.2s ease;
}
.maze-controls-layout .ctrl-btn:active {
  transform: scale(0.92) !important;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
}
#ctrl-up { top: 0; left: 50%; transform: translateX(-50%); }
#ctrl-up:active { transform: translateX(-50%) scale(0.9); }
#ctrl-down { bottom: 0; left: 50%; transform: translateX(-50%); }
#ctrl-down:active { transform: translateX(-50%) scale(0.9); }
#ctrl-left { left: 0; top: 50%; transform: translateY(-50%); }
#ctrl-left:active { transform: translateY(-50%) scale(0.9); }
#ctrl-right { right: 0; top: 50%; transform: translateY(-50%); }
#ctrl-right:active { transform: translateY(-50%) scale(0.9); }

@media (max-width: 768px) {
  .maze-board {
    --cell-size: 26px;
    --cell-gap: 2px;
    padding: 8px;
  }
}

/* Flashcard Flip Effect */
.flashcard-scene {
  perspective: 1000px;
}
.flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.flashcard-scene.is-flipped .flashcard-inner {
  transform: rotateY(180deg);
}
.flashcard-front, .flashcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 8px;
}
.flashcard-back {
  transform: rotateY(180deg);
}

/* Animations */
@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.animate-pop {
  animation: popIn 0.4s var(--bounce-easing) forwards;
}

.animate-shake {
  animation: shake 0.45s ease-in-out;
}

.isometric-stairs {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  perspective: 1200px;
}

.stair-step {
  width: 260px;
  height: 64px;
  background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 50%, #f43f5e 100%) !important;
  transform: rotateX(60deg) rotateZ(45deg);
  transform-style: preserve-3d;
  box-shadow: 
    -10px 10px 0 #fda4af,
    -15px 15px 25px rgba(244, 63, 94, 0.25) !important;
  margin-top: -25px;
  transition: all 0.5s;
  position: relative;
  border: 2.5px solid #ffffff !important;
  outline: none !important;
  border-radius: 18px !important;
}

.stair-step::after {
  content: "✦";
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.runner-char {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 20;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.8));
}

.car-sprite {
  width: 140px;
  height: 70px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><path d="M10 30 h 80 v 10 h -80 z" fill="%23f43f5e"/><circle cx="25" cy="40" r="10" fill="%23fda4af"/><circle cx="75" cy="40" r="10" fill="%23fda4af"/><path d="M20 30 l 10 -15 h 30 l 15 15 z" fill="%23fb7185"/><rect x="40" y="18" width="10" height="10" fill="%23fff1f2" opacity="0.9"/></svg>') no-repeat center/contain !important;
  filter: drop-shadow(0 12px 15px rgba(244, 63, 94, 0.35)) !important;
}

.exhaust-flame {
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 20px;
  background: radial-gradient(ellipse at right, #fbbf24, #ef4444, transparent);
  animation: flicker 0.1s infinite alternate;
}

@keyframes flicker {
  0% { opacity: 0.7; transform: translateY(-50%) scaleX(0.8); }
  100% { opacity: 1; transform: translateY(-50%) scaleX(1.2); }
}

.particle-explosion {
  position: absolute;
  pointer-events: none;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, #ff758c 30%, #f43f5e 100%) !important;
  border-radius: 50% 15% 50% 50% !important;
  animation: popOut 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4) !important;
}

@keyframes popOut {
  0% { transform: scale(1) translate(0,0); opacity: 1; }
  100% { transform: scale(0) translate(var(--tx), var(--ty)); opacity: 0; }
}

.target-broken {
  animation: breakApart 0.6s forwards;
}

@keyframes breakApart {
  0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 10px red); }
  100% { transform: scale(1.5) rotate(45deg); opacity: 0; filter: grayscale(1); }
}

/* Custom Audio Player */
.custom-audio-player {
  filter: sepia(30%) saturate(80%) hue-rotate(50deg) contrast(110%);
  border-radius: 6px;
  background-color: #2b1d14;
}

/* Toast */
.mc-toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #1e1e1e;
  border-top: 3px solid #55ff55;
  border-left: 3px solid #55ff55;
  border-right: 3px solid #14532d;
  border-bottom: 3px solid #14532d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), inset 2px 2px 0 #86efac;
  border-radius: 6px;
  padding: 12px 24px;
  color: #ffffff;
  font-family: 'Changa', sans-serif;
  font-size: 16px;
  font-weight: 800;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mc-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mc-toast.toast-wrong {
  border-color: #ef4444 #7f1d1d #7f1d1d #ef4444;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), inset 2px 2px 0 #fca5a5;
}

/* Footer */
.platform-footer.mc-footer {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  border-top: 3px dashed #573d26;
  color: #94a3b8;
  font-size: 14px;
}


/* ========================================================
   🦄 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;
  --card-bg: #ffffff !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 {
  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 {
  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 {
  transform: scale(1.08) rotate(3deg) !important;
}
.minecraft-avatar-img {
  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 {
  font-family: 'Changa', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #be123c !important;
  text-shadow: none !important;
}
.hero-title p {
  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 Main Content Area */
#main-content {
  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;
  color: #1e293b !important;
}

/* Floral Hub Header */
.mc-hub-header {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  border: 2px solid rgba(255, 182, 193, 0.7) !important;
  outline: none !important;
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.08) !important;
  border-radius: 24px !important;
  padding: 24px !important;
}
.mc-hub-header h2 {
  font-family: 'Changa', sans-serif !important;
  font-size: 26px !important;
  color: #be123c !important;
  text-shadow: none !important;
}
.mc-hub-header p {
  color: #475569 !important;
  font-weight: 500 !important;
}

/* Floral Unit Cards */
.unit-card-luxury {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  border: 2px solid #fecdd3 !important;
  outline: none !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.06) !important;
  color: #1e293b !important;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.unit-card-luxury:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: #f43f5e !important;
  outline: none !important;
  box-shadow: 0 18px 35px rgba(244, 63, 94, 0.2) !important;
}

.unit-hero-cover {
  border-bottom: 2px solid #fecdd3 !important;
}

/* Floral Action Buttons */
.mc-nav-home-btn,
.unit-action-btn {
  background: linear-gradient(135deg, #ff758c, #f43f5e) !important;
  border: none !important;
  border-radius: 16px !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.3) !important;
  font-weight: 800 !important;
}
.mc-nav-home-btn:hover,
.unit-action-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.4) !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;
}
