/* ============================================================
   MOBILE STYLES (unchanged)
   These remain your default mobile-first UI styles
============================================================ */

/* TRENDING BAR */
.trending-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.25);
  padding: 0.8rem 1rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.trending-icon {
  font-size: 1.2rem;
}

.trending-scroll {
  display: flex;
  gap: 20px;
  animation: trendingScroll 12s linear infinite;
}

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

/* NEW POSTS BANNER */
.new-posts-banner {
  background: #ff8f1f;
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  width: fit-content;
  margin: 0 auto 1rem;
  display: none;
}

/* COMPOSER — WHITE VERSION */
.composer-card {
  display: flex;
  gap: 12px;
  background: #ffffff;
  color: #111827;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  margin-bottom: 1.5rem;
}

.composer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
}

.composer-input-area {
  flex: 1;
}

.composer-input-area textarea {
  width: 100%;
  background: #f3f4f6;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.8rem;
  border-radius: 12px;
  color: #111827;
  resize: none;
  height: 60px;
}

.composer-tools {
  display: flex;
  gap: 10px;
  margin-top: 0.5rem;
}

.composer-btn {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

.composer-post-btn {
  background: #ff8f1f;
  color: #000;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* STICKY HEADER */
.social-sticky-header {
  position: fixed;
  top: -60px;
  left: 0;
  width: 100%;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(10px);
  padding: 0.8rem;
  text-align: center;
  font-weight: 700;
  z-index: 999;
  transition: top 0.3s ease;
}

/* PROFILE DRAWER */
.profile-drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(12px);
  padding: 2rem 1.5rem;
  border-radius: 20px 20px 0 0;
  transition: bottom 0.35s ease;
  z-index: 999;
}

.drawer-header {
  text-align: right;
}

.drawer-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 1rem auto;
  display: block;
}

.drawer-stats {
  display: flex;
  justify-content: space-around;
  margin: 1rem 0;
}

.drawer-stats div {
  text-align: center;
}

.follow-btn {
  width: 100%;
  padding: 0.8rem;
  background: #ff8f1f;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   DESKTOP OVERRIDES (NEW)
   These activate only on screens wider than 900px
============================================================ */

@media (min-width: 900px) {

  /* Composer becomes full-width inside center column */
  .composer-card {
    margin: 0;
    border-radius: 14px;
  }

  /* Trending bar becomes sidebar widget */
  .trending-bar {
    margin: 0;
    width: 100%;
    background: rgba(255,255,255,0.08);
  }

  /* Remove mobile auto-centering */
  .new-posts-banner {
    margin: 0;
  }

  /* Sticky header is disabled on desktop */
  .social-sticky-header {
    display: none;
  }

  /* Drawer stays mobile-only */
  .profile-drawer {
    display: none;
  }
}
