/* ==========================================================================
   EPIC UTTARAKHAND NEWS - ENHANCED RESPONSIVE INSTAGRAM UI/UX LAYOUT
   Instagram Web & Mobile Experience with Multi-Device Responsiveness
   Breakpoints: Desktop (>1080px), Tablet (769px-1080px), Mobile (<768px)
   ========================================================================== */

/* Main App Wrapper */
.insta-app-layout {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-primary);
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   1. LEFT SIDEBAR NAVIGATION (Desktop & Tablet Collapsible Rail)
   ========================================================================== */
.insta-left-sidebar {
  width: 260px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  background: var(--bg-glass-strong);
  border-right: 1px solid var(--border-subtle);
  padding: 1.5rem 1rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: width var(--transition-normal), transform var(--transition-normal);
}

.insta-sidebar-top {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insta-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.5rem 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.insta-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transition: var(--transition-spring);
  object-fit: cover;
  flex-shrink: 0;
}

.insta-brand:hover img {
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.7);
}

.insta-brand-title {
  font-size: 1.12rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--accent-cyan) 80%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.insta-brand-tag {
  font-size: 0.68rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  display: block;
}

/* Navigation Menu */
.insta-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.insta-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  user-select: none;
}

.insta-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transform: translateX(4px);
}

.insta-nav-item.active {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  font-weight: 700;
}

.insta-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3.5px;
  background: var(--accent-cyan);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.insta-nav-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.insta-nav-item:hover svg {
  transform: scale(1.1);
}

/* Create Button */
.insta-create-btn {
  margin: 0.85rem 0 0.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), #0099ff);
  color: #030712;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-glow-cyan);
  cursor: pointer;
  transition: var(--transition-spring);
  user-select: none;
}

.insta-create-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.65);
}

/* Theme Toggle Button in Sidebar */
.theme-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 0.5rem;
  user-select: none;
}

.theme-toggle-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
}

.theme-toggle-icon {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* User Profile Mini in Sidebar */
.insta-user-bottom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: auto;
}

.insta-user-bottom:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
}

.sidebar-user-info {
  flex: 1;
  overflow: hidden;
}

/* ==========================================================================
   2. MAIN CONTENT STAGE AREA (Responsive Width & Margins)
   ========================================================================== */
.insta-main-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: 260px;
  width: calc(100% - 260px);
  transition: margin-left var(--transition-normal), width var(--transition-normal);
}

/* Mobile Top App Bar */
.insta-mobile-top-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1100;
  height: 56px;
  background: rgba(8, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 1rem;
  align-items: center;
  justify-content: space-between;
}

.insta-mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.insta-mobile-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  object-fit: cover;
}

.insta-mobile-brand-title {
  display: flex;
  flex-direction: column;
}

.insta-mobile-brand-title span {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.insta-mobile-brand-title small {
  font-size: 0.62rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.insta-mobile-top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-action-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}

.mobile-role-badge-btn {
  height: 34px;
  padding: 0 0.65rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
  color: #030712;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-glow-cyan);
}

/* Main Feed Wrapper */
.insta-main-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0.75rem 2.5rem;
  gap: 0.5rem;
  position: relative;
  max-width: 1420px;
  margin: 0 auto;
  width: 100%;
}

/* Feed Column */
.insta-feed-col {
  width: 100%;
  max-width: 1060px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

/* ==========================================================================
   HOMEPAGE FEATURED SINGLE VIDEO PLAYER AREA (LATEST VIDEO UPLOAD)
   ========================================================================== */
.single-hero-video-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.single-hero-video-wrap .insta-post-card {
  width: 100%;
  margin-bottom: 0;
}

.top-hero-indicator-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.5rem 0.45rem;
  background: transparent;
  width: 100%;
}

.indicator-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.indicator-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
  animation: pulseGlow 1.5s infinite;
  display: inline-block;
}

.latest-article-pill-tag {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 5;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #030712;
  font-size: 0.60rem;
  font-weight: 800;
  padding: 0.12rem 0.42rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Horizontal Articles Row (Underneath Single Video) */
.spotlight-articles-horizontal-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 0.85rem;
}

.spotlight-articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .spotlight-articles-grid-3 {
    grid-template-columns: 1fr;
  }
}

