.reels-scroll-container {
  position: relative;
  padding: 0 10px;
  margin: 0 0 10px 0;
}

.reels-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 5px 10px 5px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.reels-scroll::-webkit-scrollbar {
  display: none;
}

.home-reel-card {
  min-width: 150px;
  max-width: 160px;
  height: 260px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.home-reel-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.home-reel-card:hover video {
  filter: brightness(1.1);
}
.home-reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-reel-card .reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.8));
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s;
}
.home-reel-card:hover .reel-overlay {
  background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.7));
}
.home-reel-card .reel-overlay .views {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.home-reel-card .reel-overlay .title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-header {
  position: relative;
  display: flex;
  align-items: center;
  margin: 15px 0 0 0;
}
.section-header .section-titles {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
}
.section-header .section-titles::before, .section-header .section-titles::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--nav-border);
}
.section-header .section-titles span {
  padding: 0 15px;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.see-all-btn {
  font-size: 12px;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  background: #f0f7ff;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}
.see-all-btn:hover {
  background: var(--nav-hover);
}
@media (max-width: 768px) {
  .see-all-btn {
    font-size: 11px;
    padding: 5px 12px;
  }
}

.premium-scroll,
.feed-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 5px 5px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.premium-scroll::-webkit-scrollbar,
.feed-scroll::-webkit-scrollbar {
  display: none;
}

.premium-card {
  min-width: 260px;
  max-width: 280px;
  flex-shrink: 0;
  background: var(--nav-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--nav-border);
}
.premium-card .card-image {
  position: relative;
}
.premium-card .card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.premium-card .card-image .top-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px 8px;
  border-radius: 20px;
  color: #fff;
}
.premium-card .card-image .top-overlay .profile-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.premium-card .card-image .top-overlay .profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.premium-card .card-image .top-overlay .user-name {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.premium-card .card-image .img-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.premium-card .card-image .img-overlay .overlay-left h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.premium-card .card-image .img-overlay .overlay-left p {
  margin: 2px 0 0;
  font-size: 12px;
}
.premium-card .card-image .img-overlay .overlay-right {
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.premium-card .view-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--nav-input-bg);
  color: var(--nav-text-primary);
  text-decoration: none;
  font-weight: 500;
  border-top: 1px solid var(--nav-border);
  transition: 0.3s;
}
.premium-card .view-btn:hover {
  background: var(--nav-hover);
}

@media (max-width: 768px) {
  .section-header {
    width: 100% !important;
    margin-bottom: 15px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .section-titles {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }
  .premium-card {
    min-width: 300px;
    max-width: 92vw;
    width: 92vw;
  }
  /* Uniform Font Sizes for Mobile */
  h1, h2, h3, h4, .section-title, .section-titles span, p, .feed-input__tagline, .quick-action-btn span, .poll-question {
    font-size: 14px !important;
    font-weight: 600 !important;
  }
  
  .section-titles span {
    padding: 0;
  }
  .premium-scroll {
    gap: 15px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .section-header .section-titles::before, 
  .section-header .section-titles::after {
    display: none;
  }
  .section-titles {
    justify-content: flex-start !important;
  }
  .section-titles span {
    font-size: 14px !important;
    font-weight: 600 !important;
    padding-left: 0;
  }
}

.empty-reels-msg {
  width: 100%;
  text-align: center;
  color: #888;
  padding: 40px 20px;
  font-size: 15px;
  font-weight: 500;
  background: #fcfcfc;
  border-radius: 12px;
  border: 1px dashed #ddd;
}

/* Feed Input Premium Section */
.feed-input-premium {
  background: var(--nav-card);
  border: 1px solid var(--nav-border);
  border-radius: 20px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.feed-input__header-row {
  margin-bottom: 15px;
}

.enter-feed-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--nav-text-secondary);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

.enter-feed-link i {
  font-size: 20px;
  color: var(--nav-text-secondary);
}

.enter-feed-link:hover {
  color: #2563eb;
}

.feed-input__divider {
  height: 1px;
  background: var(--nav-bg);
  width: 100%;
  margin-bottom: 15px;
}

.feed-input__tagline {
  font-size: 14px;
  color: var(--nav-text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 500;
}

.feed-input__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--nav-input-bg);
  border: 1px solid var(--nav-border);
  color: var(--nav-text-primary);
}

.quick-action-btn i {
  font-size: 16px;
}

.quick-action-btn:active {
  transform: scale(0.96);
}

/* Specific button colors */
.quick-action-btn.property i { color: #2563eb; }
.quick-action-btn.project i { color: #2563eb; }
.quick-action-btn.post i { color: #0d6efd; }
.quick-action-btn.bytes i { color: #ef4444; }

@media (max-width: 480px) {
  .feed-input-premium {
    padding: 16px;
    margin: 10px;
  }
  
  .feed-input__quick-actions {
    gap: 8px;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .feed-input__quick-actions::-webkit-scrollbar {
    display: none;
  }
  
  .quick-action-btn {
    padding: 8px 12px;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: fit-content;
  }
  
  .feed-input__tagline {
    margin-bottom: 12px;
  }
}
