/* ─── PAGE HERO ─── */
.page-hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 50% 30%, rgba(37,99,235,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 80% 70%, rgba(6,182,212,0.1) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.page-hero-content { position: relative; z-index: 1; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.35);
  border-radius: 50px; padding: 6px 18px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #93c5fd; margin-bottom: 24px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.1;
  background: linear-gradient(135deg, #fff 40%, #93c5fd 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px;
}
.page-hero-desc {
  color: rgba(255,255,255,0.5); font-size: 1.05rem; line-height: 1.9;
  max-width: 560px; margin: 0 auto 40px;
}

/* App jump nav */
.app-jump-nav {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.jump-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: all 0.25s ease; text-decoration: none; border: 1px solid;
}
.jump-btn-blue {
  background: rgba(37,99,235,0.12); border-color: rgba(37,99,235,0.3); color: #60a5fa;
}
.jump-btn-blue:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.jump-btn-cyan {
  background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.25); color: #22d3ee;
}
.jump-btn-cyan:hover { background: #0891b2; border-color: #0891b2; color: #fff; transform: translateY(-2px); }
.jump-btn-purple {
  background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.25); color: #a78bfa;
}
.jump-btn-purple:hover { background: #7c3aed; border-color: #7c3aed; color: #fff; transform: translateY(-2px); }

/* ─── APP DETAIL SECTION ─── */
.app-section {
  padding: 100px 0;
  position: relative;
  scroll-margin-top: 80px;
}
.app-section + .app-section {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Accent glow per app */
.app-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.12;
  top: 50%; left: -200px;
  transform: translateY(-50%);
}
.app-section.glow-blue::before { background: #2563eb; }
.app-section.glow-cyan::before { background: #06b6d4; }
.app-section.glow-purple::before { background: #8b5cf6; left: auto; right: -200px; }

/* App header row */
.app-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 56px;
}
.app-logo-box {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
  border: 1px solid;
}
.logo-blue { background: rgba(37,99,235,0.2); border-color: rgba(37,99,235,0.4); }
.logo-cyan { background: rgba(6,182,212,0.15); border-color: rgba(6,182,212,0.35); }
.logo-purple { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.3); }

.app-header-info { flex: 1; }
.app-badge {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.badge-blue { background: rgba(37,99,235,0.2); color: #60a5fa; border: 1px solid rgba(37,99,235,0.3); }
.badge-cyan { background: rgba(6,182,212,0.15); color: #22d3ee; border: 1px solid rgba(6,182,212,0.3); }
.badge-purple { background: rgba(139,92,246,0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }

.app-header-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; letter-spacing: -1px; line-height: 1.1; color: #fff;
}
.app-header-info .app-sub {
  color: rgba(255,255,255,0.45); font-size: 1rem; margin-top: 6px;
}
.app-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-store {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-size: 0.9rem;
  font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: 1px solid;
}
.btn-store-primary {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}
.btn-store-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.5); color: #fff; }
.btn-store-ghost { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }
.btn-store-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff; }

/* Main layout: mockup left, info right */
.app-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.app-layout.reverse { direction: rtl; }
.app-layout.reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .app-layout, .app-layout.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .app-header { flex-wrap: wrap; }
  .app-header-actions { width: 100%; }
}

/* Screenshot mockup */
.app-mockup {
  position: relative;
}
.mockup-phone {
  width: 100%; max-width: 320px; margin: 0 auto;
  background: #0a0f1e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  position: relative;
}
.mockup-phone::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #0a0f1e;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}
.mockup-screen {
  border-radius: 32px; overflow: hidden;
  aspect-ratio: 9/18;
  position: relative;
}
.mockup-screen img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Fallback screen when no image */
.mockup-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
}
.mockup-fallback-icon { font-size: 4rem; }
.mockup-fallback-name { font-size: 1.2rem; font-weight: 700; }
.mockup-fallback-sub { font-size: 0.85rem; opacity: 0.5; }

/* Floating badge on mockup */
.mockup-float {
  position: absolute;
  background: rgba(13,21,38,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.mockup-float-1 { bottom: 60px; right: -24px; }
.mockup-float-2 { top: 80px; left: -24px; }
@media (max-width: 500px) { .mockup-float { display: none; } }
.mf-icon { font-size: 1.4rem; }
.mf-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.mf-value { font-size: 0.95rem; font-weight: 700; color: #fff; }

/* App info right col */
.app-info { }
.app-desc {
  color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.9;
  margin-bottom: 36px;
}

/* Feature list */
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.feature-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s ease;
}
.feature-row:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); transform: translateX(4px); }
.feature-row-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.fi-blue { background: rgba(37,99,235,0.2); }
.fi-cyan { background: rgba(6,182,212,0.15); }
.fi-purple { background: rgba(139,92,246,0.15); }
.feature-row-text { flex: 1; }
.feature-row-title { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.feature-row-desc { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* Stats row */
.app-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px;
}
.app-stat-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 18px 16px; text-align: center;
}
.app-stat-num { font-size: 1.5rem; font-weight: 800; }
.app-stat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.stat-blue { color: #60a5fa; }
.stat-cyan { color: #22d3ee; }
.stat-purple { color: #a78bfa; }

/* Tags */
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 36px; }
.tag {
  padding: 5px 12px; border-radius: 7px;
  font-size: 0.78rem; font-weight: 500;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.08);
}

/* CTA row */
.app-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── OTHER APPS STRIP ─── */
.other-apps-section {
  padding: 80px 0;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #60a5fa; margin-bottom: 10px;
}
.section-title-sm {
  font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg,#fff 40%,#93c5fd 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 40px;
}

.mini-app-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 28px; height: 100%;
  transition: all 0.3s ease; cursor: pointer; text-decoration: none; display: block;
}
.mini-app-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.12); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.mini-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mini-card-icon {
  width: 50px; height: 50px; border-radius: 14px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid;
}
.mini-card-title { font-size: 1.1rem; font-weight: 700; color: #fff; }
.mini-card-cat { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.mini-card-desc { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.mini-card-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.82rem; font-weight: 600; margin-top: 16px;
  text-decoration: none; transition: gap 0.2s;
}
.mini-card-link:hover { gap: 9px; }

/* ─── CATEGORY TABS ─── */
.cat-tabs-wrap { position: sticky; top: 60px; z-index: 90; background: rgba(8,12,20,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0; }
.cat-tabs { display: flex; gap: 4px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; border-radius: 50px; font-size: 0.88rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all 0.22s ease; white-space: nowrap; background: transparent; color: rgba(255,255,255,0.5); font-family: inherit; }
.cat-tab:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.cat-tab.active { background: rgba(37,99,235,0.18); border-color: rgba(37,99,235,0.4); color: #93c5fd; }
.cat-tab .tab-count { font-size: 0.72rem; padding: 2px 7px; border-radius: 20px; background: rgba(255,255,255,0.1); }
.cat-tab.active .tab-count { background: rgba(37,99,235,0.35); }

/* ─── MAIN LAYOUT ─── */
.community-wrap { padding: 48px 0 100px; }
.main-col { }
.side-col { }

/* ─── WRITE BOX ─── */
.write-box { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 24px; margin-bottom: 28px; transition: border-color 0.2s; }
.write-box:focus-within { border-color: rgba(37,99,235,0.4); }
.write-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.write-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.write-input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px 18px; color: #fff; font-family: inherit; font-size: 0.95rem; resize: none; min-height: 90px; line-height: 1.7; transition: border-color 0.2s; }
.write-input:focus { outline: none; border-color: rgba(37,99,235,0.5); background: rgba(255,255,255,0.06); }
.write-input::placeholder { color: rgba(255,255,255,0.28); }
.write-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.write-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.wtag { padding: 5px 13px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; cursor: pointer; border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); background: transparent; transition: all 0.2s; font-family: inherit; }
.wtag:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
.wtag.selected { background: rgba(37,99,235,0.2); border-color: rgba(37,99,235,0.5); color: #93c5fd; }
.write-actions { display: flex; gap: 8px; }
.btn-submit { background: linear-gradient(135deg, var(--blue), #1d4ed8); border: none; padding: 10px 24px; border-radius: 12px; font-size: 0.88rem; font-weight: 700; color: #fff; cursor: pointer; transition: all 0.25s ease; font-family: inherit; box-shadow: 0 4px 16px rgba(37,99,235,0.35); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.5); }

/* ─── POST FILTERS ─── */
.post-filters { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.sort-tabs { display: flex; gap: 4px; }
.sort-tab { padding: 6px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; color: rgba(255,255,255,0.45); background: transparent; transition: all 0.2s; font-family: inherit; }
.sort-tab.active, .sort-tab:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.1); }
.sort-tab.active { color: #fff; }
.filter-count { font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ─── POST CARD ─── */
.posts-list { display: flex; flex-direction: column; gap: 12px; }
.post-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 22px 24px; cursor: pointer; transition: all 0.25s ease; position: relative; overflow: hidden; }
.post-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; border-radius:18px 0 0 18px; opacity:0; transition: opacity 0.2s; }
.post-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.post-card:hover::before { opacity: 1; }
.post-card.cat-update::before { background: #f59e0b; }
.post-card.cat-review::before { background: #10b981; }
.post-card.cat-feature::before { background: #8b5cf6; }
.post-card.cat-bug::before { background: #ef4444; }
.post-card.cat-general::before { background: #3b82f6; }
.post-card.pinned { border-color: rgba(245,158,11,0.25); background: rgba(245,158,11,0.04); }

.post-card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.post-card-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
.avatar-dev { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.avatar-user { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.avatar-user2 { background: rgba(139,92,246,0.25); color: #a78bfa; }
.avatar-user3 { background: rgba(16,185,129,0.2); color: #34d399; }
.avatar-user4 { background: rgba(245,158,11,0.2); color: #fbbf24; }
.avatar-user5 { background: rgba(239,68,68,0.2); color: #f87171; }

.post-card-meta { flex: 1; min-width: 0; }
.post-meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.post-author { font-size: 0.88rem; font-weight: 700; color: #fff; }
.post-dev-badge { font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; background: linear-gradient(135deg, rgba(37,99,235,0.3), rgba(6,182,212,0.2)); border: 1px solid rgba(37,99,235,0.4); color: #93c5fd; font-weight: 700; letter-spacing: 0.3px; }
.post-time { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.post-pin { font-size: 0.75rem; color: #f59e0b; }

.post-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3px; }
.badge-update { background: rgba(245,158,11,0.2); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.badge-review { background: rgba(16,185,129,0.2); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.badge-feature { background: rgba(139,92,246,0.2); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.badge-bug { background: rgba(239,68,68,0.2); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.badge-general { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.badge-app-bt { background: rgba(37,99,235,0.15); color: #60a5fa; border: 1px solid rgba(37,99,235,0.25); }
.badge-app-vd { background: rgba(6,182,212,0.12); color: #22d3ee; border: 1px solid rgba(6,182,212,0.25); }
.badge-app-tb { background: rgba(139,92,246,0.12); color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }

.post-card-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 7px; line-height: 1.45; }
.post-card-preview { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.post-card-bottom { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.05); }
.post-stat { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color 0.2s; cursor: pointer; }
.post-stat:hover { color: rgba(255,255,255,0.7); }
.post-stat svg { flex-shrink: 0; }
.post-stat.liked { color: #f87171; }
.post-views { margin-left: auto; font-size: 0.78rem; color: rgba(255,255,255,0.2); }

/* ─── LOAD MORE ─── */
.load-more-wrap { text-align: center; margin-top: 32px; }
.btn-load-more { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); padding: 12px 36px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.25s ease; font-family: inherit; }
.btn-load-more:hover { background: rgba(37,99,235,0.15); border-color: rgba(37,99,235,0.4); color: #93c5fd; }

/* ─── SIDEBAR ─── */
.sidebar-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 22px; margin-bottom: 16px; }
.sidebar-title { font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.sidebar-title-icon { font-size: 1rem; }

/* App filter btns */
.app-filter-btns { display: flex; flex-direction: column; gap: 8px; }
.app-filter-btn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: all 0.2s; font-family: inherit; background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.65); font-size: 0.88rem; font-weight: 600; }
.app-filter-btn:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); color: #fff; }
.app-filter-btn.active-bt { background: rgba(37,99,235,0.15); border-color: rgba(37,99,235,0.35); color: #93c5fd; }
.app-filter-btn.active-vd { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.3); color: #22d3ee; }
.app-filter-btn.active-all { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); color: #fff; }
.afb-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.afb-count { margin-left: auto; font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* Hot posts */
.hot-list { display: flex; flex-direction: column; gap: 2px; }
.hot-item { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 10px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.hot-item:hover { background: rgba(255,255,255,0.05); }
.hot-rank { font-size: 0.82rem; font-weight: 800; min-width: 20px; color: rgba(255,255,255,0.25); }
.hot-rank.top { color: #f59e0b; }
.hot-item-text { flex: 1; min-width: 0; }
.hot-title { font-size: 0.85rem; color: rgba(255,255,255,0.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-meta { font-size: 0.72rem; color: rgba(255,255,255,0.3); margin-top: 2px; }

/* Notice list */
.notice-list { display: flex; flex-direction: column; gap: 4px; }
.notice-item { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 10px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.notice-item:hover { background: rgba(255,255,255,0.05); }
.notice-dot { width: 7px; height: 7px; border-radius: 50%; background: #3b82f6; flex-shrink: 0; }
.notice-dot.new { background: #f59e0b; animation: nblink 1.5s infinite; }
@keyframes nblink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.notice-text { flex: 1; min-width: 0; }
.notice-title { font-size: 0.85rem; color: rgba(255,255,255,0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-date { font-size: 0.72rem; color: rgba(255,255,255,0.28); margin-top: 2px; }

/* Tags cloud */
.tags-cloud { display: flex; gap: 7px; flex-wrap: wrap; }
.cloud-tag { padding: 5px 13px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); transition: all 0.2s; }
.cloud-tag:hover { background: rgba(37,99,235,0.15); border-color: rgba(37,99,235,0.35); color: #93c5fd; }

/* ─── SECTION DIVIDERS ─── */
.section-divider { display: flex; align-items: center; gap: 14px; margin: 36px 0 22px; }
.sd-label { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.sd-line { flex: 1; height: 1px; background: rgba(255,255,255,0.07); }

/* ─── EMPTY STATE ─── */
.empty-state { text-align: center; padding: 60px 20px; color: rgba(255,255,255,0.3); }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 14px; }
.empty-state-msg { font-size: 0.95rem; }

/* ─── MODAL / DETAIL ─── */
.post-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(12px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.post-modal-overlay.open { opacity: 1; pointer-events: all; }
.post-modal { background: #0d1526; border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; width: 100%; max-width: 680px; max-height: 85vh; overflow-y: auto; padding: 32px; position: relative; transform: translateY(20px); transition: transform 0.25s ease; }
.post-modal-overlay.open .post-modal { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); color: #fff; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.modal-close:hover { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.4); transform: rotate(90deg); }
.modal-post-title { font-size: 1.35rem; font-weight: 800; color: #fff; margin: 16px 0 12px; line-height: 1.4; letter-spacing: -0.3px; }
.modal-post-body { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.9; }
.modal-divider { border-color: rgba(255,255,255,0.07); margin: 24px 0; }

/* Comments */
.comments-title { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.comment-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.comment-item { display: flex; gap: 12px; }
.comment-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.comment-author { font-size: 0.85rem; font-weight: 700; }
.comment-time { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.comment-text { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.comment-write { display: flex; gap: 10px; margin-top: 4px; }
.comment-input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 11px 16px; color: #fff; font-family: inherit; font-size: 0.88rem; resize: none; min-height: 56px; line-height: 1.6; transition: border-color 0.2s; }
.comment-input:focus { outline: none; border-color: rgba(37,99,235,0.5); }
.comment-input::placeholder { color: rgba(255,255,255,0.25); }
.btn-comment { background: var(--blue); border: none; padding: 10px 18px; border-radius: 12px; color: #fff; font-size: 0.85rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.2s; align-self: flex-end; white-space: nowrap; }
.btn-comment:hover { background: #1d4ed8; transform: translateY(-1px); }