.spotlight-article-card-h {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.spotlight-article-card-h:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.spotlight-article-img-wrap-h {
  position: relative;
  width: 100%;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spotlight-article-thumb-h {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spotlight-article-card-h:hover .spotlight-article-thumb-h {
  transform: scale(1.05);
}

.spotlight-articles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.25rem 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.spotlight-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spotlight-news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  display: inline-block;
  animation: pulseGlow 1.8s infinite;
}

.spotlight-section-heading {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
  background: linear-gradient(135deg, #fff 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spotlight-view-all-link {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition-fast);
}

.spotlight-view-all-link:hover {
  color: var(--accent-cyan-hover);
  text-decoration: underline;
}

.spotlight-articles-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  justify-content: space-between;
}

.spotlight-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.spotlight-article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-gold));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.spotlight-article-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
}

.spotlight-article-card:hover::before {
  opacity: 1;
}

.spotlight-article-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 72px;
  max-height: 86px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #080c14;
}

.spotlight-article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.spotlight-article-card:hover .spotlight-article-thumb {
  transform: scale(1.08);
}

.spotlight-article-badge {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  font-size: 0.52rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: var(--accent-cyan);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.spotlight-article-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.2rem;
  min-width: 0;
}

.spotlight-article-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.spotlight-district-tag {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.65rem;
}

.spotlight-read-time {
  font-size: 0.62rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.spotlight-article-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.spotlight-article-card:hover .spotlight-article-title {
  color: var(--accent-cyan);
}

.spotlight-article-excerpt {
  font-size: 0.70rem;
  color: var(--text-secondary);
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
}

.spotlight-author-name {
  color: var(--text-muted);
  font-weight: 600;
}

.spotlight-read-action {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.70rem;
  transition: transform var(--transition-fast);
}

.spotlight-article-card:hover .spotlight-read-action {
  transform: translateX(3px);
}

/* RIGHT COLUMN: Spotlight Video Column */
.spotlight-video-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.spotlight-video-col .insta-post-card {
  margin-bottom: 0;
  height: 100%;
}

/* LOWER SECTION: Devbhoomi Video Stream Section */
.home-video-stream-section {
  width: 100%;
  position: relative;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 229, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.video-section-bracket-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 22, 38, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow-cyan);
}

.video-bracket-symbol {
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-weight: 900;
}

.video-section-main-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #fff 40%, var(--accent-cyan) 80%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-section-subtitle {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin: 0;
}

.stream-video-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

/* ==========================================================================
   3. INSTAGRAM STORIES BAR (13 DISTRICTS OF UTTARAKHAND)
   ========================================================================== */
.insta-stories-wrapper {
  position: relative;
  width: 100%;
}

.insta-stories-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.insta-stories-card::-webkit-scrollbar { display: none; }

.stories-arrow-btn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-medium);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.stories-arrow-btn:hover {
  background: var(--accent-cyan);
  color: #030712;
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-50%) scale(1.1);
}

.stories-arrow-left { left: -10px; }
.stories-arrow-right { right: -10px; }

.insta-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
  width: 66px;
  scroll-snap-align: start;
  transition: transform 0.2s ease;
  user-select: none;
  position: relative;
}

.insta-story-item:hover {
  transform: translateY(-2px);
}

.insta-story-ring-wrap {
  position: relative;
}

.insta-story-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, var(--accent-gold), #ff007a, var(--accent-cyan), var(--accent-saffron));
  background-size: 250% 250%;
  animation: story-gradient-rotate 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--transition-spring);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

@keyframes story-gradient-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.insta-story-item:hover .insta-story-ring {
  transform: scale(1.05);
  box-shadow: 0 0 18px var(--accent-cyan-glow);
}

.insta-story-item.active .insta-story-ring {
  box-shadow: 0 0 18px var(--accent-cyan);
  background: var(--accent-cyan);
}

.insta-story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-primary);
}

.insta-story-temp-chip {
  position: absolute;
  bottom: -3px;
  right: -2px;
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.05rem 0.3rem;
  border-radius: var(--radius-full);
  line-height: 1.1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.insta-story-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  max-width: 66px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 24px;
}

