/* ===========================
   FAN FEED (FreakFeed)
   matches Fan Home aesthetic
=========================== */

body.premium-bg{
  background: #0a0a0f;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* layout wrappers */
.feed-hero,
.feed-filters,
.feed-layout{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* "glass card" base */
.glass-card{
  background: rgba(25, 18, 40, 0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 30px rgba(120, 40, 200, 0.12);
}

/* hero */
.feed-hero{
  margin-top: 16px;
  margin-bottom: 10px;
  padding: 18px;
}

.feed-hero h1{
  font-size: 26px;
  margin: 0 0 6px;
  letter-spacing: .2px;
}

.feed-hero p{
  margin: 0;
  opacity: .78;
}

#feedMode{
  margin-top: 10px;
  opacity: .7;
  font-size: .9rem;
}

/* filters */
.feed-filters{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 16px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.filter{
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  opacity: .88;
  font-weight: 700;
}

.filter:hover{ opacity: 1; }

.filter.active{
  opacity: 1;
  background: linear-gradient(135deg,#ff6fd3,#9d6bff);
  color: #1a001f;
  border: none;
  font-weight: 900;
}

/* feed container */
.feed-layout{
  padding: 0 16px 60px;
}

#fanFeedTimeline .post{
  margin-bottom: 14px;
}

/* post header */
.post-header{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.post-header h3{
  margin: 0;
  font-size: 1.05rem;
  color: #f1e9ff;
}

.post-header span{
  opacity: .75;
  font-size: .85rem;
}

/* tags */
.tag{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
  height: fit-content;
}

.tag.hot{
  background: linear-gradient(135deg,#ff6fd3,#9d6bff);
  color: #1a001f;
  border: none;
}

.tag.locked{
  background: rgba(255,209,102,.12);
  border: 1px solid rgba(255,209,102,.35);
  color: #ffe8b1;
}

/* post text */
.post-text{
  margin: 8px 0 12px;
  opacity: .92;
  white-space: pre-wrap;
  line-height: 1.45;
}

/* media */
.post-video,
.post-image{
  width: 100%;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 28px rgba(160, 60, 255, 0.20);
}

audio{
  width: 100%;
  border-radius: 14px;
}

/* locked box */
.post-locked{
  opacity: 0.92;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}

/* footer buttons */
.post-footer{
  display: flex;
  gap: 16px;
  padding-top: 10px;
}

.post-footer button{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: #d6c4ff;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 1rem;
}

.post-footer button:hover{
  box-shadow: 0 0 18px rgba(180,124,255,.35);
  transform: translateY(-1px);
}

/* responsive */
@media (max-width: 520px){
  .feed-hero h1{ font-size: 22px; }
  .filter{ padding: 7px 12px; }
}