/* ============================================================
   NewsBD — Shared Stylesheet (Dark Neon Theme)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Rajdhani:wght@400;500;600&family=Hind+Siliguri:wght@400;500;600&display=swap');

:root {
  --primary:      #00ff88;
  --secondary:    #0ea5e9;
  --accent:       #a78bfa;
  --bg:           #020617;
  --bg2:          #061612;
  --glass:        rgba(255,255,255,0.03);
  --glass-border: rgba(0,255,136,0.18);
  --text:         #f1f5f9;
  --muted:        #64748b;
  --card:         rgba(10,20,35,0.7);
  --nav-h:        68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', 'Hind Siliguri', sans-serif;
  background: radial-gradient(ellipse at 30% 0%, #061612 0%, #020617 60%, #020617 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── NAVBAR ─────────────────────────────────────── */
.nb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 900;
}

.nb-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 0 0 14px rgba(0,255,136,0.5);
  white-space: nowrap;
}
.nb-logo span { color: var(--secondary); }

.nb-nav-center {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nb-nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
}
.nb-nav-link:hover,
.nb-nav-link.active {
  color: var(--primary);
  background: rgba(0,255,136,0.07);
}

.nb-menu-btn {
  display: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  line-height: 1;
}

/* Overlay menu (mobile) */
.nb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nb-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.nb-overlay-close {
  position: absolute;
  top: 22px; right: 28px;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.nb-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 0 24px;
}
.nb-overlay-links a {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  color: #94a3b8;
  text-decoration: none;
  padding: 14px 28px;
  width: min(340px, 90%);
  text-align: center;
  border: 1px solid rgba(0,255,136,0.12);
  border-radius: 10px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  letter-spacing: 0.8px;
}
.nb-overlay-links a:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(0,255,136,0.06);
  text-shadow: 0 0 10px rgba(0,255,136,0.4);
}
.nb-overlay-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0,255,136,0.5);
  margin-bottom: 32px;
  letter-spacing: 2px;
}

/* ── PAGE BODY PAD ───────────────────────────────── */
.nb-page { padding-top: var(--nav-h); flex: 1; display: flex; flex-direction: column; }

/* ── FOOTER ─────────────────────────────────────── */
.nb-footer {
  padding: clamp(20px, 3vw, 36px) clamp(16px, 5vw, 60px);
  background: rgba(2,6,23,0.95);
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: auto;
}
.nb-footer .nb-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 12px;
}
.nb-footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.nb-footer a:hover { color: #fff; }
.nb-footer .copy { color: #475569; font-size: 0.77rem; }

/* ── GLASS CARD ─────────────────────────────────── */
.nb-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nb-card:hover {
  border-color: rgba(0,255,136,0.35);
  box-shadow: 0 0 20px rgba(0,255,136,0.07);
}

/* ── BUTTON ─────────────────────────────────────── */
.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
.nb-btn-primary {
  background: var(--primary);
  color: #020617;
  box-shadow: 0 0 18px rgba(0,255,136,0.35);
}
.nb-btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 28px rgba(0,255,136,0.5);
}
.nb-btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--glass-border);
}
.nb-btn-outline:hover {
  border-color: var(--primary);
  background: rgba(0,255,136,0.07);
}

/* ── SEARCH BAR ─────────────────────────────────── */
.nb-search-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
}
.nb-search-input {
  width: 100%;
  padding: 18px 28px;
  padding-right: 72px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: #fff;
  font-family: 'Rajdhani', 'Hind Siliguri', sans-serif;
  font-size: 1.05rem;
  backdrop-filter: blur(10px);
  outline: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nb-search-input::placeholder { color: #475569; }
.nb-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 28px rgba(0,255,136,0.18);
}
.nb-search-btn {
  position: absolute;
  right: 9px; top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  color: #020617;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(0,255,136,0.4);
  transition: all 0.25s;
}
.nb-search-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: #fff;
  box-shadow: 0 0 28px rgba(0,255,136,0.6);
}

/* ── GLOW TEXT ───────────────────────────────────── */
.glow-green { color: var(--primary); text-shadow: 0 0 18px rgba(0,255,136,0.5); }
.glow-blue  { color: var(--secondary); text-shadow: 0 0 18px rgba(14,165,233,0.5); }

/* ── SCROLLBAR ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,255,136,0.3); border-radius: 3px; }

/* ── MOBILE RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .nb-nav-center { display: none; }
  .nb-menu-btn { display: flex; }
  .nb-search-input { padding: 15px 22px; font-size: 1rem; }
  .nb-search-btn { width: 46px; height: 46px; font-size: 1rem; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(0,255,136,0.5)); }
  50%       { filter: drop-shadow(0 0 25px rgba(0,255,136,0.9)); }
}
.anim-up { animation: fadeUp 0.6s ease both; }
.anim-up-1 { animation-delay: 0.1s; }
.anim-up-2 { animation-delay: 0.2s; }
.anim-up-3 { animation-delay: 0.3s; }
