/* main.css — Base styles, typography, shared animations */

        body { font-family: 'Noto Sans Bengali', sans-serif; -webkit-tap-highlight-color: transparent; }
        .no-scrollbar::-webkit-scrollbar { display: none; }
        .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
        .fade-in { animation: fadeIn 0.4s ease-out; }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        } 
#scrollTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#scrollTopBtn {
    transform: translateY(20px);
}
#scrollTopBtn.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}
/* ============================================
   PREMIUM ANIMATIONS
   ============================================ */

/* 1. STAGGERED PAGE LOAD ENTRY */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.animate-entry {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }
.delay-6 { animation-delay: 0.48s; }
.delay-7 { animation-delay: 0.56s; }

/* 2. TIMELINE LIVE FILL + PULSE */
.timeline-line {
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: -8px;
  width: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.timeline-line.filled {
  background: linear-gradient(180deg, #0f4c3a 0%, #1a6b52 50%, #0f4c3a 100%);
  background-size: 100% 200%;
  animation: lineFill 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards, lineShine 3s ease-in-out infinite 1s;
}

@keyframes lineFill {
  from { transform: scaleY(0); transform-origin: top; }
  to { transform: scaleY(1); transform-origin: top; }
}

@keyframes lineShine {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}



/* 3. SCROLL REVEAL + SHIMMER */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skeleton-card {
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 1rem;
}

.skeleton-header,
.skeleton-line {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 0.5rem;
}

.skeleton-header { height: 1.25rem; width: 45%; margin-bottom: 0.875rem; }
.skeleton-line { height: 0.625rem; margin-bottom: 0.5rem; }
.skeleton-line.short { width: 30%; }
.skeleton-line.medium { width: 65%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Micro-interactions */
.expand-btn, .btn-time-tab, .report-action-btn, .dir-toggle-btn {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.expand-btn:active, .btn-time-tab:active, .report-action-btn:active, .dir-toggle-btn:active {
  transform: scale(0.95);
}

/* Clock tick */
#liveClock {
  transition: transform 0.15s ease, text-shadow 0.15s ease;
}
#liveClock.tick {
  transform: scale(1.08);
  text-shadow: 0 0 20px rgba(255,255,255,0.4);
}