.story-count-dot {
  position: absolute;
  top: -2px;
  right: 2px;
  background: linear-gradient(135deg, #ef4444, #ff6d00);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 900;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bg-primary);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.6);
  z-index: 5;
}

.insta-story-ring.has-new-story {
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.6), 0 0 25px rgba(245, 158, 11, 0.4);
  border: 1.5px solid rgba(0, 229, 255, 0.8);
}


/* ==========================================================================
   4. INSTAGRAM POST CARD (VIDEO FEED & AMBIENT GLOW)
   ========================================================================== */
.insta-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.insta-post-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(0, 229, 255, 0.25), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insta-post-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.12);
  transform: translateY(-2px);
}

.insta-post-card:hover::before {
  opacity: 1;
}

.insta-post-header {
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insta-post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.insta-post-avatar-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.insta-post-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1e293b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.insta-post-user-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}

.insta-post-location {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.1rem;
}

.insta-post-location:hover {
  color: var(--accent-cyan);
}

.insta-post-more-btn {
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.insta-post-more-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* Post Media with Responsive 16:9 Aspect Ratio & Fluid Device Sizing */
.insta-media-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  min-height: 240px;
}

.single-hero-video-wrap .insta-media-container {
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

.insta-feed-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insta-media-container > img:not(.epic-center-logo-img):not(.video-watermark-logo-img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-post-card:hover .insta-media-container > img:not(.epic-center-logo-img):not(.video-watermark-logo-img) {
  transform: scale(1.04);
}

.insta-media-badge-top {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 5;
  display: flex;
  gap: 0.35rem;
}

.insta-media-cpm-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  background: rgba(3, 7, 18, 0.88);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-size: 0.70rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.insta-media-duration-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.insta-heart-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 5rem;
  pointer-events: none;
  z-index: 15;
  transition: transform 0.4s var(--transition-spring), opacity 0.4s ease;
  opacity: 0;
  filter: drop-shadow(0 0 30px rgba(255, 45, 85, 0.95));
}

.insta-heart-animation.show {
  transform: translate(-50%, -50%) scale(1.3);
  opacity: 1;
}

/* Post Action Buttons */
.insta-actions-bar {
  padding: 0.45rem 0.75rem 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insta-actions-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.insta-action-btn {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.insta-action-btn:hover {
  transform: scale(1.15);
  color: var(--accent-cyan);
}

.insta-action-btn.liked {
  color: var(--accent-red);
}

.insta-tip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(251, 133, 0, 0.15));
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.insta-tip-btn:hover {
  background: var(--accent-gold);
  color: #030712;
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-1px);
}

/* Interactive Quick Reaction Emoji Bar */
.insta-reactions-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.insta-reactions-row::-webkit-scrollbar { display: none; }

.reaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.reaction-pill:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  transform: scale(1.05);
}

