/* ══════════════════════════════════════════════════
   Yadanarbon Hub — Dark Glassmorphism Design System
   ══════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─────────────────────── */
:root {
  /* Colors */
  --bg-deep:      #06060f;
  --bg-dark:      #0a0a1a;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-card-hover:rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.08);
  --glass-border-hover: rgba(139,92,246,0.4);

  /* Accent Gradients */
  --accent-primary: #8b5cf6;
  --accent-secondary: #3b82f6;
  --accent-glow:    rgba(139,92,246,0.3);
  --gradient-main:  linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  --gradient-card:  linear-gradient(135deg, rgba(139,92,246,0.1) 0%, rgba(59,130,246,0.05) 100%);

  /* Text */
  --text-primary:   #f0f0ff;
  --text-secondary: #a0a0c0;
  --text-muted:     #606080;
  --text-accent:    #c4b5fd;

  /* Category Colors */
  --cat-academic:   #4ade80;
  --cat-scholarship:#facc15;
  --cat-event:      #f472b6;
  --cat-social:     #60a5fa;
  --cat-creative:   #fb923c;
  --cat-help:       #34d399;
  --cat-news:       #a78bfa;
  --cat-general:    #94a3b8;

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans Myanmar', system-ui, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; outline: none; background: none; font: inherit; }
img { max-width: 100%; display: block; }
input { font: inherit; }

/* ─── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: 3px; }

/* ─── HEADER ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6,6,15,0.8);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(139,92,246,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.85; }

.logo-icon { font-size: 28px; }

.logo-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-link.nav-cta {
  background: var(--gradient-main);
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
}

.nav-link.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(10,10,26,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px;
  gap: 8px;
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-slow);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav .nav-link {
  width: 100%;
  text-align: center;
  padding: 12px;
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 24px 80px;
  text-align: center;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(139,92,246,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59,130,246,0.12) 0%, transparent 60%);
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 300px; height: 300px; background: rgba(139,92,246,0.12); top: -50px; left: 10%; animation-delay: 0s; }
.orb-2 { width: 200px; height: 200px; background: rgba(59,130,246,0.1); top: 20%; right: 10%; animation-delay: -3s; }
.orb-3 { width: 150px; height: 150px; background: rgba(236,72,153,0.08); bottom: 10%; left: 50%; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
  position: relative;
  max-width: 700px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-accent);
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease;
}

.hero-title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  animation: fadeInDown 0.7s ease 0.1s both;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  animation: fadeInDown 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInDown 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeInDown 0.7s ease 0.4s both;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,92,246,0.5);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.btn-tg {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #229ED9, #0088cc);
  color: #fff;
}
.btn-tg:hover { opacity: 0.9; transform: translateY(-1px); }

/* ─── MAIN LAYOUT ────────────────────────────────── */
.main-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* ─── SIDEBAR ────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.cat-btn:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}

.cat-btn.active {
  background: rgba(139,92,246,0.15);
  color: var(--text-accent);
  border: 1px solid rgba(139,92,246,0.3);
}

/* Trending */
.trending-list { display: flex; flex-direction: column; gap: 12px; }

.trending-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.trending-item:hover { background: rgba(255,255,255,0.04); }

.trending-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-muted);
  min-width: 24px;
  line-height: 1;
}

.trending-text {
  font-size: 13px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Telegram promo */
.sidebar-telegram { background: var(--gradient-card); }
.tg-promo {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.tg-icon { font-size: 28px; }
.tg-promo strong { display: block; font-size: 15px; margin-bottom: 2px; }
.tg-promo p { font-size: 12px; color: var(--text-muted); }

/* ─── FEED ───────────────────────────────────────── */
.feed-section { min-height: 400px; }

.feed-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  transition: border-color var(--transition);
}

.search-box:focus-within {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}
.search-input::placeholder { color: var(--text-muted); }

.sort-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 4px;
}

