/*
Theme Name: Neo-Blue AI Prompts
Theme URI: https://www.aimageprompts.com/
Author: Abdul Malik (converted to WordPress)
Author URI: https://www.aimageprompts.com/
Description: Ultra-Premium Glassmorphism + Subtle 3D Mac OS + Gemini-inspired AI interface theme for AI prompt galleries. Faithful WordPress conversion of the original Blogger template — sticky header, search bar, navigation, hero section, responsive 4:5 card grid, one-click prompt copy, toast notifications, and pagination.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neoblue
Tags: dark, two-columns, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/*!
 * Ultra-Premium Glassmorphism Theme
 * Apple-level UI · Subtle 3D Depth · Gemini-inspired AI Interface
 * Version 2.0
 */

/* ============================================
    ROOT VARIABLES — Premium Design Tokens
    ============================================ */
:root {
  /* Deep Midnight Black / Charcoal palette */
  --bg-primary: #0b0f1a;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2030;
  --bg-elevated: #1f2638;

  /* Glass surfaces */
  --glass-bg: rgba(17, 24, 39, 0.55);
  --glass-bg-strong: rgba(17, 24, 39, 0.75);
  --glass-bg-soft: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.18);
  --glass-highlight: rgba(255, 255, 255, 0.06);

  /* Primary accent — Neon Pink */
  --neo-pink: #FF007F;
  --neo-pink-bright: #FF4FD8;
  --neo-pink-soft: rgba(255, 0, 127, 0.18);
  --neo-pink-glow: rgba(255, 79, 216, 0.45);

  /* Secondary accents — soft violet + blue */
  --neo-violet: #8B5CF6;
  --neo-violet-soft: rgba(139, 92, 246, 0.25);
  --neo-blue: #3B82F6;
  --neo-blue-bright: #60A5FA;
  --neo-blue-glow: rgba(96, 165, 250, 0.35);

  /* Legacy aliases (preserved for compatibility) */
  --success-green: #10B981;

  /* Text hierarchy */
  --text-primary: #F5F7FA;
  --text-secondary: #B8C0D0;
  --text-muted: #6B7488;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Glass blur */
  --blur-glass: blur(22px) saturate(180%);
  --blur-glass-strong: blur(28px) saturate(200%);

  /* Shadows — layered Mac OS depth */
  --shadow-card:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-float:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 28px var(--neo-pink-glow);
  --shadow-glow-blue: 0 0 28px var(--neo-blue-glow);

  /* Premium easing */
  --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
    GLOBAL RESET
    ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(255, 0, 127, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 88% 92%, rgba(139, 92, 246, 0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  perspective: 1000px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 79, 216, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 30%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--neo-pink-bright);
  text-decoration: none;
  transition: color 0.25s var(--transition-smooth);
}

a:hover {
  color: var(--neo-pink);
}

::selection {
  background: var(--neo-pink-soft);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--neo-pink-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
    CUSTOM SCROLLBAR
    ============================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--bg-tertiary), var(--bg-elevated));
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neo-pink), var(--neo-violet));
}

/* ============================================
    HEADER — Glassmorphism Bar
    ============================================ */
.np-header {
  position: relative;
  top: auto;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
  transition: all 0.4s var(--transition-smooth);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.35);
}

.np-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 127, 0.4), rgba(139, 92, 246, 0.4), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.np-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.np-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: transform 0.35s var(--transition-spring);
  will-change: transform;
}

.np-logo:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.np-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, var(--neo-pink) 0%, var(--neo-violet) 60%, var(--neo-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 18px var(--neo-pink-glow),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 -2px 6px rgba(0, 0, 0, 0.3) inset;
  font-size: 18px;
  color: #fff;
  position: relative;
  transition: transform 0.4s var(--transition-spring);
}

.np-logo:hover .np-logo-mark {
  transform: rotateY(15deg) rotateX(-8deg) translateZ(6px);
}

/* ============================================
    NAVIGATION NAVBAR (Desktop Setup)
    ============================================ */
