/* ===== VOICES HERO ===== */
.voices-hero {
  min-height: 55vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 8rem 2rem 4rem; text-align: center;
}
.voices-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.voices-hero-content h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; margin: 1rem 0; }
.voices-hero-content p { color: #8892a4; font-size: 1.05rem; margin-bottom: 2rem; }
.voices-stats-row { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.vstat { font-size: 0.9rem; color: #8892a4; font-weight: 600; }
.vstat span { color: #f5c842; font-size: 1.3rem; font-weight: 900; margin-right: 0.3rem; }
.vstat-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.1); }

/* ===== FILTER TABS ===== */
.filter-section { padding: 1.5rem 0; background: rgba(10,10,15,0.8); border-bottom: 1px solid rgba(255,255,255,0.06); position: sticky; top: 70px; z-index: 100; backdrop-filter: blur(20px); }
.filter-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.filter-tab {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: #8892a4; padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.85rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif;
}
.filter-tab:hover { border-color: rgba(245,200,66,0.3); color: #fff; }
.filter-tab.active { background: rgba(245,200,66,0.1); border-color: rgba(245,200,66,0.4); color: #f5c842; }

/* ===== VOICES GRID ===== */
.voices-section { background: #0a0a0f; }
.voices-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.voice-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 1.8rem; position: relative; overflow: hidden;
  backdrop-filter: blur(10px); transition: all 0.4s ease;
  opacity: 0; transform: translateY(20px); animation: cardIn 0.5s ease forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
.voice-card.featured { border-color: rgba(245,200,66,0.2); background: rgba(245,200,66,0.03); }
.voice-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #f5c842, #e63946); }
.voice-card:hover { border-color: rgba(245,200,66,0.3); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.voice-card.hidden { display: none; }
.voice-quote-mark { font-size: 4rem; line-height: 0.8; color: #f5c842; opacity: 0.3; font-family: Georgia, serif; margin-bottom: 0.5rem; }
.voice-text { font-size: 0.92rem; color: #c8d0dc; line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.voice-footer { display: flex; align-items: center; gap: 0.8rem; }
.voice-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #f5c842, #e8a800);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: #000;
}
.voice-meta { display: flex; flex-direction: column; gap: 0.3rem; }
.voice-name { font-size: 0.82rem; color: #8892a4; font-weight: 600; }
.voice-tag {
  display: inline-block; padding: 0.15rem 0.6rem; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.voice-tag.pressure { background: rgba(230,57,70,0.15); color: #e63946; border: 1px solid rgba(230,57,70,0.3); }
.voice-tag.placement { background: rgba(245,200,66,0.1); color: #f5c842; border: 1px solid rgba(245,200,66,0.3); }
.voice-tag.learning { background: rgba(99,179,237,0.1); color: #63b3ed; border: 1px solid rgba(99,179,237,0.3); }
.voice-tag.mental { background: rgba(154,117,234,0.1); color: #9a75ea; border: 1px solid rgba(154,117,234,0.3); }
.voice-tag.system { background: rgba(72,187,120,0.1); color: #48bb78; border: 1px solid rgba(72,187,120,0.3); }

/* ===== SHARE FORM ===== */
.share-section { background: #050508; }
.share-form-wrap { max-width: 700px; margin: 0 auto; }
.share-form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 2.5rem; backdrop-filter: blur(10px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: #c8d0dc; }
.optional { color: #4a5568; font-weight: 400; }
.required { color: #e63946; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 0.8rem 1rem; color: #fff; font-family: 'Inter', sans-serif;
  font-size: 0.9rem; transition: border-color 0.3s; outline: none; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(245,200,66,0.5); box-shadow: 0 0 0 3px rgba(245,200,66,0.08); }
.form-group select option { background: #0a0a0f; }
.char-count { text-align: right; font-size: 0.75rem; color: #4a5568; margin-top: 0.3rem; }
.star-rating { display: flex; gap: 0.3rem; }
.star { font-size: 1.8rem; color: #4a5568; cursor: pointer; transition: color 0.2s, transform 0.2s; }
.star:hover, .star.active { color: #f5c842; transform: scale(1.2); }
.btn-submit {
  width: 100%; padding: 1rem; border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #f5c842, #e8a800); color: #000;
  font-size: 1rem; font-weight: 700; font-family: 'Inter', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  transition: all 0.3s; margin-top: 0.5rem;
}
.btn-submit:hover { box-shadow: 0 0 30px rgba(245,200,66,0.3); transform: translateY(-2px); }

/* ===== COMMUNITY SECTION ===== */
.community-section { background: #0a0a0f; }
.count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(245,200,66,0.1); border: 1px solid rgba(245,200,66,0.3);
  color: #f5c842; width: 32px; height: 32px; border-radius: 50%;
  font-size: 0.85rem; font-weight: 700; vertical-align: middle; margin-left: 0.5rem;
}
.sort-bar { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center; }
.sort-bar span { color: #4a5568; font-size: 0.85rem; }
.sort-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: #8892a4; padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.82rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif;
}
.sort-btn.active { background: rgba(245,200,66,0.1); border-color: rgba(245,200,66,0.4); color: #f5c842; }
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.community-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 1.5rem; transition: all 0.3s;
  animation: cardIn 0.4s ease forwards;
}
.community-card:hover { border-color: rgba(245,200,66,0.2); transform: translateY(-4px); }
.community-card-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.community-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #e63946, #c1121f);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #fff;
}
.community-meta { flex: 1; }
.community-name { font-size: 0.85rem; font-weight: 700; color: #fff; }
.community-dept { font-size: 0.75rem; color: #4a5568; }
.community-stars { color: #f5c842; font-size: 0.85rem; letter-spacing: 1px; }
.community-text { font-size: 0.88rem; color: #8892a4; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.community-footer { display: flex; align-items: center; justify-content: space-between; }
.community-date { font-size: 0.72rem; color: #4a5568; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 4rem 2rem; color: #4a5568; }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; display: block; }
.empty-state p { font-size: 1rem; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: rgba(10,10,15,0.95); border: 1px solid rgba(245,200,66,0.4);
  color: #fff; padding: 1rem 1.5rem; border-radius: 12px; font-size: 0.9rem;
  font-weight: 600; backdrop-filter: blur(20px); transform: translateY(100px);
  opacity: 0; transition: all 0.4s ease; pointer-events: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .share-form { padding: 1.5rem; }
  .voices-hero { padding: 7rem 1.5rem 3rem; }
}

/* ===== REDDIT-INSPIRED CARDS ===== */
.voice-card.reddit-card {
  border-color: rgba(255, 69, 0, 0.2);
  background: rgba(255, 69, 0, 0.03);
}
.voice-card.reddit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #ff4500, #e63946);
}
.voice-card.reddit-card:hover {
  border-color: rgba(255, 69, 0, 0.4);
  box-shadow: 0 10px 40px rgba(255, 69, 0, 0.1);
}
.reddit-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255, 69, 0, 0.1); border: 1px solid rgba(255, 69, 0, 0.3);
  color: #ff6534; padding: 0.2rem 0.7rem; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.6rem;
}
.reddit-badge i { font-size: 0.8rem; }