.sort-btn {
  padding: 7px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.sort-btn.active {
  background: var(--gradient-main);
  color: #fff;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ─── POST CARD ──────────────────────────────────── */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.4s ease both;
}

.post-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.post-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.15);
}
.post-card:hover::before { opacity: 1; }

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.post-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.post-meta { flex: 1; min-width: 0; }

.post-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-time {
  font-size: 12px;
  color: var(--text-muted);
}

.post-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* Category badge colors */
.cat-academic   { background: rgba(74,222,128,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.cat-scholarship{ background: rgba(250,204,21,0.15); color: #facc15; border: 1px solid rgba(250,204,21,0.3); }
.cat-event      { background: rgba(244,114,182,0.15); color: #f472b6; border: 1px solid rgba(244,114,182,0.3); }
.cat-social     { background: rgba(96,165,250,0.15); color: #60a5fa; border: 1px solid rgba(96,165,250,0.3); }
.cat-creative   { background: rgba(251,146,60,0.15); color: #fb923c; border: 1px solid rgba(251,146,60,0.3); }
.cat-help       { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.cat-news       { background: rgba(167,139,250,0.15); color: #a78bfa; border: 1px solid rgba(167,139,250,0.3); }
.cat-general    { background: rgba(148,163,184,0.15); color: #94a3b8; border: 1px solid rgba(148,163,184,0.3); }

/* Post Content */
.post-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Post Images */
.post-images {
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.post-image-single {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.post-image-grid {
  display: grid;
  gap: 4px;
}
.post-image-grid.grid-2 { grid-template-columns: 1fr 1fr; }
.post-image-grid.grid-3 { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.post-image-grid.grid-3 .img-item:first-child { grid-row: span 2; }

.img-item {
  overflow: hidden;
  border-radius: 8px;
}
.img-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.img-item img:hover { transform: scale(1.03); }

.more-photos-overlay {
  position: relative;
}
.more-photos-overlay::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* Post Footer */
.post-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
}

.reaction-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.reaction-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: scale(1.05);
}

.reaction-btn.reacted {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.4);
  color: var(--text-accent);
}

.reaction-count { font-size: 12px; }

.post-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
}

.action-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.07);
}

/* ─── SKELETON LOADERS ───────────────────────────── */
.post-skeleton, .trending-skeleton {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.sk-header { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }

.sk-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-border);
  flex-shrink: 0;
}

.sk-meta { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.sk-line {
  height: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
}
.sk-line-40 { width: 40%; }
.sk-line-60 { width: 60%; }
.sk-line-70 { width: 70%; }
.sk-line-80 { width: 80%; }
.sk-line-90 { width: 90%; }

.sk-img-placeholder {
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

/* ─── EMPTY STATE ────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 32px;
  padding-bottom: 40px;
}

/* ─── MODAL ──────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,6,15,0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  padding: 20px;
  overflow-y: auto;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-content {
  background: #12122a;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  margin: auto;
  position: relative;
  padding: 32px;
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text-secondary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }

/* ─── TOAST ──────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1a35;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  z-index: 300;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(10,10,26,0.6);
  backdrop-filter: blur(10px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-accent); }

.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── UTILITIES ──────────────────────────────────── */
.hidden { display: none !important; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
    padding: 20px 16px 60px;
  }

  .sidebar {
    position: static;
    order: 2;
  }

  .feed-section { order: 1; }

  .sidebar .sidebar-card:not(:first-child) { display: none; }

  .category-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cat-btn { width: auto; }
}

@media (max-width: 640px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero {
    padding: 110px 16px 60px;
    min-height: 440px;
  }

  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }

  .post-card { padding: 16px; }
  .reaction-group { flex-wrap: wrap; gap: 6px; }

  .feed-controls { flex-direction: column; }
  .search-box { width: 100%; }

  .modal-content { padding: 20px; border-radius: var(--radius-lg); }
}