.np-nav {
  background: var(--glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.np-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.np-nav a {
  padding: 9px 18px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s var(--transition-smooth);
  border: 1px solid transparent;
  display: inline-block;
  position: relative;
  will-change: transform;
}

.np-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.np-nav a:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) inset;
}

/* WordPress Automatic Active Class Mapping */
.np-nav ul li.current-menu-item > a,
.np-nav ul li.current_page_item > a,
.np-nav a.active {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.18), rgba(139, 92, 246, 0.18));
  color: var(--neo-pink-bright);
  border-color: rgba(255, 0, 127, 0.35);
  box-shadow:
    0 0 16px rgba(255, 0, 127, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

/* ============================================
    NAV DROPDOWN SYSTEM (Desktop & Universal)
    ============================================ */
.np-nav-dropdown {
  position: relative;
  display: inline-block;
}

.np-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--glass-bg-strong);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  min-width: 220px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--glass-border) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  z-index: 9999;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 8px;
  margin-top: 10px;
  animation: np-dropdown-in 0.3s var(--transition-smooth);
  transform-origin: top center;
}

@keyframes np-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.np-nav-dropdown-menu a {
  color: var(--text-secondary) !important;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  text-align: left;
  transition: all 0.25s var(--transition-smooth);
  border: none !important;
  background: transparent !important;
  border-radius: var(--radius-sm);
}

.np-nav-dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.15), rgba(139, 92, 246, 0.15)) !important;
  color: var(--neo-pink-bright) !important;
  transform: translateX(3px);
}

/* PC par hover kaam karega, aur mobile par JavaScript click dono smoothly chalenge */
.np-nav-dropdown:hover .np-nav-dropdown-menu,
.np-nav-dropdown-menu.is-active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
  display: block;
}

/* ============================================
    MAIN LAYOUT
    ============================================ */
.np-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
}

.np-hero {
  text-align: center;
  margin-bottom: 56px;
  padding: 32px 0;
  position: relative;
}

.np-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255, 0, 127, 0.10), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.np-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #ffffff 0%, var(--neo-pink-bright) 50%, var(--neo-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(255, 0, 127, 0.15);
}

.np-hero p {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================
    CARD GRID — 4:5 Gallery (Mac OS 3D Depth)
    ============================================ */
.np-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  perspective: 1200px;
}

.np-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    transform 0.5s var(--transition-smooth),
    box-shadow 0.5s var(--transition-smooth),
    border-color 0.5s var(--transition-smooth);
  cursor: pointer;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  will-change: transform;
}

.np-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 40%, transparent 60%, rgba(255, 0, 127, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.5s var(--transition-smooth);
  z-index: 2;
}

.np-card:hover {
  transform: translateY(-8px) rotateX(2deg) translateZ(10px);
  box-shadow: var(--shadow-float), 0 0 0 1px var(--glass-border-hover), 0 0 32px rgba(255, 0, 127, 0.18);
  border-color: var(--glass-border-hover);
}

.np-card:hover::before {
  opacity: 1;
}

.np-card:active {
  transform: translateY(-4px) rotateX(1deg) translateZ(4px);
  transition-duration: 0.15s;
}

.np-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.np-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth), filter 0.5s var(--transition-smooth);
  will-change: transform;
}

.np-card:hover .np-card-thumb img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

.np-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(11, 15, 26, 0.96) 0%,
      rgba(11, 15, 26, 0.75) 35%,
      rgba(11, 15, 26, 0) 70%);
  opacity: 0;
  transform: translateY(15%);
  transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth), backdrop-filter 0.5s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.np-card:hover .np-card-overlay {
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.np-card-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.np-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.np-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--neo-pink-bright);
  background: rgba(255, 0, 127, 0.14);
  border: 1px solid rgba(255, 0, 127, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 8px rgba(255, 0, 127, 0.15);
}

.np-card-copy {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neo-pink) 0%, var(--neo-pink-bright) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition-spring);
  box-shadow:
    0 6px 18px var(--neo-pink-glow),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 -2px 6px rgba(0, 0, 0, 0.2) inset;
  will-change: transform;
}

.np-card-copy:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow:
    0 10px 28px var(--neo-pink-glow),
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -2px 6px rgba(0, 0, 0, 0.2) inset;
}