.reaction-pill.active {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.insta-likes-count {
  padding: 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.insta-caption-box {
  padding: 0 0.75rem 0.35rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.insta-caption-author {
  font-weight: 800;
  color: #fff;
  margin-right: 0.35rem;
}

.insta-post-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.insta-hashtag-tag {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
}
.insta-hashtag-tag:hover {
  text-decoration: underline;
}

.insta-view-comments-btn {
  padding: 0 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  display: block;
  margin-bottom: 0.2rem;
  transition: color var(--transition-fast);
}

.insta-view-comments-btn:hover {
  color: var(--accent-cyan);
}

.insta-post-time {
  padding: 0 0.75rem 0.5rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Quick Comment Form */
.insta-comment-form {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
}

.insta-comment-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 0.82rem;
  color: var(--text-primary);
  padding: 0.2rem 0;
}

.insta-comment-input:focus {
  box-shadow: none;
  border: none;
  outline: none;
}

/* ==========================================================================
   5. RIGHT SUGGESTIONS SIDEBAR (Desktop Only)
   ========================================================================== */
.insta-right-sidebar {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.insta-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

/* Radiant Wallet Card */
.insta-wallet-side-card {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(255, 183, 3, 0.12);
}

.insta-side-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.insta-side-header h4 {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.insta-side-header a {
  font-size: 0.76rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.insta-reporters-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.insta-reporter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.insta-rep-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.insta-rep-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.80rem;
}

.insta-rep-info h5 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.insta-rep-info p {
  font-size: 0.70rem;
  color: var(--text-muted);
  margin: 0;
}

.insta-follow-btn {
  color: var(--accent-cyan);
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(0, 229, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 229, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.insta-follow-btn:hover {
  background: var(--accent-cyan);
  color: #030712;
}

.insta-follow-btn.following {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
  color: var(--text-secondary);
}

/* Trending in Devbhoomi List */
.trending-topics-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.trending-topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.trending-topic-row:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(3px);
}

.trending-topic-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trending-rank {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-gold);
  width: 16px;
}

.trending-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trending-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Sidebar Search Bar Trigger */
.sidebar-search-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 0.5rem;
  user-select: none;
}

.sidebar-search-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.search-kbd-hint {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Nav Pill Badges */
.nav-pill-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.live-pulse {
  background: rgba(255, 45, 85, 0.2);
  color: var(--accent-red);
  border: 1px solid rgba(255, 45, 85, 0.4);
}

.flame-badge {
  background: rgba(255, 109, 0, 0.2);
  color: var(--accent-saffron);
}

.count-badge {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
}

.new-badge {
  background: linear-gradient(135deg, #00e5ff, #8338ec);
  color: #fff;
}

.gold-badge {
  background: rgba(255, 183, 3, 0.2);
  color: var(--accent-gold);
}

/* Enhanced Create Button in Sidebar */
.create-btn-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.create-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.create-main-title {
  font-size: 0.95rem;
  font-weight: 800;
}

.create-sub-tag {
  font-size: 0.65rem;
  color: rgba(3, 7, 18, 0.8);
  font-weight: 700;
}

/* Global Search Modal Styles */
.search-modal-box {
  max-width: 680px;
  padding: 0;
  overflow: hidden;
}

.search-modal-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  color: var(--accent-cyan);
}

.search-modal-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--text-primary);
  outline: none;
}

.search-modal-body {
  padding: 1.25rem;
  max-height: 480px;
  overflow-y: auto;
}

.search-quick-tags {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tag-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.search-tag-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-tag-chip:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.search-res-thumb {
  width: 70px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.search-res-info h5 {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.3;
}

.search-res-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. FULLSCREEN STORY VIEWER MODAL
   ========================================================================== */
.insta-story-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.insta-story-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.story-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 50;
  transition: var(--transition-fast);
}

.story-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.insta-story-viewer-box {
  width: 100%;
  max-width: 420px;
  height: 90vh;
  max-height: 800px;
  background: #080c14;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.35);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.story-progress-bar-container {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  gap: 0.3rem;
  z-index: 30;
}

.story-bar-segment {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.story-bar-fill {
  height: 100%;
  background: #ffffff;
  transition: width 0.1s linear;
}

.story-header-overlay {
  position: absolute;
  top: 2rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 30;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.story-header-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.story-header-user img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
}

.story-header-user span {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.story-media-display {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(4, 7, 13, 0.95) 0%, rgba(4, 7, 13, 0.6) 60%, transparent 100%);
  z-index: 30;
  color: #fff;
}

/* ==========================================================================
   7. MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.insta-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(8, 14, 26, 0.96);
  border-top: 1px solid var(--border-subtle);
  z-index: 1200;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.insta-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--text-muted);
  cursor: pointer;
  flex: 1;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.insta-mobile-nav-item.active {
  color: var(--accent-cyan);
}

.insta-mobile-nav-item span {
  font-size: 0.68rem;
  font-weight: 600;
}

.mobile-nav-plus-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), #0099ff);
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: var(--shadow-glow-cyan);
  margin-top: -6px;
}

/* ==========================================================================
   7. DEVBHOOMI SHORTS, EDITORIAL INVESTIGATIONS & CITIZEN POLL WIDGETS
   ========================================================================== */

/* Stories Header */
.stories-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  padding: 0 0.25rem;
}
.stories-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stories-header-title h3 {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

/* Devbhoomi Shorts & Video Reels Section (9:16 Vertical Grid) */
.reels-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0;
  width: 100%;
}
.reels-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
}
.reels-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pink-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 12px var(--accent-pink);
  animation: pulseGlow 1.8s infinite;
}
.reels-header-left h3 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
}
.badge-vert {
  background: rgba(236, 72, 153, 0.15);
  color: var(--accent-pink);
  border: 1px solid rgba(236, 72, 153, 0.35);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
}
.reels-explore-link {
  font-size: 0.76rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}
.reels-explore-link:hover {
  text-decoration: underline;
  color: var(--accent-cyan-hover);
}

.reels-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  width: 100%;
}
@media (max-width: 640px) {
  .reels-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reel-card-vertical {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0b111e;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 9 / 16;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.reel-card-vertical:hover {
  border-color: var(--accent-pink);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.7), 0 0 20px rgba(236, 72, 153, 0.25);
}
.reel-card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.reel-card-vertical:hover .reel-card-media {
  transform: scale(1.06);
}
.reel-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 40%, rgba(3,7,18,0.92) 100%);
  z-index: 2;
}
.reel-top-row {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reel-badge-tag {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.58rem;
  font-weight: 800;
  color: #fff;
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-xs);
}
.reel-views-pill {
  color: var(--accent-pink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}
.reel-bottom-info {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  text-align: left;
}
.reel-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.2rem;
}
.reel-author-handle {
  font-size: 0.68rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* In-Depth Articles & Devbhoomi Editorials Grid */
.editorials-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: 100%;
}
.editorials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.35rem;
}
.editorials-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.editorials-header-left h3 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.editorials-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
}
@media (max-width: 640px) {
  .editorials-grid-2 {
    grid-template-columns: 1fr;
  }
}
.editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  cursor: pointer;
}
.editorial-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5), var(--shadow-glow-cyan);
}
.editorial-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.editorial-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.editorial-category-chip {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-xs);
}
.editorial-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  transition: color var(--transition-fast);
}
.editorial-card:hover .editorial-title {
  color: var(--accent-cyan);
}
.editorial-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.editorial-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
}
.editorial-author-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.editorial-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
}

