/* ===== CSS VARIABLES ===== */
    :root {
      --bg: #f5f0e8;
      --bg-card: #fffdf8;
      --bg-nav: rgba(245, 240, 232, 0.92);
      --text: #1a1209;
      --text-muted: #6b5e42;
      --accent: #f5a800;
      --accent-dark: #c98200;
      --accent-glow: rgba(245, 168, 0, 0.3);
      --red: #d63a2f;
      --red-bg: #fff0ee;
      --green: #27a060;
      --green-bg: #e8f8f0;
      --yellow: #e0a000;
      --yellow-bg: #fff8e0;
      --border: rgba(26, 18, 9, 0.12);
      --border-strong: rgba(26, 18, 9, 0.25);
      --shadow: 0 4px 24px rgba(26,18,9,0.10);
      --shadow-lg: 0 12px 48px rgba(26,18,9,0.15);
      --radius: 16px;
      --nav-h: 72px;
      --schedule-bg: #ffffff;
      --emergency-bg: #f0f0ee;
      --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }
    [data-theme="dark"] {
      --bg: #0f0c06;
      --bg-card: #1c1710;
      --bg-nav: rgba(15, 12, 6, 0.95);
      --text: #f5edd8;
      --text-muted: #9c8c6a;
      --accent: #f5a800;
      --accent-dark: #e09500;
      --accent-glow: rgba(245, 168, 0, 0.25);
      --red: #f25f53;
      --red-bg: #2a100d;
      --green: #3dc47a;
      --green-bg: #0c2419;
      --yellow: #f5c842;
      --yellow-bg: #251e07;
      --border: rgba(245, 237, 216, 0.10);
      --border-strong: rgba(245, 237, 216, 0.22);
      --shadow: 0 4px 24px rgba(0,0,0,0.4);
      --schedule-bg: #161210;
      --emergency-bg: #1a1510;
      --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
    }

    /* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
      overflow-x: hidden;
      transition: background var(--transition), color var(--transition);
    }
    [data-lang="bn"] body, [data-lang="bn"] {
      font-family: 'Hind Siliguri', 'DM Sans', sans-serif;
    }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; font-family: inherit; border: none; outline: none; }
    select { font-family: inherit; cursor: pointer; }
    img { max-width: 100%; }

    /* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

    /* ===== NOISE TEXTURE OVERLAY ===== */
    body::before {
      content: '';
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
      opacity: 0.4;
    }

    /* ===== SCROLL REVEAL ANIMATION ===== */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-left {
      opacity: 0;
      transform: translateX(-40px);
      transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    }
    .reveal-left.revealed {
      opacity: 1;
      transform: translateX(0);
    }
    .reveal-right {
      opacity: 0;
      transform: translateX(40px);
      transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    }
    .reveal-right.revealed {
      opacity: 1;
      transform: translateX(0);
    }
    .reveal-scale {
      opacity: 0;
      transform: scale(0.88);
      transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
    }
    .reveal-scale.revealed {
      opacity: 1;
      transform: scale(1);
    }

    /* Stagger delays */
    .delay-1 { transition-delay: 0.1s !important; }
    .delay-2 { transition-delay: 0.2s !important; }
    .delay-3 { transition-delay: 0.3s !important; }
    .delay-4 { transition-delay: 0.4s !important; }
    .delay-5 { transition-delay: 0.5s !important; }
    .delay-6 { transition-delay: 0.6s !important; }

    /* ===== PARTICLE BACKGROUND ===== */
    #particles-canvas {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      z-index: 0; pointer-events: none; opacity: 0.35;
    }

    /* ===== NAVBAR ===== */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      height: var(--nav-h);
      background: var(--bg-nav);
      backdrop-filter: blur(20px) saturate(1.8);
      -webkit-backdrop-filter: blur(20px) saturate(1.8);
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center;
      padding: 0 clamp(16px, 4vw, 60px);
      gap: 32px;
      transition: background var(--transition), border-color var(--transition), box-shadow 0.3s;
    }
    nav.scrolled {
      box-shadow: var(--shadow);
    }
    .nav-logo {
      font-family: 'Teko', sans-serif;
      font-size: 28px; font-weight: 700; letter-spacing: 0.5px;
      color: var(--text);
      display: flex; align-items: center; gap: 8px;
      flex-shrink: 0;
    }
    .nav-logo .bolt {
      display: inline-flex; align-items: center; justify-content: center;
      width: 34px; height: 34px;
      background: var(--accent);
      border-radius: 8px;
      font-size: 20px;
      box-shadow: 0 0 16px var(--accent-glow);
      animation: boltPulse 2s ease-in-out infinite;
    }
    @keyframes boltPulse {
      0%, 100% { box-shadow: 0 0 12px var(--accent-glow); }
      50% { box-shadow: 0 0 28px var(--accent-glow), 0 0 8px var(--accent); }
    }
    .nav-links {
      display: flex; gap: 4px;
      list-style: none;
      flex: 1;
    }
    .nav-links a {
      padding: 7px 14px;
      border-radius: 8px;
      font-size: 14px; font-weight: 500;
      color: var(--text-muted);
      transition: all var(--transition);
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute; bottom: 2px; left: 50%; right: 50%;
      height: 2px; background: var(--accent); border-radius: 2px;
      transition: left var(--transition), right var(--transition);
    }
    .nav-links a:hover::after, .nav-links a.active::after {
      left: 14px; right: 14px;
    }
    .nav-links a:hover, .nav-links a.active {
      background: rgba(245, 168, 0, 0.12);
      color: var(--text);
    }
    .nav-controls {
      display: flex; align-items: center; gap: 10px; flex-shrink: 0;
    }
    .lang-toggle, .dark-toggle {
      display: flex; align-items: center; gap: 6px;
      padding: 7px 14px; border-radius: 8px;
      border: 1px solid var(--border-strong);
      font-size: 13px; font-weight: 500;
      background: transparent; color: var(--text);
      transition: all var(--transition);
    }
    .lang-toggle:hover, .dark-toggle:hover {
      background: var(--accent); color: #000; border-color: var(--accent);
      box-shadow: 0 0 16px var(--accent-glow);
      transform: scale(1.05);
    }
    .hamburger {
      display: none;
      flex-direction: column; gap: 5px;
      padding: 8px; border-radius: 8px; background: transparent;
      border: 1px solid var(--border-strong);
      transition: all var(--transition);
    }
    .hamburger:hover { border-color: var(--accent); }
    .hamburger span {
      display: block; width: 20px; height: 2px;
      background: var(--text); border-radius: 2px;
      transition: all var(--transition);
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-menu {
      display: none;
      position: fixed; top: var(--nav-h); left: 0; right: 0;
      background: var(--bg-nav);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 16px 24px 24px;
      z-index: 999;
      animation: slideDown 0.3s ease;
    }
    @keyframes slideDown {
      from { opacity:0; transform: translateY(-10px); }
      to { opacity:1; transform: translateY(0); }
    }
    .mobile-menu.open { display: block; }
    .mobile-menu a {
      display: block; padding: 12px 0;
      border-bottom: 1px solid var(--border);
      font-weight: 500; color: var(--text-muted);
      transition: color var(--transition), padding-left var(--transition);
    }
    .mobile-menu a:last-child { border-bottom: none; }
    .mobile-menu a:hover { color: var(--accent); padding-left: 8px; }
    .mobile-controls { display: flex; gap: 10px; padding-top: 16px; }

    /* ===== SECTION COMMON ===== */
    section {
      position: relative; z-index: 1;
      padding: clamp(60px, 8vw, 120px) clamp(16px, 5vw, 80px);
    }
    .section-label {
      font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
      color: var(--accent); margin-bottom: 12px;
      display: flex; align-items: center; gap: 8px;
    }
    .section-label::before {
      content: ''; display: block; width: 24px; height: 2px; background: var(--accent);
      animation: expandLine 1s ease forwards;
    }
    @keyframes expandLine {
      from { width: 0; }
      to { width: 24px; }
    }
    .section-title {
      font-family: 'Teko', sans-serif;
      font-size: clamp(36px, 5vw, 64px);
      font-weight: 700; line-height: 1.05;
      color: var(--text);
    }
    .section-subtitle {
      font-size: 15px; color: var(--text-muted);
      max-width: 540px; margin-top: 12px; line-height: 1.7;
    }
    /* Bangla subtitle size fix */
    [data-lang="bn"] .section-subtitle { font-size: 14px; }
    .container { max-width: 1160px; margin: 0 auto; }

    /* ===== HERO ===== */
    #home {
      min-height: 100vh;
      display: flex; align-items: center;
      padding-top: calc(var(--nav-h) + 40px);
      overflow: hidden;
    }
    .hero-inner {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 60px; align-items: center;
      max-width: 1160px; margin: 0 auto; width: 100%;
    }
    .hero-tag {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 16px; border-radius: 999px;
      border: 1px solid var(--border-strong);
      background: rgba(245, 168, 0, 0.08);
      font-size: 13px; font-weight: 500; color: var(--text-muted);
      margin-bottom: 24px;
      animation: fadeUp 0.6s ease both;
    }
    .hero-tag .dot {
      width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
      animation: pulse 1.5s ease infinite;
    }
    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.5); opacity: 0.6; }
    }
    .hero-title {
      font-family: 'Teko', sans-serif;
      font-size: clamp(52px, 7vw, 92px);
      font-weight: 700; line-height: 0.95;
      color: var(--text);
      animation: fadeUp 0.6s 0.1s ease both;
    }
    /* BANGLA HERO TITLE — FIXED SIZE */
    [data-lang="bn"] .hero-title .lang-bn {
      font-family: 'Hind Siliguri', sans-serif;
      font-size: clamp(32px, 4vw, 52px);
      line-height: 1.2;
      font-weight: 700;
    }
    .hero-title .highlight {
      color: var(--accent);
      text-shadow: 0 0 40px var(--accent-glow);
      position: relative;
      display: inline-block;
    }
    .hero-title .highlight::after {
      content: '';
      position: absolute; bottom: 4px; left: 0; right: 0;
      height: 4px; background: var(--accent);
      border-radius: 2px; opacity: 0.4;
      animation: expandUnderline 1.2s 0.8s ease forwards;
      transform-origin: left;
      transform: scaleX(0);
    }
    @keyframes expandUnderline {
      to { transform: scaleX(1); }
    }
    .hero-subtitle {
      margin-top: 20px; font-size: 16px; color: var(--text-muted); line-height: 1.75;
      animation: fadeUp 0.6s 0.2s ease both;
    }
    /* BANGLA HERO SUBTITLE — FIXED */
    [data-lang="bn"] .hero-subtitle .lang-bn {
      font-family: 'Hind Siliguri', sans-serif;
      font-size: 14px;
      line-height: 1.8;
    }
    .hero-actions {
      display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap;
      animation: fadeUp 0.6s 0.3s ease both;
    }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 28px; border-radius: 12px;
      background: var(--accent); color: #000;
      font-size: 15px; font-weight: 600;
      transition: all var(--transition);
      box-shadow: 0 4px 20px var(--accent-glow);
      position: relative; overflow: hidden;
    }
    .btn-primary::before {
      content: '';
      position: absolute; inset: 0;
      background: rgba(255,255,255,0.2);
      transform: translateX(-100%) skewX(-15deg);
      transition: transform 0.5s ease;
    }
    .btn-primary:hover::before { transform: translateX(200%) skewX(-15deg); }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 32px var(--accent-glow);
    }
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 28px; border-radius: 12px;
      border: 1px solid var(--border-strong);
      background: transparent; color: var(--text);
      font-size: 15px; font-weight: 500;
      transition: all var(--transition);
    }
    .btn-secondary:hover {
      background: var(--bg-card); border-color: var(--accent); color: var(--accent);
      transform: translateY(-2px);
    }
    .hero-stats {
      display: flex; gap: 36px; margin-top: 48px;
      animation: fadeUp 0.6s 0.4s ease both;
    }
    .stat { border-left: 3px solid var(--accent); padding-left: 16px; }
    .stat-num {
      font-family: 'Teko', sans-serif; font-size: 36px; font-weight: 700;
      color: var(--text); line-height: 1;
    }
    .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
    [data-lang="bn"] .stat-label.lang-bn { font-family: 'Hind Siliguri', sans-serif; font-size: 11px; }

    /* Hero visual */
    .hero-visual {
      position: relative; animation: fadeUp 0.6s 0.2s ease both;
    }
    .hero-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 28px;
      box-shadow: var(--shadow-lg);
      position: relative; overflow: visible;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .hero-card:hover {
      transform: translateY(-6px) rotate(-0.5deg);
      box-shadow: 0 20px 60px rgba(26,18,9,0.18);
    }
    .hero-card::before {
      content: '';
      position: absolute; top: 0; right: 0;
      width: 160px; height: 160px; border-radius: 50%;
      background: radial-gradient(circle, var(--accent-glow), transparent 70%);
      pointer-events: none;
      animation: rotatePulse 6s linear infinite;
      clip-path: inset(0 0 0 0);
    }
    @keyframes rotatePulse {
      0%, 100% { opacity: 0.6; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.2); }
    }
    .hc-header {
      display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
    }
    .hc-title { font-family: 'Teko', sans-serif; font-size: 18px; letter-spacing: 0.5px; }
    .live-badge {
      display: flex; align-items: center; gap: 6px;
      background: var(--red-bg); color: var(--red);
      padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
    }
    .live-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1s infinite; }
    .schedule-list { display: flex; flex-direction: column; gap: 10px; }
    .sch-item {
      display: flex; justify-content: space-between; align-items: center;
      padding: 12px 16px; border-radius: 12px;
      background: rgba(245, 168, 0, 0.06); border: 1px solid var(--border);
      transition: all var(--transition);
      animation: fadeUp 0.5s ease both;
    }
    .sch-item:nth-child(1) { animation-delay: 0.1s; }
    .sch-item:nth-child(2) { animation-delay: 0.2s; }
    .sch-item:nth-child(3) { animation-delay: 0.3s; }
    .sch-item:nth-child(4) { animation-delay: 0.4s; }
    .sch-item:hover { background: rgba(245, 168, 0, 0.12); transform: translateX(4px); }
    .sch-time { font-weight: 600; font-size: 14px; }
    .sch-area { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
    .badge {
      display: inline-flex; align-items: center; gap: 4px;
      padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
    }
    .badge-red { background: var(--red-bg); color: var(--red); }
    .badge-green { background: var(--green-bg); color: var(--green); }
    .badge-yellow { background: var(--yellow-bg); color: var(--yellow); }

    /* Floating elements */
    .float-el {
      position: absolute;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 12px; padding: 10px 16px;
      box-shadow: var(--shadow); font-size: 13px; font-weight: 500;
      white-space: nowrap;
    }
    .float-el.top-right { top: -28px; right: 20px; animation: float 3s ease-in-out infinite; z-index: 10; }
    .float-el.bottom-left { bottom: -28px; left: 20px; animation: float 3s 1.5s ease-in-out infinite; z-index: 10; }
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ===== TICKER BAR ===== */
    .ticker-bar {
      background: var(--red);
      color: #fff;
      padding: 10px 0;
      overflow: hidden;
      position: relative; z-index: 1;
    }
    .ticker-inner {
      display: flex; gap: 60px;
      animation: ticker 30s linear infinite;
      width: max-content;
    }
    .ticker-bar:hover .ticker-inner { animation-play-state: paused; }
    .ticker-inner span { white-space: nowrap; font-size: 13px; font-weight: 500; }
    .ticker-inner .sep { color: rgba(255,255,255,0.4); }
    @keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    /* ===== SCHEDULE SECTION ===== */
    #schedule { background: var(--schedule-bg); }
    .schedule-wrapper {
      display: grid; grid-template-columns: 380px 1fr;
      gap: 28px; margin-top: 48px;
    }
    .search-panel {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
      height: fit-content;
      position: sticky; top: 88px;
      transition: box-shadow var(--transition), border-color var(--transition);
    }
    .search-panel:hover { box-shadow: var(--shadow-lg); }
    .panel-title {
      font-family: 'Teko', sans-serif; font-size: 22px; margin-bottom: 24px;
      display: flex; align-items: center; gap: 8px;
    }
    .field-group { margin-bottom: 20px; }
    .field-label { font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
    [data-lang="bn"] .field-label.lang-bn { font-family: 'Hind Siliguri', sans-serif; font-size: 11px; }
    .field-select, .field-input {
      width: 100%; padding: 12px 16px;
      border-radius: 10px; border: 1px solid var(--border-strong);
      background: var(--bg); color: var(--text);
      font-size: 14px; font-weight: 500;
      transition: all var(--transition);
      appearance: none; -webkit-appearance: none;
    }
    .field-select:focus, .field-input:focus {
      outline: none; border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-glow);
    }
    .select-wrap { position: relative; }
    .select-arrow {
      position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
      pointer-events: none; color: var(--text-muted); font-size: 12px;
      transition: transform var(--transition);
    }
    .select-wrap:focus-within .select-arrow { transform: translateY(-50%) rotate(180deg); }
    .btn-check {
      width: 100%; padding: 14px;
      border-radius: 12px; border: none;
      background: var(--accent); color: #000;
      font-size: 15px; font-weight: 700;
      letter-spacing: 0.3px;
      transition: all var(--transition);
      box-shadow: 0 4px 20px var(--accent-glow);
      margin-top: 8px;
      position: relative; overflow: hidden;
    }
    .btn-check::after {
      content: '';
      position: absolute; top: 50%; left: 50%;
      width: 0; height: 0;
      background: rgba(255,255,255,0.3);
      border-radius: 50%;
      transform: translate(-50%,-50%);
      transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    }
    .btn-check:active::after { width: 300px; height: 300px; opacity: 0; }
    .btn-check:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 32px var(--accent-glow);
    }
    .btn-check:active { transform: scale(0.98); }

    /* Results */
    .results-panel { display: flex; flex-direction: column; gap: 16px; }
    .result-empty {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 60px 40px;
      text-align: center; color: var(--text-muted);
    }
    .result-empty .icon {
      font-size: 48px; margin-bottom: 16px; display: block;
      animation: bounce 2s ease-in-out infinite;
    }
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    .result-empty p { font-size: 15px; }

    .result-header {
      display: flex; justify-content: space-between; align-items: center;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 20px 24px;
      animation: fadeUp 0.4s ease both;
    }
    .result-area-name { font-family: 'Teko', sans-serif; font-size: 28px; }
    .result-meta { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

    .result-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 20px 24px;
      display: flex; justify-content: space-between; align-items: center;
      transition: all var(--transition);
      animation: cardSlide 0.5s ease both;
    }
    @keyframes cardSlide {
      from { opacity: 0; transform: translateX(-20px); }
      to { opacity: 1; transform: translateX(0); }
    }
    .result-card:hover {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px var(--accent), var(--shadow);
      transform: translateX(4px);
    }
    .rc-left { display: flex; align-items: center; gap: 16px; }
    .rc-icon {
      width: 48px; height: 48px; border-radius: 12px;
      background: rgba(245, 168, 0, 0.10);
      display: flex; align-items: center; justify-content: center; font-size: 22px;
      flex-shrink: 0;
      transition: transform var(--transition), background var(--transition);
    }
    .result-card:hover .rc-icon { transform: rotate(10deg) scale(1.1); background: rgba(245, 168, 0, 0.2); }
    .rc-time { font-family: 'Teko', sans-serif; font-size: 22px; line-height: 1; }
    .rc-duration { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

    .countdown-box { text-align: right; }
    .countdown-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
    .countdown-timer {
      font-family: 'Teko', sans-serif; font-size: 22px; font-weight: 700; color: var(--red);
      letter-spacing: 1px; margin-top: 2px;
      animation: timerPulse 2s ease infinite;
    }
    @keyframes timerPulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }
    .countdown-timer.green { color: var(--green); }

    /* Weekly view */
    .weekly-toggle {
      display: flex; gap: 10px; margin-top: 28px; margin-bottom: 8px; flex-wrap: wrap;
    }
    .week-btn {
      padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 500;
      border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted);
      transition: all var(--transition);
    }
    .week-btn.active, .week-btn:hover {
      background: var(--accent); color: #000; border-color: var(--accent);
      transform: translateY(-2px); box-shadow: 0 4px 12px var(--accent-glow);
    }

    /* Fav button */
    .btn-fav {
      padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 600;
      border: 1px solid var(--border-strong); background: transparent; color: var(--text);
      transition: all var(--transition); display: flex; align-items: center; gap: 6px;
    }
    .btn-fav:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.05); }
    .btn-fav.saved { background: rgba(245,168,0,0.12); border-color: var(--accent); color: var(--accent); }

    /* Saved area pill */
    .saved-areas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
    .saved-pill {
      display: flex; align-items: center; gap: 6px;
      padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500;
      background: rgba(245,168,0,0.10); border: 1px solid var(--border-strong);
      cursor: pointer; transition: all var(--transition); color: var(--text);
    }
    .saved-pill:hover { background: var(--accent); color: #000; border-color: var(--accent); transform: scale(1.05); }
    .saved-pill .remove { color: inherit; font-size: 14px; line-height: 1; }

    /* ===== EMERGENCY SECTION ===== */
    #emergency { background: var(--emergency-bg); }
    .emergency-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 48px; }
    .alert-card {
      border-radius: var(--radius); padding: 24px;
      position: relative; overflow: hidden;
      transition: all var(--transition);
    }
    .alert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .alert-card.critical {
      background: var(--red-bg); border: 1px solid rgba(214, 58, 47, 0.3);
    }
    .alert-card.warning {
      background: var(--yellow-bg); border: 1px solid rgba(224, 160, 0, 0.3);
    }
    .alert-card.info {
      background: var(--green-bg); border: 1px solid rgba(39, 160, 96, 0.3);
    }
    .alert-card::before {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px 0 0 4px;
      transition: width var(--transition);
    }
    .alert-card:hover::before { width: 6px; }
    .alert-card.critical::before { background: var(--red); }
    .alert-card.warning::before { background: var(--yellow); }
    .alert-card.info::before { background: var(--green); }
    .alert-icon { font-size: 28px; margin-bottom: 12px; display: block; transition: transform var(--transition); }
    .alert-card:hover .alert-icon { transform: scale(1.2) rotate(-5deg); }
    .alert-title {
      font-family: 'Teko', sans-serif; font-size: 20px; margin-bottom: 8px;
    }
    .alert-card.critical .alert-title { color: var(--red); }
    .alert-card.warning .alert-title { color: var(--yellow); }
    .alert-card.info .alert-title { color: var(--green); }
    .alert-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
    [data-lang="bn"] .alert-body .lang-bn,
    [data-lang="bn"] .alert-title .lang-bn { font-family: 'Hind Siliguri', sans-serif; font-size: 13px; }
    .alert-meta { font-size: 11px; color: var(--text-muted); margin-top: 14px; display: flex; align-items: center; gap: 6px; }
    .alert-areas { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
    .area-chip {
      padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 500;
      border: 1px solid currentColor; opacity: 0.7;
      transition: opacity var(--transition);
    }
    .area-chip:hover { opacity: 1; }

    /* ===== TIPS SECTION ===== */
    #tips {
      background: var(--bg-card);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
    .tip-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px;
      transition: all var(--transition);
      position: relative; overflow: hidden;
      cursor: pointer;
    }
    .tip-card::after {
      content: ''; position: absolute; bottom: -30px; right: -30px;
      width: 100px; height: 100px; border-radius: 50%;
      background: radial-gradient(circle, var(--accent-glow), transparent 70%);
      pointer-events: none; opacity: 0;
      transition: opacity var(--transition), transform var(--transition);
    }
    .tip-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: var(--shadow); }
    .tip-card:hover::after { opacity: 1; transform: scale(1.4); }
    .tip-icon {
      width: 52px; height: 52px; border-radius: 14px;
      background: rgba(245, 168, 0, 0.12);
      display: flex; align-items: center; justify-content: center;
      font-size: 24px; margin-bottom: 16px;
      transition: all var(--transition);
    }
    .tip-card:hover .tip-icon { background: var(--accent); transform: scale(1.1) rotate(-5deg); }
    .tip-title { font-family: 'Teko', sans-serif; font-size: 20px; margin-bottom: 6px; }
    .tip-body { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
    [data-lang="bn"] .tip-title .lang-bn { font-family: 'Hind Siliguri', sans-serif; font-size: 16px; }
    [data-lang="bn"] .tip-body .lang-bn { font-family: 'Hind Siliguri', sans-serif; font-size: 12px; }
    .tip-tag {
      display: inline-block; margin-top: 12px;
      padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
      background: rgba(245,168,0,0.12); color: var(--accent);
    }

    /* ===== ABOUT SECTION ===== */
    #about { background: var(--bg); }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 48px; }
    .about-text p { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
    [data-lang="bn"] .about-text p .lang-bn { font-family: 'Hind Siliguri', sans-serif; font-size: 13px; }
    .feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
    .feature-list li {
      display: flex; align-items: center; gap: 12px;
      font-size: 14px; font-weight: 500;
      opacity: 0; transform: translateX(-20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .feature-list li.revealed { opacity: 1; transform: translateX(0); }
    .feature-list li::before {
      content: '✓'; display: flex; align-items: center; justify-content: center;
      width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
      background: var(--green-bg); color: var(--green); font-size: 12px; font-weight: 700;
    }
    .about-stats {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    }
    .astat-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 28px;
      text-align: center;
      transition: all var(--transition);
      position: relative; overflow: hidden;
    }
    .astat-card::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(circle at center, rgba(245,168,0,0.05), transparent 70%);
      opacity: 0; transition: opacity var(--transition);
    }
    .astat-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
    .astat-card:hover::before { opacity: 1; }
    .astat-num {
      font-family: 'Teko', sans-serif; font-size: 48px; font-weight: 700;
      color: var(--accent); line-height: 1;
    }
    .astat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
    [data-lang="bn"] .astat-label.lang-bn { font-family: 'Hind Siliguri', sans-serif; font-size: 12px; }

    /* ===== COUNTER ANIMATION ===== */
    .count-up { display: inline-block; }

    /* ===== GLOWING ORBS ===== */
    .orb {
      position: absolute; border-radius: 50%;
      filter: blur(80px); opacity: 0.15;
      pointer-events: none; z-index: 0;
      animation: orbFloat 8s ease-in-out infinite;
    }
    .orb-1 { width: 300px; height: 300px; background: var(--accent); top: 10%; left: -5%; animation-delay: 0s; }
    .orb-2 { width: 250px; height: 250px; background: var(--red); top: 40%; right: -5%; animation-delay: 3s; }
    .orb-3 { width: 200px; height: 200px; background: var(--green); bottom: 10%; left: 30%; animation-delay: 5s; }
    @keyframes orbFloat {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(20px, -20px) scale(1.05); }
      66% { transform: translate(-15px, 15px) scale(0.95); }
    }

    /* ===== FOOTER ===== */
    footer {
      position: relative; z-index: 1;
      background: var(--bg-card);
      border-top: 1px solid var(--border);
      padding: 40px clamp(16px, 5vw, 80px) 24px;
      overflow: hidden;
    }
    footer::before {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      animation: scanLine 3s ease-in-out infinite;
    }

    /* Row 1: Logo + Policy */
    .footer-row1 {
      max-width: 1160px; margin: 0 auto;
      display: flex; justify-content: space-between; align-items: flex-start;
      flex-wrap: wrap; gap: 24px;
    }
    .footer-logo-block {}
    .footer-logo {
      font-family: 'Teko', sans-serif; font-size: 24px;
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 4px;
    }
    .footer-copy { font-size: 13px; color: var(--text-muted); }

    /* Policy column — right side */
    .footer-policy-col {
      display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
    }
    .footer-policy-links {
      display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end;
    }

    /* Nav links below policy */
    .footer-nav-links {
      display: flex; gap: 8px; flex-wrap: wrap;
      align-items: center; justify-content: flex-end;
    }
    .footer-nav-links a {
      font-size: 12px; color: var(--text-muted);
      transition: color var(--transition);
      position: relative;
    }
    .footer-nav-links a:hover { color: var(--accent); }
    .fnav-sep { color: var(--border-strong); font-size: 10px; }

    /* Divider */
    .footer-divider {
      max-width: 1160px; margin: 24px auto;
      height: 1px; background: var(--border);
    }

    /* Developer row */
    .footer-developer {
      max-width: 1160px; margin: 0 auto;
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 16px;
    }
    .dev-info {
      display: flex; align-items: center; gap: 14px;
    }
    .dev-avatar {
      width: 52px; height: 52px; border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent-dark));
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; font-weight: 700; color: #000;
      box-shadow: 0 0 16px var(--accent-glow);
      flex-shrink: 0;
      animation: boltPulse 2s ease-in-out infinite;
    }
    .dev-name {
      font-family: 'Teko', sans-serif; font-size: 20px; line-height: 1;
      color: var(--text);
    }
    .dev-role { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
    .dev-socials { display: flex; gap: 10px; }
    .social-btn {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 8px 16px; border-radius: 8px;
      border: 1px solid var(--border-strong);
      font-size: 12px; font-weight: 600;
      background: transparent; color: var(--text-muted);
      text-decoration: none;
      transition: all var(--transition);
      cursor: pointer;
    }
    .social-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px var(--accent-glow); }
    .social-btn.linkedin:hover { background: #0077b5; border-color: #0077b5; color: #fff; }
    .social-btn.github:hover { background: #333; border-color: #555; color: #fff; }
    [data-theme="dark"] .social-btn.github:hover { background: #f0f0f0; border-color: #f0f0f0; color: #000; }
    .social-btn svg { flex-shrink: 0; }

    /* Bottom credit */
    .footer-credit {
      max-width: 1160px; margin: 20px auto 0;
      padding-top: 16px; border-top: 1px solid var(--border);
      text-align: center; font-size: 12px; color: var(--text-muted); line-height: 1.7;
    }

    /* Policy link buttons */
    .footer-policy-bar { display: none; } /* old bar hidden */

        /* ===== FOOTER POLICY LINKS ===== */
    .footer-policy-bar {
      max-width: 1160px; margin: 20px auto 0;
      padding: 18px 0 0;
      border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 14px;
    }
    .footer-policy-links {
      display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
    }
    .policy-link-btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 7px 16px; border-radius: 8px;
      border: 1px solid var(--border-strong);
      background: transparent; color: var(--text-muted);
      font-size: 12px; font-weight: 500;
      cursor: pointer; transition: all var(--transition);
      font-family: inherit;
    }
    .policy-link-btn:hover {
      background: rgba(245,168,0,0.1);
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }
    .policy-link-btn .policy-icon { font-size: 13px; }
    .policy-divider {
      width: 4px; height: 4px; border-radius: 50%;
      background: var(--border-strong); flex-shrink: 0;
    }

    .footer-credit {
      max-width: 1160px; margin: 14px auto 0;
      padding-top: 14px; border-top: 1px solid var(--border);
      text-align: center; font-size: 12px; color: var(--text-muted);
    }

    /* ===== POLICY MODAL ===== */
    .policy-overlay {
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 3000;
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity 0.3s ease;
      backdrop-filter: blur(6px);
      padding: 20px;
    }
    .policy-overlay.show { opacity: 1; pointer-events: all; }
    .policy-modal {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 20px;
      width: 100%; max-width: 660px;
      max-height: 85vh;
      display: flex; flex-direction: column;
      box-shadow: var(--shadow-lg);
      transform: translateY(30px) scale(0.96);
      transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
      overflow: hidden;
    }
    .policy-overlay.show .policy-modal { transform: translateY(0) scale(1); }

    .policy-modal-header {
      padding: 24px 28px 20px;
      border-bottom: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: flex-start;
      flex-shrink: 0;
      background: var(--bg-card);
    }
    .policy-modal-icon-title { display: flex; align-items: center; gap: 14px; }
    .policy-modal-icon {
      width: 48px; height: 48px; border-radius: 12px;
      background: rgba(245,168,0,0.12);
      display: flex; align-items: center; justify-content: center;
      font-size: 22px; flex-shrink: 0;
    }
    .policy-modal-title {
      font-family: 'Teko', sans-serif;
      font-size: 26px; font-weight: 700;
      color: var(--text); line-height: 1;
    }
    .policy-modal-subtitle {
      font-size: 12px; color: var(--text-muted); margin-top: 4px;
    }
    .policy-modal-close {
      width: 36px; height: 36px; border-radius: 8px;
      border: 1px solid var(--border-strong);
      background: transparent; color: var(--text-muted);
      font-size: 18px; line-height: 1;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all var(--transition); flex-shrink: 0;
    }
    .policy-modal-close:hover { background: var(--red-bg); color: var(--red); border-color: var(--red); }

    .policy-modal-body {
      padding: 24px 28px;
      overflow-y: auto;
      flex: 1;
      scrollbar-width: thin;
      scrollbar-color: var(--accent) transparent;
    }
    .policy-modal-body::-webkit-scrollbar { width: 4px; }
    .policy-modal-body::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

    .policy-section { margin-bottom: 24px; }
    .policy-section:last-child { margin-bottom: 0; }
    .policy-section-title {
      font-family: 'Teko', sans-serif;
      font-size: 18px; font-weight: 600;
      color: var(--accent);
      margin-bottom: 10px;
      display: flex; align-items: center; gap: 8px;
    }
    .policy-section-title::before {
      content: ''; display: block;
      width: 3px; height: 18px;
      background: var(--accent); border-radius: 2px;
    }
    .policy-section p {
      font-size: 14px; color: var(--text-muted);
      line-height: 1.75; margin-bottom: 10px;
    }
    .policy-section ul {
      list-style: none; padding: 0;
      display: flex; flex-direction: column; gap: 8px;
    }
    .policy-section ul li {
      font-size: 13px; color: var(--text-muted);
      line-height: 1.65;
      padding-left: 20px; position: relative;
    }
    [data-lang="bn"] .policy-modal-title,
    [data-lang="bn"] .policy-modal-subtitle,
    [data-lang="bn"] .policy-section-title,
    [data-lang="bn"] .policy-section p,
    [data-lang="bn"] .policy-section ul li,
    [data-lang="bn"] .policy-highlight,
    [data-lang="bn"] .policy-last-updated,
    [data-lang="bn"] .policy-accept-btn {
      font-family: 'Hind Siliguri', 'DM Sans', sans-serif;
      font-size: 13px;
    }
    [data-lang="bn"] .policy-modal-title { font-size: 22px; }
    [data-lang="bn"] .policy-section-title { font-size: 15px; }
    .policy-section ul li::before {
      content: '⚡'; position: absolute; left: 0;
      font-size: 11px; top: 2px;
    }
    .policy-highlight {
      background: rgba(245,168,0,0.08);
      border: 1px solid rgba(245,168,0,0.2);
      border-radius: 10px; padding: 14px 16px;
      font-size: 13px; color: var(--text-muted);
      line-height: 1.7; margin-top: 10px;
    }
    .policy-highlight strong { color: var(--accent); }

    .policy-modal-footer {
      padding: 16px 28px 20px;
      border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      flex-shrink: 0; flex-wrap: wrap; gap: 12px;
      background: var(--bg-card);
    }
    .policy-last-updated { font-size: 11px; color: var(--text-muted); }
    .policy-accept-btn {
      padding: 10px 24px; border-radius: 10px;
      background: var(--accent); color: #000;
      font-size: 13px; font-weight: 700;
      border: none; cursor: pointer;
      transition: all var(--transition);
      font-family: inherit;
    }
    .policy-accept-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px var(--accent-glow); }


    /* ===== ABOUT BOUNCE BUTTON ===== */
    .about-bounce-btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 20px; border-radius: 999px;
      border: 1.5px solid var(--accent);
      background: rgba(245,168,0,0.10);
      color: var(--accent);
      font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
      cursor: pointer; font-family: inherit;
      animation: btnBounce 2.2s cubic-bezier(0.4,0,0.2,1) infinite;
      box-shadow: 0 0 0 0 var(--accent-glow);
      transition: background var(--transition), box-shadow var(--transition);
    }
    .about-bounce-btn:hover {
      background: rgba(245,168,0,0.22);
      box-shadow: 0 0 18px var(--accent-glow);
      animation-play-state: paused;
    }
    [data-lang="bn"] .about-bounce-btn {
      font-family: 'Hind Siliguri', sans-serif;
      font-size: 13px;
    }
    @keyframes btnBounce {
      0%, 100%  { transform: translateY(0);     box-shadow: 0 0 0 0 var(--accent-glow); }
      20%       { transform: translateY(-6px);   box-shadow: 0 6px 18px var(--accent-glow); }
      40%       { transform: translateY(0);      box-shadow: 0 0 0 0 var(--accent-glow); }
      55%       { transform: translateY(-3px);   box-shadow: 0 3px 10px var(--accent-glow); }
      70%       { transform: translateY(0);      box-shadow: 0 0 0 0 var(--accent-glow); }
    }

    /* ===== BANGLA FONT IN POLICY MODALS ===== */
    [data-lang="bn"] .policy-modal,
    [data-lang="bn"] .policy-modal * {
      font-family: 'Hind Siliguri', 'DM Sans', sans-serif !important;
    }
    [data-lang="bn"] .policy-modal-title { font-size: 22px !important; line-height: 1.2 !important; }
    [data-lang="bn"] .policy-section-title { font-size: 15px !important; }
    [data-lang="bn"] .policy-section p,
    [data-lang="bn"] .policy-section ul li,
    [data-lang="bn"] .policy-highlight { font-size: 13px !important; line-height: 1.8 !important; }

    /* ===== LOADING OVERLAY ===== */
    .loading-overlay {
      position: fixed; inset: 0; background: var(--bg); z-index: 9999;
      display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px;
      transition: opacity 0.5s ease;
    }
    .loading-overlay.hidden { opacity: 0; pointer-events: none; }
    .loader-bolt { font-size: 56px; animation: loaderSpin 1s ease-in-out infinite; }
    @keyframes loaderSpin {
      0% { transform: rotate(-15deg) scale(1); }
      50% { transform: rotate(15deg) scale(1.2); filter: drop-shadow(0 0 20px var(--accent)); }
      100% { transform: rotate(-15deg) scale(1); }
    }
    .loader-bar {
      width: 200px; height: 3px; background: var(--border);
      border-radius: 99px; overflow: hidden;
    }
    .loader-bar-fill {
      height: 100%; background: var(--accent); border-radius: 99px;
      animation: loadFill 1s ease forwards;
    }
    @keyframes loadFill { from { width: 0; } to { width: 100%; } }
    .loader-text { font-family: 'Teko', sans-serif; font-size: 20px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

    /* ===== POPUP ===== */
    .popup-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.5);
      z-index: 2000; display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: opacity var(--transition);
      backdrop-filter: blur(4px);
    }
    .popup-overlay.show { opacity: 1; pointer-events: all; }
    .popup {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 20px; padding: 36px; max-width: 440px; width: 90%;
      box-shadow: var(--shadow-lg);
      transform: translateY(20px) scale(0.95);
      transition: transform var(--transition);
      text-align: center;
    }
    .popup-overlay.show .popup { transform: translateY(0) scale(1); }
    .popup-icon { font-size: 48px; margin-bottom: 16px; display: block; animation: bounce 2s ease-in-out infinite; }
    .popup-title { font-family: 'Teko', sans-serif; font-size: 28px; margin-bottom: 8px; }
    .popup-body { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
    .popup-close {
      padding: 12px 28px; border-radius: 10px;
      background: var(--accent); color: #000;
      font-size: 14px; font-weight: 700;
      transition: all var(--transition);
    }
    .popup-close:hover { transform: scale(1.05); box-shadow: 0 4px 16px var(--accent-glow); }

    /* ===== TOAST ===== */
    .toast-container {
      position: fixed; bottom: 24px; right: 24px; z-index: 1500;
      display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
    }
    .toast {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 12px; padding: 14px 20px;
      box-shadow: var(--shadow-lg);
      font-size: 14px; font-weight: 500;
      display: flex; align-items: center; gap: 10px;
      transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
      max-width: 320px;
    }
    .toast.show { transform: translateX(0); }
    .toast.success { border-left: 3px solid var(--green); }
    .toast.error { border-left: 3px solid var(--red); }
    .toast.info { border-left: 3px solid var(--accent); }

    /* ===== RIPPLE EFFECT ===== */
    .ripple {
      position: absolute; border-radius: 50%;
      background: rgba(245,168,0,0.3);
      transform: scale(0);
      animation: rippleAnim 0.6s linear;
      pointer-events: none;
    }
    @keyframes rippleAnim {
      to { transform: scale(4); opacity: 0; }
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero-inner { grid-template-columns: 1fr; }
      .hero-visual { display: none; }
      .schedule-wrapper { grid-template-columns: 1fr; }
      .search-panel { position: static; }
      .about-grid { grid-template-columns: 1fr; gap: 36px; }
    }
    @media (max-width: 600px) {
      .hero-stats { gap: 20px; flex-wrap: wrap; }
      .tips-grid { grid-template-columns: 1fr 1fr; }
      .about-stats { grid-template-columns: 1fr 1fr; }
      .footer-developer { flex-direction: column; gap: 14px; }
      .dev-socials { flex-wrap: wrap; }
      .footer-row1 { flex-direction: column; gap: 16px; }
      .footer-policy-col { align-items: flex-start; }
      .footer-policy-links { justify-content: flex-start; }
      .footer-nav-links { justify-content: flex-start; }
    }
    @media (max-width: 400px) {
      .tips-grid { grid-template-columns: 1fr; }
    }

    /* Bangla font override */
    [data-lang="bn"] .lang-en { display: none; }
    [data-lang="en"] .lang-bn { display: none; }