.np-card-copy:active {
  transform: scale(0.96) translateY(0);
}

.np-card-copy.np-copied {
  background: linear-gradient(135deg, var(--success-green) 0%, #34D399 100%);
  box-shadow:
    0 6px 18px rgba(16, 185, 129, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.np-card-copy svg {
  width: 18px;
  height: 18px;
}

.np-card-prompt-data {
  display: none;
}

/* ============================================
    POST PAGE — Single Post View
    ============================================ */
.np-post {
  max-width: 860px;
  margin: 0 auto;
}

.np-post-header {
  margin-bottom: 36px;
  text-align: center;
}

.np-post-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, var(--neo-pink-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.np-post-info {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.np-post-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.np-post-hero {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 36px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border-hover);
  box-shadow:
    var(--shadow-float),
    0 0 36px rgba(255, 0, 127, 0.15);
  transition: transform 0.5s var(--transition-smooth);
  will-change: transform;
}

.np-post-hero:hover {
  transform: translateY(-4px) scale(1.01);
}

.np-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-scroll-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin: 24px auto 32px;
  max-width: 360px;
  animation: np-bounce 2.4s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 0, 127, 0.1);
}

.np-scroll-guide svg {
  width: 18px;
  height: 18px;
  color: var(--neo-pink-bright);
  filter: drop-shadow(0 0 6px var(--neo-pink-glow));
}

@keyframes np-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.np-prompt-box {
  background: var(--glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  margin-bottom: 36px;
  box-shadow:
    var(--shadow-card),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
}

.np-prompt-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neo-pink-bright), var(--neo-violet), transparent);
  opacity: 0.6;
}

.np-prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--glass-border);
}

.np-prompt-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--neo-pink-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.np-prompt-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neo-pink-bright);
  box-shadow: 0 0 14px var(--neo-pink-bright), 0 0 28px var(--neo-pink-glow);
  animation: np-pulse 2s ease-in-out infinite;
}

@keyframes np-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.np-prompt-text {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.75;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
  background: rgba(0, 0, 0, 0.35);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  overflow-y: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) inset;
}

.np-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--neo-pink) 0%, var(--neo-pink-bright) 50%, var(--neo-violet) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s var(--transition-spring);
  box-shadow:
    0 6px 20px var(--neo-pink-glow),
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -2px 6px rgba(0, 0, 0, 0.2) inset;
  letter-spacing: 0.02em;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.np-copy-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s var(--transition-smooth);
}

.np-copy-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px var(--neo-pink-glow),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 -2px 6px rgba(0, 0, 0, 0.2) inset;
}

.np-copy-btn:hover::after {
  left: 100%;
}

.np-copy-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.np-copy-btn.np-copied {
  background: linear-gradient(135deg, var(--success-green) 0%, #34D399 100%);
  box-shadow:
    0 6px 20px rgba(16, 185, 129, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.np-copy-btn svg {
  width: 18px;
  height: 18px;
}

.np-post-body {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 36px;
}

.np-post-body h2, .np-post-body h3 {
  color: var(--text-primary);
  margin: 30px 0 14px;
  letter-spacing: -0.02em;
}

.np-post-body p { margin-bottom: 16px; }

.np-post-body img {
  border-radius: var(--radius-md);
  margin: 20px auto;
  box-shadow: var(--shadow-card);
}

/* ============================================
    TOAST NOTIFICATION
    ============================================ */
.np-toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--glass-bg-strong);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 999px;
  padding: 13px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  box-shadow:
    0 14px 48px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(16, 185, 129, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  transition: all 0.5s var(--transition-spring);
  pointer-events: none;
}

.np-toast.np-toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.np-toast svg {
  width: 20px;
  height: 20px;
  color: var(--success-green);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

/* ============================================
    FOOTER
    ============================================ */
.np-footer {
  background: var(--glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid var(--glass-border);
  padding: 44px 24px;
  margin-top: 48px;
  text-align: center;
  position: relative;
}

.np-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 127, 0.4), rgba(139, 92, 246, 0.4), transparent);
}

.np-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 13px;
}