/* Citizen Pulse Poll Widget */
.pulse-poll-widget {
  background: linear-gradient(135deg, rgba(15,22,38,0.95) 0%, rgba(0,229,255,0.06) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pulse-poll-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pulse-poll-header h4 {
  font-size: 0.80rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin: 0;
}
.pulse-question {
  font-size: 0.80rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}
.pulse-vote-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.2rem;
}
.pulse-vote-btn {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pulse-vote-btn:hover {
  background: rgba(0,229,255,0.1);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateX(3px);
}
.pulse-stat-pct {
  font-weight: 800;
  font-family: var(--font-mono);
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (ALL DEVICES)
   ========================================================================== */

/* Tablet View (769px - 1080px) -> Icon Rail Mode */
@media (min-width: 769px) and (max-width: 1080px) {
  .insta-left-sidebar {
    width: 76px;
    padding: 1.25rem 0.5rem;
    align-items: center;
  }

  .insta-brand-text,
  .insta-nav-item .nav-label,
  .insta-create-btn .nav-label,
  .theme-toggle-row .theme-toggle-text,
  .sidebar-user-info,
  .insta-user-bottom .nav-label {
    display: none !important;
  }

  .insta-brand {
    padding: 0 0 1rem;
    justify-content: center;
  }

  .insta-nav-item {
    justify-content: center;
    padding: 0.75rem 0;
  }

  .insta-create-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    margin: 0.75rem auto;
  }

  .theme-toggle-row {
    justify-content: center;
    padding: 0.6rem 0;
  }

  .insta-user-bottom {
    padding: 0.5rem;
    justify-content: center;
  }

  .insta-main-content-area {
    margin-left: 76px;
    width: calc(100% - 76px);
  }

  .insta-right-sidebar {
    display: none !important;
  }

  .insta-main-wrapper {
    padding: 1.25rem 1rem 3rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .insta-left-sidebar {
    display: none !important;
  }

  .insta-mobile-top-bar {
    display: flex !important;
  }

  .insta-mobile-nav {
    display: flex !important;
  }

  .insta-main-content-area {
    margin-left: 0 !important;
    width: 100% !important;
    padding-bottom: 65px;
  }

  .insta-right-sidebar {
    display: none !important;
  }

  .insta-main-wrapper {
    padding: 0.75rem 0.65rem 4rem;
    gap: 1.25rem;
  }

  .insta-stories-card {
    border-radius: var(--radius-lg);
    padding: 0.85rem 0.5rem;
    gap: 0.85rem;
  }

  .insta-story-item {
    width: 62px;
  }

  .insta-story-ring {
    width: 56px;
    height: 56px;
  }

  .insta-story-label {
    font-size: 0.68rem;
    max-width: 58px;
  }

  .insta-post-card {
    border-radius: var(--radius-lg);
  }

  .insta-post-header {
    padding: 0.75rem 1rem;
  }

  /* Responsive 16:9 Video Player on Tablets & Mobile */
  .insta-media-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: 220px;
    max-height: 380px;
  }

  .spotlight-video-col .insta-media-container {
    aspect-ratio: 16 / 9;
    min-height: 230px;
    max-height: 380px;
  }

  .spotlight-article-card {
    grid-template-columns: 100px 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .spotlight-article-img-wrap {
    min-height: 75px;
  }

  .insta-actions-bar {
    padding: 0.75rem 1rem 0.25rem;
  }

  .insta-likes-count,
  .insta-caption-box,
  .insta-view-comments-btn,
  .insta-post-time {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .insta-comment-form {
    padding: 0.65rem 1rem;
  }

  .insta-story-viewer-box {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
  .insta-main-wrapper {
    padding: 0.4rem 0.35rem 4.5rem;
  }

  /* Fluid Widescreen on Small Mobile */
  .insta-media-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: 190px;
    max-height: 280px;
  }

  .spotlight-video-col .insta-media-container {
    aspect-ratio: 16 / 9;
    min-height: 190px;
    max-height: 280px;
  }

  .spotlight-article-card {
    grid-template-columns: 85px 1fr;
    gap: 0.65rem;
    padding: 0.65rem;
  }

  .spotlight-article-img-wrap {
    min-height: 65px;
  }

  .spotlight-article-title {
    font-size: 0.82rem;
  }

  .spotlight-article-excerpt {
    display: none; /* Hide excerpt on very small mobile to prevent text overflow */
  }

  .insta-actions-left {
    gap: 0.75rem;
  }

  .insta-story-item {
    width: 56px;
  }

  .insta-story-ring {
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   FEED CONTROL TOOLBAR: AUTO-PLAY & AUTO-SCROLL (HANDS-FREE READING)
   ========================================================================== */
.feed-control-toolbar {
  background: rgba(15, 22, 38, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

.feed-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.feed-live-pulse-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-dot-cyan {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseGlow 1.4s infinite;
}

.feed-toolbar-status-text {
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.feed-toolbar-divider {
  color: var(--border-subtle);
  font-size: 0.8rem;
}

.feed-toolbar-district-tag {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.feed-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feed-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.feed-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: #fff;
}

.feed-toggle-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.5);
  color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
}

.feed-toggle-btn.active strong {
  color: #fff;
}

.autoscroll-progress-ring {
  background: var(--accent-cyan);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  font-family: var(--font-mono);
  padding: 0.05rem 0.35rem;
  border-radius: var(--radius-full);
  margin-left: 0.2rem;
}

.feed-sound-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.feed-sound-btn:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--accent-cyan);
  transform: scale(1.08);
}

/* Inline Video Player Elements */
.insta-feed-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  background: #000;
}

.feed-video-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.feed-video-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), #3b82f6);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width 0.15s linear;
}

.feed-inline-audio-pill {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.feed-inline-audio-pill:hover {
  background: rgba(0, 229, 255, 0.85);
  color: #000;
  border-color: var(--accent-cyan);
}

.feed-inline-expand-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.feed-inline-expand-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  transform: scale(1.1);
}

/* Floating Auto-Scroll Toast / Control Pill */
.floating-autoscroll-indicator {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.95);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.35);
  backdrop-filter: blur(16px);
  animation: slideUp 0.3s ease;
}

