/**
 * Maarula Classes - Interactive Logo Introduction Preloader Stylesheet
 * LIGHT THEME EDITION
 * Brand Palette:
 * Primary Flame: #EA6316 | Amber Gold: #F59E0B | Pearl White: #FFFFFF | Warm Slate: #1F2937, #4B5563
 */

/* ==========================================================================
   1. ROOT PRELOADER STAGE & LOCK
   ========================================================================== */
html.maarula-preloader-open,
body.maarula-preloader-open {
  overflow: hidden !important;
}

.maarula-logo-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  background-color: #FFFFFF;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  cursor: crosshair;
}

.maarula-logo-preloader.is-active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.maarula-logo-preloader.is-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(1.04);
}

.maarula-logo-preloader.is-exiting {
  opacity: 0 !important;
  transform: scale(1.08) translateY(-12px);
  filter: blur(12px);
  pointer-events: none !important;
}

/* ==========================================================================
   2. LIGHT AMBIENT BACKGROUND & CANVAS
   ========================================================================== */
.preloader-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.preloader-backdrop-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at 50% 36%, #FFFFFF 0%, #FAFAFD 38%, #F3F5FA 72%, #E9EFF6 100%);
  pointer-events: none;
}

.preloader-radial-glow {
  position: absolute;
  width: 680px;
  height: 680px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(234, 99, 22, 0.18) 0%, rgba(245, 158, 11, 0.09) 35%, rgba(255, 123, 41, 0.03) 60%, transparent 75%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 2;
  pointer-events: none;
  animation: preloaderPulseGlow 4s ease-in-out infinite alternate;
}

@keyframes preloaderPulseGlow {
  0% { transform: translate(-50%, -55%) scale(0.88); opacity: 0.75; }
  100% { transform: translate(-50%, -55%) scale(1.12); opacity: 1; }
}

.preloader-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(234, 99, 22, 0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 45%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, black 30%, transparent 80%);
  pointer-events: none;
}

/* ==========================================================================
   3. TOP CONTROLS BAR (LIGHT GLASSMORPHISM)
   ========================================================================== */
.preloader-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.preloader-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(234, 99, 22, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(234, 99, 22, 0.05);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.brand-pill-text {
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: 0.3px;
}

.preloader-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preloader-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  text-decoration: none;
}

.preloader-sound-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.85);
  color: #374151;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.preloader-sound-btn:hover {
  background: #FFFFFF;
  color: #EA6316;
  border-color: #EA6316;
  box-shadow: 0 4px 16px rgba(234, 99, 22, 0.18);
  transform: translateY(-1px);
}

.preloader-sound-btn.is-muted {
  color: #9CA3AF;
  border-color: rgba(209, 213, 219, 0.5);
}