.np-footer a {
  color: var(--text-secondary);
  transition: color 0.3s var(--transition-smooth);
}

.np-footer a:hover {
  color: var(--neo-pink-bright);
}

.np-footer-section {
  max-width: 1400px;
  margin: 24px auto 0;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 13px;
}
.np-footer-section ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
}
.np-footer-section li { margin: 0; padding: 0; }
.np-footer-section a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s var(--transition-smooth);
}
.np-footer-section a:hover { color: var(--neo-pink-bright); }

/* ============================================
    PAGINATION
    ============================================ */
.np-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 56px 0 24px;
  flex-wrap: wrap;
}

.np-pagination a {
  padding: 11px 22px;
  background: var(--glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--transition-spring);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  will-change: transform;
}

.np-pagination a:hover {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.18), rgba(139, 92, 246, 0.18));
  border-color: rgba(255, 0, 127, 0.4);
  color: var(--neo-pink-bright);
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(255, 0, 127, 0.2);
}

.np-pagination a:active {
  transform: translateY(0);
}


/* ============================================
   CARD ACTIONS & FILTER TABS (LIKE/SAVE & FILTER SYSTEM)
   ============================================ */
.np-card-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.np-action-btn {
    background: rgba(11, 15, 23, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.np-action-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .np-action-btn:hover {
        transform: scale(1.1);
        background: rgba(11, 15, 23, 0.9) !important;
    }
    .btn-like:hover {
        color: #ff4b5c;
        border-color: rgba(255, 75, 92, 0.4) !important;
        box-shadow: 0 0 15px rgba(255, 75, 92, 0.3);
    }
    .btn-save:hover {
        color: #00bef6;
        border-color: rgba(0, 190, 246, 0.4) !important;
        box-shadow: 0 0 15px rgba(0, 190, 246, 0.3);
    }
}

.np-action-btn.is-active {
    transform: scale(1.05);
}

.btn-like.is-active {
    background: #ff4b5c !important;
    color: #ffffff !important;
    border-color: #ff4b5c !important;
    box-shadow: 0 4px 15px rgba(255, 75, 92, 0.4);
}

.btn-save.is-active {
    background: #00bef6 !important;
    color: #ffffff !important;
    border-color: #00bef6 !important;
    box-shadow: 0 4px 15px rgba(0, 190, 246, 0.4);
}

.np-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
    max-width: 500px;
    padding: 5px;
    background: rgba(11, 15, 23, 0.4);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}

.filter-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.filter-btn.active {
    background: #00bef6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 190, 246, 0.4);
}


/* ============================================
    RESPONSIVE & MOBILE FIXES (POLISHED)
    ============================================ */
@media (max-width: 1024px) {
  .np-header-inner,
  .np-nav-inner,
  .np-footer-inner,
  .np-footer-section,
  .np-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .np-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
    
    /* Purane top/scrolled elements ko hide karne ke liye (agar zarorat ho) */
    .np-nav {
        display: none !important;
    }

   /* Page ke bottom par gap dene ke liye taaki content dock ke peeche na chupe */
body {
    padding-bottom: 100px !important;
}

/* Main Dock Outer Bar - (PERMANENTLY PINNED) */
.np-premium-dock {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(180deg, rgba(20, 24, 33, 0.85) 0%, rgba(13, 16, 23, 0.98) 100%) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.7) !important;
    z-index: 999999 !important; /* Isko sabse upar pin rakhne ke liye barha diya hai */
    padding: 12px 16px calc(10px + env(safe-area-inset-bottom)) !important; /* iOS safe area bar handle */
}

/* Flex Container */
.dock-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    position: relative !important;
}

/* Left aur Right blocks ka structure */
.dock-group {
    display: flex !important;
    flex: 2 !important;
    justify-content: space-around !important;
    align-items: center !important;
}

/* Individual Menu Items */
.dock-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #94a3b8 !important; /* Muted silver text */
    font-size: 11px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    gap: 4px !important;
}

/* Icon adjustments */
.dock-icon {
    font-size: 20px !important;
    transition: transform 0.2s ease !important;
}