.floating-autoscroll-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.floating-autoscroll-pause-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floating-autoscroll-pause-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}


/* ==========================================================================
   EPIC UTTARAKHAND - CENTER 150x150 PLAY LOGO & WATERMARK SYSTEM
   ========================================================================== */

/* 1. CENTER MIDDLE 150x150 PLAY BUTTON LOGO EMBLEM */
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 14;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  background: rgba(0, 0, 0, 0.25);
}

.video-play-overlay.is-playing,
.video-play-overlay[style*="opacity: 0"] {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden;
}

.epic-center-play-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  min-width: 150px;
  min-height: 150px;
  max-width: 150px;
  max-height: 150px;
  border-radius: 50%;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 26, 0.88);
  border: 2.5px solid rgba(0, 229, 255, 0.85);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), 0 0 50px rgba(245, 158, 11, 0.45), inset 0 0 15px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  user-select: none;
  pointer-events: auto;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.epic-center-play-logo:hover {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #00e5ff;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.95), 0 0 65px rgba(245, 158, 11, 0.7), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.epic-center-logo-img {
  width: 150px !important;
  height: 150px !important;
  min-width: 150px !important;
  min-height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  border-radius: 50%;
  object-fit: cover !important;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* 2. TOP RIGHT DEFAULT LOGO WATERMARK (ONLY LOGO, 1 PADDING) */
.epic-video-watermark {
  position: absolute;
  top: clamp(0.5rem, 1.5cqi, 0.75rem);
  right: clamp(0.5rem, 1.5cqi, 0.75rem);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 5cqi, 38px);
  height: clamp(32px, 5cqi, 38px);
  padding: 2px;
  background: rgba(8, 12, 20, 0.90);
  border: 1.5px solid rgba(0, 229, 255, 0.55);
  border-radius: 50%;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 229, 255, 0.3);
  user-select: none;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.epic-video-watermark.pos-center,
