:root { --forum-maxw: 1100px; }
*{box-sizing:border-box} html,body{height:100%}
body{
  margin:0; color:var(--text);
  font:16px/1.6 "Inter",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background:
    radial-gradient(1200px 800px at 15% 0%, var(--bg2), transparent 60%),
    radial-gradient(1000px 700px at 85% 0%, var(--bg3), transparent 60%),
    var(--bg1);
  background-repeat: no-repeat;
  overflow-x:hidden;
}
.wrap{ min-height:calc(100dvh - 140px); padding:16px; display:grid; place-items:flex-start; }
.sheet{ width:100%; max-width:var(--test-maxw); }

/* Header-ul secțiunii din card */
.doc-header{
  display:flex; align-items:center; gap:14px; padding:10px 12px; border-radius:18px;
  background:linear-gradient(180deg,rgba(59,130,246,.10),rgba(59,130,246,.04));
  border:1px solid rgba(59,130,246,.15); box-shadow:var(--shadow-md); margin-bottom:22px
}
.badge{width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:var(--card); border:1px solid var(--glass-border)}
.title{margin:0; font-weight:900; letter-spacing:.2px; line-height:1.15; font-size:clamp(20px,2.4vw,28px)}
.subtitle{margin:2px 0 0; color:var(--muted); font-weight:600; font-size:14px}

/* Grid link-uri forum */
.forum-links{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:16px;
  margin-top:12px;
}
.forum-thread{
  display:flex; align-items:center; gap:10px;
  padding:14px 16px;
  background:linear-gradient(135deg,rgba(59,130,246,.08),rgba(96,165,250,.08));
  border:1px solid rgba(59,130,246,.15);
  border-radius:14px; font-weight:800;
  color:var(--text); text-decoration:none;
  transition:transform .16s ease, background .16s ease, color .16s ease;
  box-shadow:var(--shadow-md); position:relative; overflow:hidden;
}
.forum-thread:hover{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff; transform:translateY(-1px);
}
/* indicator "NOU" */
.thread-new::after{
  content:"NOU"; position:absolute; top:8px; right:10px;
  font-size:11px; font-weight:900; padding:2px 6px; border-radius:999px;
  background:#10b981; color:#fff;
}

/* Opțional: mică ajustare de lățime pentru această pagină */
.sheet{ max-width: var(--forum-maxw); }

@media (max-width:600px){
  .sheet{border-radius:20px; padding:18px}
}
