@charset "UTF-8";

/* ==========================================================================
   জনতার দল (Janotar Dol) - Custom Stylesheet
   Typography: Hind Siliguri (Body/UI), Anek Bangla (Headings), Tiro Bangla (Serif/Quotes)
   Theme: Deep Forest Green (#064e3b), Emerald (#059669), Warm Gold (#f59e0b)
   ========================================================================== */

:root {
  --primary-dark: #064e3b;
  --primary-emerald: #059669;
  --primary-light: #10b981;
  --accent-gold: #f59e0b;
  --accent-amber: #d97706;
  --accent-red: #dc2626;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
}

html {
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Font Classes */
.font-anek {
  font-family: 'Anek Bangla', sans-serif;
}

.font-hind {
  font-family: 'Hind Siliguri', sans-serif;
}

.font-tiro {
  font-family: 'Tiro Bangla', serif;
}

/* Dynamic Font Sizing Utility */
body.font-size-sm {
  font-size: 14.5px;
}
body.font-size-normal {
  font-size: 16px;
}
body.font-size-lg {
  font-size: 18px;
}

/* Subtle Geometric Pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(5, 150, 105, 0.15) 0%, transparent 70%);
}

.bg-dark-radial {
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.18) 0%, rgba(6, 78, 59, 0.05) 60%, transparent 100%);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.1);
  box-shadow: 0 4px 20px -2px rgba(6, 78, 59, 0.05);
}

.dark .glass-nav {
  background: rgba(4, 31, 24, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
}

/* Nav Dropdown Menu Animation */
.nav-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.12);
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.06), 0 8px 10px -6px rgba(6, 78, 59, 0.04);
}

.dark .glass-card {
  background: rgba(15, 33, 27, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.18);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.dark ::-webkit-scrollbar-track {
  background: #064e3b;
}

::-webkit-scrollbar-thumb {
  background: #059669;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* Shimmer & Glow Effects */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4), 0 0 30px rgba(5, 150, 105, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.7), 0 0 45px rgba(5, 150, 105, 0.4);
  }
}

.pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

/* Card hover animation */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(6, 78, 59, 0.12);
}

/* Digital Member ID Card */
.member-card-wrapper {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  border: 2px solid #f59e0b;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.member-card-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.watermark-emblem {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  height: 180px;
  opacity: 0.12;
  pointer-events: none;
}

/* Print specific for membership card */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-card-area, #printable-card-area * {
    visibility: visible;
  }
  #printable-card-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }
}

/* Marquee Animation for Ticker */
@keyframes marquee {
  0% {
    transform: translateX(20%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}