/* Mockup design jaisa Blue Glow Active State */
.dock-item.active {
    color: #38bdf8 !important; /* Premium Cyan/Blue color */
}

.dock-item.active .dock-icon {
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6)) !important;
    transform: scale(1.05) !important;
}

/* Center Floating Search Wrapper */
.dock-search-wrapper {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    z-index: 100000 !important;
}

/* Floating Blue Circular Button */
.dock-search-circle {
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg, #0082ff 0%, #0052ff 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px rgba(0, 130, 255, 0.45), 
                inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transform: translateY(-24px) !important; /* Perfect Floating height */
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Click Effect on Search Button */
.dock-search-circle:active {
    transform: translateY(-24px) scale(0.9) !important;
}
  .np-main {
    padding: 28px 16px 60px;
  }

  .np-hero {
    margin-bottom: 36px;
    padding: 20px 0;
  }

  .np-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .np-card {
    border-radius: var(--radius-md);
  }

  .np-card:hover {
    transform: translateY(-4px) translateZ(4px);
  }

  .np-card-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top,
      rgba(11, 15, 26, 0.92) 0%,
      rgba(11, 15, 26, 0.45) 50%,
      rgba(11, 15, 26, 0) 80%);
    padding: 14px;
  }

  .np-card-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .np-card-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  .np-card-copy {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .np-card-copy svg {
    width: 16px;
    height: 16px;
  }

  .np-prompt-box {
    padding: 20px;
    border-radius: var(--radius-md);
  }
  .np-prompt-text {
    font-size: 13px;
    padding: 14px;
    max-height: 320px;
  }

  .np-prompt-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .np-copy-btn {
    padding: 11px 20px;
    font-size: 13px;
  }

  .np-toast {
    bottom: 20px;
    padding: 11px 20px;
    font-size: 13px;
    max-width: calc(100% - 32px);
  }

  .np-pagination {
    gap: 8px;
    margin: 36px 0 16px;
  }

  .np-pagination a {
    padding: 9px 16px;
    font-size: 13px;
  }

  .np-footer {
    padding: 32px 20px;
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .np-logo {
    font-size: 20px;
  }

  .np-logo-mark {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .np-hero h1 {
    letter-spacing: -0.025em;
  }

  .np-post-hero {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 420px) {
  .np-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .np-card-title {
    font-size: 15px;
  }

  .np-card-overlay {
    padding: 18px;
  }
}

/* ============================================
    ACCESSIBILITY & MOTION PREFERENCES
    ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .np-card:hover,
  .np-card:active,
  .np-copy-btn:hover,
  .np-card-copy:hover,
  .np-pagination a:hover,
  .np-nav a:hover {
    transform: none;
  }
}

/* Blogger Widget Reset */
.widget { margin: 0; }
.widget h2 { display: none; }
.post-footer, .post-header, .blog-pager-older-link, .blog-pager-newer-link, .feed-links { display: none; }

@media (max-width: 768px) {
    /* Main container ko normal block mein layein */
    .np-nav-inner {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* Har button ko full width dein */
    .np-nav-dropdown {
        width: 100% !important;
        text-align: center;
    }

    /* Toggle button ko bhi full width */
    .dropdown-toggle {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Dropdown menu ka fix */
    .np-nav-dropdown-menu {
        position: relative !important;
        width: 100% !important;
        margin-top: 5px !important;
        display: none !important; /* JS isse handle karega */
        background: rgba(15, 22, 36, 0.95) !important;
        border-radius: 10px !important;
        padding: 10px !important;
    }

    .np-nav-dropdown-menu.is-active {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
}
/* Homepage ke input field ko 100% transparent rakhne ke liye (No Solid Overlay) */
.np-hero-search-input,
.np-hero-search-input:focus,
.np-hero-search-input:active,
.np-hero-search-input:valid {
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important; /* Solid black/grey box overlay ko mukammal khatam karne k liye */
}

/* Chrome autofill ka background rang badalne se rokne ka transparent transition hack */
.np-hero-search-input:-webkit-autofill,
.np-hero-search-input:-webkit-autofill:hover, 
.np-hero-search-input:-webkit-autofill:focus,
.np-hero-search-input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    background-color: transparent !important;
    transition: background-color 600000s ease-in-out 0s !important; /* Rang badalne ki timing ko sadiyon k liye freeze kar dega */
}
/* ============================================
     PREMIUM MOBILE NAVIGATION DOCK (image_c59cd6.png)
     ============================================ */
.np-mobile-dock {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 440px;
    z-index: 99999;
    display: none; /* Hidden on Desktop */
}

/* Core Dock layout container structure */
.np-mobile-dock-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(22, 28, 45, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 6px 12px;
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 24px 48px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Tab Wings Layout Control */
.np-dock-wing {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 1;
}

/* Single Item Styling */
.np-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 0;
    width: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.np-dock-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.np-dock-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Active Highlight Layer State (Mirroring image_c59cd6.png blue glow) */
.np-dock-item.is-active {
    color: var(--neo-blue-bright) !important;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
}

.np-dock-item.is-active .np-dock-icon {
    transform: scale(1.1);
}

/* Center Prominent Trigger Architecture */
.np-dock-center-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 76px;
    height: 42px;
}

/* Seamless Converted Cuts utilizing inverted pseudo layout masks */
.np-dock-notch-left, .np-dock-notch-right {
    position: absolute;
    top: -7px;
    width: 16px;
    height: 16px;
    background: transparent;
    pointer-events: none;
}

.np-dock-center-btn {
    position: absolute;
    top: -32px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
    border: 3px solid #0b0f1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 
        0 0 20px rgba(0, 198, 255, 0.5),
        0 8px 16px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
}

.np-dock-center-btn svg {
    width: 24px;
    height: 24px;
}

.np-dock-center-btn:active {
    transform: scale(0.92) translateY(4px);
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

/* Liquid notch contour lines outlining the floating circular button boundaries */
.np-dock-center-wrapper::before {
    content: '';
    position: absolute;
    top: -35px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 0, 127, 0.35);
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.2);
    pointer-events: none;
    z-index: 1;
}

/* ========================================================
   1. STRICT MOBILE ONLY DOCK (CLEAN VIEWPORT BLOCK)
   ======================================================== */
@media screen and (max-width: 768px) {
    /* Responsive Trigger Configuration */
    .np-mobile-dock {
        display: block !important;
    }
    
    /* Resetting parent parameters that break position:fixed */
    html, body {
        transform: none !important;
        filter: none !important;
        perspective: none !important;
        height: auto !important;
        overflow-x: hidden !important;
    }

    /* Top category chips ko hide kiya taake niche dock bar responsive kaam kare */
    .np-nav {
        display: none !important;
    }

    /* Page content ko dock ke piche dabne se rokne ke liye padding */
    body {
        padding-bottom: 110px !important;
    }

    /* Main Dock Wrapper - Forced to Lock onto Viewport Glass */
    #np-js-portal-dock.np-premium-dock {
        position: fixed !important;
        bottom: 20px !important; /* Hamesha mobile screen se 20px upar float karega */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 999999 !important;
        display: block !important;
        pointer-events: none !important; /* Layout safe layer */
    }

    /* Glassmorphic Dock Body with Neon Glow */
    .dock-container {
        pointer-events: auto !important; /* Re-enabling buttons interactions */
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(15, 22, 36, 0.82) !important; /* Deep dark translucent tone */
        backdrop-filter: blur(20px) !important; /* Pure application style glass effect */
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(147, 51, 234, 0.35) !important; /* Violet border */
        border-radius: 24px !important;
        padding: 8px 10px !important; /* Spacing tight ki taake elements ko jagah mile */
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75),
                    inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
        position: relative !important;
        max-width: 95% !important; /* Width 85% se barha kar 95% ki taake text na chipke */
        margin: 0 auto !important; /* Horizontally center alignment */
    }

    /* Left and Right Item Groups */
    .dock-group {
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        flex: 1 !important;
    }

    /* Individual Nav Links Inside Dock */
    .dock-group a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: rgba(255, 255, 255, 0.55) !important;
        transition: all 0.2s ease !important;
        font-size: 7px !important; /* Balanced font size */
        line-height: 1.1 !important; /* Text lines ko tight kiya */
        letter-spacing: 0px !important;
        white-space: normal !important; /* Words auto upar-niche break honge */
        flex: 1 !important;
        text-align: center !important;
    }

    /* Active States Custom Cyan Glow */
    .dock-group a:hover,
    .dock-group a.active {
        color: #00bef6 !important;
        text-shadow: 0 0 10px rgba(0, 190, 246, 0.4) !important;
    }

    /* SVG Icons Layout Adjustments */
    .dock-group a svg, 
    .dock-group a img {
        width: 18px !important; /* Icons thode chhote kiye taake text ke liye space bane */
        height: 18px !important;
        margin-bottom: 2px !important;
    }

    /* Center Search Button Circular Notch Design */
    .dock-search-wrapper {
        position: relative !important;
        width: 65px !important;
        height: 45px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 10 !important;
    }

    .dock-search-wrapper a,
    .dock-search-btn {
        position: absolute !important;
        top: -26px !important; /* Floating pop-up position */
        width: 54px !important;
        height: 54px !important;
        background: linear-gradient(135deg, #0072ff, #00bef6) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 8px 24px rgba(0, 190, 246, 0.45),
                    0 0 0 6px rgba(15, 22, 36, 1), /* Cutout masking ring */
                    0 0 0 7px rgba(147, 51, 234, 0.45) !important; /* Outer glow notch */
        transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    .dock-search-wrapper a:hover,
    .dock-search-btn:hover {
        transform: scale(1.06) !important;
    }

    /* ========================================================
       MOBILE SEARCH OVERLAY FULL SCREEN STYLES
       ======================================================== */
    .mobile-search-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(10, 15, 26, 0.95) !important; /* Premium dark transparency */
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        z-index: 9999999 !important; /* Dock se bhi upar display hoga */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
    }

    /* Active class trigger karne ke liye */
    .mobile-search-overlay.is-active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Close Button (X) Cross styling */
    .search-overlay-close {
        position: absolute !important;
        top: 30px !important;
        right: 30px !important;
        font-size: 38px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        cursor: pointer !important;
        transition: color 0.2s ease !important;
    }
    .search-overlay-close:hover {
        color: #00bef6 !important;
    }

    /* Form Container Setup */
    .search-overlay-content {
        width: 85% !important;
        max-width: 500px !important;
    }

    .mobile-search-form {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Neon Premium Input Field */
    .mobile-search-input {
        width: 100% !important;
        padding: 16px 60px 16px 24px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(147, 51, 234, 0.4) !important; /* Purple border glow */
        border-radius: 30px !important;
        color: #ffffff !important;
        font-size: 16px !important;
        outline: none !important;
        box-shadow: 0 0 15px rgba(147, 51, 234, 0.15) !important;
        transition: all 0.3s ease !important;
    }
    .mobile-search-input:focus {
        border-color: #00bef6 !important; /* Cyan active glow */
        box-shadow: 0 0 20px rgba(0, 190, 246, 0.3) !important;
    }

    /* Submit Vector Icon Button */
    .mobile-search-submit {
        position: absolute !important;
        right: 8px !important;
        width: 46px !important;
        height: 46px !important;
        background: linear-gradient(135deg, #0072ff, #00bef6) !important;
        border: none !important;
        border-radius: 50% !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }
    .mobile-search-submit svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* ========================================================
       [ADDED] MOBILE DOCK SUB-CATEGORIES DROPDOWN SYSTEM
       ======================================================== */
    .dock-item.has-dropdown, 
    .np-dock-item.has-dropdown {
        position: relative !important;
        cursor: pointer !important;
    }

    .dock-trigger, 
    .np-dock-trigger {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        color: inherit !important;
    }

    .dock-dropdown, 
    .np-dock-dropdown {
        display: none !important;
        position: fixed !important;
        bottom: 95px !important; /* Floating safely above mobile dock bar */
        left: 16px !important;
        right: 16px !important;
        background: rgba(11, 15, 26, 0.96) !important;
        backdrop-filter: blur(25px) saturate(190%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(190%) !important;
        border: 1px solid rgba(147, 51, 234, 0.4) !important; /* Premium Violet Border Glow */
        border-radius: 20px !important;
        padding: 14px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
        z-index: 99999999 !important; /* Enforces absolute top popover depth */
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .dock-item.is-open .dock-dropdown, 
    .np-dock-item.is-open .np-dock-dropdown {
        display: grid !important;
        animation: dockMenuPopup 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
    }

    .dock-item.is-open .dock-trigger, 
    .np-dock-item.is-open .np-dock-trigger,
    .dock-item.is-open,
    .np-dock-item.is-active {
        color: #00bef6 !important; /* Premium Cyan hue injection */
    }

    .dock-dropdown a, 
    .np-dock-dropdown a {
        color: rgba(255, 255, 255, 0.85) !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 12px 10px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        transition: all 0.2s ease !important;
        display: block !important;
    }

    .dock-dropdown a:active, 
    .np-dock-dropdown a:active {
        background: linear-gradient(135deg, rgba(255, 0, 127, 0.2), rgba(0, 190, 246, 0.2)) !important;
        border-color: #00bef6 !important;
        color: #ffffff !important;
    }

    @keyframes dockMenuPopup {
        from {
            opacity: 0;
            transform: translateY(15px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
} /* <--- Mobile Media Query Yahan Band Ho Rahi Hai */

/* ========================================================
    2. DESKTOP RESET (FORCING DOCK TO HIDE & RESTORE FOOTER)
   ======================================================== */
@media screen and (min-width: 769px) {
    /* Desktop par mobile dock ko mukammal gayab rakhein */
    #np-js-portal-dock.np-premium-dock,
    .np-mobile-dock {
        display: none !important;
    }
    
    /* Desktop layouts ko default par reset kiya */
    html, body {
        transform: none;
        filter: none;
        perspective: none;
        height: auto;
        overflow-x: visible;
    }
}
/* FILE ENDS HERE — KOI RAW JAVASCRIPT ISSE NEECHE NAHI HONI CHAHIYE */
#np-js-portal-dock .np-nav-dropdown-menu a {
    position: relative !important;
    z-index: 9999999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}
@media screen and (max-width: 768px) {
    /* Filter Bar ko top par pin karne ke liye */
    .np-sticky-filter-bar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important; /* Agar top header fixed nahi hai to 0px bilkul sahi hai */
        z-index: 9999 !important;
        
        /* Premium Glassmorphism Background (Taake scroll ke dauran peeche ka content text ko kharab na kare) */
        background: rgba(11, 15, 23, 0.85) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding: 12px 0 !important;
        margin-top: 0 !important;
    }

    /* Sticky feature ko block hone se bachane ke liye parent containers ka overflow fix */
    html, body {
        overflow-x: clip !important; 
    }
    
    .np-main {
        overflow: visible !important;
    }
}
/* Overlay ko hamesha hidden rakhein jab tak active class na aaye */
.mobile-search-overlay {
    background: rgba(11, 15, 23, 0.95) !important; /* Yahan transparency adjust karein */
    display: none !important; 
}

.mobile-search-overlay.is-active {
    display: flex !important; /* Sirf active hone par dikhao */
}
/* ========================================================
   HOME PAGE CARDS MASK OVERLAY REMOVAL (MOBILE ONLY)
   ======================================================== */
@media (max-width: 768px) {
    /* 1. Niche se upar aane wale linear-gradient overlay ko transparent kiya */
    .np-card .np-card-overlay {
        background: transparent !important;
        background-image: none !important;
        opacity: 1 !important; /* Content ko hamesha visible rakhne ke liye */
        transform: translateY(0) !important; /* Overlay ko apni jagah fixed rakhne ke liye */
    }

    /* 2. Agar card par koi mask image filter laga ho toh use bhi clear kiya */
    .np-card {
        mask-image: none !important;
        -webkit-mask-image: none !important;
        overflow: visible !important;
    }

    /* 3. Text aur titles ka color mobile par bilkul saaf aur visible rakhne ke liye */
    .np-card-title {
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    }
}