.epic-video-watermark.center {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  padding: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 229, 255, 0.75);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5), 0 0 50px rgba(245, 158, 11, 0.35);
}

.epic-video-watermark.pos-center .video-watermark-logo-img,
.epic-video-watermark.center .video-watermark-logo-img {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
}

.video-watermark-logo-img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: cover !important;
  border: 1px solid var(--accent-gold, #f59e0b);
  display: block;
  flex-shrink: 0;
}

/* 2. TOP-LEFT LOCATION OVERLAY (CLEAN: AT SAME HEIGHT AS LOGO) */
.video-top-meta-overlay {
  position: absolute;
  top: clamp(0.5rem, 1.5cqi, 0.75rem);
  left: clamp(0.5rem, 1.5cqi, 0.75rem);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 0.8cqi, 0.45rem);
  pointer-events: none;
  max-width: calc(100% - 65px); /* Leaves room for top-right logo */
  height: clamp(32px, 5cqi, 38px);
}

.video-broadcast-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(8, 14, 26, 0.92);
  border: 1.2px solid rgba(0, 229, 255, 0.55);
  color: var(--accent-cyan, #00e5ff);
  font-size: clamp(0.62rem, 1.6cqi, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 clamp(0.55rem, 1.2cqi, 0.8rem);
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-broadcast-category-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: var(--accent-gold, #f59e0b);
  font-size: clamp(0.56rem, 1.4cqi, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: clamp(0.12rem, 0.4cqi, 0.22rem) clamp(0.35rem, 0.8cqi, 0.55rem);
  border-radius: var(--radius-sm, 4px);
  backdrop-filter: blur(8px);
}

.video-broadcast-breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  font-size: clamp(0.58rem, 1.4cqi, 0.70rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: clamp(0.14rem, 0.4cqi, 0.24rem) clamp(0.4rem, 0.8cqi, 0.58rem);
  border-radius: var(--radius-sm, 4px);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.65);
  animation: pulse-red-slow 2s infinite ease-in-out;
}

/* 3. BOTTOM HEADLINE LOWER THIRD BANNER OVERLAY (LIFTED ABOVE TICKER) */
.video-broadcast-overlay {
  position: absolute;
  bottom: calc(34px + 0.45rem); /* Lifted so headline is 100% visible above ticker */
  left: clamp(0.5rem, 1.8cqi, 0.85rem);
  right: clamp(0.5rem, 1.8cqi, 0.85rem);
  z-index: 14;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: bottom 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.insta-media-container.no-ticker .video-broadcast-overlay,
.video-player-frame.no-ticker .video-broadcast-overlay,
.editor-video-stage-frame.no-ticker .video-broadcast-overlay {
  bottom: clamp(0.5rem, 1.8cqi, 0.85rem);
}

.video-broadcast-title-banner {
  background: linear-gradient(135deg, rgba(8, 14, 26, 0.96) 0%, rgba(15, 23, 42, 0.92) 100%);
  border-left: 3.5px solid var(--accent-red, #ef4444);
  border-radius: var(--radius-sm, 6px);
  padding: clamp(0.28rem, 1.2cqi, 0.42rem) clamp(0.6rem, 1.8cqi, 0.85rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
  max-width: 96%;
}

.video-overlay-title-text {
  font-size: clamp(0.74rem, 2.1cqi, 0.92rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* 4. BROADCAST BREAKING NEWS TICKER OVERLAY (PINNED TO BOTTOM) */
.stage-ticker-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 16;
  height: 32px;
  background: linear-gradient(90deg, #1c080d 0%, #0b111e 25%, #080c14 100%);
  border-top: 1.5px solid var(--accent-red, #ef4444);
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.stage-ticker-badge {
  background: linear-gradient(135deg, #ef4444, #ff6d00);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 0.65rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  z-index: 5;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.stage-ticker-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 0.65rem;
}

.stage-ticker-content {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  animation: stageTickerScroll 20s linear infinite;
}

@keyframes stageTickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Aspect Ratio Modifiers for Dynamic Video Sizing */
.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-9-16 {
  aspect-ratio: 9 / 16;
  max-height: 520px;
  margin: 0 auto;
}

.aspect-1-1 {
  aspect-ratio: 1 / 1;
  max-height: 440px;
  margin: 0 auto;
}

.aspect-4-5 {
  aspect-ratio: 4 / 5;
  max-height: 480px;
  margin: 0 auto;
}

/* Aspect Ratio Switcher in Upload Studio */
.preview-aspect-switcher {
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--border-subtle);
}

.aspect-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-xs, 4px);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.aspect-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.aspect-btn.active {
  background: var(--accent-cyan);
  color: #030712;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
}

/* ==========================================================================
   9. INSTAGRAM REELS HORIZONTAL SNAP SLIDER
   ========================================================================== */
.insta-reels-slider-section {
  background: var(--bg-card);
  border: 1px solid rgba(253, 29, 29, 0.25);
  border-radius: var(--radius-lg, 16px);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.insta-reels-slider-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #00f0ff);
}

.insta-reels-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.insta-reels-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ig-gradient-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.35);
  flex-shrink: 0;
}

.insta-reels-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.insta-reels-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.insta-reels-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0.15rem 0 0 0;
}

.insta-reels-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.insta-follow-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.insta-follow-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.5);
  color: #ffffff;
}

.reels-slider-nav-arrows {
  display: flex;
  gap: 0.35rem;
}

.reels-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.reels-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
  color: var(--accent-cyan);
}

/* Track & Cards */
.insta-reels-slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 0.75rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(253, 29, 29, 0.4) transparent;
}

.insta-reels-slider-track::-webkit-scrollbar {
  height: 6px;
}

.insta-reels-slider-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.insta-reels-slider-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #f09433, #dc2743, #00f0ff);
  border-radius: 10px;
}