.preloader-skip-btn {
  background: linear-gradient(135deg, #FFF7F0, #FFEEDB);
  border: 1.5px solid rgba(234, 99, 22, 0.4);
  color: #C2410C;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(234, 99, 22, 0.12);
}

.preloader-skip-btn:hover {
  background: linear-gradient(135deg, #EA6316, #FF7B29);
  color: #FFFFFF;
  border-color: #EA6316;
  box-shadow: 0 6px 20px rgba(234, 99, 22, 0.35);
  transform: translateY(-1px);
}

.skip-kbd-hint {
  display: inline-block;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 800;
  font-family: monospace;
  background: rgba(234, 99, 22, 0.1);
  border: 1px solid rgba(234, 99, 22, 0.25);
  border-radius: 4px;
  color: #EA6316;
  margin-left: 2px;
}

.preloader-skip-btn:hover .skip-kbd-hint {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.skip-btn-text-desktop {
  display: inline;
}

.skip-btn-text-mobile {
  display: none;
}

.hint-text-desktop {
  display: inline;
}

.hint-text-mobile {
  display: none;
}

/* ==========================================================================
   4. CENTER STAGE & 3D EMBLEM (LIGHT LUXURY)
   ========================================================================== */
.preloader-stage {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 92%;
  max-width: 680px;
  padding: 20px;
}

/* Orbiting Energy Rings */
.preloader-orbit-system {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 1;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.orbit-ring-outer {
  width: 480px;
  height: 480px;
  border: 1px dashed rgba(234, 99, 22, 0.22);
  animation: orbitRotate 30s linear infinite;
}

.orbit-ring-middle {
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(156, 163, 175, 0.3);
  animation: orbitRotateRev 20s linear infinite;
}

.orbit-ring-inner {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(234, 99, 22, 0.18);
  box-shadow: 0 0 35px rgba(234, 99, 22, 0.08);
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitRotateRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Energy Burst Waves */
.energy-burst-waves {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 140px;
  height: 140px;
  pointer-events: none;
}

.energy-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(234, 99, 22, 0.35);
  animation: wavePulse 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: 1s; }
.wave-3 { animation-delay: 2s; }

@keyframes wavePulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* 3D Parallax Emblem Container */
.preloader-emblem-wrap {
  position: relative;
  z-index: 5;
  perspective: 1000px;
  transform-style: preserve-3d;
  margin-bottom: 24px;
}

.preloader-emblem-card {
  position: relative;
  width: 136px;
  height: 136px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(234, 99, 22, 0.35);
  box-shadow: 
    0 20px 50px rgba(234, 99, 22, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  overflow: visible;
}

.emblem-card-glow {
  position: absolute;
  inset: -3px;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 50%, rgba(234, 99, 22, 0.25), transparent 70%);
  z-index: -1;
  filter: blur(10px);
}

.emblem-card-border-beam {
  position: absolute;
  inset: -1.5px;
  border-radius: 28px;
  padding: 1.5px;
  background: conic-gradient(from 0deg, transparent 0%, #EA6316 25%, #F59E0B 35%, transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beamSpin 3.5s linear infinite;
  pointer-events: none;
}

@keyframes beamSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.emblem-image-box {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-emblem-img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(234, 99, 22, 0.18));
  animation: emblemFloat 3s ease-in-out infinite alternate;
}

@keyframes emblemFloat {
  0% { transform: translateY(0px) scale(0.98); }
  100% { transform: translateY(-4px) scale(1.02); }
}

.emblem-light-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: lightSweep 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: 50%;
}

@keyframes lightSweep {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.emblem-floating-tag {
  position: absolute;
  bottom: -14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  background: linear-gradient(135deg, #FFFDF8, #FFF5E0);
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #B45309;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

/* ==========================================================================
   5. KINETIC BRAND TYPOGRAPHY (LIGHT)
   ========================================================================== */
.preloader-typography {
  margin-bottom: 24px;
}

.preloader-title {
  font-size: clamp(30px, 5.5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 2.5px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.title-word {
  display: inline-block;
  transition: all 0.3s ease;
}

.title-word.title-maarula {
  color: #0F172A;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(15, 23, 42, 0.1));
}

.title-word.title-classes {
  color: #EA6316;
  background: linear-gradient(135deg, #EA6316 0%, #FF7B29 50%, #D4540D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 16px rgba(234, 99, 22, 0.28));
}

.preloader-tagline {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #4B5563;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tagline-dot {
  color: #EA6316;
}

/* Exam Pills */
.preloader-exam-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.exam-pill {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(209, 213, 219, 0.9);
  color: #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.exam-pill:hover {
  background: #FFF4EC;
  border-color: #EA6316;
  color: #EA6316;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 99, 22, 0.15);
}

.pill-nimcet {
  border-color: rgba(234, 99, 22, 0.45);
  background: rgba(234, 99, 22, 0.06);
  color: #EA6316;
}

/* ==========================================================================
   6. CIRCULAR METER & STATUS TICKER (LIGHT)
   ========================================================================== */
.preloader-meter-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.meter-radial-svg-wrap {
  position: relative;
  width: 90px;
  height: 90px;
}

.meter-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.meter-track {
  fill: none;
  stroke: rgba(234, 99, 22, 0.12);
  stroke-width: 6;
}

.meter-fill {
  fill: none;
  stroke: #EA6316;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.08s ease-out;
  filter: drop-shadow(0 2px 6px rgba(234, 99, 22, 0.4));
}

.meter-counter-display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.meter-number {
  font-size: 24px;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.5px;
}

.meter-percent {
  font-size: 13px;
  font-weight: 800;
  color: #EA6316;
  margin-left: 2px;
}

/* Linear Micro Bar */
.meter-line-wrap {
  width: 220px;
  height: 4px;
  background: rgba(234, 99, 22, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.meter-line-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #EA6316, #FF8433, #F59E0B);
  border-radius: 999px;
  transition: width 0.08s ease-out;
  position: relative;
}

.meter-line-glow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #F59E0B;
  border-radius: 50%;
  box-shadow: 0 0 10px #F59E0B, 0 0 18px #EA6316;
}

/* Status Ticker */
.preloader-status-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(234, 99, 22, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #C2410C;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 16px rgba(234, 99, 22, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.status-icon-spin {
  display: inline-block;
  animation: spinIcon 2s linear infinite;
  color: #EA6316;
  font-size: 15px;
}

@keyframes spinIcon {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Interactive Hint */
.preloader-interactive-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7280;
  margin-top: 10px;
}

/* ==========================================================================
   7. INTERACTIVE SHOCKWAVE RIPPLES LAYER
   ========================================================================== */
.preloader-ripples-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  overflow: hidden;
}

.preloader-shockwave-ripple {
  position: absolute;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  margin-top: -25px;
  border-radius: 50%;
  border: 2px solid #EA6316;
  box-shadow: 0 0 20px rgba(234, 99, 22, 0.45), inset 0 0 12px rgba(234, 99, 22, 0.25);
  pointer-events: none;
  animation: rippleExpand 0.9s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes rippleExpand {
  0% { transform: scale(0.2); opacity: 1; }
  100% { transform: scale(3.8); opacity: 0; }
}

/* Ready State Flash */
.maarula-logo-preloader.is-ready .preloader-emblem-card {
  border-color: #EA6316;
  box-shadow: 0 0 50px rgba(234, 99, 22, 0.3), 0 15px 40px rgba(0,0,0,0.1);
}

/* ==========================================================================
   8. PAGE-TO-PAGE MICRO TRANSIT INDICATOR
   ========================================================================== */
.maarula-transit-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.maarula-transit-loader.is-active {
  opacity: 1;
}

.transit-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #EA6316, #FF9E58, #F59E0B);
  box-shadow: 0 0 12px rgba(234, 99, 22, 0.8);
  transition: width 0.2s ease-out;
}

.transit-crest-badge {
  position: fixed;
  top: 14px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(234, 99, 22, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 0 15px rgba(234, 99, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
}

.maarula-transit-loader.is-active .transit-crest-badge {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   9. SITE-WIDE ATTACHMENTS & BUTTON STYLES
   ========================================================================== */
/* Header Intro Trigger Button */
.maarula-intro-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(234, 99, 22, 0.12), rgba(234, 99, 22, 0.04));
  border: 1px solid rgba(234, 99, 22, 0.35);
  border-radius: 999px;
  color: #EA6316;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.maarula-intro-header-btn:hover {
  background: linear-gradient(135deg, #EA6316, #FF7B29);
  color: #FFFFFF;
  border-color: #EA6316;
  box-shadow: 0 4px 16px rgba(234, 99, 22, 0.35);
  transform: translateY(-1px);
}

.intro-trigger-icon {
  display: flex;
  align-items: center;
}

.intro-trigger-sparkle {
  animation: sparkleTwinkle 2s infinite ease-in-out;
}

@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.25) rotate(15deg); opacity: 0.8; }
}

/* Mobile Header Intro Icon */
.maarula-intro-mobile-btn {
  display: none;
}

@media (max-width: 768px) {
  .maarula-intro-header-btn {
    display: none;
  }
  .maarula-intro-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(234, 99, 22, 0.12);
    border: 1px solid rgba(234, 99, 22, 0.35);
    color: #EA6316;
    cursor: pointer;
  }
}

/* Mobile Drawer Featured Intro Item */
.drawer-intro-item {
  margin: 12px 0 16px 0;
  padding: 0 16px;
}

.drawer-intro-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(234, 99, 22, 0.14), rgba(234, 99, 22, 0.05));
  border: 1px solid rgba(234, 99, 22, 0.35);
  border-radius: 12px;
  color: #EA6316;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-intro-btn:hover {
  background: #EA6316;
  color: #FFFFFF;
}

/* Floating Quick Launcher (Bottom Right - Light) */
.maarula-intro-float-trigger {
  position: fixed;
  bottom: 92px;
  right: 24px;
  left: auto;
  z-index: 9998;
}

@media (max-width: 768px) {
  .maarula-intro-float-trigger {
    bottom: 84px;
    right: 16px;
  }
}

.intro-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(234, 99, 22, 0.45);
  border-radius: 999px;
  color: #1F2937;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(234, 99, 22, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}

.intro-float-btn:hover {
  background: #EA6316;
  color: #FFFFFF;
  border-color: #EA6316;
  box-shadow: 0 10px 30px rgba(234, 99, 22, 0.35);
  transform: translateY(-2px) scale(1.03);
}

.float-btn-radar {
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid rgba(234, 99, 22, 0.6);
  animation: radarPulse 2.4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes radarPulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

.float-btn-icon {
  display: flex;
  align-items: center;
  color: #EA6316;
}

.intro-float-btn:hover .float-btn-icon {
  color: #FFFFFF;
}

/* Hero & Section Interactive Intro Trigger Cards */
.hero-intro-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(234, 99, 22, 0.4);
  border-radius: 999px;
  color: #EA6316;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06), 0 0 20px rgba(234, 99, 22, 0.12);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  text-decoration: none;
}

.hero-intro-pill-badge:hover {
  background: #EA6316;
  color: #FFFFFF;
  border-color: #EA6316;
  box-shadow: 0 8px 25px rgba(234, 99, 22, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (MOBILE & TABLET OPTIMIZED)
   ========================================================================== */
@media (max-width: 768px) {
  .preloader-top-bar {
    padding: 14px 18px;
    gap: 8px;
  }

  .preloader-brand-pill {
    padding: 6px 12px;
    max-width: 50%;
    flex-shrink: 1;
    overflow: hidden;
  }

  .brand-subtitle {
    display: none !important;
  }

  .brand-name {
    font-size: 12px;
    font-weight: 800;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .preloader-top-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .preloader-sound-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .sound-btn-text {
    display: none !important;
  }

  .preloader-skip-btn {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    gap: 5px;
  }

  .skip-btn-text-desktop {
    display: none !important;
  }

  .skip-btn-text-mobile {
    display: inline !important;
  }

  .skip-kbd-hint {
    display: none !important;
  }

  /* Center Stage on Mobile */
  .preloader-stage {
    width: 100%;
    max-width: 360px;
    padding: 8px 16px;
  }

  /* Hide large outer rings so no dashed lines cut across text! */
  .orbit-ring-outer,
  .orbit-ring-middle {
    display: none !important;
  }

  .preloader-orbit-system {
    width: 180px;
    height: 180px;
  }

  .orbit-ring-inner {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(234, 99, 22, 0.22);
  }

  .energy-burst-waves {
    width: 100px;
    height: 100px;
  }

  .preloader-emblem-wrap {
    margin-bottom: 16px;
  }

  .preloader-emblem-card {
    width: 102px;
    height: 102px;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(234, 99, 22, 0.15), 0 3px 10px rgba(0, 0, 0, 0.04);
  }

  .emblem-image-box {
    width: 66px;
    height: 66px;
  }

  .preloader-emblem-img {
    width: 64px;
    height: 64px;
  }

  .emblem-floating-tag {
    font-size: 8.5px;
    padding: 3px 10px;
    bottom: -10px;
    letter-spacing: 0.5px;
  }

  .preloader-typography {
    margin-bottom: 14px;
  }

  .preloader-title {
    font-size: 24px;
    letter-spacing: 1.5px;
    margin: 0 0 4px 0;
    gap: 6px;
  }

  .preloader-tagline {
    font-size: 10px;
    letter-spacing: 1.2px;
    margin: 0 0 12px 0;
  }

  /* Clean Symmetrical 3-Column Grid for Exam Badges */
  .preloader-exam-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .exam-pill {
    padding: 4px 0;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Compact Mobile Progress Meter */
  .meter-radial-svg-wrap {
    width: 66px;
    height: 66px;
  }

  .meter-number {
    font-size: 18px;
  }

  .meter-percent {
    font-size: 11px;
  }

  /* Hide redundant linear bar on mobile */
  .meter-line-wrap {
    display: none !important;
  }

  .preloader-status-ticker {
    font-size: 11px;
    padding: 6px 14px;
    max-width: 300px;
    margin: 0 auto;
  }

  .preloader-status-ticker .status-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
  }

  .preloader-interactive-hint {
    font-size: 10px;
    margin-top: 8px;
    padding: 0 10px;
  }

  .hint-text-desktop {
    display: none !important;
  }

  .hint-text-mobile {
    display: inline !important;
  }

  .maarula-intro-float-trigger {
    bottom: 20px;
    left: 16px;
  }

  .intro-float-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}