.insta-reel-slider-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  position: relative;
  background: #090f1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
  aspect-ratio: 9 / 15;
}

.insta-reel-slider-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(253, 29, 29, 0.6);
  box-shadow: 0 12px 30px rgba(220, 39, 67, 0.25), 0 0 15px rgba(0, 240, 255, 0.2);
}

.insta-reel-slider-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.insta-reel-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-reel-slider-card:hover .insta-reel-slider-img {
  transform: scale(1.08);
}

.insta-reel-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(4, 8, 18, 0.95) 100%);
  pointer-events: none;
}

.insta-reel-top-badges {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  right: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.insta-reel-pill-badge {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #ffb703;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.insta-reel-views-badge {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: monospace;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.insta-reel-play-btn-circle {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.9);
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.5);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 5;
}

.insta-reel-slider-card:hover .insta-reel-play-btn-circle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
  background: #ffffff;
}

.insta-reel-bottom-meta {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  z-index: 5;
}

.insta-reel-district-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.3rem;
}

.insta-reel-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 0.35rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.insta-reel-likes-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: #cbd5e1;
}

.insta-reel-ig-link {
  color: #ff3366;
  font-weight: 700;
  cursor: pointer;
}

.insta-reel-ig-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .insta-reel-slider-card {
    flex: 0 0 160px;
  }
}

